D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
RubyVM
/
AbstractSyntaxTree
/
Filename :
parse_file-c.ri
back
Copy
U:RDoc::AnyMethod[iI"parse_file:ETI"+RubyVM::AbstractSyntaxTree::parse_file;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReads the file from _pathname_, then parses it like ::parse, ;TI"9returning the root node of the abstract syntax tree.;To:RDoc::Markup::BlankLine o; ; [I"<SyntaxError is raised if _pathname_'s contents are not ;TI"valid Ruby syntax.;T@o:RDoc::Markup::Verbatim; [I"<RubyVM::AbstractSyntaxTree.parse_file("my-app/app.rb") ;TI"=# => #<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-31:3> ;T:@format0o; ; [I"GSee ::parse for explanation of keyword argument meaning and usage.;T: @fileI"ast.rb;T:0@omit_headings_from_table_of_contents_below0I"�RubyVM::AbstractSyntaxTree.parse_file(pathname, keep_script_lines: RubyVM.keep_script_lines, error_tolerant: false, keep_tokens: false) -> RubyVM::AbstractSyntaxTree::Node ;T0[ I"g(pathname, keep_script_lines: RubyVM.keep_script_lines, error_tolerant: false, keep_tokens: false);T@FI"AbstractSyntaxTree;TcRDoc::NormalModule00