public abstract class ArrayLiteralNode extends RubyNode
Modifier and Type | Class and Description |
---|---|
static class |
ArrayLiteralNode.EmptyArrayLiteralNode |
static class |
ArrayLiteralNode.FloatArrayLiteralNode |
static class |
ArrayLiteralNode.IntegerFixnumArrayLiteralNode |
static class |
ArrayLiteralNode.LongFixnumArrayLiteralNode |
static class |
ArrayLiteralNode.ObjectArrayLiteralNode |
static class |
ArrayLiteralNode.UninitialisedArrayLiteralNode |
Constructor and Description |
---|
ArrayLiteralNode(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
RubyNode[] values) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
abstract RubyArray |
executeArray(com.oracle.truffle.api.frame.VirtualFrame frame) |
void |
executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame) |
RubyNode[] |
getValues() |
Object |
isDefined(com.oracle.truffle.api.frame.VirtualFrame frame)
Ruby's parallel semantic path.
|
protected RubyArray |
makeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame,
Object[] alreadyExecuted) |
bignum, bignum, bignum, 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, 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
protected final RubyNode[] values
public ArrayLiteralNode(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, RubyNode[] values)
protected RubyArray makeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame, Object[] alreadyExecuted)
public abstract RubyArray executeArray(com.oracle.truffle.api.frame.VirtualFrame frame)
executeArray
in class RubyNode
public void executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame)
executeVoid
in class RubyNode
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[] getValues()
Copyright © 2001-2015 JRuby. All Rights Reserved.