Package javassist.compiler
Class Parser
- java.lang.Object
-
- javassist.compiler.Parser
-
-
Field Summary
-
Fields inherited from interface javassist.compiler.TokenId
ABSTRACT, AND_E, ANDAND, ARRAY, ARSHIFT, ARSHIFT_E, assignOps, BadToken, BLOCK, BOOLEAN, BREAK, BYTE, CALL, CASE, CATCH, CHAR, CharConstant, CLASS, CONST, CONTINUE, DECL, DEFAULT, DIV_E, DO, DOUBLE, DoubleConstant, ELSE, EQ, EXOR_E, EXPR, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FloatConstant, FOR, GE, GOTO, Identifier, IF, IMPLEMENTS, IMPORT, INSTANCEOF, INT, IntConstant, INTERFACE, LABEL, LE, LONG, LongConstant, LSHIFT, LSHIFT_E, MEMBER, MINUS_E, MINUSMINUS, MOD_E, MUL_E, NATIVE, NEQ, NEW, NULL, opNames, OR_E, OROR, PACKAGE, PLUS_E, PLUSPLUS, PRIVATE, PROTECTED, PUBLIC, RETURN, RSHIFT, RSHIFT_E, SHORT, STATIC, STRICT, StringL, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasMore()
ASTree
parseExpression(SymbolTable tbl)
ASTList
parseMember(SymbolTable tbl)
ASTList
parseMember1(SymbolTable tbl)
MethodDecl
parseMethod2(SymbolTable tbl, MethodDecl md)
Stmnt
parseStatement(SymbolTable tbl)
-
-
-
Constructor Detail
-
Parser
public Parser(Lex lex)
-
-
Method Detail
-
hasMore
public boolean hasMore()
-
parseMember
public ASTList parseMember(SymbolTable tbl) throws CompileError
- Throws:
CompileError
-
parseMember1
public ASTList parseMember1(SymbolTable tbl) throws CompileError
- Throws:
CompileError
-
parseMethod2
public MethodDecl parseMethod2(SymbolTable tbl, MethodDecl md) throws CompileError
- Throws:
CompileError
-
parseStatement
public Stmnt parseStatement(SymbolTable tbl) throws CompileError
- Throws:
CompileError
-
parseExpression
public ASTree parseExpression(SymbolTable tbl) throws CompileError
- Throws:
CompileError
-
-