org.tromer.jie.syntaxtree
Class TryStatement
java.lang.Object
|
+--org.tromer.jie.PiggybackableNode
|
+--org.tromer.jie.syntaxtree.TryStatement
- public class TryStatement
- extends PiggybackableNode
- implements Node
Grammar production:
nodeToken -> "try"
block -> Block()
nodeListOptional -> ( "catch" "(" FormalParameter() ")" Block() )*
nodeOptional -> [ "finally" Block() ]
- 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
block
public Block block
nodeListOptional
public NodeListOptional nodeListOptional
nodeOptional
public NodeOptional nodeOptional
TryStatement
public TryStatement(NodeToken n0,
Block n1,
NodeListOptional n2,
NodeOptional n3)
TryStatement
public TryStatement(Block n0,
NodeListOptional n1,
NodeOptional n2)
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