Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratedSourceDirectory ¶ added in v0.3.33
GeneratedSourceDirectory returns the backend directory that owns generated files for a TypeRB source directory.
func ValidateProject ¶ added in v0.2.31
ValidateProject performs backend-owned project validation without emitting target source. Backends without generation-time validation return directly; TypeScript receives the same normalized lowered IR as GenerateProject.
Types ¶
type Generated ¶ added in v0.2.4
type Generated struct {
Output []byte
SourceMap sourcemap.Map
SupportFiles []SupportFile
NativeDependencies map[string]string
}
func GenerateProject ¶ added in v0.2.0
GenerateProject emits a set of already-lowered modules in project order. Keeping the project boundary here lets a backend perform whole-project analysis without leaking backend-specific concerns into parsing, checking, or the shared IR.
type SupportFile ¶ added in v0.4.4
SupportFile is a compiler-owned target source, not a portable source module and not a provider artifact. Path is relative to the generated project root.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package effectplan performs whole-project call-graph analysis shared by backend effect planning and mode-independent scoped-resource validation.
|
Package effectplan performs whole-project call-graph analysis shared by backend effect planning and mode-independent scoped-resource validation. |
|
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. |