NewLocation takes an input line and column and produces a Location. The default behavior is to treat the line and column as absolute, but concrete derivations may use this method to convert a relative line and column position into an absolute location.
(line, col int)
| 51 | // but concrete derivations may use this method to convert a relative |
| 52 | // line and column position into an absolute location. |
| 53 | NewLocation(line, col int) Location |
| 54 | |
| 55 | // Snippet returns a line of content and whether the line was found. |
| 56 | Snippet(line int) (string, bool) |
nothing calls this directly
no outgoing calls
no test coverage detected