Modifier and Type | Method and Description |
---|---|
Accessor<StructLike> |
accessor() |
T |
eval(StructLike struct)
Produce a value from the struct for this expression.
|
Types.NestedField |
field() |
int |
fieldId() |
boolean |
isEquivalentTo(BoundTerm<?> other)
Returns whether this term is equivalent to another.
|
java.lang.String |
name() |
BoundReference<T> |
ref()
Returns the underlying reference.
|
java.lang.String |
toString() |
Type |
type()
Returns the type produced by this expression.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparator
public T eval(StructLike struct)
Bound
public Types.NestedField field()
public BoundReference<T> ref()
Bound
public Type type()
BoundTerm
public boolean isEquivalentTo(BoundTerm<?> other)
BoundTerm
isEquivalentTo
in interface BoundTerm<T>
other
- a termpublic int fieldId()
public Accessor<StructLike> accessor()
public java.lang.String toString()
toString
in class java.lang.Object