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.
Click to show internal directories.
Click to hide internal directories.