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

Method incPos

internal/scanner/regexp.go:116–118  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

114}
115
116func (p *regExpParser) incPos(n int) {
117 p.scanner.pos += n
118}
119
120func (p *regExpParser) char() rune {
121 return p.scanner.char()

Callers 15

scanDisjunctionMethod · 0.95
scanAlternativeMethod · 0.95
scanPatternModifiersMethod · 0.95
scanAtomEscapeMethod · 0.95
scanCharacterEscapeMethod · 0.95
scanClassRangesMethod · 0.95
scanClassSetOperandMethod · 0.95
scanClassSetCharacterMethod · 0.95
scanClassAtomMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected