Visits a call expression node, checks if it matches any registered transformer patterns from callTransformers, and if so, transforms it.
A CallExpression to visit.
The transformed node if its call expression matches a transformer pattern, otherwise the original node.
Generated using TypeDoc
The
Transformerclass extends theTransformVisitorclass from visitor-as and overrides its methods to perform custom transformations on the AST during the compilation process. It looks for specific function calls or decorators and replaces them with new expressions or functions as needed.