package
0.0.0-20211013214444-3022da0884b2
Repository: https://github.com/jdbaldry/go-language-server-protocol.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
FileSpan returns a span within tok, using converter to translate between offsets and positions.
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.
Parse returns the location represented by the input.
ParseInDir is like Parse, but interprets paths relative to wd.
ToUTF16Column calculates the utf16 column expressed by the point given the supplied file contents.
URIFromPath returns a span URI for the supplied file path.
No description provided by the author

# Variables

Invalid is a span that reports false from IsValid.

# Structs

No description provided by the author
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.