Method: JSCompiler::Parser.parse

Defined in:
lib/jsc/parser.rb

.parse(result) ⇒ Object

this methos calls the right parser for result



7
8
9
10
# File 'lib/jsc/parser.rb', line 7

def parse(result)
  return flymake_parser(result) if JSCompiler.format_type == "flymake"
  default_parser(result)
end