text/template/parse.Tree.token (field)
10 uses
text/template/parse (current package)
parse.go#L29: token [3]item // three-token lookahead for parser.
parse.go#L74: t.token[0] = t.lex.nextItem()
parse.go#L76: return t.token[t.peekCount]
parse.go#L87: t.token[1] = t1
parse.go#L94: t.token[1] = t1
parse.go#L95: t.token[2] = t2
parse.go#L102: return t.token[t.peekCount-1]
parse.go#L105: t.token[0] = t.lex.nextItem()
parse.go#L106: return t.token[0]
parse.go#L162: format = fmt.Sprintf("template: %s:%d: %s", t.ParseName, t.token[0].line, format)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |