Module: ClassIndexer
- Defined in:
- lib/class_indexer.rb,
lib/class_indexer/version.rb
Defined Under Namespace
Classes: Processor
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
Class Method Details
.process_file(file) ⇒ Object
70 71 72 73 74 75 76 77 |
# File 'lib/class_indexer.rb', line 70 def self.process_file(file) exp = Parser::CurrentRuby.parse(File.read(file)) ast = Processor.new ast.process(exp) ast.get_list rescue Parser::SyntaxError $stderr.puts "Syntax Error found while parsing #{file}" end |