# Functions
CreateSourcePositionMapper returns a source position mapper for the contents of a source file.
EmptySourcePositionMapper returns an empty source position mapper.
NewSourceError returns a new SourceError for the given range and message.
NewSourceWarning returns a new SourceWarning for the given range and message.
SourceErrorf returns a new SourceError for the given range and message.
SourceWarningf returns a new SourceWarning for the given range and message.
# Constants
SourceMapCurrent indicates that position mapping should occur over the *current* source contents.
SourceMapTracked indicates that position mapping should occur over the *tracked* source contents.
# Structs
CodeSummary holds the code and optional documentation of a member, parameter or other entity in the compiler.
LocalFilePositionMapper is a struct which implements the PositionMapper interface over the local file system.
Position represents a position in an arbitrary source file.
SourceError represents an error produced by a source file at a specific range.
SourcePositionMapper defines a helper struct for cached, faster lookup of rune position <-> (line, column) for a specific source file.
SourceWarning represents an warning produced by a source file at a specific range.
# Interfaces
PositionMapper defines an interface for converting rune position <-> line+col position under source files.
SourcePosition represents a single position in a source file.
SourceRange represents a range inside a source file.
# Type aliases
InputSource represents the path of a source file.
SourceMappingOption defines the options for whichn source to use when position mapping.