Documentation ¶
Overview ¶
Package protocol provides an implementation of the OpenRefactory protocol (server-side), which provides a standard mechanism for text editors to communicate with refactoring engines.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type List ¶
type Params ¶
type Params struct { Transformation string `json:"transformation"` Fileselection []string `json:"fileselection"` Textselection map[string]interface{} `json:"textselection"` }
type State ¶
type State struct { State int Mode string Dir string Filesystem filesystem.FileSystem }
type XRun ¶
type XRun struct { Transformation string `json:"transformation"` Fileselection []string `json:"fileselection"` Textselection map[string]interface{} `json:"textselection"` Arguments []interface{} `json:"arguments"` Limit int `json:"limit"` Mode string `json:"mode" chk:"text|patch"` }
Click to show internal directories.
Click to hide internal directories.