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, setCallTargetaccept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isReplaceable, onAdopt, onReplace, replace, replacepublic 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.RootNodepublic Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
execute in class com.oracle.truffle.api.nodes.RootNodepublic String toString()
toString in class com.oracle.truffle.api.nodes.Nodepublic SharedMethodInfo getSharedMethodInfo()
public RubyNode getBody()
public com.oracle.truffle.api.ExecutionContext getExecutionContext()
getExecutionContext in class com.oracle.truffle.api.nodes.RootNodeCopyright © 2001-2015 JRuby. All Rights Reserved.