MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / makeSQLScanner

Function makeSQLScanner

pkg/sql/parser/scanner.go:13–17  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

11)
12
13func makeSQLScanner(str string) scanner.SQLScanner {
14 var s scanner.SQLScanner
15 s.Init(str)
16 return s
17}
18
19// SplitFirstStatement returns the length of the prefix of the string up to and
20// including the first semicolon that separates statements. If there is no

Callers 2

SplitFirstStatementFunction · 0.85
TokensFunction · 0.85

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…