Class SLAstRootNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
com.oracle.truffle.sl.nodes.SLRootNode
com.oracle.truffle.sl.nodes.SLAstRootNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public final class SLAstRootNode extends SLRootNode
  • 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
  • Field Summary

    Fields inherited from class com.oracle.truffle.sl.nodes.SLRootNode

    isCloningAllowed
  • Constructor Summary

    Constructors
    Constructor
    Description
    SLAstRootNode(SLLanguage language, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor, SLExpressionNode bodyNode, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.strings.TruffleString name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.oracle.truffle.api.source.SourceSection
     
    execute(com.oracle.truffle.api.frame.VirtualFrame frame)
     
     
     
    getLocalNames(com.oracle.truffle.api.frame.FrameInstance frameInstance)
     
    getLocalValues(com.oracle.truffle.api.frame.FrameInstance frameInstance)
     
    com.oracle.truffle.api.source.SourceSection
     
    com.oracle.truffle.api.strings.TruffleString
     
    void
    setLocalValues(com.oracle.truffle.api.frame.FrameInstance frameInstance, Object[] args)
     

    Methods inherited from class com.oracle.truffle.sl.nodes.SLRootNode

    getName, isCloningAllowed, setCloningAllowed, toString

    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, isInstrumentable, isInternal, isSameFrame, isTrivial, prepareForAOT, 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

    Methods inherited from class java.lang.Object

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

    • SLAstRootNode

      public SLAstRootNode(SLLanguage language, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor, SLExpressionNode bodyNode, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.strings.TruffleString name)
  • Method Details

    • getSourceSection

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

      public SLExpressionNode getBodyNode()
      Specified by:
      getBodyNode in class SLRootNode
    • getTSName

      public com.oracle.truffle.api.strings.TruffleString getTSName()
      Specified by:
      getTSName in class SLRootNode
    • execute

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

      public void setLocalValues(com.oracle.truffle.api.frame.FrameInstance frameInstance, Object[] args)
      Specified by:
      setLocalValues in class SLRootNode
    • getLocalNames

      public Object[] getLocalNames(com.oracle.truffle.api.frame.FrameInstance frameInstance)
      Specified by:
      getLocalNames in class SLRootNode
    • getLocalValues

      public Object[] getLocalValues(com.oracle.truffle.api.frame.FrameInstance frameInstance)
      Specified by:
      getLocalValues in class SLRootNode
    • getDeclaredArguments

      public SLWriteLocalVariableNode[] getDeclaredArguments()
    • ensureSourceSection

      public com.oracle.truffle.api.source.SourceSection ensureSourceSection()
      Specified by:
      ensureSourceSection in class SLRootNode