|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.orizon.mirage.java.parser.JavaParser
public class JavaParser
Field Summary | |
---|---|
JavaLexer |
token_source
Generated Lexer. |
Constructor Summary | |
---|---|
JavaParser(JavaLexer tm)
Constructor with generated Token Manager. |
|
JavaParser(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 JavaLexer token_source
Constructor Detail |
---|
public JavaParser(java.io.Reader stream)
public JavaParser(JavaLexer tm)
Method Detail |
---|
public static void parseFile(java.io.File file, boolean dumpTree) throws java.io.IOException, ParseException
java.io.IOException
ParseException
public static void main(java.lang.String[] args)
public static void usage()
public boolean nodeCreated()
public Node rootNode()
public void pushNode(Node n)
public Node popNode()
public Node peekNode()
public void pokeNode(Node n)
public void pokeNode(Node n, boolean clearNodeScope)
public int nodeArity()
public void clearNodeScope()
public void openNodeScope(Node n)
public void closeNodeScope(Node n, int num)
public void closeNodeScope(Node n, boolean condition)
public boolean getBuildTree()
public void setBuildTree(boolean buildTree)
public void setInputSource(java.lang.String inputSource)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
public final CompilationUnit CompilationUnit() throws ParseException
ParseException
public final PackageDeclaration PackageDeclaration() throws ParseException
ParseException
public final ImportDeclaration ImportDeclaration() throws ParseException
ParseException
public final void Modifiers() throws ParseException
ParseException
public final TypeDeclaration TypeDeclaration() throws ParseException
ParseException
public final void ClassDeclaration() throws ParseException
ParseException
public final void InterfaceDeclaration() throws ParseException
ParseException
public final ExtendsList ExtendsList(boolean isInterface) throws ParseException
ParseException
public final ImplementsList ImplementsList(boolean isInterface) throws ParseException
ParseException
public final void EnumDeclaration() throws ParseException
ParseException
public final void EnumBody() throws ParseException
ParseException
public final void EnumConstant() throws ParseException
ParseException
public final TypeParameterList TypeParameters() throws ParseException
ParseException
public final void TypeParameter() throws ParseException
ParseException
public final void TypeBound() throws ParseException
ParseException
public final ClassOrInterfaceBody ClassOrInterfaceBody(boolean isInterface) throws ParseException
ParseException
public final void ClassOrInterfaceBodyDeclaration(boolean isInterface) throws ParseException
ParseException
public final void FieldDeclaration() throws ParseException
ParseException
public final void VariableDeclarator() throws ParseException
ParseException
public final void VariableDeclaratorId() throws ParseException
ParseException
public final void VariableInitializer() throws ParseException
ParseException
public final void ArrayInitializer() throws ParseException
ParseException
public final void MethodDeclaration() throws ParseException
ParseException
public final void MethodDeclarator() throws ParseException
ParseException
public final FormalParams 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 void Type() throws ParseException
ParseException
public final void ReferenceType() throws ParseException
ParseException
public final ObjectType ClassOrInterfaceType() throws ParseException
ParseException
public final void TypeArguments() throws ParseException
ParseException
public final void TypeArgument() throws ParseException
ParseException
public final void WildcardBounds() throws ParseException
ParseException
public final void PrimitiveType() throws ParseException
ParseException
public final void PrimitiveArrayType() throws ParseException
ParseException
public final ReturnType ReturnType() throws ParseException
ParseException
public final Name Name() throws ParseException
ParseException
public final ThrowsList ThrowsList() throws ParseException
ParseException
public final Expression Expression() throws ParseException
ParseException
public final void AssignmentExpression() throws ParseException
ParseException
public final void AssignmentOperator() throws ParseException
ParseException
public final void TernaryExpression() throws ParseException
ParseException
public final void ConditionalOrExpression() throws ParseException
ParseException
public final void ConditionalAndExpression() throws ParseException
ParseException
public final void InclusiveOrExpression() throws ParseException
ParseException
public final void ExclusiveOrExpression() throws ParseException
ParseException
public final void AndExpression() throws ParseException
ParseException
public final void EqualityExpression() throws ParseException
ParseException
public final void InstanceOfExpression() throws ParseException
ParseException
public final void RelationalExpression() throws ParseException
ParseException
public final void ShiftExpression() throws ParseException
ParseException
public final void AdditiveExpression() throws ParseException
ParseException
public final void MultiplicativeExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PreIncrementExpression() throws ParseException
ParseException
public final void PreDecrementExpression() throws ParseException
ParseException
public final void UnaryExpressionNotPlusMinus() throws ParseException
ParseException
public final void CastLookahead() throws ParseException
ParseException
public final void PostfixExpression() throws ParseException
ParseException
public final void CastExpression() throws ParseException
ParseException
public final Expression PrimaryExpression() throws ParseException
ParseException
public final void MemberSelector() throws ParseException
ParseException
public final void PrimaryPrefix() throws ParseException
ParseException
public final void PrimarySuffix() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final int IntegerLiteral() throws ParseException
ParseException
public final InvocationArgs Arguments() throws ParseException
ParseException
public final void AllocationExpression() throws ParseException
ParseException
public final void ArrayDimsAndInits() throws ParseException
ParseException
public final void Statement() throws ParseException
ParseException
public final void AssertStatement() throws ParseException
ParseException
public final void LabeledStatement() throws ParseException
ParseException
public final CodeBlock Block() throws ParseException
ParseException
public final void 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 void 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 void ReturnStatement() throws ParseException
ParseException
public final void ThrowStatement() throws ParseException
ParseException
public final void SynchronizedStatement() throws ParseException
ParseException
public final TryStatement TryStatement() throws ParseException
ParseException
public final CatchBlock CatchBlock() throws ParseException
ParseException
public final FinallyBlock FinallyBlock() throws ParseException
ParseException
public final void Annotation() throws ParseException
ParseException
public final void NormalAnnotation() throws ParseException
ParseException
public final void MarkerAnnotation() throws ParseException
ParseException
public final void SingleMemberAnnotation() throws ParseException
ParseException
public final void MemberValuePairs() throws ParseException
ParseException
public final void MemberValuePair() throws ParseException
ParseException
public final void MemberValue() throws ParseException
ParseException
public final void MemberValueArrayInitializer() throws ParseException
ParseException
public final void AnnotationTypeDeclaration() throws ParseException
ParseException
public final void AnnotationTypeBody() throws ParseException
ParseException
public final void AnnotationTypeMemberDeclaration() throws ParseException
ParseException
public final void DefaultValue() throws ParseException
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |