text/template/parse.lexer.rightDelim (field)
8 uses
text/template/parse (current package)
lex.go#L113: rightDelim string // end of action
lex.go#L217: rightDelim: right,
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#L332: l.pos += Pos(len(l.rightDelim))
lex.go#L347: l.pos += Pos(len(l.rightDelim))
lex.go#L439: if hasRightTrimMarker(l.input[l.pos-1:]) && strings.HasPrefix(l.input[l.pos-1+trimMarkerLen:], l.rightDelim) {
lex.go#L536: if rd, _ := utf8.DecodeRuneInString(l.rightDelim); rd == r {
 |
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. |