org.tromer.jie.syntaxtree
Class FieldDeclaration
java.lang.Object
|
+--org.tromer.jie.PiggybackableNode
|
+--org.tromer.jie.syntaxtree.FieldDeclaration
- public class FieldDeclaration
- extends PiggybackableNode
- implements Node
Grammar production:
nodeListOptional -> ( "public" | "protected" | "private" | "static" | "final" | "transient" | "volatile" )*
type -> Type()
variableDeclarator -> VariableDeclarator()
nodeListOptional1 -> ( "," VariableDeclarator() )*
nodeToken -> ";"
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
nodeListOptional
public NodeListOptional nodeListOptional
type
public Type type
variableDeclarator
public VariableDeclarator variableDeclarator
nodeListOptional1
public NodeListOptional nodeListOptional1
nodeToken
public NodeToken nodeToken
FieldDeclaration
public FieldDeclaration(NodeListOptional n0,
Type n1,
VariableDeclarator n2,
NodeListOptional n3,
NodeToken n4)
FieldDeclaration
public FieldDeclaration(NodeListOptional n0,
Type n1,
VariableDeclarator n2,
NodeListOptional n3)
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