public class Parser extends Object implements ParserTreeConstants, ParserConstants
| 限定符和类型 | 字段和说明 |
|---|---|
Token |
jj_nt |
protected com.ds.common.expression.JJTParserState |
jjtree |
boolean |
lookingAhead |
Token |
token |
ParserTokenManager |
token_source |
JJTCONSTANT, JJTFUNNODE, jjtNodeName, JJTSTART, JJTVARNODE, JJTVOIDAND, DECIMAL_LITERAL, DEFAULT, DIGIT, DIV, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, GE, GT, IDENTIFIER, INTEGER_LITERAL, LE, LETTER, LT, MINUS, MOD, MUL, NE, NOT, OR, PLUS, POWER, STRING_LITERAL, tokenImage| 构造器和说明 |
|---|
Parser(InputStream stream) |
Parser(ParserTokenManager tm) |
Parser(Reader stream) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AdditiveExpression() |
void |
AndExpression() |
void |
AnyConstant() |
void |
ArgumentList(int reqArguments,
String functionName) |
Vector |
Array() |
void |
disable_tracing() |
void |
enable_tracing() |
void |
EqualExpression() |
void |
Expression() |
void |
Function() |
ParseException |
generateParseException() |
Token |
getNextToken() |
Token |
getToken(int index) |
String |
Identifier() |
void |
MultiplicativeExpression() |
void |
OrExpression() |
Node |
parseStream(Reader stream,
JEP jep_in) |
void |
PowerExpression() |
Object |
RealConstant() |
void |
ReInit(InputStream stream) |
void |
ReInit(ParserTokenManager tm) |
void |
ReInit(Reader stream) |
void |
RelationalExpression() |
ASTStart |
Start()
GRAMMAR START
|
void |
UnaryExpression() |
void |
UnaryExpressionNotPlusMinus() |
void |
Variable() |
protected com.ds.common.expression.JJTParserState jjtree
public ParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public Parser(InputStream stream)
public Parser(Reader stream)
public Parser(ParserTokenManager tm)
public Node parseStream(Reader stream, JEP jep_in) throws ParseException
ParseExceptionpublic final ASTStart Start() throws ParseException
ParseExceptionpublic final void Expression()
throws ParseException
ParseExceptionpublic final void OrExpression()
throws ParseException
ParseExceptionpublic final void AndExpression()
throws ParseException
ParseExceptionpublic final void EqualExpression()
throws ParseException
ParseExceptionpublic final void RelationalExpression()
throws ParseException
ParseExceptionpublic final void AdditiveExpression()
throws ParseException
ParseExceptionpublic final void MultiplicativeExpression()
throws ParseException
ParseExceptionpublic final void UnaryExpression()
throws ParseException
ParseExceptionpublic final void PowerExpression()
throws ParseException
ParseExceptionpublic final void UnaryExpressionNotPlusMinus()
throws ParseException
ParseExceptionpublic final void Variable()
throws ParseException
ParseExceptionpublic final void Function()
throws ParseException
ParseExceptionpublic final void ArgumentList(int reqArguments,
String functionName)
throws ParseException
ParseExceptionpublic final String Identifier() throws ParseException
ParseExceptionpublic final void AnyConstant()
throws ParseException
ParseExceptionpublic final Vector Array() throws ParseException
ParseExceptionpublic final Object RealConstant() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(Reader stream)
public void ReInit(ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public final ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2023 onecode. All rights reserved.