MCPcopy Index your code
hub / github.com/fb55/htmlparser2 / stateInDeclaration

Method stateInDeclaration

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

Source from the content-addressed store, hash-verified

769 }
770 }
771 private stateInDeclaration(c: number): void {
772 if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {
773 this.cbs.ondeclaration(this.sectionStart, this.index);
774 this.state = State.Text;
775 this.sectionStart = this.index + 1;
776 }
777 }
778 /**
779 * XML processing instructions (`<?...?>`).
780 *

Callers 3

stateCDATASequenceMethod · 0.95
parseMethod · 0.95

Calls 2

fastForwardToMethod · 0.95
ondeclarationMethod · 0.65

Tested by

no test coverage detected