package
0.0.0-20190912100236-53e5711c875d
Repository: https://github.com/tsaikd/tools.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
FileURI returns a span URI for the supplied file path.
FromUTF16Column advances the point by the utf16 character offset given the supplied line contents.
No description provided by the author
NewContentConverter returns an implementation of Converter for the given file content.
No description provided by the author
NewRange creates a new Range from a FileSet and two positions.
NewTokenConverter returns an implementation of Converter backed by a token.File.
NewURI returns a span URI for the string.
Parse returns the location represented by the input.
ToUTF16Column calculates the utf16 column expressed by the point given the supplied file contents.
# Structs
Point represents a single point within a file.
Range represents a source code range in token.Pos form.
Span represents a source code range in standardized form.
TokenConverter is a Converter backed by a token file set and file.
# Interfaces
Converter is the interface to an object that can convert between line:column and offset forms for a single file.
# Type aliases
URI represents the full URI for a file.