java.lang.Object
java.lang.Record
org.aya.concrete.Expr.DoBind
- All Implemented Interfaces:
org.aya.util.error.SourceNode
- Enclosing interface:
Expr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Expr.DoBinddescent(@NotNull UnaryOperator<@NotNull Expr> f) final booleanIndicates whether some other object is "equal to" this one.@NotNull Exprexpr()Returns the value of theexprrecord component.final inthashCode()Returns a hash code value for this object.@NotNull org.aya.util.error.SourcePosReturns the value of thesourcePosrecord component.final StringtoString()Returns a string representation of this record class.@NotNull Expr.DoBind@NotNull LocalVarvar()Returns the value of thevarrecord component.
-
Constructor Details
-
DoBind
public DoBind(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull LocalVar var, @NotNull @NotNull Expr expr) Creates an instance of aDoBindrecord class.- Parameters:
sourcePos- the value for thesourcePosrecord componentvar- the value for thevarrecord componentexpr- the value for theexprrecord component
-
-
Method Details
-
update
-
descent
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
sourcePos
@NotNull public @NotNull org.aya.util.error.SourcePos sourcePos()Returns the value of thesourcePosrecord component.- Specified by:
sourcePosin interfaceorg.aya.util.error.SourceNode- Returns:
- the value of the
sourcePosrecord component
-
var
Returns the value of thevarrecord component.- Returns:
- the value of the
varrecord component
-
expr
Returns the value of theexprrecord component.- Returns:
- the value of the
exprrecord component
-