Comma tokens: ","
()
| 51 | |
| 52 | /** Comma tokens: "," */ |
| 53 | private comma(): CommaToken | undefined { |
| 54 | const m = /^, */.exec(this.str); |
| 55 | if (!m) return; |
| 56 | this.skip(m); |
| 57 | return { type: 'comma', string: ',' }; |
| 58 | } |
| 59 | |
| 60 | /** Identifier tokens: word or dash sequences */ |
| 61 | private ident(): IdentToken | undefined { |