Example #1
0
 @Override
 public Boolean caseAssignment(Assignment object) {
   if (GrammarUtil.isMultipleAssignment(object)) return Boolean.FALSE;
   checkAssignment(object, object.getFeature());
   if (GrammarUtil.isMultipleCardinality(object)) checkAssignment(object, object.getFeature());
   return Boolean.FALSE;
 }
Example #2
0
 @Override
 public Boolean caseAction(Action object) {
   assignedFeatures = newMultimap();
   if (GrammarUtil.isMultipleAssignment(object)) return null;
   if (object.getFeature() == null) return Boolean.FALSE;
   checkAssignment(object, object.getFeature());
   return Boolean.FALSE;
 }