Documentation ¶
Index ¶
- func Delete(old Ranger) analysis.TextEdit
- func Fix(msg string, edits ...analysis.TextEdit) analysis.SuggestedFix
- func ReplaceWithNode(fset *token.FileSet, old Ranger, new ast.Node) analysis.TextEdit
- func ReplaceWithPattern(pass *analysis.Pass, after pattern.Pattern, state pattern.State, node Ranger) analysis.TextEdit
- func ReplaceWithString(fset *token.FileSet, old Ranger, new string) analysis.TextEdit
- func Selector(x, sel string) *ast.SelectorExpr
- type Range
- type Ranger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceWithNode ¶
func ReplaceWithPattern ¶
func ReplaceWithString ¶
func Selector ¶
func Selector(x, sel string) *ast.SelectorExpr
Types ¶
Click to show internal directories.
Click to hide internal directories.