Class SimpleRootNode

  • All Implemented Interfaces:
    com.oracle.truffle.api.nodes.NodeInterface, java.lang.Cloneable

    public final class SimpleRootNode
    extends PklRootNode
    • 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 
      Constructor Description
      SimpleRootNode​(VmLanguage language, com.oracle.truffle.api.frame.FrameDescriptor descriptor, com.oracle.truffle.api.source.SourceSection sourceSection, java.lang.String qualifiedName, ExpressionNode bodyNode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object execute​(com.oracle.truffle.api.frame.VirtualFrame frame)  
      java.lang.String getName()  
      com.oracle.truffle.api.source.SourceSection getSourceSection()  
      • Methods inherited from class com.oracle.truffle.api.nodes.RootNode

        cloneUninitialized, copy, countsTowardsStackTraceLimit, createConstantNode, findAsynchronousFrames, getCallTarget, getFrameDescriptor, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isInternal, isTrivial, prepareForAOT, 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, toString
      • Methods inherited from class java.lang.Object

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

      • SimpleRootNode

        public SimpleRootNode​(VmLanguage language,
                              com.oracle.truffle.api.frame.FrameDescriptor descriptor,
                              com.oracle.truffle.api.source.SourceSection sourceSection,
                              java.lang.String qualifiedName,
                              ExpressionNode bodyNode)
    • Method Detail

      • getSourceSection

        public com.oracle.truffle.api.source.SourceSection getSourceSection()
        Specified by:
        getSourceSection in class PklRootNode
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class PklRootNode
      • execute

        public java.lang.Object execute​(com.oracle.truffle.api.frame.VirtualFrame frame)
        Specified by:
        execute in class com.oracle.truffle.api.nodes.RootNode