protected int GetPosInGototable(RuleElement re, int HuellenNr) { if (re != null) { for (int i = 0; i < m_GotoTable.Count; i++) { GotoEntry ge = (GotoEntry)m_GotoTable[i]; if (ge.IsSame(re, HuellenNr)) { return(i); } } } return(-1); }
private bool IsInGototable(RuleElement re, int HuellenNr) { if (re != null) { for (int i = 0; i < m_GotoTable.Count; i++) { GotoEntry ge = (GotoEntry)m_GotoTable[i]; if (ge.IsSame(re, HuellenNr)) { return(true); } } } return(false); }