clone method

  1. @override
MixinDefinition clone()
override

Implementation

@override
MixinDefinition clone() {
  var cloneDefinedArgs = <TreeNode>[];
  for (var definedArg in definedArgs) {
    cloneDefinedArgs.add(definedArg.clone());
  }
  return MixinDefinition(name, cloneDefinedArgs, varArgs, span);
}