svf-lib 1.0.1243 → 1.0.1245

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -72,11 +72,11 @@ private:
72
72
 
73
73
  GrammarBase::Symbol check_head(GrammarBase::SymbolMap<GrammarBase::Symbol, GrammarBase::Productions>& grammar, GrammarBase::Production& rule);
74
74
 
75
- GrammarBase::Production strTrans(std::string strPro, CFLGrammar *grammar);
75
+ void strTrans(std::string strPro, CFLGrammar *grammar, GrammarBase::Production& normalProd);
76
76
 
77
- GrammarBase::Production getFilledProd(GrammarBase::Production &prod, CFLGrammar::Attribute attribute, CFLGrammar *grammar);
77
+ void getFilledProductions(GrammarBase::Production &prod,const NodeSet& nodeSet, CFLGrammar *grammar, GrammarBase::Productions& normalProds);
78
78
 
79
- GrammarBase::Productions getFilledProductions(GrammarBase::Production &prod,const Map<CFLGrammar::Kind, Set<CFLGrammar::Attribute>>& kind2AttriMap, CFLGrammar *grammar);
79
+ void removeFirstSymbol(CFLGrammar *grammar);
80
80
  };
81
81
 
82
82
  } // End namespace SVF
@@ -3,4 +3,5 @@ Start:
3
3
  Terminal:
4
4
  a Call Ret
5
5
  Productions:
6
- A -> A A | a | Call_i A Ret_i | epsilon;
6
+ A -> A A | a | Call_i A Ret_i | epsilon;
7
+ Abar -> Abar Abar | abar | Retbar_i Abar Callbar_i | epsilon;
Binary file
@@ -72,11 +72,11 @@ private:
72
72
 
73
73
  GrammarBase::Symbol check_head(GrammarBase::SymbolMap<GrammarBase::Symbol, GrammarBase::Productions>& grammar, GrammarBase::Production& rule);
74
74
 
75
- GrammarBase::Production strTrans(std::string strPro, CFLGrammar *grammar);
75
+ void strTrans(std::string strPro, CFLGrammar *grammar, GrammarBase::Production& normalProd);
76
76
 
77
- GrammarBase::Production getFilledProd(GrammarBase::Production &prod, CFLGrammar::Attribute attribute, CFLGrammar *grammar);
77
+ void getFilledProductions(GrammarBase::Production &prod,const NodeSet& nodeSet, CFLGrammar *grammar, GrammarBase::Productions& normalProds);
78
78
 
79
- GrammarBase::Productions getFilledProductions(GrammarBase::Production &prod,const Map<CFLGrammar::Kind, Set<CFLGrammar::Attribute>>& kind2AttriMap, CFLGrammar *grammar);
79
+ void removeFirstSymbol(CFLGrammar *grammar);
80
80
  };
81
81
 
82
82
  } // End namespace SVF
@@ -3,4 +3,5 @@ Start:
3
3
  Terminal:
4
4
  a Call Ret
5
5
  Productions:
6
- A -> A A | a | Call_i A Ret_i | epsilon;
6
+ A -> A A | a | Call_i A Ret_i | epsilon;
7
+ Abar -> Abar Abar | abar | Retbar_i Abar Callbar_i | epsilon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1243",
3
+ "version": "1.0.1245",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {