Package mondrian.parser
Class MdxParserImplTokenManager
- java.lang.Object
-
- mondrian.parser.MdxParserImplTokenManager
-
- All Implemented Interfaces:
MdxParserImplConstants
public class MdxParserImplTokenManager extends Object implements MdxParserImplConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description protected char
curChar
PrintStream
debugStream
Debug output.protected SimpleCharStream
input_stream
static int[]
jjnewLexState
Lex State array.static String[]
jjstrLiteralImages
Token literal values.static String[]
lexStateNames
Lexer state names.-
Fields inherited from interface mondrian.parser.MdxParserImplConstants
AMP_QUOTED_ID, AMP_UNQUOTED_ID, AND, APPROX_NUMERIC_LITERAL, AS, ASTERISK, AXIS, BANG, CASE, CAST, CELL, CHAPTERS, COLON, COLUMNS, COMMA, CONCAT, DECIMAL_NUMERIC_LITERAL, DEFAULT, DIGIT, DIMENSION, DOT, DOUBLE_QUOTED_STRING, DRILLTHROUGH, ELSE, EMPTY, END, EOF, EQ, EXISTING, EXPLAIN, EXPONENT, FIRSTROWSET, FOR, FORMAL_COMMENT, FROM, GE, GT, ID, IN, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, IS, LBRACE, LE, LETTER, LPAREN, LT, MATCHES, MAXROWS, MEMBER, MINUS, MULTI_LINE_COMMENT, NE, NON, NOT, NULL, ON, OR, PAGES, PLAN, PLUS, PROPERTIES, QUOTED_ID, RBRACE, RETURN, ROWS, RPAREN, SECTIONS, SELECT, SET, SINGLE_LINE_COMMENT, SINGLE_QUOTED_STRING, SOLIDUS, THEN, tokenImage, UNSIGNED_INTEGER_LITERAL, WHEN, WHERE, WHITESPACE, WITH, XOR
-
-
Constructor Summary
Constructors Constructor Description MdxParserImplTokenManager(SimpleCharStream stream)
Constructor.MdxParserImplTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
Get the next Token.protected Token
jjFillToken()
void
ReInit(SimpleCharStream stream)
Reinitialise parser.void
ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.void
setDebugStream(PrintStream ds)
Set debug output.void
SwitchTo(int lexState)
Switch to specified lex state.
-
-
-
Field Detail
-
debugStream
public PrintStream debugStream
Debug output.
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
Token literal values.
-
lexStateNames
public static final String[] lexStateNames
Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Lex State array.
-
input_stream
protected SimpleCharStream input_stream
-
curChar
protected char curChar
-
-
Constructor Detail
-
MdxParserImplTokenManager
public MdxParserImplTokenManager(SimpleCharStream stream)
Constructor.
-
MdxParserImplTokenManager
public MdxParserImplTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(PrintStream ds)
Set debug output.
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
Get the next Token.
-
-