D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
RubyVM
/
InstructionSequence
/
Filename :
to_a-i.ri
back
Copy
U:RDoc::AnyMethod[iI" to_a:ETI"%RubyVM::InstructionSequence#to_a;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"MReturns an Array with 14 elements representing the instruction sequence ;TI"with the following data:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: LABEL:@items[o:RDoc::Markup::ListItem:@label[I" magic;T; [o; ; [I"5A string identifying the data format. <b>Always ;TI"4+YARVInstructionSequence/SimpleDataFormat+.</b>;T@o;;[I"major_version;T; [o; ; [I"3The major version of the instruction sequence.;T@o;;[I"minor_version;T; [o; ; [I"3The minor version of the instruction sequence.;T@o;;[I"format_type;T; [o; ; [I";A number identifying the data format. <b>Always 1</b>.;T@o;;[I" misc;T; [o; ; [I"A hash containing:;T@o;; ;;[o;;[I"+:arg_size+;T; [o; ; [I"Jthe total number of arguments taken by the method or the block (0 if ;TI"0_iseq_ doesn't represent a method or block);To;;[I"+:local_size+;T; [o; ; [I"&the number of local variables + 1;To;;[I"+:stack_max+;T; [o; ; [I"Hused in calculating the stack depth at which a SystemStackError is ;TI"thrown.;T@o;;[I"#label;T; [ o; ; [I"LThe name of the context (block, method, class, module, etc.) that this ;TI"%instruction sequence belongs to.;T@o; ; [I"N<code><main></code> if it's at the top level, <code><compiled></code> if ;TI"$it was evaluated from a string.;T@o;;[I" #path;T; [ o; ; [I"KThe relative path to the Ruby file where the instruction sequence was ;TI"loaded from.;T@o; ; [I"E<code><compiled></code> if the iseq was evaluated from a string.;T@o;;[I"#absolute_path;T; [ o; ; [I"KThe absolute path to the Ruby file where the instruction sequence was ;TI"loaded from.;T@o; ; [I"3+nil+ if the iseq was evaluated from a string.;T@o;;[I"#first_lineno;T; [o; ; [I"LThe number of the first source line where the instruction sequence was ;TI"loaded from.;T@o;;[I" type;T; [ o; ; [I"*The type of the instruction sequence.;T@o; ; [I"HValid values are +:top+, +:method+, +:block+, +:class+, +:rescue+, ;TI".+:ensure+, +:eval+, +:main+, and +plain+.;T@o;;[I"locals;T; [o; ; [I"KAn array containing the names of all arguments and local variables as ;TI" symbols.;T@o;;[I"params;T; [ o; ; [I"5An Hash object containing parameter information.;T@o; ; [I">More info about these values can be found in +vm_core.h+.;T@o;;[I"catch_table;T; [o; ; [I"JA list of exceptions and control flow operators (rescue, next, redo, ;TI"break, etc.).;T@o;;[I" bytecode;T; [o; ; [I"KAn array of arrays containing the instruction names and operands that ;TI"2make up the body of the instruction sequence.;T@o; ; [I"ANote that this format is MRI specific and version dependent.;T: @fileI"iseq.c;T:0@omit_headings_from_table_of_contents_below0I"iseq.to_a -> ary ;T0[ I"();T@�FI"InstructionSequence;TcRDoc::NormalClass00