class ActionView::Template
def spot(location) # :nodoc:
def spot(location) # :nodoc: ast = RubyVM::AbstractSyntaxTree.parse(compiled_source, keep_script_lines: true) node_id = RubyVM::AbstractSyntaxTree.node_id_for_backtrace_location(location) node = find_node_by_id(ast, node_id) ErrorHighlight.spot(node) end