org.tromer.jie.syntaxtree
Class MethodDeclarationLookahead

java.lang.Object
  |
  +--org.tromer.jie.PiggybackableNode
        |
        +--org.tromer.jie.syntaxtree.MethodDeclarationLookahead

public class MethodDeclarationLookahead
extends PiggybackableNode
implements Node

Grammar production:

 nodeListOptional -> ( "public" | "protected" | "private" | "static" | "abstract" | "final" | "native" | "synchronized" | "strictfp" )*
 resultType -> ResultType()
 nodeToken -> <IDENTIFIER>
 nodeToken1 -> "("
 

See Also:
Serialized Form

Field Summary
 NodeListOptional nodeListOptional
           
 NodeToken nodeToken
           
 NodeToken nodeToken1
           
 ResultType resultType
           
 
Fields inherited from class org.tromer.jie.PiggybackableNode
beginColumn, beginLine, endColumn, endLine, postpiggy, postvisitIndex, prepiggy, previsitIndex
 
Constructor Summary
MethodDeclarationLookahead(NodeListOptional n0, ResultType n1, NodeToken n2)
           
MethodDeclarationLookahead(NodeListOptional n0, ResultType n1, NodeToken n2, NodeToken n3)
           
 
Method Summary
 java.lang.Object accept(ObjectVisitor v, java.lang.Object argu)
           
 void accept(Visitor v)
           
 Node getParent()
           
 void setParent(Node n)
           
 
Methods inherited from class org.tromer.jie.PiggybackableNode
attachPostpiggy, attachPrepiggy, getEndPos, getStartPos
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeListOptional

public NodeListOptional nodeListOptional

resultType

public ResultType resultType

nodeToken

public NodeToken nodeToken

nodeToken1

public NodeToken nodeToken1
Constructor Detail

MethodDeclarationLookahead

public MethodDeclarationLookahead(NodeListOptional n0,
                                  ResultType n1,
                                  NodeToken n2,
                                  NodeToken n3)

MethodDeclarationLookahead

public MethodDeclarationLookahead(NodeListOptional n0,
                                  ResultType n1,
                                  NodeToken n2)
Method Detail

accept

public void accept(Visitor v)
Specified by:
accept in interface Node

accept

public java.lang.Object accept(ObjectVisitor v,
                               java.lang.Object argu)
Specified by:
accept in interface Node

setParent

public void setParent(Node n)
Specified by:
setParent in interface Node

getParent

public Node getParent()
Specified by:
getParent in interface Node