()
| 143951 | }; |
| 143952 | } |
| 143953 | function scanRegExp() { |
| 143954 | var start, body, flags, value; |
| 143955 | lookahead = null; |
| 143956 | skipComment(); |
| 143957 | start = index; |
| 143958 | body = scanRegExpBody(); |
| 143959 | flags = scanRegExpFlags(); |
| 143960 | value = testRegExp(body.value, flags.value); |
| 143961 | return { |
| 143962 | literal: body.literal + flags.literal, |
| 143963 | value: value, |
| 143964 | regex: { |
| 143965 | pattern: body.value, |
| 143966 | flags: flags.value |
| 143967 | }, |
| 143968 | start: start, |
| 143969 | end: index |
| 143970 | }; |
| 143971 | } |
| 143972 | function isIdentifierName(token) { |
| 143973 | return token.type === TokenIdentifier || token.type === TokenKeyword || token.type === TokenBooleanLiteral || token.type === TokenNullLiteral; |
| 143974 | } |
no test coverage detected