code: public final String entryRuleGrammarID() throws RecognitionException {
          String current = null;
  
          AntlrDatatypeRuleToken iv_ruleGrammarID = null;
  
  
          try {
              // InternalXtext.g:252:49: (iv_ruleGrammarID= ruleGrammarID EOF )
              // InternalXtext.g:253:2: iv_ruleGrammarID= ruleGrammarID EOF
              {
               newCompositeNode(grammarAccess.getGrammarIDRule()); 
              pushFollow(FollowSets000.FOLLOW_1);
              iv_ruleGrammarID=ruleGrammarID();
  
              state._fsp--;
  
               current =iv_ruleGrammarID.getText(); 
              match(input,EOF,FollowSets000.FOLLOW_2); 
  
              }
  
          }
  
              catch (RecognitionException re) {
                  recover(input,re);
                  appendSkippedTokens();
              }
          finally {
          }
          return current;
      }
docs: InternalXtext.g:252:1: entryRuleGrammarID returns [String current=null] : iv_ruleGrammarID= ruleGrammarID EOF ;