(specifier)
| 6364 | formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof |
| 6365 | |
| 6366 | function FormatSpecifier(specifier) { |
| 6367 | if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier); |
| 6368 | var match; |
| 6369 | this.fill = match[1] || " "; |
| 6370 | this.align = match[2] || ">"; |
| 6371 | this.sign = match[3] || "-"; |
| 6372 | this.symbol = match[4] || ""; |
| 6373 | this.zero = !!match[5]; |
| 6374 | this.width = match[6] && +match[6]; |
| 6375 | this.comma = !!match[7]; |
| 6376 | this.precision = match[8] && +match[8].slice(1); |
| 6377 | this.trim = !!match[9]; |
| 6378 | this.type = match[10] || ""; |
| 6379 | } |
| 6380 | |
| 6381 | FormatSpecifier.prototype.toString = function() { |
| 6382 | return this.fill |
nothing calls this directly
no outgoing calls
no test coverage detected