A substituteVars<A extends AST>(AST ast, Iterable<AST> to) => currentContext.substituteVars(ast, to.toList()) as A;