Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
RubyVM
/
AbstractSyntaxTree
/
//opt/alt/ruby27/share/ri/system/RubyVM/AbstractSyntaxTree/cdesc-AbstractSyntaxTree.ri
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"EThis class is MRI specific as it exposes implementation details ;TI"%of the MRI abstract syntax tree.;T@o;;[ I"NThis class 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"Nimplementations, consider using the _parser_ gem or Ripper. If you would ;TI"Plike to make RubyVM::AbstractSyntaxTree stable, please join the discussion ;TI"0at https://bugs.ruby-lang.org/issues/14844.;T; I"ast.rb;T; 0; 0; 0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[[I"of;TI"ast.rb;T[I" parse;T@6[I"parse_file;T@6[I" instance;T[[; [ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[I" ast.c;TI"ast.rb;TI"lib/pp.rb;TI"RubyVM;TcRDoc::NormalClass