java.lang.Object
java.lang.Record
org.aya.concrete.Expr.Hole
- All Implemented Interfaces:
Expr,AyaDocile,org.aya.guest0x0.cubical.Restr.TermLike<Expr>,org.aya.util.error.SourceNode
- Enclosing interface:
Expr
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.concrete.Expr
Expr.App, Expr.Array, Expr.BinOpSeq, Expr.Coe, Expr.Do, Expr.DoBind, Expr.Error, Expr.Field, Expr.Hole, Expr.Idiom, Expr.IdiomNames, Expr.ISet, Expr.Lambda, Expr.Let, Expr.LetBind, Expr.Lift, Expr.LitInt, Expr.LitString, Expr.Match, Expr.NamedArg, Expr.New, Expr.Param, Expr.PartEl, Expr.Path, Expr.Pi, Expr.Proj, Expr.Prop, Expr.RawProj, Expr.RawSort, Expr.Ref, Expr.Set, Expr.Sigma, Expr.Sort, Expr.Tuple, Expr.Type, Expr.Unresolved, Expr.WithTermNested classes/interfaces inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
org.aya.guest0x0.cubical.Restr.TermLike.Factory<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkala.value.MutableValue<kala.collection.immutable.ImmutableSeq<LocalVar>>Returns the value of theaccessibleLocalrecord component.descent(@NotNull UnaryOperator<@NotNull Expr> f) final booleanIndicates whether some other object is "equal to" this one.booleanexplicit()Returns the value of theexplicitrecord component.@Nullable Exprfilling()Returns the value of thefillingrecord 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.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.generic.AyaDocile
debuggerOnlyToDocMethods inherited from interface org.aya.concrete.Expr
resolveLax, toDocMethods inherited from interface org.aya.guest0x0.cubical.Restr.TermLike
asFormula
-
Constructor Details
-
Hole
public Hole(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, boolean explicit, @Nullable @Nullable Expr filling) -
Hole
public Hole(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, boolean explicit, @Nullable @Nullable Expr filling, kala.value.MutableValue<kala.collection.immutable.ImmutableSeq<LocalVar>> accessibleLocal) Creates an instance of aHolerecord class.- Parameters:
sourcePos- the value for thesourcePosrecord componentexplicit- the value for theexplicitrecord componentfilling- the value for thefillingrecord componentaccessibleLocal- the value for theaccessibleLocalrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
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
-
explicit
public boolean explicit()Returns the value of theexplicitrecord component.- Returns:
- the value of the
explicitrecord component
-
filling
Returns the value of thefillingrecord component.- Returns:
- the value of the
fillingrecord component
-
accessibleLocal
Returns the value of theaccessibleLocalrecord component.- Returns:
- the value of the
accessibleLocalrecord component
-