Class CaseBranch
java.lang.Object
org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
org.glassfish.pfl.dynamic.codegen.impl.NodeBase
org.glassfish.pfl.dynamic.codegen.impl.StatementBase
org.glassfish.pfl.dynamic.codegen.impl.BlockStatement
org.glassfish.pfl.dynamic.codegen.impl.CaseBranch
- All Implemented Interfaces:
AttributedObject
,Node
,Statement
,CopyInterceptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.BlockStatement
addAssign, addBreak, addDefinition, addExpression, addIf, addReturn, addReturn, addSwitch, addThrow, addTry, addWhile, body, exprFactory, getVar, isEmpty
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.NodeBase
copy, copy, getAncestor, id, parent, parent, postCopy, preCopy, toString
Methods inherited from class org.glassfish.pfl.dynamic.codegen.impl.AttributedObjectBase
attributes, get, set
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.glassfish.pfl.dynamic.codegen.impl.AttributedObject
attributes, get, set
-
Field Details
-
label
private int label
-
-
Constructor Details
-
CaseBranch
CaseBranch(Node parent, int label)
-
-
Method Details
-
label
public int label() -
accept
Description copied from interface:Node
Accept the visitor and allow it to perform actions on this Node.- Specified by:
accept
in interfaceNode
- Overrides:
accept
in classBlockStatement
-