Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
View Source
var (
ErrRepackingSettings = errors.New("failed repacking settings")
)
View Source
var ViewManager *view
Functions ¶
func IsPbHeader ¶
func IsPbHeader(document_uri defines.DocumentUri) bool
func IsProtoFile ¶
func IsProtoFile(document_uri defines.DocumentUri) bool
Types ¶
type Diagnositcs ¶
type Diagnositcs struct {
Method string `json:"method"`
Params defines.PublishDiagnosticsParams `json:"params"`
}
type File ¶
type File interface {
URI() defines.DocumentUri
Read(ctx context.Context) ([]byte, string, error)
ReadLine(line int) string
Saved() bool
// TODO: Fix appropriate function name.
SetSaved(saved bool)
}
File represents a source file of any type.
Click to show internal directories.
Click to hide internal directories.