package tokeninternal

Import Path
	golang.org/x/tools/internal/tokeninternal (on go.dev)

Dependency Relation
	imports 5 packages, and imported by one package

Involved Source Files package tokeninternal provides access to some internal features of the token package.
Package-Level Functions (total 4, all are exported)
AddExistingFiles adds the specified files to the FileSet if they are not already present. It panics if any pair of files in the resulting FileSet would overlap.
CloneFileSet creates a new FileSet holding all files in fset. It does not create copies of the token.Files in fset: they are added to the resulting FileSet unmodified.
FileSetFor returns a new FileSet containing a sequence of new Files with the same base, size, and line as the input files, for use in APIs that require a FileSet. Precondition: the input files must be non-overlapping, and sorted in order of their Base.
GetLines returns the table of line-start offsets from a token.File.