C# Class antlr.CharScanner

Inheritance: TokenStream, ICharScannerDebugSubject
Afficher le fichier Open project: nachocove/DDay-iCal-Xamarin Class Usage Examples

Méthodes publiques

Свойство Type Description
EOF_CHAR char

Protected Properties

Свойство 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éthodes publiques

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éthodes protégées

Méthode Description
makeToken ( int t ) : IToken

Method Details

CharScanner() public méthode

public CharScanner ( ) : System
Résultat System

CharScanner() public méthode

public CharScanner ( antlr.InputBuffer cb ) : System
cb antlr.InputBuffer
Résultat System

CharScanner() public méthode

public CharScanner ( antlr.LexerSharedInputState sharedState ) : System
sharedState antlr.LexerSharedInputState
Résultat System

LA() public méthode

public LA ( int i ) : char
i int
Résultat char

append() public méthode

public append ( char c ) : void
c char
Résultat void

append() public méthode

public append ( string s ) : void
s string
Résultat void

commit() public méthode

public commit ( ) : void
Résultat void

consume() public méthode

public consume ( ) : void
Résultat void

consumeUntil() public méthode

public consumeUntil ( antlr.collections.impl.BitSet bset ) : void
bset antlr.collections.impl.BitSet
Résultat void

consumeUntil() public méthode

public consumeUntil ( int c ) : void
c int
Résultat void

getCaseSensitive() public méthode

public getCaseSensitive ( ) : bool
Résultat bool

getCaseSensitiveLiterals() public méthode

public getCaseSensitiveLiterals ( ) : bool
Résultat bool

getColumn() public méthode

public getColumn ( ) : int
Résultat int

getCommitToPath() public méthode

public getCommitToPath ( ) : bool
Résultat bool

getFilename() public méthode

public getFilename ( ) : string
Résultat string

getInputBuffer() public méthode

public getInputBuffer ( ) : InputBuffer
Résultat InputBuffer

getInputState() public méthode

public getInputState ( ) : LexerSharedInputState
Résultat LexerSharedInputState

getLine() public méthode

public getLine ( ) : int
Résultat int

getTabSize() public méthode

public getTabSize ( ) : int
Résultat int

getText() public méthode

public getText ( ) : string
Résultat string

getTokenObject() public méthode

public getTokenObject ( ) : IToken
Résultat IToken

makeToken() protected méthode

protected makeToken ( int t ) : IToken
t int
Résultat IToken

mark() public méthode

public mark ( ) : int
Résultat int

match() public méthode

public match ( antlr.collections.impl.BitSet b ) : void
b antlr.collections.impl.BitSet
Résultat void

match() public méthode

public match ( char c ) : void
c char
Résultat void

match() public méthode

public match ( int c ) : void
c int
Résultat void

match() public méthode

public match ( string s ) : void
s string
Résultat void

matchNot() public méthode

public matchNot ( char c ) : void
c char
Résultat void

matchNot() public méthode

public matchNot ( int c ) : void
c int
Résultat void

matchRange() public méthode

public matchRange ( char c1, char c2 ) : void
c1 char
c2 char
Résultat void

matchRange() public méthode

public matchRange ( int c1, int c2 ) : void
c1 int
c2 int
Résultat void

newline() public méthode

public newline ( ) : void
Résultat void

nextToken() public méthode

public nextToken ( ) : IToken
Résultat IToken

panic() public méthode

public panic ( ) : void
Résultat void

panic() public méthode

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.
public panic ( string s ) : void
s string Error message.
Résultat void

recover() public méthode

public recover ( RecognitionException ex, antlr.collections.impl.BitSet tokenSet ) : void
ex RecognitionException
tokenSet antlr.collections.impl.BitSet
Résultat void

refresh() public méthode

public refresh ( ) : void
Résultat void

reportError() public méthode

public reportError ( RecognitionException ex ) : void
ex RecognitionException
Résultat void

reportError() public méthode

public reportError ( string s ) : void
s string
Résultat void

reportWarning() public méthode

public reportWarning ( string s ) : void
s string
Résultat void

resetState() public méthode

public resetState ( InputBuffer ib ) : void
ib InputBuffer
Résultat void

resetState() public méthode

public resetState ( System.IO.Stream s ) : void
s System.IO.Stream
Résultat void

resetState() public méthode

public resetState ( System.IO.TextReader tr ) : void
tr System.IO.TextReader
Résultat void

resetText() public méthode

public resetText ( ) : void
Résultat void

rewind() public méthode

public rewind ( int pos ) : void
pos int
Résultat void

setCaseSensitive() public méthode

public setCaseSensitive ( bool t ) : void
t bool
Résultat void

setColumn() public méthode

public setColumn ( int c ) : void
c int
Résultat void

setCommitToPath() public méthode

public setCommitToPath ( bool commit ) : void
commit bool
Résultat void

setFilename() public méthode

public setFilename ( string f ) : void
f string
Résultat void

setInputState() public méthode

public setInputState ( LexerSharedInputState state ) : void
state LexerSharedInputState
Résultat void

setLine() public méthode

public setLine ( int line ) : void
line int
Résultat void

setTabSize() public méthode

public setTabSize ( int size ) : void
size int
Résultat void

setText() public méthode

public setText ( string s ) : void
s string
Résultat void

setTokenCreator() public méthode

public setTokenCreator ( TokenCreator tokenCreator ) : void
tokenCreator TokenCreator
Résultat void

setTokenObjectClass() public méthode

public setTokenObjectClass ( string cl ) : void
cl string
Résultat void

tab() public méthode

public tab ( ) : void
Résultat void

testLiteralsTable() public méthode

public testLiteralsTable ( int ttype ) : int
ttype int
Résultat int

testLiteralsTable() public méthode

public testLiteralsTable ( string someText, int ttype ) : int
someText string
ttype int
Résultat int

toLower() public méthode

public toLower ( int c ) : char
c int
Résultat char

traceIn() public méthode

public traceIn ( string rname ) : void
rname string
Résultat void

traceIndent() public méthode

public traceIndent ( ) : void
Résultat void

traceOut() public méthode

public traceOut ( string rname ) : void
rname string
Résultat void

uponEOF() public méthode

public uponEOF ( ) : void
Résultat void

Property Details

EOF_CHAR public_oe static_oe property

public static char EOF_CHAR
Résultat char

cached_LA1 protected_oe property

Used for caching lookahead characters.
protected char cached_LA1
Résultat char

cached_LA2 protected_oe property

protected char cached_LA2
Résultat char

caseSensitive protected_oe property

protected bool caseSensitive
Résultat bool

caseSensitiveLiterals protected_oe property

protected bool caseSensitiveLiterals
Résultat bool

commitToPath protected_oe property

protected bool commitToPath
Résultat bool

inputState protected_oe property

protected LexerSharedInputState inputState
Résultat LexerSharedInputState

literals protected_oe property

protected System.Collections.Hashtable literals
Résultat System.Collections.Hashtable

returnToken_ protected_oe property

protected IToken returnToken_
Résultat IToken

saveConsumedInput protected_oe property

protected bool saveConsumedInput
Résultat bool

tabsize protected_oe property

protected int tabsize
Résultat int

text protected_oe property

protected System.Text.StringBuilder text
Résultat System.Text.StringBuilder

tokenCreator protected_oe property

Used for creating Token instances.
protected TokenCreator tokenCreator
Résultat TokenCreator

traceDepth protected_oe property

protected int traceDepth
Résultat int