classUtils.javassist.compiler
Class Parser

java.lang.Object
  extended by classUtils.javassist.compiler.Parser
All Implemented Interfaces:
TokenId

public final class Parser
extends java.lang.Object
implements TokenId


Field Summary
 
Fields inherited from interface classUtils.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
 
Constructor Summary
Parser(Lex lex)
           
 
Method Summary
 boolean hasMore()
           
 ASTree parseExpression(SymbolTable tbl)
           
 ASTList parseMember(SymbolTable tbl)
           
 ASTList parseMember1(SymbolTable tbl)
           
 MethodDecl parseMethod2(SymbolTable tbl, MethodDecl md)
           
 Stmnt parseStatement(SymbolTable tbl)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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