(lexer, kind, start, end, value)
| 974 | return "U+" + code.toString(16).toUpperCase().padStart(4, "0"); |
| 975 | } |
| 976 | function createToken(lexer, kind, start, end, value) { |
| 977 | const line = lexer.line; |
| 978 | const col = 1 + start - lexer.lineStart; |
| 979 | return new _ast.Token(kind, start, end, line, col, value); |
| 980 | } |
| 981 | function readNextToken(lexer, start) { |
| 982 | const body = lexer.source.body; |
| 983 | const bodyLength = body.length; |
no outgoing calls
no test coverage detected