public static boolean visitNeededAttributeParts(final Attribute node, VisitorBase base) throws Exception {
exprType value = node.value;
boolean valueVisited = false;
boolean doReturn = false;
if (value instanceof Subscript) {
Subscript subs = (Subscript) value;
base.traverse(subs.slice);
if (subs.value instanceof Name) {
base.visitName((Name) subs.value);
} else {
base.traverse(subs.value);