Class VM::InstructionSequence
In: lib/as_expression.rb
ext/insns_info.c
Parent: Object

Methods

Included Modules

Enumerable

Public Class methods

Load a VM::InstuctionSequence from a string (only available on YARV).

Public Instance methods

Dumps VM::InstuctionSequence to a string (only available on YARV).

Returns the index of the block (&x) arg.

Returns optional argument table. The value in the table represent the index into the instruction sequence of the code to set the optional argument. The last element is the index of the start of the code sequence.

Returns the index of the rest (*x) arg.

Returns true if this sequence takes only simple (non-rest, non-opt, non-block) args.

Returns the number of non-optional arguments.

Yields each instruction in the sequence.

Returns the filename of the instruction sequence.

Returns the line number of the nth instruction in the sequence.

Returns the sequence‘s local table.

Returns the name of the instruction sequence.

Returns the self member of the instruction sequence.

[Validate]