Свойство | Тип | Описание | |
---|---|---|---|
EOF_CHAR | char |
Свойство | Тип | Описание | |
---|---|---|---|
cached_LA1 | char | ||
cached_LA2 | char | ||
caseSensitive | bool | ||
caseSensitiveLiterals | bool | ||
commitToPath | bool | ||
inputState | LexerSharedInputState | ||
literals | System.Collections.Hashtable | ||
returnToken_ | IToken | ||
saveConsumedInput | bool | ||
tabsize | int | ||
text | System.Text.StringBuilder | ||
tokenCreator | TokenCreator | ||
traceDepth | int |
Метод | Описание | |
---|---|---|
CharScanner ( ) : System | ||
CharScanner ( antlr.InputBuffer cb ) : System | ||
CharScanner ( antlr.LexerSharedInputState sharedState ) : System | ||
LA ( int i ) : char | ||
append ( char c ) : void | ||
append ( string s ) : void | ||
commit ( ) : void | ||
consume ( ) : void | ||
consumeUntil ( antlr.collections.impl.BitSet bset ) : void | ||
consumeUntil ( int c ) : void | ||
getCaseSensitive ( ) : bool | ||
getCaseSensitiveLiterals ( ) : bool | ||
getColumn ( ) : int | ||
getCommitToPath ( ) : bool | ||
getFilename ( ) : string | ||
getInputBuffer ( ) : InputBuffer | ||
getInputState ( ) : LexerSharedInputState | ||
getLine ( ) : int | ||
getTabSize ( ) : int | ||
getText ( ) : string | ||
getTokenObject ( ) : IToken | ||
mark ( ) : int | ||
match ( antlr.collections.impl.BitSet b ) : void | ||
match ( char c ) : void | ||
match ( int c ) : void | ||
match ( string s ) : void | ||
matchNot ( char c ) : void | ||
matchNot ( int c ) : void | ||
matchRange ( char c1, char c2 ) : void | ||
matchRange ( int c1, int c2 ) : void | ||
newline ( ) : void | ||
nextToken ( ) : IToken | ||
panic ( ) : void | ||
panic ( string s ) : void |
This method is executed by ANTLR internally when it detected an illegal state that cannot be recovered from. The previous implementation of this method called Environment.Exit and writes directly to Console.Error, which is usually not appropriate when a translator is embedded into a larger application.
|
|
recover ( RecognitionException ex, antlr.collections.impl.BitSet tokenSet ) : void | ||
refresh ( ) : void | ||
reportError ( RecognitionException ex ) : void | ||
reportError ( string s ) : void | ||
reportWarning ( string s ) : void | ||
resetState ( InputBuffer ib ) : void | ||
resetState ( System.IO.Stream s ) : void | ||
resetState ( System.IO.TextReader tr ) : void | ||
resetText ( ) : void | ||
rewind ( int pos ) : void | ||
setCaseSensitive ( bool t ) : void | ||
setColumn ( int c ) : void | ||
setCommitToPath ( bool commit ) : void | ||
setFilename ( string f ) : void | ||
setInputState ( LexerSharedInputState state ) : void | ||
setLine ( int line ) : void | ||
setTabSize ( int size ) : void | ||
setText ( string s ) : void | ||
setTokenCreator ( TokenCreator tokenCreator ) : void | ||
setTokenObjectClass ( string cl ) : void | ||
tab ( ) : void | ||
testLiteralsTable ( int ttype ) : int | ||
testLiteralsTable ( string someText, int ttype ) : int | ||
toLower ( int c ) : char | ||
traceIn ( string rname ) : void | ||
traceIndent ( ) : void | ||
traceOut ( string rname ) : void | ||
uponEOF ( ) : void |
Метод | Описание | |
---|---|---|
makeToken ( int t ) : IToken |
public CharScanner ( antlr.InputBuffer cb ) : System | ||
cb | antlr.InputBuffer | |
Результат | System |
public CharScanner ( antlr.LexerSharedInputState sharedState ) : System | ||
sharedState | antlr.LexerSharedInputState | |
Результат | System |
public consumeUntil ( antlr.collections.impl.BitSet bset ) : void | ||
bset | antlr.collections.impl.BitSet | |
Результат | void |
public getCaseSensitiveLiterals ( ) : bool | ||
Результат | bool |
public getInputState ( ) : LexerSharedInputState | ||
Результат | LexerSharedInputState |
public match ( antlr.collections.impl.BitSet b ) : void | ||
b | antlr.collections.impl.BitSet | |
Результат | void |
public matchRange ( char c1, char c2 ) : void | ||
c1 | char | |
c2 | char | |
Результат | void |
public matchRange ( int c1, int c2 ) : void | ||
c1 | int | |
c2 | int | |
Результат | void |
public recover ( RecognitionException ex, antlr.collections.impl.BitSet tokenSet ) : void | ||
ex | RecognitionException | |
tokenSet | antlr.collections.impl.BitSet | |
Результат | void |
public reportError ( RecognitionException ex ) : void | ||
ex | RecognitionException | |
Результат | void |
public resetState ( InputBuffer ib ) : void | ||
ib | InputBuffer | |
Результат | void |
public resetState ( System.IO.Stream s ) : void | ||
s | System.IO.Stream | |
Результат | void |
public resetState ( System.IO.TextReader tr ) : void | ||
tr | System.IO.TextReader | |
Результат | void |
public setCommitToPath ( bool commit ) : void | ||
commit | bool | |
Результат | void |
public setInputState ( LexerSharedInputState state ) : void | ||
state | LexerSharedInputState | |
Результат | void |
public setTokenCreator ( TokenCreator tokenCreator ) : void | ||
tokenCreator | TokenCreator | |
Результат | void |
public setTokenObjectClass ( string cl ) : void | ||
cl | string | |
Результат | void |
public testLiteralsTable ( int ttype ) : int | ||
ttype | int | |
Результат | int |
public testLiteralsTable ( string someText, int ttype ) : int | ||
someText | string | |
ttype | int | |
Результат | int |
protected LexerSharedInputState inputState | ||
Результат | LexerSharedInputState |
protected System.Collections.Hashtable literals | ||
Результат | System.Collections.Hashtable |
protected System.Text.StringBuilder text | ||
Результат | System.Text.StringBuilder |