Instrument a parsed JavaScript program. It chains transpile,
weaveStandard or weaveFlexible, and retropile.
Throws
AranInputError If conf is invalid or if the top
level properties of file are invalid.
Throws
AranSyntaxError If there is problem with the AST at
file.root either because there is an early syntax error or because it is
not a valid ESTree program.
Instrument a parsed JavaScript program. It chains
transpile
,weaveStandard
orweaveFlexible
, andretropile
.Throws
AranInputError If
conf
is invalid or if the top level properties offile
are invalid.Throws
AranSyntaxError If there is problem with the AST at
file.root
either because there is an early syntax error or because it is not a valid ESTree program.Throws
AranPointcutError If there is a problem with the provided pointcut.
Throws
AranClashError If there is a clash between Aran variables and the variable in
file.root
.