package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
FirstLexicalToken returns the first lexical token.
HasMultipleStatements returns true if the sql string contains more than one statements.
Inspect analyses the string and returns the tokens found in it.
LastLexicalToken returns the last lexical token.
# Variables
NewNumValFn allows us to use tree.NewNumVal without a dependency on tree.
NewPlaceholderFn allows us to use tree.NewPlaceholder without a dependency on tree.
# Structs
InspectToken is the type of token that can be scanned by Inspect.
PLpgSQLScanner is a scanner with a PLPGSQL specific scan function.
Scanner lexes SQL statements.
SQLScanner is a scanner with a SQL specific scan function.
# Interfaces
ScanSymType is the interface for accessing the fields of a yacc symType.