()
| 1011 | } |
| 1012 | |
| 1013 | private _consumeComponentName(): string[] { |
| 1014 | const nameStart = this._cursor.clone(); |
| 1015 | while (isSelectorlessNameChar(this._cursor.peek())) { |
| 1016 | this._cursor.advance(); |
| 1017 | } |
| 1018 | const name = this._cursor.getChars(nameStart); |
| 1019 | let prefix = ''; |
| 1020 | let tagName = ''; |
| 1021 | if (this._cursor.peek() === chars.$COLON) { |
| 1022 | this._cursor.advance(); |
| 1023 | [prefix, tagName] = this._consumePrefixAndName(isNameEnd); |
| 1024 | } |
| 1025 | return [name, prefix, tagName]; |
| 1026 | } |
| 1027 | |
| 1028 | private _consumeAttribute() { |
| 1029 | this._consumeAttributeName(); |
no test coverage detected