* Between JSX opening and closing tags (e.g. HERE ), anything that * is not another JSX tag and is not an expression wrapped by {} is text.
()
| 9204 | * is not another JSX tag and is not an expression wrapped by {} is text. |
| 9205 | */ |
| 9206 | function advanceJSXChild() { |
| 9207 | var ch = source.charCodeAt(index); |
| 9208 | |
| 9209 | // '<' 60, '>' 62, '{' 123, '}' 125 |
| 9210 | if (ch !== 60 && ch !== 62 && ch !== 123 && ch !== 125) { |
| 9211 | return scanJSXText(['<', '>', '{', '}']); |
| 9212 | } |
| 9213 | |
| 9214 | return scanPunctuator(); |
| 9215 | } |
| 9216 | |
| 9217 | function parseJSXIdentifier() { |
| 9218 | var token, marker = markerCreate(); |
no test coverage detected