MCPcopy Create free account
hub / github.com/adhocteam/pushup / offset

Method offset

parser.go:1054–1056  ·  view source on GitHub ↗

offset is the current global offset into the original source code of the Pushup file. nolint:unused

()

Source from the content-addressed store, hash-verified

1052//
1053//nolint:unused
1054func (p *codeParser) offset() int {
1055 return p.parser.offset
1056}
1057
1058// tokenOffset is the global offset into the original source code for this token.
1059func (p *codeParser) tokenOffset(tok goToken) int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected