# File lib/brakeman/file_parser.rb, line 34 def parse_ruby input, path begin Brakeman.debug "Parsing #{path}" RubyParser.new.parse input, path, @timeout rescue Racc::ParseError => e @tracker.error e, "Could not parse #{path}" nil rescue Timeout::Error => e @tracker.error Exception.new("Parsing #{path} took too long (> #{@timeout} seconds). Try increasing the limit with --parser-timeout"), caller nil rescue => e @tracker.error e.exception(e.message + "\nWhile processing #{path}"), e.backtrace nil end end