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

Method Position

error.go:19–19  ·  view source on GitHub ↗

Closest position to error location.

()

Source from the content-addressed store, hash-verified

17 Message() string
18 // Closest position to error location.
19 Position() lexer.Position
20}
21
22// FormatError formats an error in the form "[<filename>:][<line>:<pos>:] <message>"

Callers 3

decorateFunction · 0.65
FormatErrorFunction · 0.65
WrapfFunction · 0.65

Implementers 3

ParseErrorerror.go
Errorlexer/errors.go

Calls

no outgoing calls

Tested by

no test coverage detected