MCPcopy Create free account
hub / github.com/bytebase/bytebase / skipToBlank

Method skipToBlank

backend/plugin/parser/tokenizer/tokenizer.go:717–723  ·  view source on GitHub ↗

skipToBlank skips the cursor to the first blank rune.

()

Source from the content-addressed store, hash-verified

715
716// skipToBlank skips the cursor to the first blank rune.
717func (t *Tokenizer) skipToBlank() {
718 r := t.char(0)
719 for r != eofRune && !unicode.IsSpace(r) {
720 t.skip(1)
721 r = t.char(0)
722 }
723}
724
725func (t *Tokenizer) skipToNewLine() {
726 r := t.char(0)

Callers 1

SplitTiDBMultiSQLMethod · 0.95

Calls 2

charMethod · 0.95
skipMethod · 0.95

Tested by

no test coverage detected