org.tromer.jie.syntaxtree
Class ImportDeclaration
java.lang.Object
|
+--org.tromer.jie.PiggybackableNode
|
+--org.tromer.jie.syntaxtree.ImportDeclaration
- public class ImportDeclaration
- extends PiggybackableNode
- implements Node
Grammar production:
nodeToken -> "import"
name -> Name()
nodeOptional -> [ "." "*" ]
nodeToken1 -> ";"
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
nodeToken
public NodeToken nodeToken
name
public Name name
nodeOptional
public NodeOptional nodeOptional
nodeToken1
public NodeToken nodeToken1
ImportDeclaration
public ImportDeclaration(NodeToken n0,
Name n1,
NodeOptional n2,
NodeToken n3)
ImportDeclaration
public ImportDeclaration(Name n0,
NodeOptional n1)
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