Home | History | Annotate | Download | only in token

Lines Matching refs:fileset

60 // first add the respective file to the current file set using FileSet.AddFile
88 // A File is a handle for a file belonging to a FileSet.
92 set *FileSet
320 // FileSet
322 // A FileSet represents a set of source files.
326 type FileSet struct {
334 func NewFileSet() *FileSet {
335 return &FileSet{
343 func (s *FileSet) Base() int {
353 // name. The base offset must not be smaller than the FileSet's Base(), and
355 // the current value of the FileSet's Base() is used instead.
367 func (s *FileSet) AddFile(filename string, base, size int) *File {
392 func (s *FileSet) Iterate(f func(*File) bool) {
410 func (s *FileSet) file(p Pos) *File {
437 func (s *FileSet) File(p Pos) (f *File) {
444 // PositionFor converts a Pos p in the fileset into a Position value.
449 func (s *FileSet) PositionFor(p Pos, adjusted bool) (pos Position) {
458 // Position converts a Pos p in the fileset into a Position value.
461 func (s *FileSet) Position(p Pos) (pos Position) {