MCPcopy Create free account
hub / github.com/docker/docker-language-server / inToken

Function inToken

internal/compose/documentHighlight.go:418–420  ·  view source on GitHub ↗
(t *token.Token, line, character int)

Source from the content-addressed store, hash-verified

416}
417
418func inToken(t *token.Token, line, character int) bool {
419 return t.Position.Line == line && t.Position.Column <= character && character <= t.Position.Column+len(t.Value)
420}

Callers 2

fragmentNameFunction · 0.85
highlightReferencesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected