MCPcopy 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

11const { Parser: NearleyParser, Grammar } = nearley;
12
13export 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

parseFunction · 0.65
parseMethod · 0.65
getConfigMethod · 0.65
parseFileMethod · 0.65

Implementers 1

Formattersrc/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…