text/template/parse.lexer.input (field)

30 uses

	text/template/parse (current package)
		lex.go#L111: 	input       string    // the string being scanned
		lex.go#L126: 	if int(l.pos) >= len(l.input) {
		lex.go#L130: 	r, w := utf8.DecodeRuneInString(l.input[l.pos:])
		lex.go#L150: 	if l.width == 1 && l.input[l.pos] == '\n' {
		lex.go#L157: 	l.items <- item{t, l.start, l.input[l.start:l.pos], l.startLine}
		lex.go#L164: 	l.line += strings.Count(l.input[l.start:l.pos], "\n")
		lex.go#L215: 		input:       input,
		lex.go#L247: 	if x := strings.Index(l.input[l.pos:], l.leftDelim); x >= 0 {
		lex.go#L251: 		if hasLeftTrimMarker(l.input[l.pos+ldn:]) {
		lex.go#L252: 			trimLength = rightTrimLength(l.input[l.start:l.pos])
		lex.go#L256: 			l.line += strings.Count(l.input[l.start:l.pos], "\n")
		lex.go#L263: 	l.pos = Pos(len(l.input))
		lex.go#L266: 		l.line += strings.Count(l.input[l.start:l.pos], "\n")
		lex.go#L280: 	if hasRightTrimMarker(l.input[l.pos:]) && strings.HasPrefix(l.input[l.pos+trimMarkerLen:], l.rightDelim) { // With trim marker.
		lex.go#L283: 	if strings.HasPrefix(l.input[l.pos:], l.rightDelim) { // Without trim marker.
		lex.go#L297: 	trimSpace := hasLeftTrimMarker(l.input[l.pos:])
		lex.go#L302: 	if strings.HasPrefix(l.input[l.pos+afterMarker:], leftComment) {
		lex.go#L317: 	i := strings.Index(l.input[l.pos:], rightComment)
		lex.go#L334: 		l.pos += leftTrimLength(l.input[l.pos:])
		lex.go#L342: 	trimSpace := hasRightTrimMarker(l.input[l.pos:])
		lex.go#L350: 		l.pos += leftTrimLength(l.input[l.pos:])
		lex.go#L393: 		if l.pos < Pos(len(l.input)) {
		lex.go#L394: 			r := l.input[l.pos]
		lex.go#L439: 	if hasRightTrimMarker(l.input[l.pos-1:]) && strings.HasPrefix(l.input[l.pos-1+trimMarkerLen:], l.rightDelim) {
		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#L573: 		if !l.scanNumber() || l.input[l.pos-1] != 'i' {
		lex.go#L574: 			return l.errorf("bad number syntax: %q", l.input[l.start:l.pos])