|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Labeled
Am immutable representation of a Java statement with a label. A labeled statement contains the statement being labeled and a string label.
Field Summary |
---|
Fields inherited from interface polyglot.ast.Term |
---|
ENTRY, EXIT |
Method Summary | |
---|---|
java.lang.String |
label()
The label. |
Labeled |
label(java.lang.String label)
Set the label. |
Id |
labelNode()
The label. |
Labeled |
labelNode(Id label)
Set the label. |
Stmt |
statement()
The statement to label. |
Labeled |
statement(Stmt statement)
Set the statement to label. |
Methods inherited from interface polyglot.ast.Term |
---|
acceptCFG, exceptions, exceptions, firstChild, reachable, reachable |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitChild, visitEdge, visitList |
Methods inherited from interface polyglot.ast.JL |
---|
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
---|
addDecls, buildTypes, buildTypesEnter, checkConstants, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChildren |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Method Detail |
---|
Id labelNode()
Labeled labelNode(Id label)
java.lang.String label()
Labeled label(java.lang.String label)
Stmt statement()
Labeled statement(Stmt statement)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |