cache

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalCache

type GlobalCache struct {
	// contains filtered or unexported fields
}

func NewGlobalCache

func NewGlobalCache() *GlobalCache

func (*GlobalCache) Delete

func (g *GlobalCache) Delete(uri lsp.DocumentURI)

func (*GlobalCache) Get

func (g *GlobalCache) Get(uri lsp.DocumentURI) *SQL

func (*GlobalCache) Put

func (g *GlobalCache) Put(uri lsp.DocumentURI, rawText string) error

type SQL

type SQL struct {
	RawText string
	Node    ast.Node
	Errors  []error
}

func NewSQL

func NewSQL(rawText string) *SQL

func (*SQL) GetStatementNodes

func (s *SQL) GetStatementNodes() (stmts []ast.StatementNode)

Jump to

Keyboard shortcuts

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