메소드 | 설명 | |
---|---|---|
Matches ( ) : bool |
Determines whether any of the given patterns match the value at the current position of the tokenizer.
|
|
Matches ( string pattern ) : bool |
Determines whether the given pattern matches the value at the current position of the tokenizer.
|
|
Peek ( ) : char |
Retrieves the next character in the tokenizer without advancing its position.
|
|
Pop ( ) : void | ||
PullWhitespace ( ) : void |
Advances the tokenizer to the next non-whitespace character.
|
|
Push ( ) : void | ||
Take ( ) : char |
Retrieves the next character in the tokenizer.
|
|
Take ( int length ) : string |
Retrieves a string of the given length from the current position of the tokenizer.
|
|
Tokenizer ( string text ) : System |
Initializes a new instance of the Tokenizer class.
|
public Matches ( string pattern ) : bool | ||
pattern | string | The string that contains the characters to match. |
리턴 | bool |
public Take ( int length ) : string | ||
length | int | The length of the string to return. |
리턴 | string |
public Tokenizer ( string text ) : System | ||
text | string | The string that contains the text to tokenize. |
리턴 | System |