Package com.oracle.truffle.sl.nodes
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
-
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
ConstructorsConstructorDescriptionSLAstRootNode(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 TypeMethodDescriptioncom.oracle.truffle.api.source.SourceSectionexecute(com.oracle.truffle.api.frame.VirtualFrame frame) Object[]getLocalNames(com.oracle.truffle.api.frame.FrameInstance frameInstance) Object[]getLocalValues(com.oracle.truffle.api.frame.FrameInstance frameInstance) com.oracle.truffle.api.source.SourceSectioncom.oracle.truffle.api.strings.TruffleStringvoidsetLocalValues(com.oracle.truffle.api.frame.FrameInstance frameInstance, Object[] args) Methods inherited from class com.oracle.truffle.sl.nodes.SLRootNode
getName, isCloningAllowed, setCloningAllowed, toStringMethods 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, 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, reportReplace
-
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:
getSourceSectionin classSLRootNode
-
getBodyNode
- Specified by:
getBodyNodein classSLRootNode
-
getTSName
public com.oracle.truffle.api.strings.TruffleString getTSName()- Specified by:
getTSNamein classSLRootNode
-
execute
- Specified by:
executein classcom.oracle.truffle.api.nodes.RootNode
-
setLocalValues
- Specified by:
setLocalValuesin classSLRootNode
-
getLocalNames
- Specified by:
getLocalNamesin classSLRootNode
-
getLocalValues
- Specified by:
getLocalValuesin classSLRootNode
-
getDeclaredArguments
-
ensureSourceSection
public com.oracle.truffle.api.source.SourceSection ensureSourceSection()- Specified by:
ensureSourceSectionin classSLRootNode
-