cmp = compare(multiplicativeExpr1.getRHS(), multiplicativeExpr2.getRHS());
}
}
break;
case TYPE_NAME_STEP:
NameStep nameStep1 = (NameStep)o1;
NameStep nameStep2 = (NameStep)o2;
cmp = nameStep1.getAxis() - nameStep2.getAxis();
if (cmp == 0)
{
cmp = compareStrings(nameStep1.getPrefix(), nameStep2.getPrefix());
if (cmp == 0)
{
cmp = nameStep1.getLocalName().compareTo(nameStep2.getLocalName());
if (cmp == 0)
{
cmp = compareLists(nameStep1.getPredicates(), nameStep2.getPredicates());
}
}
}
break;
case TYPE_NUMBER_EXPR: