(object)
| 9057 | }; |
| 9058 | |
| 9059 | function getQualifiedJSXName(object) { |
| 9060 | if (object.type === Syntax.JSXIdentifier) { |
| 9061 | return object.name; |
| 9062 | } |
| 9063 | if (object.type === Syntax.JSXNamespacedName) { |
| 9064 | return object.namespace.name + ':' + object.name.name; |
| 9065 | } |
| 9066 | /* istanbul ignore else */ |
| 9067 | if (object.type === Syntax.JSXMemberExpression) { |
| 9068 | return ( |
| 9069 | getQualifiedJSXName(object.object) + '.' + |
| 9070 | getQualifiedJSXName(object.property) |
| 9071 | ); |
| 9072 | } |
| 9073 | /* istanbul ignore next */ |
| 9074 | throwUnexpected(object); |
| 9075 | } |
| 9076 | |
| 9077 | function isJSXIdentifierStart(ch) { |
| 9078 | // exclude backslash (\) |
no test coverage detected