public class MethodDefinitionNode extends RubyNode
Constructor and Description |
---|
MethodDefinitionNode(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
String name,
SharedMethodInfo sharedMethodInfo,
boolean requiresDeclarationFrame,
com.oracle.truffle.api.CallTarget callTarget) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
InternalMethod |
executeMethod(com.oracle.truffle.api.frame.VirtualFrame frame) |
InternalMethod |
executeMethod(com.oracle.truffle.api.frame.VirtualFrame frame,
com.oracle.truffle.api.frame.MaterializedFrame declarationFrame) |
String |
getName() |
SharedMethodInfo |
getSharedMethodInfo() |
bignum, bignum, bignum, executeArray, executeBignum, executeBoolean, executeFloat, executeIntegerFixnum, executeIntegerFixnumRange, executeLongFixnum, executeLongFixnumRange, executeObjectArray, executeObjectRange, executeRubyBasicObject, executeRubyBinding, executeRubyClass, executeRubyEncoding, executeRubyEncodingConverter, executeRubyException, executeRubyFiber, executeRubyFile, executeRubyHash, executeRubyMatchData, executeRubyMethod, executeRubyModule, executeRubyNilClass, executeRubyProc, executeRubyRange, executeRubyRegexp, executeRubyString, executeRubySymbol, executeRubyThread, executeRubyTime, executeRubyUnboundMethod, executeString, executeUndefinedPlaceholder, executeVoid, getContext, getNonProxyNode, getNonWrapperNode, isBoolean, isDefined, isDispatchAction, isDouble, isInteger, isIntegerFixnumRange, isLexicalScope, isLong, isLongFixnumRange, isObjectArray, isObjectRange, isRational, isRubyArray, isRubyBasicObject, isRubyBignum, isRubyBinding, isRubyClass, isRubyEncoding, isRubyEncodingConverter, isRubyException, isRubyFiber, isRubyFile, isRubyHash, isRubyMatchData, isRubyModule, isRubyNilClass, isRubyNilObject, isRubyProc, isRubyRange, isRubyRegexp, isRubyString, isRubySymbol, isRubyThread, isRubyTime, isString, isThreadLocal, isTrue, isUndefinedPlaceholder, notDesignedForCompilation, probe, probeLite
accept, adoptChildren, assignSourceSection, atomic, atomic, clearSourceSection, clone, copy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLanguage, getParent, getRootNode, getSourceSection, insert, insert, isReplaceable, onAdopt, onReplace, replace, replace, toString
public MethodDefinitionNode(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, String name, SharedMethodInfo sharedMethodInfo, boolean requiresDeclarationFrame, com.oracle.truffle.api.CallTarget callTarget)
public InternalMethod executeMethod(com.oracle.truffle.api.frame.VirtualFrame frame)
public InternalMethod executeMethod(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.api.frame.MaterializedFrame declarationFrame)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
public String getName()
public SharedMethodInfo getSharedMethodInfo()
Copyright © 2001-2015 JRuby. All Rights Reserved.