Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sql-formatter-org/sql-formatter
/ Parser
Interface
Parser
src/parser/createParser.ts:13–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
const
{ Parser: NearleyParser, Grammar } = nearley;
12
13
export
interface
Parser {
14
parse(sql: string, paramTypesOverrides: ParamTypes): StatementNode[];
15
}
16
17
/**
18
* Creates a parser object which wraps the setup of Nearley parser
Callers
4
parse
Function · 0.65
parse
Method · 0.65
getConfig
Method · 0.65
parseFile
Method · 0.65
Implementers
1
Formatter
src/formatter/Formatter.ts
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…