public abstract class HashLiteralNode extends RubyNode
Modifier and Type | Class and Description |
---|---|
static class |
HashLiteralNode.EmptyHashLiteralNode |
static class |
HashLiteralNode.GenericHashLiteralNode |
static class |
HashLiteralNode.SmallHashLiteralNode |
Modifier and Type | Field and Description |
---|---|
protected CallDispatchHeadNode |
dupNode |
protected CallDispatchHeadNode |
freezeNode |
protected RubyNode[] |
keyValues |
Modifier | Constructor and Description |
---|---|
protected |
HashLiteralNode(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
RubyNode[] keyValues) |
Modifier and Type | Method and Description |
---|---|
static HashLiteralNode |
create(RubyContext context,
com.oracle.truffle.api.source.SourceSection sourceSection,
RubyNode[] keyValues) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame) |
abstract RubyHash |
executeRubyHash(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, 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
protected final RubyNode[] keyValues
protected CallDispatchHeadNode dupNode
protected CallDispatchHeadNode freezeNode
protected HashLiteralNode(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, RubyNode[] keyValues)
public static HashLiteralNode create(RubyContext context, com.oracle.truffle.api.source.SourceSection sourceSection, RubyNode[] keyValues)
public abstract RubyHash executeRubyHash(com.oracle.truffle.api.frame.VirtualFrame frame)
executeRubyHash
in class RubyNode
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.