MCPcopy Create free account
hub / github.com/dop251/goja / write

Method write

parser/regexp.go:119–124  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

117}
118
119func (self *_RegExp_parser) write(p []byte) {
120 if self.passOffset != -1 {
121 self.stopPassing()
122 }
123 self.goRegexp.Write(p)
124}
125
126func (self *_RegExp_parser) writeByte(b byte) {
127 if self.passOffset != -1 {

Callers 1

scanEscapeMethod · 0.95

Calls 2

stopPassingMethod · 0.95
WriteMethod · 0.80

Tested by

no test coverage detected