MCPcopy Index your code
hub / github.com/alecthomas/participle / Error

Method Error

error.go:71–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71func (p *ParseError) Error() string { return FormatError(p) }
72func (p *ParseError) Message() string { return p.Msg }
73func (p *ParseError) Position() lexer.Position { return p.Pos }
74

Callers 15

TestProductionCaptureFunction · 0.45
TestParseSequenceFunction · 0.45
TestNestedOptionalFunction · 0.45
TestInvalidNumbersFunction · 0.45
TestPartialASTFunction · 0.45
TestTrailingFunction · 0.45
testMethod · 0.45
TestIssue60Function · 0.45
TestIssue71Function · 0.45

Calls 1

FormatErrorFunction · 0.85

Tested by 15

TestProductionCaptureFunction · 0.36
TestParseSequenceFunction · 0.36
TestNestedOptionalFunction · 0.36
TestInvalidNumbersFunction · 0.36
TestPartialASTFunction · 0.36
TestTrailingFunction · 0.36
testMethod · 0.36
TestIssue60Function · 0.36
TestIssue71Function · 0.36