public string Print() { string TableOut = ms_Seperator; for (int i = 0; i < m_Terminals.Count; i++) { RuleTerminal rt = (RuleTerminal)m_Terminals[i]; TableOut += rt.GetToken() + ms_Seperator; } TableOut += "\n"; for (int i = 0; i < m_StartTerms.Count; i++) { RuleElement re = (RuleElement)m_StartTerms[i]; TableOut += re.GetToken() + ms_Seperator; for (int j = 0; j < m_Terminals.Count; j++) { RuleTerminal rt = (RuleTerminal)m_Terminals[j]; RuleStart rs = Get(rt.GetToken(), re.GetToken()); if (rs == null) { TableOut += ms_Seperator; } else { TableOut += rs.GetAllElements() + ms_Seperator; } } TableOut += "\n"; } return(TableOut); }