메소드 | 설명 | |
---|---|---|
Advance ( int offset ) : void |
Moves current position forward or backward
|
|
CharacterStream ( ITextProvider textProvider, ITextRange range ) : System | ||
CompareTo ( int position, int length, string text, bool ignoreCase ) : bool | ||
GetSubstringAt ( int position, int length ) : string | ||
IndexOf ( char ch, int start ) : int | ||
IndexOf ( string text, int start, bool ignoreCase ) : int | ||
IsAnsiLetter ( ) : bool |
Determines if current character is an ANSI letter
|
|
IsAnsiLetter ( char character ) : bool |
Determines if current character is an ANSI letter
|
|
IsAtNewLine ( ) : bool |
Determines if current character is a new line character
|
|
IsAtString ( ) : bool |
Determines if current character starts a string (i.e. current character is a single or double quote).
|
|
IsDecimal ( ) : bool |
Determines if character is a decimal digit
|
|
IsDecimal ( char character ) : bool |
Determines if character is a decimal digit
|
|
IsEndOfStream ( ) : bool |
Determines if current position is at the end of text
|
|
IsHex ( ) : bool |
Determines if character is a hexadecimal digit
|
|
IsHex ( char character ) : bool | ||
IsLetter ( ) : bool |
Determines if current character is a letter
|
|
IsLetter ( char character ) : bool |
Determines if current character is a letter
|
|
IsNewLine ( char currentCharacter ) : bool | ||
IsWhiteSpace ( ) : bool |
Detemines if current character is a whitespace
|
|
LookAhead ( int offset ) : char |
Returns characters at an offset from the current position
|
|
MoveToNextChar ( ) : bool |
Moves position to the next character if possible. Returns false if position is at the end of stream.
|
|
SkipLineBreak ( ) : void | ||
SkipToEol ( ) : void | ||
SkipToWhitespace ( ) : void | ||
SkipWhitespace ( ) : void | ||
this ( int position ) : char |
Returns character at a given position. If position is beyond text limits, returns '\0'
|
메소드 | 설명 | |
---|---|---|
CharacterStream ( ITextProvider textProvider ) : System | ||
CharacterStream ( string text ) : System | ||
CheckBounds ( ) : void | ||
ToString ( ) : string |
public CharacterStream ( ITextProvider textProvider, ITextRange range ) : System | ||
textProvider | ITextProvider | |
range | ITextRange | |
리턴 | System |
public CompareTo ( int position, int length, string text, bool ignoreCase ) : bool | ||
position | int | |
length | int | |
text | string | |
ignoreCase | bool | |
리턴 | bool |
public GetSubstringAt ( int position, int length ) : string | ||
position | int | |
length | int | |
리턴 | string |
public IndexOf ( string text, int start, bool ignoreCase ) : int | ||
text | string | |
start | int | |
ignoreCase | bool | |
리턴 | int |
public static IsAnsiLetter ( char character ) : bool | ||
character | char | |
리턴 | bool |
public static IsNewLine ( char currentCharacter ) : bool | ||
currentCharacter | char | |
리턴 | bool |
public LookAhead ( int offset ) : char | ||
offset | int | Offset from the current position |
리턴 | char |