MCPcopy
hub / github.com/vuejs/core / stateInSpecialComment

Method stateInSpecialComment

packages/compiler-core/src/tokenizer.ts:880–886  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

878 }
879 }
880 private stateInSpecialComment(c: number): void {
881 if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) {
882 this.cbs.oncomment(this.sectionStart, this.index)
883 this.state = State.Text
884 this.sectionStart = this.index + 1
885 }
886 }
887 private stateBeforeSpecialS(c: number): void {
888 if (c === Sequences.ScriptEnd[3]) {
889 this.startSpecial(Sequences.ScriptEnd, 4)

Callers 1

parseMethod · 0.95

Calls 2

fastForwardToMethod · 0.95
oncommentMethod · 0.80

Tested by

no test coverage detected