D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
RubyVM
/
AbstractSyntaxTree
/
Filename :
cdesc-AbstractSyntaxTree.ri
back
Copy
U:RDoc::NormalModule[iI"AbstractSyntaxTree:ETI"RubyVM::AbstractSyntaxTree;T0o:RDoc::Markup::Document:@parts[o;;[ : @fileI" ast.c;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"AAbstractSyntaxTree provides methods to parse Ruby code into ;TI"2abstract syntax trees. The nodes in the tree ;TI"7are instances of RubyVM::AbstractSyntaxTree::Node.;To:RDoc::Markup::BlankLine o;;[I"FThis module is MRI specific as it exposes implementation details ;TI"%of the MRI abstract syntax tree.;T@o;;[ I"OThis module is experimental and its API is not stable, therefore it might ;TI"Lchange without notice. As examples, the order of children nodes is not ;TI"Oguaranteed, the number of children nodes might change, there is no way to ;TI"(access children nodes by name, etc.;T@o;;[I"OIf you are looking for a stable API or an API working under multiple Ruby ;TI"Limplementations, consider using the _prism_ gem, which is the official ;TI"!Ruby API to parse Ruby code.;T; I"ast.rb;T; 0; 0; 0[ [ [ [[I" class;T[[:public[ [I"#node_id_for_backtrace_location;TI"ast.rb;T[I"of;T@1[I" parse;T@1[I"parse_file;T@1[:protected[ [:private[ [I" instance;T[[; [ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ @ @%I" lib/error_highlight/base.rb;TI"lib/pp.rb;TI"RubyVM;TcRDoc::NormalClass