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

Method Token

parser/scanner.go:406–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404}
405
406func (s *scanner) Token() *token {
407 return &s.t
408}
409
410func (s *scanner) LastError() error {
411 if s.err == nil {

Callers 13

ContextMethod · 0.95
parseTemplateMethod · 0.80
parseFuncMethod · 0.80
parseForMethod · 0.80
parseDefaultMethod · 0.80
parseCaseMethod · 0.80
parseSwitchMethod · 0.80
parseIfMethod · 0.80
skipAfterTagMethod · 0.80
skipTagContentsFunction · 0.80
expectTokenFunction · 0.80
testScannerFailureFunction · 0.80

Calls

no outgoing calls

Tested by 2

testScannerFailureFunction · 0.64
testScannerSuccessFunction · 0.64