engine

package
v0.0.0-...-92529da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2016 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package engine is the programmatic entrypoint to the Go refactoring engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRefactoring

func AddRefactoring(shortName string, newRefac refactoring.Refactoring) error

AddRefactoring allows custom refactorings to be added to the refactoring engine. Invoke this method before starting the command line or protocol driver.

func AllRefactoringNames

func AllRefactoringNames() []string

AllRefactoringNames returns the short names of all refactorings in an order suitable for display in a menu.

func GetRefactoring

func GetRefactoring(shortName string) refactoring.Refactoring

GetRefactoring returns a Refactoring keyed by the given short name. The short name must be one of the keys in the map returned by AllRefactorings.

Types

This section is empty.

Directories

Path Synopsis
The cli package provides a command-line interface for the Go Doctor.
The cli package provides a command-line interface for the Go Doctor.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL