package
0.0.0-20190805132753-b2a0db951d2a
Repository: https://github.com/peterebden/tools.git
Documentation: pkg.go.dev
# Functions
AllImportsFixes formats f for each possible fix to the imports.
Completion returns a list of possible candidates for completion, given a a file and a position.
No description provided by the author
No description provided by the author
DiffToEdits converts from a sequence of diff operations to a sequence of source.TextEdit.
No description provided by the author
No description provided by the author
Format formats a file with a given range.
No description provided by the author
Identifier returns identifier information for a position in a file, accounting for a potentially incomplete selector.
Imports formats a file using the goimports tool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseExported specifies that the public symbols are needed, but things like private symbols and function bodies are not.
ParseFull specifies the full AST is needed.
ParseHeader specifies that the main package declaration and imports are needed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
An action represents one unit of analysis work: the application of one analysis to one package.
No description provided by the author
No description provided by the author
No description provided by the author
FileIdentity uniquely identifies a file at a version from a FileSystem.
IdentifierInfo holds information about an identifier in Go source.
No description provided by the author
No description provided by the author
ReferenceInfo holds information about reference to an identifier in Go source.
A Selection represents the cursor position and surrounding identifier.
No description provided by the author
No description provided by the author
No description provided by the author
TextEdit represents a change to a section of a document.
# Interfaces
Cache abstracts the core logic of dealing with the environment from the higher level logic that processes the information to produce results.
File represents a source file of any type.
FileHandle represents a handle to a specific version of a single file from a specific file system.
FileSystem is the interface to something that provides file contents.
GoFile represents a Go source file that has been type-checked.
No description provided by the author
Package represents a Go package that has been type-checked.
ParseGoHandle represents a handle to the AST for a file.
Session represents a single connection from a client.
No description provided by the author
TokenHandle represents a handle to the *token.File for a file.
View represents a single workspace.
# Type aliases
No description provided by the author
No description provided by the author
FileKind describes the kind of the file in question.
No description provided by the author
ParseMode controls the content of the AST produced when parsing a source file.
No description provided by the author