Description

PositionFor converts a Pos p in the fileset into a Position value. If adjusted is set, the position may be adjusted by position-altering //line comments; otherwise those comments are ignored. p must be a Pos value in s or NoPos.

PositionFor is referenced in 3 repositories

github.com/golang/go github.com/emil2k/tab github.com/cznic/gc