You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
452 B

import { buildModel } from "./model.js";
import { genDts } from "./generate.js";
const defaultOptions = {
includeVisitorInterface: true,
visitorInterfaceName: "ICstNodeVisitor",
};
export function generateCstDts(productions, options) {
const effectiveOptions = Object.assign(Object.assign({}, defaultOptions), options);
const model = buildModel(productions);
return genDts(model, effectiveOptions);
}
//# sourceMappingURL=api.js.map