text/template/parse.Tree.peek (method)
10 uses
text/template/parse (current package)
parse.go#L100: func (t *Tree) peek() item {
parse.go#L295: t.Root = t.newList(t.peek().pos)
parse.go#L296: for t.peek().typ != itemEOF {
parse.go#L297: if t.peek().typ == itemLeftDelim {
parse.go#L402: token := t.peek()
parse.go#L420: tokenAfterVariable := t.peek()
parse.go#L496: if t.peek().typ == itemIf {
parse.go#L656: if t.peek().typ == itemField {
parse.go#L657: chain := t.newChain(t.peek().pos, node)
parse.go#L658: for t.peek().typ == itemField {
![]() |
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. |