public class EnumLiteral extends Literal
| Constructor and Description |
|---|
EnumLiteral(Optional<NodeLocation> location,
String type,
Object value) |
EnumLiteral(String type,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor, use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object o) |
String |
getType() |
Object |
getValue() |
int |
hashCode() |
getChildrentoStringgetLocationpublic EnumLiteral(Optional<NodeLocation> location, String type, Object value)
public Object getValue()
public String getType()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
ExpressionAstVisitor, use AstVisitor.process(Node, Object) instead.Copyright © 2012–2023. All rights reserved.