sqlite

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package sqlite parses SQLite SQL and extracts schema declarations and relation access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser extracts SQLite declarations and relation access from SQL files. Meyer follows SQLite's own grammar and exposes byte spans for every AST node.

func New

func New() *Parser

func (*Parser) Extensions

func (*Parser) Extensions() []string

Extensions is intentionally empty. Common SQLite extensions such as .sqlite, .sqlite3, and .db usually contain binary databases rather than SQL source.

func (*Parser) Language

func (*Parser) Language() string

func (*Parser) Name

func (*Parser) Name() string

func (*Parser) Parse

func (*Parser) Parse(ctx context.Context, input parserapi.Input) (graph.ParseResult, error)

func (*Parser) Probe

func (*Parser) Probe(ctx context.Context, input parserapi.Input) error

Jump to

Keyboard shortcuts

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