public abstract class RescueNode extends RubyNode
canHandle(com.oracle.truffle.api.frame.VirtualFrame, org.jruby.truffle.runtime.core.RubyException)
and a body to execute if that test passes.Constructor and Description |
---|
RescueNode(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
RubyNode body) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canHandle(com.oracle.truffle.api.frame.VirtualFrame frame,
RubyException exception) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
void |
executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame) |
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, 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 RescueNode(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, RubyNode body)
public abstract boolean canHandle(com.oracle.truffle.api.frame.VirtualFrame frame, RubyException exception)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
public void executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame)
executeVoid
in class RubyNode
Copyright © 2001-2015 JRuby. All Rights Reserved.