tsgen

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tsgen is the TypeScript-language adapter of the shared R4 task generator. It supplies a gencore.Profile describing TypeScript's file conventions and verification commands (transpile via `tsc --noEmit`, run tests via the Node.js built-in runner `node --test`); every generation control-flow decision lives in internal/eval/gen/gencore. Wire a TypeScript generator with gencore.Register(reg, querier, tsgen.Profile) (or gencore.New for callers that manage registration themselves).

Index

Constants

This section is empty.

Variables

View Source
var Profile = gencore.Profile{
	Language:           eval.LanguageTypeScript,
	IDToken:            "ts",
	ErrPrefix:          "tsgen",
	DisplayName:        "TypeScript",
	NoTestEditFragment: "- Do not modify any existing *.test.ts file.\n",
	MustSatisfyCmd:     "node --test",
	TestFileNoun:       "directory",
	TestFilePath:       testFilePath,
	VerifyTarget:       testGlobPattern,
	BuildCmd:           buildCmd,
	TestCmd:            testCmd,
}

Profile is the TypeScript language profile for the shared generator engine.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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