Searched refs:expect_errors (Results 1 – 2 of 2) sorted by relevance
8 def parse( grammar, rule, input, expect_errors = false ) argument22 parser.reported_errors.should be_empty unless expect_errors29 return( expect_errors ? [ result, parser.reported_errors ] : result )