Package openGql.grammar
Class LetValueExpression
- java.lang.Object
-
- openGql.grammar.LetValueExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LetValueExpression>
public class LetValueExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<LetValueExpression>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameLET_VARIABLESName of theopenGql.grammar.LetValueExpression.letVariablesfield.java.util.List<LetVariableDefinition>letVariablesstatic NameTYPE_Name of theopenGql.grammar.LetValueExpressiontype.static NameVALUE_EXPRESSIONName of theopenGql.grammar.LetValueExpression.valueExpressionfield.ValueExpressionvalueExpression
-
Constructor Summary
Constructors Constructor Description LetValueExpression(java.util.List<LetVariableDefinition> letVariables, ValueExpression valueExpression)Constructs an immutableLetValueExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(LetValueExpression other)booleanequals(java.lang.Object other)inthashCode()LetValueExpressionwithLetVariables(java.util.List<LetVariableDefinition> letVariables)Returns a copy of thisLetValueExpressionwithletVariablesreplaced.LetValueExpressionwithValueExpression(ValueExpression valueExpression)Returns a copy of thisLetValueExpressionwithvalueExpressionreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.LetValueExpressiontype.
-
LET_VARIABLES
public static final Name LET_VARIABLES
Name of theopenGql.grammar.LetValueExpression.letVariablesfield.
-
VALUE_EXPRESSION
public static final Name VALUE_EXPRESSION
Name of theopenGql.grammar.LetValueExpression.valueExpressionfield.
-
letVariables
public final java.util.List<LetVariableDefinition> letVariables
-
valueExpression
public final ValueExpression valueExpression
-
-
Constructor Detail
-
LetValueExpression
public LetValueExpression(java.util.List<LetVariableDefinition> letVariables, ValueExpression valueExpression)
Constructs an immutableLetValueExpression.
-
-
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(LetValueExpression other)
- Specified by:
compareToin interfacejava.lang.Comparable<LetValueExpression>
-
withLetVariables
public LetValueExpression withLetVariables(java.util.List<LetVariableDefinition> letVariables)
Returns a copy of thisLetValueExpressionwithletVariablesreplaced.
-
withValueExpression
public LetValueExpression withValueExpression(ValueExpression valueExpression)
Returns a copy of thisLetValueExpressionwithvalueExpressionreplaced.
-
-