text/template/parse.Tree.peekNonSpace (method)
10 uses
text/template/parse (current package)
parse.go#L121: func (t *Tree) peekNonSpace() item {
parse.go#L344: list = t.newList(t.peekNonSpace().pos)
parse.go#L345: for t.peekNonSpace().typ != itemEOF {
parse.go#L410: token := t.peekNonSpace()
parse.go#L414: if v := t.peekNonSpace(); v.typ == itemVariable {
parse.go#L421: next := t.peekNonSpace()
parse.go#L433: switch t.peekNonSpace().typ {
parse.go#L548: peek := t.peekNonSpace()
parse.go#L621: cmd := t.newCommand(t.peekNonSpace().pos)
parse.go#L623: t.peekNonSpace() // skip leading spaces.
![]() |
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. |