Will generate TypeScript definitions source code (text). For a set of Rule.
This set of Rules can be obtained from a Parser instance via the getGAstProductions method.
Note that this function produces a string the output. It is the responsibility of the end-user to create the signatures files.
fs.writeFileSync()
See: https://chevrotain.io/docs/guide/concrete_syntax_tree.html#cst-typescript-signatures
Optional
Generated using TypeDoc
Will generate TypeScript definitions source code (text). For a set of Rule.
This set of Rules can be obtained from a Parser instance via the getGAstProductions method.
Note that this function produces a string the output. It is the responsibility of the end-user to create the signatures files.
fs.writeFileSync()
See: https://chevrotain.io/docs/guide/concrete_syntax_tree.html#cst-typescript-signatures