Package openGql.grammar
Class CaseOperand.ValueExpression
- java.lang.Object
-
- openGql.grammar.CaseOperand
-
- openGql.grammar.CaseOperand.ValueExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CaseOperand>
- Enclosing class:
- CaseOperand
public static final class CaseOperand.ValueExpression extends CaseOperand implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.CaseOperand
CaseOperand.ElementReference, CaseOperand.PartialVisitor<R>, CaseOperand.ValueExpression, CaseOperand.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description NonParenthesizedPrimaryValueExpressionvalue-
Fields inherited from class openGql.grammar.CaseOperand
ELEMENT_REFERENCE, TYPE_, VALUE_EXPRESSION
-
-
Constructor Summary
Constructors Constructor Description ValueExpression(NonParenthesizedPrimaryValueExpression value)Constructs an immutableCaseOperand.ValueExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(CaseOperand.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(CaseOperand other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final NonParenthesizedPrimaryValueExpression value
-
-
Constructor Detail
-
ValueExpression
public ValueExpression(NonParenthesizedPrimaryValueExpression value)
Constructs an immutableCaseOperand.ValueExpression.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(CaseOperand other)
- Specified by:
compareToin interfacejava.lang.Comparable<CaseOperand>
-
accept
public <R> R accept(CaseOperand.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classCaseOperand
-
-