(text, // the text of this token loc)
| 57 | */ |
| 58 | class Token { |
| 59 | constructor(text, // the text of this token |
| 60 | loc) { |
| 61 | this.text = void 0; |
| 62 | this.loc = void 0; |
| 63 | this.text = text; |
| 64 | this.loc = loc; |
| 65 | } |
| 66 | /** |
| 67 | * Given a pair of tokens (this and endToken), compute a `Token` encompassing |
| 68 | * the whole input range enclosed by these two. |
nothing calls this directly
no outgoing calls
no test coverage detected