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

Method skipComment

parser/scanner.go:204–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202var strTagOpen = []byte("{%")
203
204func (s *scanner) skipComment() bool {
205 if !s.readTagContents() {
206 return false
207 }
208 return s.skipUntilTag("endcomment")
209}
210
211func (s *scanner) skipUntilTag(tagName string) bool {
212 ok := false

Callers 1

NextMethod · 0.95

Calls 2

readTagContentsMethod · 0.95
skipUntilTagMethod · 0.95

Tested by

no test coverage detected