MCPcopy Index your code
hub / github.com/blastrain/vitess-sqlparser

github.com/blastrain/vitess-sqlparser @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,853 symbols 4,809 edges 84 files 1,396 documented · 75% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Formatter (Interface)
Formatter is an io.Writer extended formatter by a fmt.Printf like function Format. [79 implementers]
tidbparser/dependency/util/format/format.go
SQLNode (Interface)
SQLNode defines the interface for all nodes generated by the parser. [53 implementers]
sqlparser/ast.go
SensitiveStmtNode (Interface)
SensitiveStmtNode overloads StmtNode and provides a SecureText method. [4 implementers]
tidbparser/ast/ast.go
Encodable (Interface)
This file contains types that are 'Encodable'. Encodable defines the interface for types that can be custom-encoded into [2 …
sqlparser/encodable.go
BinWriter (Interface)
BinWriter interface is used for encoding values. Types like bytes.Buffer conform to this interface. We expect the writer [1 …
sqltypes/value.go
Iterator (Interface)
Iterator is used to iterate a number of rows. for row := it.Begin(); row != it.End(); row = it.Next() { ... } [4 implementers]
tidbparser/dependency/util/chunk/iterator.go
Expr (Interface)
Expr represents an expression. [24 implementers]
sqlparser/ast.go
Visitor (Interface)
Visitor visits a Node. [2 implementers]
tidbparser/ast/ast.go

Core symbols most depended-on inside this repo

Leave
called by 193
tidbparser/ast/ast.go
Accept
called by 132
tidbparser/ast/ast.go
Myprintf
called by 99
sqlparser/tracked_buffer.go
Enter
called by 95
tidbparser/ast/ast.go
NewCIStr
called by 80
tidbparser/dependency/model/model.go
GenByArgs
called by 75
tidbparser/dependency/terror/terror.go
New
called by 72
tidbparser/dependency/terror/terror.go
Errorf
called by 59
tidbparser/parser/parser.go

Shape

Method 976
Function 533
Struct 243
TypeAlias 64
Interface 34
FuncType 3

Languages

Go100%

Modules by API surface

sqlparser/ast.go346 symbols
tidbparser/dependency/types/time.go120 symbols
tidbparser/dependency/types/datum.go112 symbols
tidbparser/ast/expressions.go74 symbols
tidbparser/dependency/util/chunk/chunk.go73 symbols
tidbparser/ast/misc.go64 symbols
tidbparser/ast/dml.go55 symbols
tidbparser/ast/ddl.go54 symbols
tidbparser/parser/lexer.go51 symbols
tidbparser/dependency/types/mydecimal.go50 symbols
tidbparser/ast/ast.go42 symbols
tidbparser/dependency/util/chunk/iterator.go39 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add vitess-sqlparser \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact