Package org.pkl.core.runtime
Class ModuleInfo
- java.lang.Object
-
- org.pkl.core.runtime.ModuleInfo
-
public final class ModuleInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ModuleInfo(com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.source.SourceSection headerSection, @Nullable com.oracle.truffle.api.source.SourceSection docComment, java.lang.String moduleName, ModuleKey moduleKey, ResolvedModuleKey resolvedModuleKey, boolean isAmend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<VmTyped>getAnnotations()@Nullable com.oracle.truffle.api.source.SourceSectiongetDocComment()com.oracle.truffle.api.source.SourceSectiongetHeaderSection()VmTypedgetMirror(VmTyped module)ModuleKeygetModuleKey()java.lang.StringgetModuleName()ModuleSchemagetModuleSchema(VmTyped module)ResolvedModuleKeygetResolvedModuleKey()com.oracle.truffle.api.source.SourceSectiongetSourceSection()voidinitAnnotations(java.util.List<VmTyped> annotations)booleanisAmend()Tells whether this module amends another module.
-
-
-
Constructor Detail
-
ModuleInfo
public ModuleInfo(com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.source.SourceSection headerSection, @Nullable com.oracle.truffle.api.source.SourceSection docComment, java.lang.String moduleName, ModuleKey moduleKey, ResolvedModuleKey resolvedModuleKey, boolean isAmend)
-
-
Method Detail
-
initAnnotations
public void initAnnotations(java.util.List<VmTyped> annotations)
-
getAnnotations
public java.util.List<VmTyped> getAnnotations()
-
getSourceSection
public com.oracle.truffle.api.source.SourceSection getSourceSection()
-
getHeaderSection
public com.oracle.truffle.api.source.SourceSection getHeaderSection()
-
getDocComment
public @Nullable com.oracle.truffle.api.source.SourceSection getDocComment()
-
getModuleName
public java.lang.String getModuleName()
-
getModuleKey
public ModuleKey getModuleKey()
-
getResolvedModuleKey
public ResolvedModuleKey getResolvedModuleKey()
-
getModuleSchema
public ModuleSchema getModuleSchema(VmTyped module)
-
isAmend
public boolean isAmend()
Tells whether this module amends another module.
-
-