Class Parser
- java.lang.Object
-
- org.hotswap.agent.javassist.compiler.Parser
-
-
Field Summary
-
Fields inherited from interface org.hotswap.agent.javassist.compiler.TokenId
ABSTRACT, AND_E, ANDAND, ARRAY, ARSHIFT, ARSHIFT_E, assignOps, BadToken, BLOCK, BOOLEAN, BREAK, BYTE, CALL, CASE, CATCH, CLASS, CONST, CONTINUE, DECL, DEFAULT, DIV_E, DO, DOUBLE, DoubleConstant, ELSE, EQ, EXOR_E, EXPR, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FloatConstant, FOR, GE, GOTO, CHAR, CharConstant, 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 booleanhasMore()ASTreeparseExpression(SymbolTable tbl)ASTListparseMember(SymbolTable tbl)ASTListparseMember1(SymbolTable tbl)MethodDeclparseMethod2(SymbolTable tbl, MethodDecl md)StmntparseStatement(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
-
-