Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.0.1-dev"
Version is the CLI version of bufls.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
Engine is a Protobuf language server engine.
This is used by both the Handler that speaks the LSP, as well as the bufls sub-commands (e.g. 'bufls definition').
func NewEngine ¶
func NewEngine( logger *zap.Logger, container appflag.Container, moduleConfigReader bufwire.ModuleConfigReader, moduleFileSetBuilder bufmodulebuild.ModuleFileSetBuilder, imageBuilder bufimagebuild.Builder, ) Engine
NewEngine returns a new Protobuf language server engine.
type Handler ¶
Handler is a Protobuf language server handler.
For details, see https://github.com/golang/tools/tree/master/internal/lsp/protocol/typescript
type Location ¶
type Location interface { fmt.Stringer // Path is the unnormalized path of this location. Path() string // Line is the line number of the location. Line() int // Column is the column number of the location. Column() int }
Location is a source code location.
func ParseLocation ¶
ParseLocation parses a <filename>:<line>:<column> into a Location.
Click to show internal directories.
Click to hide internal directories.