annotationcore

package
v0.1.0-preview.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

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

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 New

func New() *Tool

New returns an isolated official annotation tool.

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

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.

func (*Tool) Shutdown

func (tool *Tool) Shutdown(
	context.Context,
	protocol.ShutdownParams,
) error

Shutdown releases no global resources because Tool owns none.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL