MCPcopy
hub / github.com/google/go-jsonnet / locFromTokenAST

Function locFromTokenAST

internal/parser/parser.go:39–41  ·  view source on GitHub ↗
(begin *token, end ast.Node)

Source from the content-addressed store, hash-verified

37}
38
39func locFromTokenAST(begin *token, end ast.Node) ast.LocationRange {
40 return ast.LocationRangeBetween(&begin.loc, end.Loc())
41}
42
43// ---------------------------------------------------------------------------
44

Callers 6

parseParameterMethod · 0.85
parseBindMethod · 0.85
parseMethod · 0.85

Calls 1

LocMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…