Package org.pkl.core.ast.member
Class ModuleNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
org.pkl.core.ast.PklRootNode
org.pkl.core.ast.member.ModuleNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
ConstructorsConstructorDescriptionModuleNode(VmLanguage language, com.oracle.truffle.api.source.SourceSection sourceSection, String moduleName, ExpressionNode moduleNode) -
Method Summary
Methods inherited from class org.pkl.core.ast.PklRootNode
exceptionBuilder, executeBodyMethods inherited from class com.oracle.truffle.api.nodes.RootNode
cloneUninitialized, computeSize, copy, countsTowardsStackTraceLimit, createConstantNode, findAsynchronousFrames, getCallTarget, getFrameDescriptor, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isInternal, isTrivial, prepareForAOT, translateStackTraceElementMethods inherited from class com.oracle.truffle.api.nodes.ExecutableNode
getLanguage, getLanguageInfoMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
ModuleNode
public ModuleNode(VmLanguage language, com.oracle.truffle.api.source.SourceSection sourceSection, String moduleName, ExpressionNode moduleNode)
-
-
Method Details
-
getSourceSection
public com.oracle.truffle.api.source.SourceSection getSourceSection()- Specified by:
getSourceSectionin classPklRootNode
-
getName
- Specified by:
getNamein classPklRootNode
-
execute
- Specified by:
executein classcom.oracle.truffle.api.nodes.RootNode
-