forked from GitHub/gf-core
removed some dead code from gflib.js
This commit is contained in:
@@ -407,27 +407,11 @@ function copy_arguments(args, start) {
|
|||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
// Parser Object Definition
|
|
||||||
/*
|
|
||||||
function Parser(startcat) {
|
|
||||||
this.startcat = startcat;
|
|
||||||
this.rules = new Array();
|
|
||||||
this.cats = new Array();
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
function Parser(startcat, rules, cats) {
|
function Parser(startcat, rules, cats) {
|
||||||
this.startcat = startcat;
|
this.startcat = startcat;
|
||||||
this.rules = rules;
|
this.rules = rules;
|
||||||
this.cats = cats;
|
this.cats = cats;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
Parser.prototype.addRule = function (rule) {
|
|
||||||
this.rules.push(rule);
|
|
||||||
};
|
|
||||||
Parser.prototype.addCat = function (name, refs) {
|
|
||||||
this.cats[name] = refs.slice(0);
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
Parser.prototype.showRules = function () {
|
Parser.prototype.showRules = function () {
|
||||||
var ruleStr = new Array();
|
var ruleStr = new Array();
|
||||||
ruleStr.push("");
|
ruleStr.push("");
|
||||||
|
|||||||
Reference in New Issue
Block a user