(includeEmpty = false)
| 59 | } |
| 60 | |
| 61 | newEntry(includeEmpty = false): void { |
| 62 | let entry; |
| 63 | if (this.recorded.length > 0 || includeEmpty) { |
| 64 | entry = this.recorded.join(""); |
| 65 | if (entry === "NULL" && !includeEmpty) { |
| 66 | entry = null; |
| 67 | } |
| 68 | if (entry !== null) entry = this.transform(entry); |
| 69 | this.entries.push(entry); |
| 70 | this.recorded = []; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | consumeDimensions(): void { |
| 75 | if (this.source[0] === "[") { |