clone method

  1. @override
IncludeDirective clone()
override

Implementation

@override
IncludeDirective clone() {
  var cloneArgs = <List<Expression>>[];
  for (var arg in args) {
    cloneArgs.add(arg.map((term) => term.clone()).toList());
  }
  return IncludeDirective(name, cloneArgs, span);
}