java.lang.Object
java.lang.Record
org.aya.resolve.visitor.ExprResolver
- 记录组件:
allowedGeneralizes- will be filled with generalized vars if allowGeneralized, and represents the allowed generalized level vars otherwise
public record ExprResolver(@NotNull ExprResolver.Options options, @NotNull kala.collection.mutable.MutableMap<GeneralizedVar,Expr.Param> allowedGeneralizes, @NotNull kala.collection.mutable.MutableList<TyckOrder> reference, @NotNull kala.collection.mutable.MutableStack<org.aya.resolve.visitor.ExprResolver.Where> where, @Nullable Consumer<TyckUnit> parentAdd)
extends Record
Resolves bindings.
- 另请参阅:
- Implementation Requirements:
- allowedGeneralizes must be linked map
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器构造器说明ExprResolver(@NotNull ExprResolver.Options options) ExprResolver(@NotNull ExprResolver.Options options, @NotNull kala.collection.mutable.MutableMap<GeneralizedVar, Expr.Param> allowedGeneralizes, @NotNull kala.collection.mutable.MutableList<TyckOrder> reference, @NotNull kala.collection.mutable.MutableStack<org.aya.resolve.visitor.ExprResolver.Where> where, @Nullable Consumer<TyckUnit> parentAdd) 创建ExprResolver记录类的实例。 -
方法概要
修饰符和类型方法说明@NotNull kala.collection.mutable.MutableMap<GeneralizedVar,Expr.Param> 返回allowedGeneralizes记录组件的值。@NotNull ExprResolverbody()voidvoidfinal boolean指示某个其他对象是否“等于”此对象。final inthashCode()返回此对象的哈希代码值。@NotNull ExprResolver@NotNull ExprResolver.Optionsoptions()返回options记录组件的值。返回parentAdd记录组件的值。@NotNull kala.collection.mutable.MutableList<TyckOrder>返回reference记录组件的值。@NotNull Expr@NotNull kala.tuple.Tuple2<kala.collection.SeqView<Expr.Param>,Context> resolveParams(@NotNull kala.collection.SeqLike<Expr.Param> params, Context ctx) final StringtoString()返回此记录类的字符串表示形式。@NotNull kala.collection.mutable.MutableStack<org.aya.resolve.visitor.ExprResolver.Where>where()返回where记录组件的值。
-
字段详细资料
-
RESTRICTIVE
-
LAX
-
-
构造器详细资料
-
ExprResolver
-
ExprResolver
public ExprResolver(@NotNull @NotNull ExprResolver.Options options, @NotNull @NotNull kala.collection.mutable.MutableMap<GeneralizedVar, Expr.Param> allowedGeneralizes, @NotNull @NotNull kala.collection.mutable.MutableList<TyckOrder> reference, @NotNull @NotNull kala.collection.mutable.MutableStack<org.aya.resolve.visitor.ExprResolver.Where> where, @Nullable @Nullable Consumer<TyckUnit> parentAdd) 创建ExprResolver记录类的实例。- 参数:
options-options记录组件的值allowedGeneralizes-allowedGeneralizes记录组件的值reference-reference记录组件的值where-where记录组件的值parentAdd-parentAdd记录组件的值
-
-
方法详细资料
-
resolve
-
enterHead
public void enterHead() -
enterBody
public void enterBody() -
member
-
body
-
resolveParams
@Contract(pure=true) @NotNull public @NotNull kala.tuple.Tuple2<kala.collection.SeqView<Expr.Param>,Context> resolveParams(@NotNull @NotNull kala.collection.SeqLike<Expr.Param> params, Context ctx) -
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录类中的所有组件都使用Objects::equals(Object,Object)进行比较。 -
options
返回options记录组件的值。- 返回:
options记录组件的值
-
allowedGeneralizes
@NotNull public @NotNull kala.collection.mutable.MutableMap<GeneralizedVar,Expr.Param> allowedGeneralizes()返回allowedGeneralizes记录组件的值。- 返回:
allowedGeneralizes记录组件的值
-
reference
返回reference记录组件的值。- 返回:
reference记录组件的值
-
where
@NotNull public @NotNull kala.collection.mutable.MutableStack<org.aya.resolve.visitor.ExprResolver.Where> where()返回where记录组件的值。- 返回:
where记录组件的值
-
parentAdd
返回parentAdd记录组件的值。- 返回:
parentAdd记录组件的值
-