java.lang.Object
java.lang.Record
org.aya.resolve.context.BindContext
- 所有已实现的接口:
Context
public record BindContext(@NotNull Context parent, @NotNull String name, @NotNull LocalVar ref)
extends Record
implements Context
Introduces a locally bound variable to the context.
-
嵌套类概要
从接口继承的嵌套类/接口 org.aya.resolve.context.Context
Context.ResolvingInterruptedException -
字段概要
从接口继承的字段 org.aya.resolve.context.Context
TOP_LEVEL_MOD_NAME -
构造器概要
构造器构造器说明BindContext(@NotNull Context parent, @NotNull String name, @NotNull LocalVar ref) 创建BindContext记录类的实例。 -
方法概要
修饰符和类型方法说明kala.collection.mutable.MutableList<LocalVar>final boolean指示某个其他对象是否“等于”此对象。getModuleLocalMaybe(@NotNull kala.collection.immutable.ImmutableSeq<String> modName) @Nullable AnyVargetQualifiedLocalMaybe(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull String> modName, @NotNull String name, @NotNull org.aya.util.error.SourcePos sourcePos) @Nullable AnyVargetUnqualifiedLocalMaybe(@NotNull String name, @NotNull org.aya.util.error.SourcePos sourcePos) final inthashCode()返回此对象的哈希代码值。@NotNull Stringname()返回name记录组件的值。@NotNull Contextparent()返回parent记录组件的值。@NotNull LocalVarref()返回ref记录组件的值。@NotNull org.aya.util.reporter.Reporterreporter()final StringtoString()返回此记录类的字符串表示形式。@NotNull Path从接口继承的方法 org.aya.resolve.context.Context
bind, bind, bind, derive, derive, get, getMaybe, getModuleMaybe, getQualified, getQualified, getQualifiedMaybe, getQualifiedMaybe, getUnqualified, getUnqualifiedMaybe, iterate, moduleName, reportAndThrow
-
构造器详细资料
-
方法详细资料
-
parent
返回parent记录组件的值。 -
reporter
@NotNull public @NotNull org.aya.util.reporter.Reporter reporter() -
underlyingFile
- 指定者:
underlyingFile在接口中Context
-
collect
-
getUnqualifiedLocalMaybe
@Nullable public @Nullable AnyVar getUnqualifiedLocalMaybe(@NotNull @NotNull String name, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos) - 指定者:
getUnqualifiedLocalMaybe在接口中Context
-
getQualifiedLocalMaybe
@Nullable public @Nullable AnyVar getQualifiedLocalMaybe(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull String> modName, @NotNull @NotNull String name, @NotNull @NotNull org.aya.util.error.SourcePos sourcePos) - 指定者:
getQualifiedLocalMaybe在接口中Context
-
getModuleLocalMaybe
@Nullable public @Nullable kala.collection.mutable.MutableMap<String,AnyVar> getModuleLocalMaybe(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<String> modName) - 指定者:
getModuleLocalMaybe在接口中Context
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录类中的所有组件都使用Objects::equals(Object,Object)进行比较。 -
name
返回name记录组件的值。- 返回:
name记录组件的值
-
ref
返回ref记录组件的值。- 返回:
ref记录组件的值
-