Versions in this module Expand all Collapse all v0 v0.1.11 Feb 4, 2022 v0.1.10 Feb 4, 2022 Changes in this version + var Left = []byte("{{") + var Right = []byte("}}") + func Completion(ctx context.Context, snapshot source.Snapshot, fh source.VersionedFileHandle, ...) (*protocol.CompletionList, error) + func Definition(snapshot source.Snapshot, fh source.VersionedFileHandle, loc protocol.Position) ([]protocol.Location, error) + func Diagnose(f source.VersionedFileHandle) []*source.Diagnostic + func DocumentSymbols(snapshot source.Snapshot, fh source.FileHandle) ([]protocol.DocumentSymbol, error) + func Highlight(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle, ...) ([]protocol.DocumentHighlight, error) + func Hover(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle, ...) (*protocol.Hover, error) + func References(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle, ...) ([]protocol.Location, error) + func SemanticTokens(ctx context.Context, snapshot source.Snapshot, spn span.URI, ...) (*protocol.SemanticTokens, error) + type All struct + func New(tmpls map[span.URI]source.VersionedFileHandle) *All + type Parsed struct + ParseErr error + func (p *Parsed) FindLiteralBefore(pos int) (int, int) + func (p *Parsed) FromPosition(x protocol.Position) int + func (p *Parsed) LineCol(x int) (uint32, uint32) + func (p *Parsed) Position(pos int) protocol.Position + func (p *Parsed) Range(x, length int) protocol.Range + func (p *Parsed) RuneCount(l, s, e uint32) uint32 + func (p *Parsed) SymsAtPos(pos int) []symbol + func (p *Parsed) TokenSize(t Token) (int, error) + func (p *Parsed) Tokens() []Token + func (p *Parsed) WriteNode(w io.Writer, n parse.Node) + type Token struct + End int + Multiline bool + Start int