Freigeben über


StreamTokenizer.SlashStarComments(Boolean) Method

Definition

Determines whether or not the tokenizer recognizes C-style comments.

[Android.Runtime.Register("slashStarComments", "(Z)V", "GetSlashStarComments_ZHandler")]
public virtual void SlashStarComments (bool flag);
[<Android.Runtime.Register("slashStarComments", "(Z)V", "GetSlashStarComments_ZHandler")>]
abstract member SlashStarComments : bool -> unit
override this.SlashStarComments : bool -> unit

Parameters

flag
Boolean

true indicates to recognize and ignore C-style comments.

Attributes

Remarks

Determines whether or not the tokenizer recognizes C-style comments. If the flag argument is true, this stream tokenizer recognizes C-style comments. All text between successive occurrences of /* and *&#47; are discarded.

If the flag argument is false, then C-style comments are not treated specially.

Java documentation for java.io.StreamTokenizer.slashStarComments(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to