public class LabelStatement extends Statement
Expression context. If it
is jumped to, it will get the value provided by the corresponding
GotoStatement. Otherwise, it receives the value in
defaultValue. If the Type equals Void, no value should be
provided.| Modifier and Type | Field and Description |
|---|---|
Expression |
defaultValue |
nodeType, type| Constructor and Description |
|---|
LabelStatement(Expression defaultValue,
ExpressionType nodeType) |
| Modifier and Type | Method and Description |
|---|---|
LabelStatement |
accept(Shuttle shuttle) |
<R> R |
accept(Visitor<R> visitor) |
boolean |
equals(Object o) |
int |
hashCode() |
accept, accept0, evaluate, getNodeType, getType, toStringpublic final Expression defaultValue
public LabelStatement(Expression defaultValue, ExpressionType nodeType)
public LabelStatement accept(Shuttle shuttle)
public <R> R accept(Visitor<R> visitor)
public boolean equals(Object o)
equals in class AbstractNodepublic int hashCode()
hashCode in class AbstractNodeCopyright © 2012–2023 The Apache Software Foundation. All rights reserved.