()
| 9085 | } |
| 9086 | |
| 9087 | function scanJSXIdentifier() { |
| 9088 | var ch, start, value = ''; |
| 9089 | |
| 9090 | start = index; |
| 9091 | while (index < length) { |
| 9092 | ch = source.charCodeAt(index); |
| 9093 | if (!isJSXIdentifierPart(ch)) { |
| 9094 | break; |
| 9095 | } |
| 9096 | value += source[index++]; |
| 9097 | } |
| 9098 | |
| 9099 | return { |
| 9100 | type: Token.JSXIdentifier, |
| 9101 | value: value, |
| 9102 | lineNumber: lineNumber, |
| 9103 | lineStart: lineStart, |
| 9104 | range: [start, index] |
| 9105 | }; |
| 9106 | } |
| 9107 | |
| 9108 | function scanJSXEntity() { |
| 9109 | var ch, str = '', start = index, count = 0, code; |
no test coverage detected