Метод | Описание | |
---|---|---|
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 Advance ( int offset ) : void | ||
offset | int | Offset to move by |
Результат | void |
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 ( char ch, int start ) : int | ||
ch | char | |
start | int | |
Результат | int |
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 IsDecimal ( char character ) : bool | ||
character | char | |
Результат | bool |
public static IsHex ( char character ) : bool | ||
character | char | |
Результат | bool |
public static IsLetter ( 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 |
public this ( int position ) : char | ||
position | int | Stream position |
Результат | char |