Directories ¶
Path | Synopsis |
---|---|
analysis
|
|
cfg
Package cfg provides intraprocedural control flow graphs (CFGs) with statement-level granularity, i.e., CFGs whose nodes correspond 1-1 to the Stmt nodes from an abstract syntax tree.
|
Package cfg provides intraprocedural control flow graphs (CFGs) with statement-level granularity, i.e., CFGs whose nodes correspond 1-1 to the Stmt nodes from an abstract syntax tree. |
dataflow
Package dataflow provides data flow analyses that can be performed on a previously constructed control flow graph, including a reaching definitions analysis and a live variables analysis for local variables.
|
Package dataflow provides data flow analyses that can be performed on a previously constructed control flow graph, including a reaching definitions analysis and a live variables analysis for local variables. |
Package doc contains functions to generate the HTML User's Guide and the man page for the Go Doctor.
|
Package doc contains functions to generate the HTML User's Guide and the man page for the Go Doctor. |
Package engine is the programmatic entrypoint to the Go refactoring engine.
|
Package engine is the programmatic entrypoint to the Go refactoring engine. |
cli
The cli package provides a command-line interface for the Go Doctor.
|
The cli package provides a command-line interface for the Go Doctor. |
protocol
Package protocol provides an implementation of the OpenRefactory protocol (server-side), which provides a standard mechanism for text editors to communicate with refactoring engines.
|
Package protocol provides an implementation of the OpenRefactory protocol (server-side), which provides a standard mechanism for text editors to communicate with refactoring engines. |
Package filesystem provides a file system abstraction and types describing potential changes to a file system.
|
Package filesystem provides a file system abstraction and types describing potential changes to a file system. |
Package refactoring contains all of the refactorings supported by the Go Doctor, as well as types (such as refactoring.Log) used to interface with those refactorings.
|
Package refactoring contains all of the refactorings supported by the Go Doctor, as well as types (such as refactoring.Log) used to interface with those refactorings. |
Package text provides the text manipulation infrastructure used for refactoring, including the definition of EditSet (a set of changes to be made to a text file) and functions for creating unified diffs.
|
Package text provides the text manipulation infrastructure used for refactoring, including the definition of EditSet (a set of changes to be made to a text file) and functions for creating unified diffs. |
Click to show internal directories.
Click to hide internal directories.