public class ReceiveKeywordRestArgInstr extends ReceiveArgBase implements FixedArityInstr
| Modifier and Type | Field and Description |
|---|---|
int |
required |
argIndexresultEMPTY_OPERANDS| Constructor and Description |
|---|
ReceiveKeywordRestArgInstr(Variable result,
int required) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
clone(CloneInfo ii)
Clone the instruction for use in an inlining context (either when a scope is inlined into
another scope, or when a block has to be cloned because its associated call belongs to
an inlined scope).
|
boolean |
computeScopeFlags(IRScope scope)
Does this instruction do anything the scope is interested in?
|
static ReceiveKeywordRestArgInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
IRubyObject |
receiveArg(ThreadContext context,
IRubyObject[] args,
boolean keywordArgumentSupplied) |
String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getArgIndexgetOperands, setOperandgetResult, updateResultcanBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic ReceiveKeywordRestArgInstr(Variable result, int required)
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic boolean computeScopeFlags(IRScope scope)
InstrcomputeScopeFlags in class Instrpublic Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
encode in class ResultBaseInstrpublic static ReceiveKeywordRestArgInstr decode(IRReaderDecoder d)
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean keywordArgumentSupplied)
receiveArg in class ReceiveArgBaseCopyright © 2001-2016 JRuby. All Rights Reserved.