public final class SyntaxChecker extends Object implements SyntaxCheckerConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
SyntaxCheckerTokenManager |
token_source
Generated Token Manager.
|
AND, BASE1, BASE10, BASE11, BASE12, BASE13, BASE14, BASE15, BASE16, BASE17, BASE18, BASE19, BASE2, BASE20, BASE21, BASE22, BASE23, BASE24, BASE25, BASE26, BASE27, BASE28, BASE29, BASE3, BASE30, BASE31, BASE32, BASE33, BASE34, BASE35, BASE36, BASE4, BASE5, BASE6, BASE7, BASE8, BASE9, BINARY, BITNOT, BITWISE, CHAR, CIMP, CNIMP, COMMA, DECIMAL, DIV, EQ, EQV, FACTORIAL, FRACTION, FUNCTION, GEQ, GT, HEXADECIMAL, IDENTIFIER, IMP, LEFT_PAR, LEQ, LT, MINUS, MODULO, MULTIPLY, NAND, NEQ, NIMP, NOR, NOT, OCTAL, OR, PERCENTAGE, PLUS, POWER, RIGHT_PAR, SEMICOLON, TETRATION, UNIT, XOR
Constructor and Description |
---|
SyntaxChecker(InputStream stream) |
SyntaxChecker(InputStream stream,
String encoding) |
Modifier and Type | Method and Description |
---|---|
void |
argumentList() |
void |
binaryExpression() |
void |
checkSyntax() |
void |
expression() |
ParseException |
generateParseException() |
Token |
getNextToken() |
void |
identifier() |
void |
itemExpression() |
void |
start() |
void |
unaryLeftExpression() |
void |
unaryRigthExpression() |
public SyntaxCheckerTokenManager token_source
public Token token
public Token jj_nt
public SyntaxChecker(InputStream stream)
public SyntaxChecker(InputStream stream, String encoding)
public final void checkSyntax() throws ParseException, TokenMgrError
ParseException
TokenMgrError
public final void start() throws ParseException
ParseException
public final void expression() throws ParseException
ParseException
public final void binaryExpression() throws ParseException
ParseException
public final void unaryRigthExpression() throws ParseException
ParseException
public final void unaryLeftExpression() throws ParseException
ParseException
public final void itemExpression() throws ParseException
ParseException
public final void argumentList() throws ParseException
ParseException
public final void identifier() throws ParseException
ParseException
public final Token getNextToken()
public ParseException generateParseException()