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

Method peek

internal/parser/parser.go:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (p *parser) peek() *token {
87 return &p.t[p.currT]
88}
89
90func (p *parser) doublePeek() *token {
91 return &p.t[p.currT+1]

Callers 11

parseArgumentMethod · 0.95
parseArgumentsMethod · 0.95
parseParameterMethod · 0.95
parseParametersMethod · 0.95
parseBindMethod · 0.95
parseArrayMethod · 0.95
parseMethod · 0.95
ParseFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected