Skip to content

@yantrix/codegen v0.0.2Docs


Yantrix API / @yantrix/codegen / IGenerateOptions

Interface: IGenerateOptions

Represents the options for generating code.

Properties

className

ts
className: string;

The name of the class for the generated Automata.


constants?

ts
optional constants: string;

Included constants to be used in the generated Automata.


outLang

ts
outLang: "javascript" | "typescript" | "python" | "java";

The output language for the generated code. You can check the supported languages and features here.