github.com/jackc/pgx/v4/internal/sanitize.sqlLexer.pos (field)
59 uses
github.com/jackc/pgx/v4/internal/sanitize (current package)
sanitize.go#L95: pos int
sanitize.go#L105: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L106: l.pos += width
sanitize.go#L110: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L112: l.pos += width
sanitize.go#L120: nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L122: if l.pos-l.start > 0 {
sanitize.go#L123: l.parts = append(l.parts, l.src[l.start:l.pos-width])
sanitize.go#L125: l.start = l.pos
sanitize.go#L129: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L131: l.pos += width
sanitize.go#L135: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L137: l.pos += width
sanitize.go#L141: if l.pos-l.start > 0 {
sanitize.go#L142: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L143: l.start = l.pos
sanitize.go#L152: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L153: l.pos += width
sanitize.go#L157: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L161: l.pos += width
sanitize.go#L163: if l.pos-l.start > 0 {
sanitize.go#L164: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L165: l.start = l.pos
sanitize.go#L174: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L175: l.pos += width
sanitize.go#L179: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L183: l.pos += width
sanitize.go#L185: if l.pos-l.start > 0 {
sanitize.go#L186: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L187: l.start = l.pos
sanitize.go#L200: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L201: l.pos += width
sanitize.go#L208: l.pos -= width
sanitize.go#L209: l.start = l.pos
sanitize.go#L217: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L218: l.pos += width
sanitize.go#L222: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L223: l.pos += width
sanitize.go#L225: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L229: l.pos += width
sanitize.go#L231: if l.pos-l.start > 0 {
sanitize.go#L232: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L233: l.start = l.pos
sanitize.go#L242: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L243: l.pos += width
sanitize.go#L247: _, width = utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L248: l.pos += width
sanitize.go#L252: if l.pos-l.start > 0 {
sanitize.go#L253: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L254: l.start = l.pos
sanitize.go#L263: r, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L264: l.pos += width
sanitize.go#L268: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L270: l.pos += width
sanitize.go#L274: nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
sanitize.go#L279: l.pos += width
sanitize.go#L286: if l.pos-l.start > 0 {
sanitize.go#L287: l.parts = append(l.parts, l.src[l.start:l.pos])
sanitize.go#L288: 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. |