public void PushShift(RuleElement re, int State) { m_Stack.Push(new buStackElement(re)); m_Stack.Push(new buStackElement(State)); ASTElement neuElm = new ASTElement(re); m_TreeStack.Push(neuElm); m_actPopList.Clear(); }
public bool Init() { m_Rules.Clear(); if (!ParseBNF(m_BNF)) { return(false); } return(true); }