Type parameters for the configuration object.
The branded types for the AST leafs of the input program.
The branded types for the AST leafs of the output program.
The Aran program to weave.
Optional
conf: null | Partial<Config<conf_param>>Flexible weaving options.
The woven program.
Insert calls to advice functions in an Aran program with the flexible API.
Throws
AranInputError If
conf
orroot
are invalid.Throws
AranPointcutError If there is a problem with the provided pointcut.