MCPcopy Create free account
hub / github.com/DAddYE/igo / Line

Method Line

token/position.go:257–260  ·  view source on GitHub ↗

Line returns the line number for the given file position p; p must be a Pos value in that file or NoPos.

(p Pos)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

consumeCommentMethod · 0.80
consumeCommentGroupMethod · 0.80
nextMethod · 0.80

Calls 1

PositionMethod · 0.95

Tested by

no test coverage detected