@Override
 public AbstractToken createFollowerAfterReturn(
     AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
   if (value == inst.getEObject() && !inst.isConsumed()) return null;
   switch (index) {
     case 0:
       return new File_ElementsAssignment(lastRuleCallOrigin, next, actIndex, consumed);
     default:
       return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
   }
 }
 @Override
 public AbstractToken createFollowerAfterReturn(
     AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
   if (value == inst.getEObject() && !inst.isConsumed()) return null;
   switch (index) {
     case 0:
       return new Entity_PropertiesAssignment_3(lastRuleCallOrigin, next, actIndex, consumed);
     case 1:
       return new Entity_LeftCurlyBracketKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
     default:
       return null;
   }
 }
 @Override
 public AbstractToken createFollowerAfterReturn(
     AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
   if (value == inst.getEObject() && !inst.isConsumed()) return null;
   switch (index) {
     case 0:
       return new Element_DataTypeAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
     case 1:
       return new Element_NameAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
     default:
       return null;
   }
 }
 @Override
 public AbstractToken createFollowerAfterReturn(
     AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
   if (value == inst.getEObject() && !inst.isConsumed()) return null;
   switch (index) {
     case 0:
       return new Expression_Group_2(lastRuleCallOrigin, next, actIndex, consumed);
     case 1:
       return new Expression_UnorderedGroup_1(lastRuleCallOrigin, next, actIndex, consumed);
     default:
       return null;
   }
 }
Exemplo n.º 5
0
 @Override
 public AbstractToken createFollowerAfterReturn(
     AbstractToken next, int actIndex, int index, IEObjectConsumer inst) {
   if (value == inst.getEObject() && !inst.isConsumed()) return null;
   switch (index) {
     case 0:
       return new SExpression_ElementAssignment_1_0_1(
           lastRuleCallOrigin, next, actIndex, consumed);
     case 1:
       return new SExpression_LeftParenthesisKeyword_1_0_0(
           lastRuleCallOrigin, next, actIndex, consumed);
     default:
       return null;
   }
 }