fix(Interpolation): switch to new AST API
This commit is contained in:
parent
be6ce02021
commit
4df1825dc2
|
@ -258,11 +258,11 @@ export class Interpolation extends AST {
|
||||||
}
|
}
|
||||||
|
|
||||||
eval(context) {
|
eval(context) {
|
||||||
throw new Error("unsuported");
|
throw new BaseException("evaluating an Interpolation is not supported");
|
||||||
}
|
}
|
||||||
|
|
||||||
visit(visitor, args) {
|
visit(visitor) {
|
||||||
visitor.visitInterpolation(this, args);
|
visitor.visitInterpolation(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue