Documentation
¶
Overview ¶
Package diagnostic provides shared types for schema parsing diagnostics.
This package exists to avoid import cycles between the main parser package and dialect-specific parser implementations (e.g., PostgreSQL parser).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
Diagnostic captures parser feedback for callers to display.
type SchemaParser ¶
type SchemaParser interface {
Parse(ctx context.Context, path string, content []byte) (*model.Catalog, []Diagnostic, error)
}
SchemaParser parses SQL DDL statements and produces a schema catalog.
Click to show internal directories.
Click to hide internal directories.