MCPcopy Create free account
hub / github.com/cogentcore/core / Lookup

Method Lookup

parse/lang.go:69–69  ·  view source on GitHub ↗

Lookup returns lookup results for given text which is at given position within the file. This can either be a file and position in file to open and view, or direct text to show.

(fs *FileStates, text string, pos lexer.Pos)

Source from the content-addressed store, hash-verified

67 // within the file. This can either be a file and position in file to
68 // open and view, or direct text to show.
69 Lookup(fs *FileStates, text string, pos lexer.Pos) complete.Lookup
70
71 // IndentLine returns the indentation level for given line based on
72 // previous line's indentation level, and any delta change based on

Callers 14

GetDocFunction · 0.65
CheckScopeFunction · 0.65
OnBindMethod · 0.65
makeHeaderMethod · 0.65
InitMethod · 0.65
OnBindMethod · 0.65
setFromTagFunction · 0.65
OnBindMethod · 0.65
usageFunction · 0.65
flagUsageFunction · 0.65
addFlagsFunction · 0.65
addFieldsImplFunction · 0.65

Implementers 3

MarkdownLangparse/languages/markdown/markdown.go
GoLangparse/languages/golang/golang.go
TexLangparse/languages/tex/tex.go

Calls

no outgoing calls

Tested by

no test coverage detected