Just do it once per attribute
This commit is contained in:
@@ -68,8 +68,8 @@ class AstAttributeNode extends BaseNodeInfo implements SiblingCountingNode {
|
||||
|
||||
@Override
|
||||
public AtomicSequence atomize() {
|
||||
getTreeInfo().getLogger().recordUsageOf(attribute);
|
||||
if (value == null) {
|
||||
getTreeInfo().getLogger().recordUsageOf(attribute);
|
||||
value = DomainConversion.convert(attribute.getValue());
|
||||
}
|
||||
return value;
|
||||
|
Reference in New Issue
Block a user