java.lang.Object
java.lang.Record
org.aya.resolve.context.NoExportContext
- All Implemented Interfaces:
Context,ModuleContext
public record NoExportContext(@NotNull PhysicalModuleContext parent, @NotNull kala.collection.mutable.MutableMap<String,kala.collection.mutable.MutableMap<kala.collection.Seq<String>,AnyVar>> definitions, @NotNull kala.collection.mutable.MutableMap<kala.collection.immutable.ImmutableSeq<String>,kala.collection.mutable.MutableMap<String,AnyVar>> modules)
extends Record
implements ModuleContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.resolve.context.Context
Context.ResolvingInterruptedException -
Field Summary
Fields inherited from interface org.aya.resolve.context.Context
TOP_LEVEL_MOD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionNoExportContext(@NotNull PhysicalModuleContext parent) NoExportContext(@NotNull PhysicalModuleContext parent, @NotNull kala.collection.mutable.MutableMap<String, kala.collection.mutable.MutableMap<kala.collection.Seq<String>, AnyVar>> definitions, @NotNull kala.collection.mutable.MutableMap<kala.collection.immutable.ImmutableSeq<String>, kala.collection.mutable.MutableMap<String, AnyVar>> modules) Creates an instance of aNoExportContextrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull kala.collection.mutable.MutableMap<String,kala.collection.mutable.MutableMap<kala.collection.Seq<String>, AnyVar>> Returns the value of thedefinitionsrecord 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<String>@NotNull kala.collection.mutable.MutableMap<kala.collection.immutable.ImmutableSeq<String>,kala.collection.mutable.MutableMap<String, AnyVar>> modules()Returns the value of themodulesrecord component.@NotNull PhysicalModuleContextparent()Returns the value of theparentrecord component.final StringtoString()Returns a string representation of this record class.@NotNull PathMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.resolve.context.Context
bind, bind, bind, collect, derive, derive, get, getMaybe, getModuleMaybe, getQualified, getQualified, getQualifiedMaybe, getQualifiedMaybe, getUnqualified, getUnqualifiedMaybe, iterate, reportAndThrowMethods inherited from interface org.aya.resolve.context.ModuleContext
addGlobal, addGlobalSimple, getModuleLocalMaybe, getQualifiedLocalMaybe, getUnqualifiedLocalMaybe, importModule, importModules, openModule, reporter
-
Constructor Details
-
NoExportContext
-
NoExportContext
public NoExportContext(@NotNull @NotNull PhysicalModuleContext parent, @NotNull @NotNull kala.collection.mutable.MutableMap<String, kala.collection.mutable.MutableMap<kala.collection.Seq<String>, AnyVar>> definitions, @NotNull @NotNull kala.collection.mutable.MutableMap<kala.collection.immutable.ImmutableSeq<String>, kala.collection.mutable.MutableMap<String, AnyVar>> modules) Creates an instance of aNoExportContextrecord class.- Parameters:
parent- the value for theparentrecord componentdefinitions- the value for thedefinitionsrecord componentmodules- the value for themodulesrecord component
-
-
Method Details
-
moduleName
- Specified by:
moduleNamein interfaceContext
-
underlyingFile
- Specified by:
underlyingFilein interfaceContext- Specified by:
underlyingFilein interfaceModuleContext
-
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). -
parent
Returns the value of theparentrecord component.- Specified by:
parentin interfaceContext- Specified by:
parentin interfaceModuleContext- Returns:
- the value of the
parentrecord component
-
definitions
@NotNull public @NotNull kala.collection.mutable.MutableMap<String,kala.collection.mutable.MutableMap<kala.collection.Seq<String>, definitions()AnyVar>> Returns the value of thedefinitionsrecord component.- Specified by:
definitionsin interfaceModuleContext- Returns:
- the value of the
definitionsrecord component
-
modules
@NotNull public @NotNull kala.collection.mutable.MutableMap<kala.collection.immutable.ImmutableSeq<String>,kala.collection.mutable.MutableMap<String, modules()AnyVar>> Returns the value of themodulesrecord component.- Specified by:
modulesin interfaceModuleContext- Returns:
- the value of the
modulesrecord component
-