public class RubyRootNode
extends com.oracle.truffle.api.nodes.RootNode
RubyNode
, this has a single entry point,
execute(com.oracle.truffle.api.frame.VirtualFrame)
, which Truffle knows about and can create a CallTarget
from.Constructor and Description |
---|
RubyRootNode(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor,
SharedMethodInfo sharedMethodInfo,
RubyNode body) |
Modifier and Type | Method and Description |
---|---|
RubyRootNode |
cloneRubyRootNode() |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
RubyNode |
getBody() |
com.oracle.truffle.api.ExecutionContext |
getExecutionContext() |
SharedMethodInfo |
getSharedMethodInfo() |
boolean |
isCloningAllowed() |
String |
toString() |
applyInstrumentation, copy, getCallTarget, getCompilerOptions, getFrameDescriptor, reportLoopCount, setCallTarget
accept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isReplaceable, onAdopt, onReplace, replace, replace
public RubyRootNode(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor, SharedMethodInfo sharedMethodInfo, RubyNode body)
public RubyRootNode cloneRubyRootNode()
public boolean isCloningAllowed()
isCloningAllowed
in class com.oracle.truffle.api.nodes.RootNode
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
execute
in class com.oracle.truffle.api.nodes.RootNode
public String toString()
toString
in class com.oracle.truffle.api.nodes.Node
public SharedMethodInfo getSharedMethodInfo()
public RubyNode getBody()
public com.oracle.truffle.api.ExecutionContext getExecutionContext()
getExecutionContext
in class com.oracle.truffle.api.nodes.RootNode
Copyright © 2001-2015 JRuby. All Rights Reserved.