Method: Deadlyzer::AST::Parser#parse
- Defined in:
- lib/deadlyzer/ast_parser.rb
#parse(code, file = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
24 25 26 27 28 29 |
# File 'lib/deadlyzer/ast_parser.rb', line 24 def parse(code, file = nil) processed_source = parse_code(code, file) @ast = processed_source.ast @file = processed_source.path self end |