Package org.jruby.ir.instructions
Class ReceiveArgBase
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.ResultBaseInstr
org.jruby.ir.instructions.NoOperandResultBaseInstr
org.jruby.ir.instructions.ReceiveArgBase
- All Implemented Interfaces:
ResultInstr
- Direct Known Subclasses:
ReceiveKeywordArgInstr,ReceiveKeywordRestArgInstr,ReceiveOptArgInstr,ReceivePostReqdArgInstr,ReceivePreReqdArgInstr,ReceiveRestArgInstr
-
Field Summary
FieldsFields inherited from class org.jruby.ir.instructions.ResultBaseInstr
resultFields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintreceiveArg(ThreadContext context, IRubyObject[] args, boolean keywordArgumentSupplied) String[]Methods inherited from class org.jruby.ir.instructions.NoOperandResultBaseInstr
getOperands, setOperandMethods inherited from class org.jruby.ir.instructions.ResultBaseInstr
encode, getResult, updateResultMethods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl, visit
-
Field Details
-
argIndex
protected int argIndex
-
-
Constructor Details
-
ReceiveArgBase
-
-
Method Details
-
getArgIndex
public int getArgIndex() -
toStringNonOperandArgs
- Overrides:
toStringNonOperandArgsin classInstr
-
receiveArg
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean keywordArgumentSupplied)
-