()
| 979 | } |
| 980 | |
| 981 | private _consumeComponentName(): string[] { |
| 982 | const nameStart = this._cursor.clone(); |
| 983 | while (isSelectorlessNameChar(this._cursor.peek())) { |
| 984 | this._cursor.advance(); |
| 985 | } |
| 986 | const name = this._cursor.getChars(nameStart); |
| 987 | let prefix = ''; |
| 988 | let tagName = ''; |
| 989 | if (this._cursor.peek() === chars.$COLON) { |
| 990 | this._cursor.advance(); |
| 991 | [prefix, tagName] = this._consumePrefixAndName(isNameEnd); |
| 992 | } |
| 993 | return [name, prefix, tagName]; |
| 994 | } |
| 995 | |
| 996 | private _consumeAttribute() { |
| 997 | this._consumeAttributeName(); |
no test coverage detected