agg.attribute.parser.javaExpr
Class JexParser

java.lang.Object
  extended by agg.attribute.parser.javaExpr.JexParser
All Implemented Interfaces:
JexParserConstants

public class JexParser
extends java.lang.Object
implements JexParserConstants


Field Summary
protected static int error_column
           
protected static int error_line
           
protected static java.lang.String error_string
           
protected static java.lang.String[] expected_tokens
           
protected static agg.attribute.parser.javaExpr.JJTJexParserState jjtree
           
static boolean lookingAhead
           
static Token token
           
static JexParserTokenManager token_source
           
 
Fields inherited from interface agg.attribute.parser.javaExpr.JexParserConstants
CHARACTER_LITERAL, COMMA, DECIMAL_LITERAL, DEFAULT, DIGIT, DOLLAR, DOT, EOF, EXPONENT, FLOATING_POINT_LITERAL, HEX_LITERAL, IDENTIFIER, INTEGER_LITERAL, LBRACE, LBRACKET, LETTER, LONG_LITERAL, LPAREN, OCTAL_LITERAL, RBRACE, RBRACKET, RPAREN, SEMICOLON, STRING_LITERAL, tokenImage
 
Constructor Summary
JexParser(java.io.InputStream stream)
           
JexParser(JexParserTokenManager tm)
           
 
Method Summary
static void Action()
           
static void AdditiveExpression()
           
static void AllocationExpression()
           
static void AndExpression()
           
static void ArgumentList()
           
static void ArrayAllocation()
           
static void ArrayIndex()
           
static void BooleanLiteral()
           
static void ClassName()
           
static void CompilationUnit()
           
static void ConditionalAndExpression()
           
static void ConditionalExpression()
           
static void ConditionalOrExpression()
           
static void DimensionList()
           
static void disable_tracing()
           
static void enable_tracing()
           
static void EqualityExpression()
           
static void ExclusiveOrExpression()
           
static void Expression()
           
static void FullClassName()
           
static Token getNextToken()
           
static Token getToken(int index)
           
static void Id()
           
static void InclusiveOrExpression()
           
static void Literal()
           
static void Member()
           
static void MemberName()
           
static void MultiplicativeExpression()
           
static void NullLiteral()
           
static void PrimaryExpression()
           
static void PrimaryPrefix()
           
static void PrimarySuffix()
           
static void ReInit(java.io.InputStream stream)
           
 void ReInit(JexParserTokenManager tm)
           
static void RelationalExpression()
           
protected  void token_error()
           
static void UnaryExpression()
           
static void UnsignedUnaryExpression()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected static agg.attribute.parser.javaExpr.JJTJexParserState jjtree

token_source

public static JexParserTokenManager token_source

token

public static Token token

lookingAhead

public static boolean lookingAhead

error_line

protected static int error_line

error_column

protected static int error_column

error_string

protected static java.lang.String error_string

expected_tokens

protected static java.lang.String[] expected_tokens
Constructor Detail

JexParser

public JexParser(java.io.InputStream stream)

JexParser

public JexParser(JexParserTokenManager tm)
Method Detail

CompilationUnit

public static final void CompilationUnit()
                                  throws ParseError
Throws:
ParseError

Expression

public static final void Expression()
                             throws ParseError
Throws:
ParseError

ConditionalExpression

public static final void ConditionalExpression()
                                        throws ParseError
Throws:
ParseError

ConditionalOrExpression

public static final void ConditionalOrExpression()
                                          throws ParseError
Throws:
ParseError

ConditionalAndExpression

public static final void ConditionalAndExpression()
                                           throws ParseError
Throws:
ParseError

InclusiveOrExpression

public static final void InclusiveOrExpression()
                                        throws ParseError
Throws:
ParseError

ExclusiveOrExpression

public static final void ExclusiveOrExpression()
                                        throws ParseError
Throws:
ParseError

AndExpression

public static final void AndExpression()
                                throws ParseError
Throws:
ParseError

EqualityExpression

public static final void EqualityExpression()
                                     throws ParseError
Throws:
ParseError

RelationalExpression

public static final void RelationalExpression()
                                       throws ParseError
Throws:
ParseError

AdditiveExpression

public static final void AdditiveExpression()
                                     throws ParseError
Throws:
ParseError

MultiplicativeExpression

public static final void MultiplicativeExpression()
                                           throws ParseError
Throws:
ParseError

UnaryExpression

public static final void UnaryExpression()
                                  throws ParseError
Throws:
ParseError

UnsignedUnaryExpression

public static final void UnsignedUnaryExpression()
                                          throws ParseError
Throws:
ParseError

PrimaryExpression

public static final void PrimaryExpression()
                                    throws ParseError
Throws:
ParseError

PrimaryPrefix

public static final void PrimaryPrefix()
                                throws ParseError
Throws:
ParseError

PrimarySuffix

public static final void PrimarySuffix()
                                throws ParseError
Throws:
ParseError

ArrayIndex

public static final void ArrayIndex()
                             throws ParseError
Throws:
ParseError

Action

public static final void Action()
                         throws ParseError
Throws:
ParseError

Member

public static final void Member()
                         throws ParseError
Throws:
ParseError

ArgumentList

public static final void ArgumentList()
                               throws ParseError
Throws:
ParseError

DimensionList

public static final void DimensionList()
                                throws ParseError
Throws:
ParseError

AllocationExpression

public static final void AllocationExpression()
                                       throws ParseError
Throws:
ParseError

ArrayAllocation

public static final void ArrayAllocation()
                                  throws ParseError
Throws:
ParseError

MemberName

public static final void MemberName()
                             throws ParseError
Throws:
ParseError

FullClassName

public static final void FullClassName()
                                throws ParseError
Throws:
ParseError

ClassName

public static final void ClassName()
                            throws ParseError
Throws:
ParseError

Id

public static final void Id()
                     throws ParseError
Throws:
ParseError

Literal

public static final void Literal()
                          throws ParseError
Throws:
ParseError

BooleanLiteral

public static final void BooleanLiteral()
                                 throws ParseError
Throws:
ParseError

NullLiteral

public static final void NullLiteral()
                              throws ParseError
Throws:
ParseError

ReInit

public static void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(JexParserTokenManager tm)

getNextToken

public static final Token getNextToken()
                                throws ParseError
Throws:
ParseError

getToken

public static final Token getToken(int index)
                            throws ParseError
Throws:
ParseError

token_error

protected void token_error()

enable_tracing

public static final void enable_tracing()

disable_tracing

public static final void disable_tracing()