MCPcopy
hub / github.com/uber/aresdb / newParseError

Function newParseError

query/expr/parser.go:642–644  ·  view source on GitHub ↗

newParseError returns a new instance of ParseError.

(found string, expected []string, pos Pos)

Source from the content-addressed store, hash-verified

640
641// newParseError returns a new instance of ParseError.
642func 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.
647func (e *ParseError) Error() string {

Callers 10

parseIntMethod · 0.85
parseUInt32Method · 0.85
parseUInt64Method · 0.85
parseIdentMethod · 0.85
parseStringMethod · 0.85
ParseExprMethod · 0.85
parseUnaryExprMethod · 0.85
parseCaseMethod · 0.85
parseCallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected