org.sbml.jsbml.text.parser
public class FormulaParserTokenManager extends java.lang.Object implements FormulaParserConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
(package private) int |
curLexState |
java.io.PrintStream |
debugStream
Debug output.
|
(package private) int |
defaultLexState |
protected SimpleCharStream |
input_stream |
(package private) int |
jjmatchedKind |
(package private) int |
jjmatchedPos |
(package private) int |
jjnewStateCnt |
(package private) static int[] |
jjnextStates |
(package private) int |
jjround |
private int[] |
jjrounds |
private int[] |
jjstateSet |
static java.lang.String[] |
jjstrLiteralImages
Token literal values.
|
(package private) static long[] |
jjtoSkip |
(package private) static long[] |
jjtoToken |
static java.lang.String[] |
lexStateNames
Lexer state names.
|
AND, BOOLEAN_LOGIC, CLOSE_PAR, COMPARISON, DEFAULT, DIGIT, DIVIDE, EOF, EOL, EXPNUMBER, FACTORIAL, IDCHAR, INTEGER, LEFT_BRACES, LEFT_BRACKET, LETTER, LOG, MINUS, NOT, NUMBER, OPEN_PAR, OR, PLUS, POWER, RIGHT_BRACES, RIGHT_BRACKET, SLPITTER, STRING, TIMES, tokenImage, XOR
Constructor and Description |
---|
FormulaParserTokenManager(SimpleCharStream stream)
Constructor.
|
FormulaParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
private void |
jjAddStates(int start,
int end) |
private void |
jjCheckNAdd(int state) |
private void |
jjCheckNAddStates(int start,
int end) |
private void |
jjCheckNAddTwoStates(int state1,
int state2) |
protected Token |
jjFillToken() |
private int |
jjMoveNfa_0(int startState,
int curPos) |
private int |
jjMoveStringLiteralDfa0_0() |
private int |
jjMoveStringLiteralDfa1_0(long active0) |
private int |
jjMoveStringLiteralDfa2_0(long old0,
long active0) |
private int |
jjStartNfa_0(int pos,
long active0) |
private int |
jjStartNfaWithStates_0(int pos,
int kind,
int state) |
private int |
jjStopAtPos(int pos,
int kind) |
private int |
jjStopStringLiteralDfa_0(int pos,
long active0) |
void |
ReInit(SimpleCharStream stream)
Reinitialise parser.
|
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser.
|
private void |
ReInitRounds() |
void |
setDebugStream(java.io.PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public java.io.PrintStream debugStream
static final int[] jjnextStates
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
static final long[] jjtoToken
static final long[] jjtoSkip
protected SimpleCharStream input_stream
private final int[] jjrounds
private final int[] jjstateSet
protected char curChar
int curLexState
int defaultLexState
int jjnewStateCnt
int jjround
int jjmatchedPos
int jjmatchedKind
public FormulaParserTokenManager(SimpleCharStream stream)
public FormulaParserTokenManager(SimpleCharStream stream, int lexState)
public void setDebugStream(java.io.PrintStream ds)
private final int jjStopStringLiteralDfa_0(int pos, long active0)
private final int jjStartNfa_0(int pos, long active0)
private int jjStopAtPos(int pos, int kind)
private int jjMoveStringLiteralDfa0_0()
private int jjMoveStringLiteralDfa1_0(long active0)
private int jjMoveStringLiteralDfa2_0(long old0, long active0)
private int jjStartNfaWithStates_0(int pos, int kind, int state)
private int jjMoveNfa_0(int startState, int curPos)
public void ReInit(SimpleCharStream stream)
private void ReInitRounds()
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()
private void jjCheckNAdd(int state)
private void jjAddStates(int start, int end)
private void jjCheckNAddTwoStates(int state1, int state2)
private void jjCheckNAddStates(int start, int end)