コード例 #1
0
 private void ShowParserConstructionResults() {
   lblParserStateCount.Text = _language.ParserData.States.Count.ToString();
   lblParserConstrTime.Text = _language.ConstructionTime.ToString();
   txtParserStates.Text = string.Empty;
   gridGrammarErrors.Rows.Clear();
   txtTerms.Text = string.Empty;
   txtNonTerms.Text = string.Empty;
   txtParserStates.Text = string.Empty;
   tabBottom.SelectedTab = pageLanguage;
   if (_parser == null) return;
   txtTerms.Text = ParserDataPrinter.PrintTerminals(_language);
   txtNonTerms.Text = ParserDataPrinter.PrintNonTerminals(_language);
   txtParserStates.Text = ParserDataPrinter.PrintStateList(_language);
   ShowGrammarErrors();
 }//method
コード例 #2
0
 public static string PrintTerminals()
 {
     return(ParserDataPrinter.PrintTerminals(GMacIronyLangData));
 }