run method

  1. @override
Ruleset run (Ruleset root)
override

Implementation

@override
Ruleset run(Ruleset root) {
  lessOptions = environment.options;
  final PluginManager pluginManager = lessOptions.pluginManager;
  if (pluginManager != null) {
    FunctionRegistry.globalFunctions =
        pluginManager.getCustomFunction().sublist(0);
    pluginManager.resetCustomFunction();
  }

  return _visitor.visit(root);
}