internal/

directory
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT

Directories

Path Synopsis
Package ast defines the lossless syntax tree.
Package ast defines the lossless syntax tree.
Package checker resolves names, infers local declaration types, validates assignments/returns, and records a type for every portable expression.
Package checker resolves names, infers local declaration types, validates assignments/returns, and records a type for every portable expression.
effectplan
Package effectplan performs whole-project call-graph analysis for backend effects that remain intentionally absent from TypeRB source signatures.
Package effectplan performs whole-project call-graph analysis for backend effects that remain intentionally absent from TypeRB source signatures.
naming
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend.
Package naming contains target-independent helpers for encoding TypeRB source names that are not valid identifiers in every backend.
Package compiler owns the public compilation pipeline.
Package compiler owns the public compilation pipeline.
Package compilerservice owns reusable, editor-independent project snapshots.
Package compilerservice owns reusable, editor-independent project snapshots.
Package dbtool adapts external schema management tools to TypeRB's stable database commands.
Package dbtool adapts external schema management tools to TypeRB's stable database commands.
Package declaration defines compiler-owned type information supplied by runtime-library providers.
Package declaration defines compiler-owned type information supplied by runtime-library providers.
Package formatter implements a deterministic, comment-preserving TypeRB printer.
Package formatter implements a deterministic, comment-preserving TypeRB printer.
Package ir defines the resolved, target-independent representation consumed by every backend.
Package ir defines the resolved, target-independent representation consumed by every backend.
Package jobs models the compile-time contract shared by portable job adapters.
Package jobs models the compile-time contract shared by portable job adapters.
sqladapter
Package sqladapter owns the compile-time configuration for the official trb/jobs/sql adapter.
Package sqladapter owns the compile-time configuration for the official trb/jobs/sql adapter.
sqlstore
Package sqlstore defines the durable state model and dialect-specific SQL used by the portable SQL job adapter.
Package sqlstore defines the durable state model and dialect-specific SQL used by the portable SQL job adapter.
Package languageservice provides editor-independent analysis used by the REPL and future browser and language-server adapters.
Package languageservice provides editor-independent analysis used by the REPL and future browser and language-server adapters.
Package lexer provides the lossless lexical layer used by both the compiler and formatter.
Package lexer provides the lossless lexical layer used by both the compiler and formatter.
Package lower converts checked syntax AST into the normalized IR.
Package lower converts checked syntax AST into the normalized IR.
Package lsp adapts the shared compiler and language services to the Language Server Protocol.
Package lsp adapts the shared compiler and language services to the Language Server Protocol.
Package nativepackage owns cached type information derived from native target-language packages.
Package nativepackage owns cached type information derived from native target-language packages.
Package official loads versioned TypeRB packages bundled with the compiler.
Package official loads versioned TypeRB packages bundled with the compiler.
Package orm owns the compiler-side integration for the official trb/orm package.
Package orm owns the compiler-side integration for the official trb/orm package.
Package packages generates target package-manager manifests from trbconfig.jsonc.
Package packages generates target package-manager manifests from trbconfig.jsonc.
Package parser implements TypeRB's handwritten recursive-descent and Pratt parsers.
Package parser implements TypeRB's handwritten recursive-descent and Pratt parsers.
Package playground serves the local TypeRB playground and guided tour.
Package playground serves the local TypeRB playground and guided tour.
Package project owns trbconfig.jsonc discovery, validation, and persistence.
Package project owns trbconfig.jsonc discovery, validation, and persistence.
Package projectintegration runs compile-time hooks declared by TypeRB packages without teaching the compiler pipeline their domain-specific data.
Package projectintegration runs compile-time hooks declared by TypeRB packages without teaching the compiler pipeline their domain-specific data.
Package repl implements TypeRB's project-aware interactive evaluator.
Package repl implements TypeRB's project-aware interactive evaluator.
Package resolver turns syntax imports into project or compiler-known package identities before type checking.
Package resolver turns syntax imports into project or compiler-known package identities before type checking.
Package schemalock owns the deterministic, backend-independent database schema artifact consumed by compiler integrations and command-line tools.
Package schemalock owns the deterministic, backend-independent database schema artifact consumed by compiler integrations and command-line tools.
Package sourcemap records backend-independent relationships between generated code and TypeRB source.
Package sourcemap records backend-independent relationships between generated code and TypeRB source.
Package stdlib describes compiler-known portable and platform packages.
Package stdlib describes compiler-known portable and platform packages.
Package testsuite discovers and prepares TypeRB test declarations without coupling the parser or the language server to the test runner.
Package testsuite discovers and prepares TypeRB test declarations without coupling the parser or the language server to the test runner.
Package typeprovider loads compiler-owned declaration graphs for explicitly imported platform packages.
Package typeprovider loads compiler-owned declaration graphs for explicitly imported platform packages.
rails
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.
rails/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.
Package types contains target-independent semantic types.
Package types contains target-independent semantic types.
Package web owns target-independent compilation support for trb/web.
Package web owns target-independent compilation support for trb/web.

Jump to

Keyboard shortcuts

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