Package jmri.jmrix.srcp.parser
Class SRCPClientParserTokenManager
- java.lang.Object
-
- jmri.jmrix.srcp.parser.SRCPClientParserTokenManager
-
- All Implemented Interfaces:
SRCPClientParserConstants
public class SRCPClientParserTokenManager extends java.lang.Object implements SRCPClientParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected int
curChar
(package private) int
curLexState
java.io.PrintStream
debugStream
(package private) int
defaultLexState
protected SimpleCharStream
input_stream
(package private) static long[]
jjbitVec0
(package private) int
jjmatchedKind
(package private) int
jjmatchedPos
static int[]
jjnewLexState
(package private) int
jjnewStateCnt
(package private) static int[]
jjnextStates
(package private) int
jjround
static java.lang.String[]
jjstrLiteralImages
(package private) static long[]
jjtoMore
(package private) static long[]
jjtoSkip
(package private) static long[]
jjtoSpecial
(package private) static long[]
jjtoToken
static java.lang.String[]
lexStateNames
-
Fields inherited from interface jmri.jmrix.srcp.parser.SRCPClientParserConstants
A, B, C, COMMAND, CV, CVBIT, D, DEFAULT, DELAY, DESCRIPTION, DRIVEMODE, E, ENDVALUE, EOF, EOL, ERROR, F, FB, G, GA, GL, GM, H, HOUR, I, IN_REASON, IN_VALUE, INFO, J, K, KEY, L, LOCK, M, MINSEC, N, NONZEROADDR, O, OFF, OK, ON, ONOFF, P, POWER, PROTOCOL, Q, R, REASON, REG, RETURN, S, SERVER, SESSION, SM, SPACE, T, TIME, TIMESTAMP, tokenImage, U, V, VALUE, W, X, Y, Z, ZEROADDR
-
-
Constructor Summary
Constructors Constructor Description SRCPClientParserTokenManager(SimpleCharStream stream)
SRCPClientParserTokenManager(SimpleCharStream stream, int lexState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
protected Token
jjFillToken()
(package private) void
MoreLexicalActions()
void
ReInit(SimpleCharStream stream)
void
ReInit(SimpleCharStream stream, int lexState)
void
setDebugStream(java.io.PrintStream ds)
(package private) void
SkipLexicalActions(Token matchedToken)
void
SwitchTo(int lexState)
(package private) void
TokenLexicalActions(Token matchedToken)
-
-
-
Field Detail
-
debugStream
public java.io.PrintStream debugStream
-
jjbitVec0
static final long[] jjbitVec0
-
jjstrLiteralImages
public static final java.lang.String[] jjstrLiteralImages
-
jjnextStates
static final int[] jjnextStates
-
curLexState
int curLexState
-
defaultLexState
int defaultLexState
-
jjnewStateCnt
int jjnewStateCnt
-
jjround
int jjround
-
jjmatchedPos
int jjmatchedPos
-
jjmatchedKind
int jjmatchedKind
-
lexStateNames
public static final java.lang.String[] lexStateNames
-
jjnewLexState
public static final int[] jjnewLexState
-
jjtoToken
static final long[] jjtoToken
-
jjtoSkip
static final long[] jjtoSkip
-
jjtoSpecial
static final long[] jjtoSpecial
-
jjtoMore
static final long[] jjtoMore
-
input_stream
protected SimpleCharStream input_stream
-
curChar
protected int curChar
-
-
Constructor Detail
-
SRCPClientParserTokenManager
public SRCPClientParserTokenManager(SimpleCharStream stream)
-
SRCPClientParserTokenManager
public SRCPClientParserTokenManager(SimpleCharStream stream, int lexState)
-
-
Method Detail
-
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
-
SkipLexicalActions
void SkipLexicalActions(Token matchedToken)
-
MoreLexicalActions
void MoreLexicalActions()
-
TokenLexicalActions
void TokenLexicalActions(Token matchedToken)
-
ReInit
public void ReInit(SimpleCharStream stream)
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
-
SwitchTo
public void SwitchTo(int lexState)
-
-