java.lang.Object
java.lang.Record
org.aya.concrete.stmt.BindBlock
public record BindBlock(@NotNull org.aya.util.error.SourcePos sourcePos, @NotNull kala.value.MutableValue<@Nullable Context> context, @NotNull kala.collection.immutable.ImmutableSeq<QualifiedID> loosers, @NotNull kala.collection.immutable.ImmutableSeq<QualifiedID> tighters, @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?,?>>> resolvedLoosers, @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?,?>>> resolvedTighters)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBindBlock(@NotNull org.aya.util.error.SourcePos sourcePos, @NotNull kala.value.MutableValue<@Nullable Context> context, @NotNull kala.collection.immutable.ImmutableSeq<QualifiedID> loosers, @NotNull kala.collection.immutable.ImmutableSeq<QualifiedID> tighters, @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?, ?>>> resolvedLoosers, @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?, ?>>> resolvedTighters) Creates an instance of aBindBlockrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.value.MutableValue<@Nullable Context>context()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull kala.collection.immutable.ImmutableSeq<QualifiedID>loosers()Returns the value of theloosersrecord component.@NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?,?>>> Returns the value of theresolvedLoosersrecord component.@NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?,?>>> Returns the value of theresolvedTightersrecord component.@NotNull org.aya.util.error.SourcePosReturns the value of thesourcePosrecord component.@NotNull kala.collection.immutable.ImmutableSeq<QualifiedID>tighters()Returns the value of thetightersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
BindBlock
public BindBlock(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, @NotNull @NotNull kala.value.MutableValue<@Nullable Context> context, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<QualifiedID> loosers, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<QualifiedID> tighters, @NotNull @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?, ?>>> resolvedLoosers, @NotNull @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?, ?>>> resolvedTighters) Creates an instance of aBindBlockrecord class.- Parameters:
sourcePos- the value for thesourcePosrecord componentcontext- the value for thecontextrecord componentloosers- the value for theloosersrecord componenttighters- the value for thetightersrecord componentresolvedLoosers- the value for theresolvedLoosersrecord componentresolvedTighters- the value for theresolvedTightersrecord component
-
-
Method Details
-
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.- Returns:
- the value of the
sourcePosrecord component
-
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
loosers
Returns the value of theloosersrecord component.- Returns:
- the value of the
loosersrecord component
-
tighters
Returns the value of thetightersrecord component.- Returns:
- the value of the
tightersrecord component
-
resolvedLoosers
@NotNull public @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?,?>>> resolvedLoosers()Returns the value of theresolvedLoosersrecord component.- Returns:
- the value of the
resolvedLoosersrecord component
-
resolvedTighters
@NotNull public @NotNull kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<DefVar<?,?>>> resolvedTighters()Returns the value of theresolvedTightersrecord component.- Returns:
- the value of the
resolvedTightersrecord component
-