org.tromer.jie.syntaxtree
Class LocalVariableDeclaration

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

public class LocalVariableDeclaration
extends PiggybackableNode
implements Node

Grammar production:

 nodeOptional -> [ "final" ]
 type -> Type()
 variableDeclarator -> VariableDeclarator()
 nodeListOptional -> ( "," VariableDeclarator() )*
 

See Also:
Serialized Form

Field Summary
 NodeListOptional nodeListOptional
           
 NodeOptional nodeOptional
           
 Type type
           
 VariableDeclarator variableDeclarator
           
 
Fields inherited from class org.tromer.jie.PiggybackableNode
beginColumn, beginLine, endColumn, endLine, postpiggy, postvisitIndex, prepiggy, previsitIndex
 
Constructor Summary
LocalVariableDeclaration(NodeOptional n0, Type n1, VariableDeclarator n2, NodeListOptional 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

nodeOptional

public NodeOptional nodeOptional

type

public Type type

variableDeclarator

public VariableDeclarator variableDeclarator

nodeListOptional

public NodeListOptional nodeListOptional
Constructor Detail

LocalVariableDeclaration

public LocalVariableDeclaration(NodeOptional n0,
                                Type n1,
                                VariableDeclarator n2,
                                NodeListOptional n3)
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