MCPcopy
hub / github.com/valyala/quicktemplate / stopCapture

Method stopCapture

parser/scanner.go:399–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

397}
398
399func (s *scanner) stopCapture() []byte {
400 s.capture = false
401 v := s.capturedValue
402 s.capturedValue = s.capturedValue[:0]
403 return v
404}
405
406func (s *scanner) Token() *token {
407 return &s.t

Callers 1

readPlainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected