text/template/parse.item.line (field)
10 uses
text/template/parse (current package)
lex.go#L19: line int // The line number at the start of this item.
parse.go#L162: format = fmt.Sprintf("template: %s:%d: %s", t.ParseName, t.token[0].line, format)
parse.go#L193: if t.actionLine != 0 && t.actionLine != token.line {
parse.go#L364: t.actionLine = token.line
parse.go#L404: return t.newAction(token.pos, token.line, t.pipeline("command", itemRightDelim))
parse.go#L411: pipe = t.newPipeline(token.pos, token.line, nil)
parse.go#L551: return t.newElse(peek.pos, peek.line)
parse.go#L554: return t.newElse(token.pos, token.line)
parse.go#L582: return t.newTemplate(token.pos, token.line, name, pipe)
parse.go#L599: return t.newTemplate(token.pos, token.line, name, pipe)
 |
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. |