typeprovider

package
v0.2.25 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package typeprovider loads compiler-owned declaration graphs for explicitly imported platform packages. Providers are application-transparent: users import a runtime package and the compiler discovers its types automatically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(programs []*ast.Program, context Context) (*declaration.Catalog, error)

Types

type Context

type Context struct {
	ProjectRoot    string
	PackageOptions map[string][]byte
}

Directories

Path Synopsis
Package rails supplies TypeRB declarations for Rails and derives ActiveRecord model types from db/schema.rb.
Package rails supplies TypeRB declarations for Rails and derives ActiveRecord model types from db/schema.rb.
schema
Package schema defines the normalized AST for the subset of Rails schema DSL that contributes model types.
Package schema defines the normalized AST for the subset of Rails schema DSL that contributes model types.

Jump to

Keyboard shortcuts

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