MCPcopy Create free account
hub / github.com/fb55/htmlparser2 / stateInSpecialComment

Method stateInSpecialComment

src/Tokenizer.ts:817–823  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

815 }
816 }
817 private stateInSpecialComment(c: number): void {
818 if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {
819 this.cbs.oncomment(this.sectionStart, this.index, 0);
820 this.state = State.Text;
821 this.sectionStart = this.index + 1;
822 }
823 }
824
825 private startEntity() {
826 this.baseState = this.state;

Callers 2

stateCDATASequenceMethod · 0.95
parseMethod · 0.95

Calls 2

fastForwardToMethod · 0.95
oncommentMethod · 0.65

Tested by

no test coverage detected