code: public final EObject entryRuleTerminalAlternatives() throws RecognitionException {
          EObject current = null;
  
          EObject iv_ruleTerminalAlternatives = null;
  
  
          try {
              // InternalXtext.g:2999:61: (iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF )
              // InternalXtext.g:3000:2: iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF
              {
               newCompositeNode(grammarAccess.getTerminalAlternativesRule()); 
              pushFollow(FollowSets000.FOLLOW_1);
              iv_ruleTerminalAlternatives=ruleTerminalAlternatives();
  
              state._fsp--;
  
               current =iv_ruleTerminalAlternatives; 
              match(input,EOF,FollowSets000.FOLLOW_2); 
  
              }
  
          }
  
              catch (RecognitionException re) {
                  recover(input,re);
                  appendSkippedTokens();
              }
          finally {
          }
          return current;
      }
docs: InternalXtext.g:2999:1: entryRuleTerminalAlternatives returns [EObject current=null] : iv_ruleTerminalAlternatives= ruleTerminalAlternatives EOF ;