()
| 996 | } |
| 997 | |
| 998 | private _consumeComponentName(): string[] { |
| 999 | const nameStart = this._cursor.clone(); |
| 1000 | while (isSelectorlessNameChar(this._cursor.peek())) { |
| 1001 | this._cursor.advance(); |
| 1002 | } |
| 1003 | const name = this._cursor.getChars(nameStart); |
| 1004 | let prefix = ''; |
| 1005 | let tagName = ''; |
| 1006 | if (this._cursor.peek() === chars.$COLON) { |
| 1007 | this._cursor.advance(); |
| 1008 | [prefix, tagName] = this._consumePrefixAndName(isNameEnd); |
| 1009 | } |
| 1010 | return [name, prefix, tagName]; |
| 1011 | } |
| 1012 | |
| 1013 | private _consumeAttribute() { |
| 1014 | this._consumeAttributeName(); |
no test coverage detected