Interface NodeWithOptionalLabel<T extends Node>
-
- All Known Implementing Classes:
ContinueStmt
public interface NodeWithOptionalLabel<T extends Node>A node that has an optional label.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<SimpleName>getLabel()default Optional<String>getLabelAsString()TremoveLabel()TsetLabel(SimpleName label)default TsetLabel(String label)
-
-
-
Method Detail
-
getLabel
Optional<SimpleName> getLabel()
-
setLabel
T setLabel(SimpleName label)
-
removeLabel
T removeLabel()
-
-