Versions in this module Expand all Collapse all v0 v0.0.1 May 18, 2026 Changes in this version + func EndPosition(fset *token.FileSet, end token.Pos) (_ token.Position) + func Line(f *token.File, pos token.Pos) int + func Offset(f *token.File, pos token.Pos) (int, error) + func Offsets(f *token.File, start, end token.Pos) (int, int, error) + func Pos(f *token.File, offset int) (token.Pos, error) + func Position(f *token.File, pos token.Pos) token.Position + func StartPosition(fset *token.FileSet, start token.Pos) (_ token.Position)