MCPcopy Create free account
hub / github.com/microsoft/typescript-go / isClassContentExit

Method isClassContentExit

internal/scanner/regexp.go:503–505  ·  view source on GitHub ↗
(ch rune)

Source from the content-addressed store, hash-verified

501}
502
503func (p *regExpParser) isClassContentExit(ch rune) bool {
504 return ch == ']' || p.pos() >= p.end
505}
506
507// ClassRanges ::= '^'? (ClassAtom ('-' ClassAtom)?)*
508func (p *regExpParser) scanClassRanges() {

Callers 3

scanClassRangesMethod · 0.95

Calls 1

posMethod · 0.95

Tested by

no test coverage detected