It is now simply p.UnexpectedInput(string). This makes the naming of unexpected input not as magical, but explicit (which is a GoodThing). With one of the earlier incarnations of parsekit it did make sense, but it went in a way in which explicit is more idiomatic for the package. |
||
|---|---|---|
| .. | ||
| example_basiccalculator1_test.go | ||
| example_basiccalculator2_test.go | ||
| example_dutchpostcode_test.go | ||
| example_helloManyStateParser_test.go | ||
| example_helloParserCombinator_test.go | ||
| example_helloSingleStateParser_test.go | ||
| examples.go | ||
| examples_state_test.go | ||