Versions in this module Expand all Collapse all v0 v0.0.0 Jan 9, 2023 Changes in this version + type File struct + func NewFile(filename, src string, base int) *File + func (fl *File) Base() int + func (fl *File) Name() string + func (fl *File) Position(idx Idx) *Position + func (fl *File) Source() string + func (fl *File) WithSourceMap(sm *sourcemap.Consumer) *File + type FileSet struct + func (self *FileSet) AddFile(filename, src string) int + func (self *FileSet) File(idx Idx) *File + func (self *FileSet) Position(idx Idx) *Position + type Idx int + type Position struct + Column int + Filename string + Line int + Offset int + func (self *Position) String() string