()
| 12127 | return token; |
| 12128 | } |
| 12129 | function scanJsxAttributeValue() { |
| 12130 | startPos = pos; |
| 12131 | switch (text.charCodeAt(pos)) { |
| 12132 | case 34 /* CharacterCodes.doubleQuote */: |
| 12133 | case 39 /* CharacterCodes.singleQuote */: |
| 12134 | tokenValue = scanString(/*jsxAttributeString*/ true); |
| 12135 | return token = 10 /* SyntaxKind.StringLiteral */; |
| 12136 | default: |
| 12137 | // If this scans anything other than `{`, it's a parse error. |
| 12138 | return scan(); |
| 12139 | } |
| 12140 | } |
| 12141 | function reScanJsxAttributeValue() { |
| 12142 | pos = tokenPos = startPos; |
| 12143 | return scanJsxAttributeValue(); |
no test coverage detected
searching dependent graphs…