Class PklRootNode

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
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
IdentityMixinNode, ListingOrMappingTypeCastNode, MemberNode, MicrobenchmarkNodes.RunIterationsNode, ModuleNode, PropertyTypeNode, ResolveClassMemberNode, SimpleRootNode

public abstract class PklRootNode extends com.oracle.truffle.api.nodes.RootNode
  • 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    PklRootNode(@Nullable VmLanguage language, com.oracle.truffle.api.frame.FrameDescriptor descriptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    final Object
    execute(com.oracle.truffle.api.frame.VirtualFrame frame)
     
    protected abstract Object
    executeImpl(com.oracle.truffle.api.frame.VirtualFrame frame)
     
    abstract @Nullable String
     
    abstract com.oracle.truffle.api.source.SourceSection
     

    Methods inherited from class com.oracle.truffle.api.nodes.RootNode

    cloneUninitialized, computeSize, copy, countsTowardsStackTraceLimit, createConstantNode, findAsynchronousFrames, findBytecodeIndex, findInstrumentableCallNode, getCallTarget, getFrameDescriptor, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isInternal, isSameFrame, isTrivial, prepareForAOT, prepareForCall, prepareForCompilation, prepareForInstrumentation, translateStackTraceElement

    Methods inherited from class com.oracle.truffle.api.nodes.ExecutableNode

    getLanguage, getLanguageInfo

    Methods 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, reportReplace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getSourceSection

      public abstract com.oracle.truffle.api.source.SourceSection getSourceSection()
      Overrides:
      getSourceSection in class com.oracle.truffle.api.nodes.Node
    • getName

      @Nullable public abstract @Nullable String getName()
      Overrides:
      getName in class com.oracle.truffle.api.nodes.RootNode
    • executeImpl

      protected abstract Object executeImpl(com.oracle.truffle.api.frame.VirtualFrame frame)
    • execute

      public final Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
      Specified by:
      execute in class com.oracle.truffle.api.nodes.RootNode
    • exceptionBuilder

      protected VmExceptionBuilder exceptionBuilder()