class Prism::ParseResult

def success?

were.
Returns true if there were no errors during parsing and false if there
def success?
  errors.empty?
end