Documentation
¶
Overview ¶
Package annotationcore implements the official Go-native annotation tool. The compiler communicates with this package only through the public SDK protocol and never imports it.
Index ¶
- type Tool
- func (tool *Tool) Analyze(ctx context.Context, params protocol.AnalyzeParams) (protocol.AnalyzeResult, error)
- func (tool *Tool) Describe(context.Context, protocol.DescribeParams) (protocol.DescribeResult, error)
- func (tool *Tool) Initialize(_ context.Context, params protocol.InitializeParams) (protocol.InitializeResult, error)
- func (tool *Tool) Shutdown(context.Context, protocol.ShutdownParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
Tool is the official deterministic annotation protocol implementation.
func (*Tool) Analyze ¶
func (tool *Tool) Analyze( ctx context.Context, params protocol.AnalyzeParams, ) (protocol.AnalyzeResult, error)
Analyze dispatches only a handler identity declared by Describe.
func (*Tool) Describe ¶
func (tool *Tool) Describe( context.Context, protocol.DescribeParams, ) (protocol.DescribeResult, error)
Describe returns every stable handler and implementation source symbol.
func (*Tool) Initialize ¶
func (tool *Tool) Initialize( _ context.Context, params protocol.InitializeParams, ) (protocol.InitializeResult, error)
Initialize validates protocol and executable identity.
Click to show internal directories.
Click to hide internal directories.