|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcager.jexpr.JExpr
JExpr - a parser for a very small subset of Java.
| Field Summary | |
Token |
jj_nt
|
boolean |
lookingAhead
|
Token |
token
|
JExprTokenManager |
token_source
|
| Constructor Summary | |
JExpr(java.io.InputStream stream)
|
|
JExpr(JExprTokenManager tm)
|
|
JExpr(java.io.Reader stream)
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public JExprTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
| Constructor Detail |
public JExpr(java.io.InputStream stream)
public JExpr(java.io.Reader stream)
public JExpr(JExprTokenManager tm)
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Throwable
java.lang.Throwable
public final CompilationUnit CompilationUnit()
throws ParseException
CompilationUnit production is the top-level production.
- Throws:
ParseException
public final java.lang.String PackageDeclaration()
throws ParseException
ParseException
public final void ImportDeclaration()
throws ParseException
ParseException
public final void TypeDeclaration()
throws ParseException
ParseException
public final ClassDeclaration ClassDeclaration()
throws ParseException
ParseException
public final void UnmodifiedClassDeclaration()
throws ParseException
ParseException
public final void ClassBody()
throws ParseException
ParseException
public final void NestedClassDeclaration()
throws ParseException
ParseException
public final void ClassBodyDeclaration()
throws ParseException
ParseException
public final void MethodDeclarationLookahead()
throws ParseException
ParseException
public final void InterfaceDeclaration()
throws ParseException
ParseException
public final void NestedInterfaceDeclaration()
throws ParseException
ParseException
public final void UnmodifiedInterfaceDeclaration()
throws ParseException
ParseException
public final void InterfaceMemberDeclaration()
throws ParseException
ParseException
public final void FieldDeclaration()
throws ParseException
ParseException
public final void VariableDeclarator()
throws ParseException
ParseException
public final java.lang.String VariableDeclaratorId()
throws ParseException
ParseException
public final void VariableInitializer()
throws ParseException
ParseException
public final void ArrayInitializer()
throws ParseException
ParseException
public final MethodDeclaration MethodDeclaration()
throws ParseException
ParseException
public final FormalParameters FormalParameters()
throws ParseException
ParseException
public final FormalParameter FormalParameter()
throws ParseException
ParseException
public final void ConstructorDeclaration()
throws ParseException
ParseException
public final void ExplicitConstructorInvocation()
throws ParseException
ParseException
public final void Initializer()
throws ParseException
ParseException
public final org.apache.bcel.generic.Type Type()
throws ParseException
ParseException
public final org.apache.bcel.generic.Type TypeName()
throws ParseException
ParseException
public final org.apache.bcel.generic.Type PrimitiveType()
throws ParseException
ParseException
public final org.apache.bcel.generic.Type ResultType()
throws ParseException
ParseException
public final java.lang.String Name()
throws ParseException
ParseException
public final void NameList()
throws ParseException
ParseException
public final Expression Expression()
throws ParseException
ParseException
public final void AssignmentOperator()
throws ParseException
ParseException
public final Expression ConditionalExpression()
throws ParseException
ParseException
public final Expression ConditionalOrExpression()
throws ParseException
ParseException
public final Expression ConditionalAndExpression()
throws ParseException
ParseException
public final Expression InclusiveOrExpression()
throws ParseException
ParseException
public final Expression ExclusiveOrExpression()
throws ParseException
ParseException
public final Expression AndExpression()
throws ParseException
ParseException
public final Expression EqualityExpression()
throws ParseException
ParseException
public final Expression InstanceOfExpression()
throws ParseException
ParseException
public final Expression RelationalExpression()
throws ParseException
ParseException
public final Expression ShiftExpression()
throws ParseException
ParseException
public final Expression AdditiveExpression()
throws ParseException
ParseException
public final Expression MultiplicativeExpression()
throws ParseException
ParseException
public final Expression UnaryExpression()
throws ParseException
ParseException
public final Expression PreIncrementExpression()
throws ParseException
ParseException
public final Expression PreDecrementExpression()
throws ParseException
ParseException
public final Expression UnaryExpressionNotPlusMinus()
throws ParseException
ParseException
public final void CastLookahead()
throws ParseException
ParseException
public final Expression PostfixExpression()
throws ParseException
ParseException
public final Expression CastExpression()
throws ParseException
ParseException
public final Expression PrimaryExpression()
throws ParseException
ParseException
public final void PrimaryPrefix(PrimaryExpression pe)
throws ParseException
ParseException
public final void PrimarySuffix(PrimaryExpression pe)
throws ParseException
ParseException
public final Expression Literal()
throws ParseException
ParseException
public final Expression BooleanLiteral()
throws ParseException
ParseException
public final Expression NullLiteral()
throws ParseException
ParseException
public final ArgumentList Arguments()
throws ParseException
ParseException
public final ArgumentList ArgumentList()
throws ParseException
ParseException
public final Expression AllocationExpression()
throws ParseException
ParseException
public final void ArrayDimsAndInits()
throws ParseException
ParseException
public final Statement Statement()
throws ParseException
ParseException
public final void LabeledStatement()
throws ParseException
ParseException
public final Block Block()
throws ParseException
ParseException
public final Statement BlockStatement()
throws ParseException
ParseException
public final void LocalVariableDeclaration()
throws ParseException
ParseException
public final void EmptyStatement()
throws ParseException
ParseException
public final void StatementExpression()
throws ParseException
ParseException
public final void SwitchStatement()
throws ParseException
ParseException
public final void SwitchLabel()
throws ParseException
ParseException
public final IfStatement IfStatement()
throws ParseException
ParseException
public final void WhileStatement()
throws ParseException
ParseException
public final void DoStatement()
throws ParseException
ParseException
public final void ForStatement()
throws ParseException
ParseException
public final void ForInit()
throws ParseException
ParseException
public final void StatementExpressionList()
throws ParseException
ParseException
public final void ForUpdate()
throws ParseException
ParseException
public final void BreakStatement()
throws ParseException
ParseException
public final void ContinueStatement()
throws ParseException
ParseException
public final ReturnStatement ReturnStatement()
throws ParseException
ParseException
public final void ThrowStatement()
throws ParseException
ParseException
public final void SynchronizedStatement()
throws ParseException
ParseException
public final void TryStatement()
throws ParseException
ParseExceptionpublic void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(JExprTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||