text/template/parse.lexer.start (field)
15 uses
text/template/parse (current package)
lex.go#L116: start Pos // start position of this item
lex.go#L157: l.items <- item{t, l.start, l.input[l.start:l.pos], l.startLine}
lex.go#L158: l.start = l.pos
lex.go#L164: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L165: l.start = l.pos
lex.go#L188: l.items <- item{itemError, l.start, fmt.Sprintf(format, args...), l.startLine}
lex.go#L252: trimLength = rightTrimLength(l.input[l.start:l.pos])
lex.go#L255: if l.pos > l.start {
lex.go#L256: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L265: if l.pos > l.start {
lex.go#L266: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L458: word := l.input[l.start:l.pos]
lex.go#L569: return l.errorf("bad number syntax: %q", l.input[l.start:l.pos])
lex.go#L574: return l.errorf("bad number syntax: %q", l.input[l.start:l.pos])
 |
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. |