Searched refs:glrRule (Results 1 – 5 of 5) sorted by relevance
/dports/devel/glrparser/glrparser-1.4/glr/ |
H A D | glrState.h | 45 vector<const class glrRule*> reduces; 53 vector<const class glrRule*> epsReduces; 61 vector<const class glrRule*> termReduces; 204 for(vector<const class glrRule*>::const_iterator i=reduces.begin();i!=reduces.end();++i) in print() 206 for(vector<const class glrRule*>::const_iterator i=epsReduces.begin();i!=epsReduces.end();++i) in print() 208 … for(vector<const class glrRule*>::const_iterator i=termReduces.begin();i!=termReduces.end();++i) in print() 284 for(vector<const class glrRule*>::const_iterator i=reduces.begin();i!=reduces.end();++i) in print() 286 for(vector<const class glrRule*>::const_iterator i=epsReduces.begin();i!=epsReduces.end();++i) in print() 288 … for(vector<const class glrRule*>::const_iterator i=termReduces.begin();i!=termReduces.end();++i) in print()
|
H A D | glrGrammar.h | 140 class glrRule { 373 glrRule(const int &numberA,const glrSymbolTable::glrSymbol &leftA){ in glrRule() function 380 virtual ~glrRule(){ in ~glrRule() 405 const glrRule *rule; 431 glrCompRule(const glrSymbolTable &symbols,const glrRule *ruleA){ in glrCompRule() 482 typedef vector<glrRule*> glrRulesContainer; 486 vector<glrRule*> epsilonRules; 537 void addRule(glrRule* const &newRule){ in addRule() 552 const glrRule* getRule(const int &ruleNo) const { in getRule() 633 glrRule *newRule = NULL; in read() [all …]
|
H A D | glrParser.h | 463 const glrRule *rule; in readTable() 658 vector<const glrRule*>::iterator iReduction; in runReductions() 659 const glrRule *rule; in runReductions() 728 …for(vector<const class glrRule*>::iterator iRule=toState->reduces.begin();iRule!=toState->reduces.… in recursiveCrossEdges() 855 (vector<glrStateVertex*> const& fromVertices, deque<glrNode*> const& succ, const glrRule* const& ru… in makeReductions() 1260 vector<const glrRule*>::iterator iReduction; in runTerminalReductions() 1262 const glrRule *rule; in runTerminalReductions() 1302 …for(vector<const glrRule*>::iterator iReduction=state->epsReduces.begin();iReduction!=state->epsRe… in epsilonReductions() 1311 ((glrRule*)(*iReduction))->setEpsilonNode(iToken, node); in epsilonReductions() 1505 (const vector<glrStateVertex*> &fromVertices, const glrRule* const& rule, glrEdgeSet& edgeSet, glrN… in findEdgeAndNodeSetsForReductions() [all …]
|
H A D | glrNode.h | 176 glrNode(const glrRule* const &ruleA) : glrGuard() { in glrNode() 196 glrNode(const glrRule* const &ruleA,const deque<glrNode*> &succA) : glrGuard() { in glrNode() 228 virtual void addSubtree(const glrRule* const &ruleA,const deque<glrNode*> &succA) {} in addSubtree()
|
/dports/devel/glrparser/glrparser-1.4/samples/ |
H A D | glrparse.cc | 69 commonNode(const glrRule* const &ruleA); 70 commonNode(const glrRule* const &ruleA,const deque<glrNode*> &succA); 83 nonterminalNode(const glrRule* const &ruleA); 84 nonterminalNode(const glrRule* const &ruleA,const deque<glrNode*> &succA); 85 virtual void addSubtree(const glrRule* const &ruleA,const deque<glrNode*> &succA); 127 commonNode::commonNode(const glrRule* const &ruleA) : glrNode(ruleA){ 133 commonNode::commonNode(const glrRule* const &ruleA,const deque<glrNode*> &succA) : glrNode(ruleA,su… 190 nonterminalNode::nonterminalNode(const glrRule* const &ruleA) : commonNode(ruleA) { 195 nonterminalNode::nonterminalNode(const glrRule* const &ruleA,const deque<glrNode*> &succA) : common… 207 void nonterminalNode::addSubtree(const glrRule* const &ruleA,const deque<glrNode*> &succA){
|