Constructor and Description |
---|
ReadInstanceVariableNode(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
Object name,
RubyNode receiver,
boolean isGlobal) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
double |
executeFloat(com.oracle.truffle.api.frame.VirtualFrame frame) |
int |
executeIntegerFixnum(com.oracle.truffle.api.frame.VirtualFrame frame) |
long |
executeLongFixnum(com.oracle.truffle.api.frame.VirtualFrame frame) |
Object |
isDefined(com.oracle.truffle.api.frame.VirtualFrame frame)
Ruby's parallel semantic path.
|
RubyNode |
makeWriteNode(RubyNode rhs)
Return a new node that performs the equivalent write operation to this node's read, using the
supplied node for the right-hand-side.
|
bignum, bignum, bignum, executeArray, executeBignum, executeBoolean, executeIntegerFixnumRange, 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, 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 ReadInstanceVariableNode(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, Object name, RubyNode receiver, boolean isGlobal)
public int executeIntegerFixnum(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.nodes.UnexpectedResultException
executeIntegerFixnum
in class RubyNode
com.oracle.truffle.api.nodes.UnexpectedResultException
public long executeLongFixnum(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.nodes.UnexpectedResultException
executeLongFixnum
in class RubyNode
com.oracle.truffle.api.nodes.UnexpectedResultException
public double executeFloat(com.oracle.truffle.api.frame.VirtualFrame frame) throws com.oracle.truffle.api.nodes.UnexpectedResultException
executeFloat
in class RubyNode
com.oracle.truffle.api.nodes.UnexpectedResultException
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
public Object isDefined(com.oracle.truffle.api.frame.VirtualFrame frame)
RubyNode
isDefined
in class RubyNode
DefinedNode
public RubyNode makeWriteNode(RubyNode rhs)
ReadNode
makeWriteNode
in interface ReadNode
Copyright © 2001-2015 JRuby. All Rights Reserved.