Свойство | Type | Description | |
---|---|---|---|
EOF_CHAR | char |
Свойство | Type | Description | |
---|---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
makeToken ( int t ) : IToken |
public CharScanner ( antlr.InputBuffer cb ) : System | ||
cb | antlr.InputBuffer | |
Résultat | System |
public CharScanner ( antlr.LexerSharedInputState sharedState ) : System | ||
sharedState | antlr.LexerSharedInputState | |
Résultat | System |
public consumeUntil ( antlr.collections.impl.BitSet bset ) : void | ||
bset | antlr.collections.impl.BitSet | |
Résultat | void |
public getInputState ( ) : LexerSharedInputState | ||
Résultat | LexerSharedInputState |
public match ( antlr.collections.impl.BitSet b ) : void | ||
b | antlr.collections.impl.BitSet | |
Résultat | void |
public matchRange ( char c1, char c2 ) : void | ||
c1 | char | |
c2 | char | |
Résultat | void |
public recover ( RecognitionException ex, antlr.collections.impl.BitSet tokenSet ) : void | ||
ex | RecognitionException | |
tokenSet | antlr.collections.impl.BitSet | |
Résultat | void |
public reportError ( RecognitionException ex ) : void | ||
ex | RecognitionException | |
Résultat | void |
public resetState ( InputBuffer ib ) : void | ||
ib | InputBuffer | |
Résultat | void |
public resetState ( System.IO.Stream s ) : void | ||
s | System.IO.Stream | |
Résultat | void |
public resetState ( System.IO.TextReader tr ) : void | ||
tr | System.IO.TextReader | |
Résultat | void |
public setCommitToPath ( bool commit ) : void | ||
commit | bool | |
Résultat | void |
public setInputState ( LexerSharedInputState state ) : void | ||
state | LexerSharedInputState | |
Résultat | void |
public setTokenCreator ( TokenCreator tokenCreator ) : void | ||
tokenCreator | TokenCreator | |
Résultat | void |
public setTokenObjectClass ( string cl ) : void | ||
cl | string | |
Résultat | void |
public testLiteralsTable ( int ttype ) : int | ||
ttype | int | |
Résultat | int |
public testLiteralsTable ( string someText, int ttype ) : int | ||
someText | string | |
ttype | int | |
Résultat | int |
protected LexerSharedInputState inputState | ||
Résultat | LexerSharedInputState |
protected System.Collections.Hashtable literals | ||
Résultat | System.Collections.Hashtable |
protected System.Text.StringBuilder text | ||
Résultat | System.Text.StringBuilder |