Documentation
¶
Index ¶
- type Completion
- type ConvMode
- type Doc
- func (d Doc) ApproximateTargetPos(enc common.Encoding, sourcePos common.Pos) (common.Pos, bool)
- func (d Doc) Assemble()
- func (d Doc) CheckTarget() (needsUpdate bool, err error)
- func (d Doc) Completions(enc common.Encoding, pos common.Pos) (completions []Completion, complete bool)
- func (d Doc) Delete()
- func (d Doc) Err() error
- func (d Doc) Format(enc common.Encoding) (Formatted, error)
- func (d Doc) GetDiag() *ast.Node
- func (d Doc) GoxImportPos(enc common.Encoding) (common.Pos, bool)
- func (d Doc) Hover(enc common.Encoding, pos common.Pos) (message string, ran common.Range, ok bool)
- func (d Doc) Init()
- func (d Doc) Load() error
- func (d Doc) Name() string
- func (d Doc) Parse() error
- func (d Doc) PrintTarget()
- func (d Doc) Save() error
- func (d Doc) SourceClose()
- func (d Doc) SourceFile() File
- func (d Doc) SourceIsOpened() bool
- func (d Doc) SourceOpen(version int32)
- func (d Doc) SourcePatch(enc common.Encoding, ran common.Range, content string) (bool, error)
- func (d Doc) SourcePos(enc common.Encoding, targetPos common.Pos, mode ConvMode) (common.Pos, bool)
- func (d Doc) SourceRange(enc common.Encoding, targetRange common.Range, mode ConvMode) (common.Range, bool)
- func (d Doc) SourceUpdate(content string) (bool, error)
- func (d Doc) StoreDiag(a *ast.Node)
- func (d Doc) Symbols(enc common.Encoding) []Symbol
- func (d Doc) TargetClose()
- func (d Doc) TargetContent() string
- func (d Doc) TargetFile() File
- func (d Doc) TargetIsOpened() bool
- func (d Doc) TargetOpen(version int32)
- func (d Doc) TargetPos(enc common.Encoding, sourcePos common.Pos, mode ConvMode) (common.Pos, bool)
- func (d Doc) TargetRange(enc common.Encoding, sourceRange common.Range, mode ConvMode) (common.Range, bool)
- func (d Doc) TargetWrite() error
- type File
- func (f File) Dir() string
- func (f File) Exists() bool
- func (f File) IsValid() bool
- func (f File) Kind() FileKind
- func (f File) Name() string
- func (f File) Path() string
- func (f File) Remove() error
- func (f File) Reverse() File
- func (f File) URI() string
- func (f File) ValidateTarget(b []byte) (needsUpdate bool, err error)
- type FileKind
- type Formatted
- type Manager
- type Symbol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completion ¶
type Completion struct {
Range common.Range
Text string
Label string
// contains filtered or unexported fields
}
func (Completion) Kind ¶
func (c Completion) Kind() completion.Kind
type Doc ¶
type Doc = *doc
func (Doc) ApproximateTargetPos ¶
func (Doc) CheckTarget ¶
func (Doc) Completions ¶
func (Doc) PrintTarget ¶
func (d Doc) PrintTarget()
func (Doc) SourceClose ¶
func (d Doc) SourceClose()
func (Doc) SourceFile ¶
func (Doc) SourceIsOpened ¶
func (Doc) SourceOpen ¶
func (Doc) SourcePatch ¶
func (Doc) SourceRange ¶
func (Doc) TargetClose ¶
func (d Doc) TargetClose()
func (Doc) TargetContent ¶
func (Doc) TargetFile ¶
func (Doc) TargetIsOpened ¶
func (Doc) TargetOpen ¶
func (Doc) TargetRange ¶
func (Doc) TargetWrite ¶
Click to show internal directories.
Click to hide internal directories.