newParseError returns a new instance of ParseError.
(found string, expected []string, pos Pos)
| 640 | |
| 641 | // newParseError returns a new instance of ParseError. |
| 642 | func newParseError(found string, expected []string, pos Pos) *ParseError { |
| 643 | return &ParseError{Found: found, Expected: expected, Pos: pos} |
| 644 | } |
| 645 | |
| 646 | // Error returns the string representation of the error. |
| 647 | func (e *ParseError) Error() string { |
no outgoing calls
no test coverage detected