org.jboss.seam.remoting.annotationparser.visitor
Class GJVoidDepthFirst<A>

java.lang.Object
  extended by org.jboss.seam.remoting.annotationparser.visitor.GJVoidDepthFirst<A>
All Implemented Interfaces:
GJVoidVisitor<A>

public class GJVoidDepthFirst<A>
extends Object
implements GJVoidVisitor<A>

Provides default methods which visit each node in the tree in depth-first order. Your visitors may extend this class.


Constructor Summary
GJVoidDepthFirst()
           
 
Method Summary
 void visit(Annotation n, A argu)
          f0 -> NormalAnnotation() | SingleMemberAnnotation() | MarkerAnnotation()
 void visit(AnnotationsUnit n, A argu)
          f0 -> [ Annotation() ( "," Annotation() )* ]
 void visit(BooleanLiteral n, A argu)
          f0 -> "true" | "false"
 void visit(ClassOrInterfaceType n, A argu)
          f0 -> f1 -> ( "." )* f2 -> [ "." "class" ]
 void visit(Literal n, A argu)
          f0 -> | | | | BooleanLiteral() | NullLiteral()
 void visit(MarkerAnnotation n, A argu)
          f0 -> "@" f1 -> Name()
 void visit(MemberValue n, A argu)
          f0 -> Annotation() | MemberValueArrayInitializer() | Literal() | ClassOrInterfaceType()
 void visit(MemberValueArrayInitializer n, A argu)
          f0 -> "{" f1 -> MemberValue() f2 -> ( "," MemberValue() )* f3 -> [ "," ] f4 -> "}"
 void visit(MemberValuePair n, A argu)
          f0 -> f1 -> "=" f2 -> MemberValue()
 void visit(MemberValuePairs n, A argu)
          f0 -> MemberValuePair() f1 -> ( "," MemberValuePair() )*
 void visit(Name n, A argu)
          f0 -> f1 -> ( "." )*
 void visit(NodeList n, A argu)
           
 void visit(NodeListOptional n, A argu)
           
 void visit(NodeOptional n, A argu)
           
 void visit(NodeSequence n, A argu)
           
 void visit(NodeToken n, A argu)
           
 void visit(NormalAnnotation n, A argu)
          f0 -> "@" f1 -> Name() f2 -> "(" f3 -> [ MemberValuePairs() ] f4 -> ")"
 void visit(NullLiteral n, A argu)
          f0 -> "null"
 void visit(PrimitiveType n, A argu)
          f0 -> "boolean" | "char" | "byte" | "short" | "int" | "long" | "float" | "double"
 void visit(SingleMemberAnnotation n, A argu)
          f0 -> "@" f1 -> Name() f2 -> "(" f3 -> MemberValue() f4 -> ")"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GJVoidDepthFirst

public GJVoidDepthFirst()
Method Detail

visit

public void visit(NodeList n,
                  A argu)
Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(NodeListOptional n,
                  A argu)
Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(NodeOptional n,
                  A argu)
Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(NodeSequence n,
                  A argu)
Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(NodeToken n,
                  A argu)
Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(AnnotationsUnit n,
                  A argu)
f0 -> [ Annotation() ( "," Annotation() )* ]

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(PrimitiveType n,
                  A argu)
f0 -> "boolean" | "char" | "byte" | "short" | "int" | "long" | "float" | "double"

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(Name n,
                  A argu)
f0 -> f1 -> ( "." )*

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(Literal n,
                  A argu)
f0 -> | | | | BooleanLiteral() | NullLiteral()

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(BooleanLiteral n,
                  A argu)
f0 -> "true" | "false"

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(NullLiteral n,
                  A argu)
f0 -> "null"

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(Annotation n,
                  A argu)
f0 -> NormalAnnotation() | SingleMemberAnnotation() | MarkerAnnotation()

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(NormalAnnotation n,
                  A argu)
f0 -> "@" f1 -> Name() f2 -> "(" f3 -> [ MemberValuePairs() ] f4 -> ")"

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(MarkerAnnotation n,
                  A argu)
f0 -> "@" f1 -> Name()

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(SingleMemberAnnotation n,
                  A argu)
f0 -> "@" f1 -> Name() f2 -> "(" f3 -> MemberValue() f4 -> ")"

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(MemberValuePairs n,
                  A argu)
f0 -> MemberValuePair() f1 -> ( "," MemberValuePair() )*

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(MemberValuePair n,
                  A argu)
f0 -> f1 -> "=" f2 -> MemberValue()

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(MemberValue n,
                  A argu)
f0 -> Annotation() | MemberValueArrayInitializer() | Literal() | ClassOrInterfaceType()

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(ClassOrInterfaceType n,
                  A argu)
f0 -> f1 -> ( "." )* f2 -> [ "." "class" ]

Specified by:
visit in interface GJVoidVisitor<A>

visit

public void visit(MemberValueArrayInitializer n,
                  A argu)
f0 -> "{" f1 -> MemberValue() f2 -> ( "," MemberValue() )* f3 -> [ "," ] f4 -> "}"

Specified by:
visit in interface GJVoidVisitor<A>


Copyright © 2011 Seam Framework. All Rights Reserved.