class SyntaxTree::Parser

def consume_error(name, location)

def consume_error(name, location)
  message = "Cannot find expected #{name}"
  raise ParseError.new(message, *find_token_error(location))
end