clone method
Implementation
@override
HostDirective clone() {
var cloneRules = <TreeNode>[];
for (var rule in rules) {
cloneRules.add(rule.clone());
}
return HostDirective(cloneRules, span);
}
@override
HostDirective clone() {
var cloneRules = <TreeNode>[];
for (var rule in rules) {
cloneRules.add(rule.clone());
}
return HostDirective(cloneRules, span);
}