- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hasLeftTrimMarker (0.31 sec)
-
src/text/template/parse/lex.go
if x := strings.Index(l.input[l.pos:], l.leftDelim); x >= 0 { if x > 0 { l.pos += Pos(x) // Do we trim any trailing space? trimLength := Pos(0) delimEnd := l.pos + Pos(len(l.leftDelim)) if hasLeftTrimMarker(l.input[delimEnd:]) { trimLength = rightTrimLength(l.input[l.start:l.pos]) } l.pos -= trimLength l.line += strings.Count(l.input[l.start:l.pos], "\n") i := l.thisItem(itemText)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 04 22:36:12 UTC 2022 - 18.1K bytes - Viewed (0)