@Immutable public final class VariableReferenceExpression extends RowExpression implements Comparable<VariableReferenceExpression>
| Constructor and Description |
|---|
VariableReferenceExpression(Optional<SourceLocation> sourceLocation,
String name,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(RowExpressionVisitor<R,C> visitor,
C context) |
RowExpression |
canonicalize() |
int |
compareTo(VariableReferenceExpression o) |
boolean |
equals(Object obj) |
String |
getName() |
Type |
getType() |
int |
hashCode() |
String |
toString() |
getSourceLocationpublic VariableReferenceExpression(Optional<SourceLocation> sourceLocation, String name, Type type)
public String getName()
public Type getType()
getType in class RowExpressionpublic int hashCode()
hashCode in class RowExpressionpublic String toString()
toString in class RowExpressionpublic <R,C> R accept(RowExpressionVisitor<R,C> visitor, C context)
accept in class RowExpressionpublic RowExpression canonicalize()
canonicalize in class RowExpressionpublic boolean equals(Object obj)
equals in class RowExpressionpublic int compareTo(VariableReferenceExpression o)
compareTo in interface Comparable<VariableReferenceExpression>Copyright © 2012–2022. All rights reserved.