r.nar;
return sig;
}
}
},
_parseArgs: function(argList, sig) {
sig.args = argList.map(function(rawArg) {
var arg = this._parseArg(rawArg);
if (!arg.literal) {
sig.static = false;
}
return arg;
}, this);
return sig;
},
_parseArg: function(rawArg) {
var arg = rawArg.trim().replace(/&comma;/g, ",").replace(/\\(.)/g, "$1");
var a = {
name: arg,
model: this._modelForPath(arg)
};
var fc = arg[0];
if (fc >= "0" && fc <= "9") {
fc = "#";
}
switch (fc) {
case "'":
case '"':
a.value = arg.slice(1, -1);
a.literal = tr