frysk.expr
Class CExprEvaluator

java.lang.Object
  extended by antlr.TreeParser
      extended by frysk.expr.CExprEvaluator
All Implemented Interfaces:
CExprEvaluatorTokenTypes

public class CExprEvaluator
extends antlr.TreeParser
implements CExprEvaluatorTokenTypes


Field Summary
static String[] _tokenNames
           
 
Fields inherited from interface frysk.expr.CExprEvaluatorTokenTypes
ADDRESS_OF, AMPERSAND, AND, ARG_LIST, ARITHMETIC_MINUS, ARITHMETIC_PLUS, ASSIGNEQUAL, AT, BITWISEANDEQUAL, BITWISEOR, BITWISEOREQUAL, BITWISEXOR, BITWISEXOREQUAL, CAST, CharLiteral, COLON, COMMA, COND_EXPR, Decimal, DECIMALINT, Digit, DIVIDE, DIVIDEEQUAL, DOT, DOTSTAR, DOUBLE, ELLIPSIS, EOF, EQUAL, Escape, ETX, Exponent, EXPONENT, EXPR_LIST, FLOAT, FLOAT_SUFFIX, FloatSuffix, FUNC_CALL, GREATERTHAN, GREATERTHANOREQUALTO, HEX_DIGIT, HEXADECIMALINT, IDENT, IDENT_TAB, INDEX, LCURLY, LESSTHAN, LESSTHANOREQUALTO, LITERAL_boolean, LITERAL_byte, LITERAL_char, LITERAL_double, LITERAL_false, LITERAL_float, LITERAL_int, LITERAL_long, LITERAL_short, LITERAL_sizeof, LITERAL_this, LITERAL_true, LongSuffix, LPAREN, LSQUARE, MEMBER, MEMORY, MINUS, MINUSEQUAL, MINUSMINUS, MOD, MODEQUAL, NL, NOT, NOTEQUAL, NULL_TREE_LOOKAHEAD, NUM, OCTALINT, OPERATOR, OR, PLUS, PLUSEQUAL, PLUSPLUS, POINTERSTAR, POINTERTO, POSTDECREMENT, POSTINCREMENT, PREDECREMENT, PREINCREMENT, QUESTIONMARK, RCURLY, RPAREN, RSQUARE, SCOPE, SEMICOLON, SHIFTLEFT, SHIFTLEFTEQUAL, SHIFTRIGHT, SHIFTRIGHTEQUAL, SIZEOF, SLICE, STAR, StringLiteral, TAB_IDENT, TILDE, TIMESEQUAL, UnsignedSuffix, Vocabulary, WS
 
Constructor Summary
CExprEvaluator()
           
CExprEvaluator(ExprSymTab symTab)
           
 
Method Summary
 Value expr(AST _t)
           
 String identifier(AST _t)
           
 void primitiveType(AST _t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final String[] _tokenNames
Constructor Detail

CExprEvaluator

public CExprEvaluator(ExprSymTab symTab)

CExprEvaluator

public CExprEvaluator()
Method Detail

primitiveType

public final void primitiveType(AST _t)
                         throws RecognitionException
Throws:
RecognitionException

identifier

public final String identifier(AST _t)
                        throws RecognitionException
Throws:
RecognitionException

expr

public final Value expr(AST _t)
                 throws RecognitionException
Throws:
RecognitionException