Class SLUndefinedFunctionRootNode

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.SLUndefinedFunctionRootNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public final class SLUndefinedFunctionRootNode extends SLRootNode
The initial RootNode of functions when they are created, i.e., when they are still undefined. Executing it throws an exception.
  • 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
    SLUndefinedFunctionRootNode(SLLanguage language, 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 frame)
     
    getLocalValues(com.oracle.truffle.api.frame.FrameInstance frame)
     
    com.oracle.truffle.api.source.SourceSection
     
    com.oracle.truffle.api.strings.TruffleString
     
    void
    setLocalValues(com.oracle.truffle.api.frame.FrameInstance frame, 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

    • SLUndefinedFunctionRootNode

      public SLUndefinedFunctionRootNode(SLLanguage language, com.oracle.truffle.api.strings.TruffleString name)
  • Method Details

    • execute

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

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

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

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

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

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

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

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