Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLinespec ¶
func ParseLinespec(ctx context.Context, scope *ast.Scope, node ast.Node, linespec string) (ast.StopNode, error)
ParseLinespec returns an ast.StopNode that matches one of the location specifiers supported by linespec.
`<line>` Specifies the line *line* in the current file.
`+<offset>` Specifies the line *offset* lines after the current one.
`-<offset>` Specifies the line *offset* lines before the current one.
`<function>[:<line>] Specifies the line *line* inside *function* in the current file.
`<filename>:<line>` Specifies the line *line* in *filename*, *filename* can be the partial path to a file or even just the base name as long as the expression remains unambiguous.
`<filename>:<function>[:<line>] Specifies the line *line* inside *function* in *filename*, *filename* can be the partial path toa file or eve njust the base name as long as the expression remains unambiguous.
`/<regex>/` Specifies the location of all functions matching *regex*.
func TUIFrontend ¶
Types ¶
This section is empty.