@Override
public void dump(List<ExpressionInfo> dump, ExpressionInfo info) {
dump.add(info);
List<Expression> children = getChildren();
ExpressionInfo childInfo = null;
for (Expression c : children) {
if (childInfo == null) {
childInfo = info.firstChild(c);
} else {
childInfo = childInfo.nextSibling(c);
}
c.dump(dump, childInfo);
}
}