@gmod/bed 2.1.7 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/autoSql.d.ts +10 -6
- package/dist/autoSql.js +43 -93
- package/dist/autoSql.js.map +1 -1
- package/dist/defaultTypes.js +2 -3
- package/dist/defaultTypes.js.map +1 -1
- package/dist/parser.js +4 -4
- package/dist/parser.js.map +1 -1
- package/esm/autoSql.d.ts +10 -6
- package/esm/autoSql.js +43 -92
- package/esm/autoSql.js.map +1 -1
- package/esm/defaultTypes.js +1 -2
- package/esm/defaultTypes.js.map +1 -1
- package/esm/parser.js +4 -4
- package/esm/parser.js.map +1 -1
- package/package.json +31 -21
- package/src/autoSql.d.ts +22 -0
- package/src/autoSql.js +1501 -0
- package/src/defaultTypes.ts +2 -3
- package/src/parser.ts +2 -3
- package/src/autoSql.ts +0 -1658
package/src/autoSql.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export class SyntaxError extends Error {
|
|
2
|
+
message: string
|
|
3
|
+
expected: unknown
|
|
4
|
+
found: string | null
|
|
5
|
+
location: {
|
|
6
|
+
start: { offset: number; line: number; column: number }
|
|
7
|
+
end: { offset: number; line: number; column: number }
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface ParseOptions {
|
|
12
|
+
startRule?: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function parse(input: string, options?: ParseOptions): unknown
|
|
16
|
+
|
|
17
|
+
declare const parser: {
|
|
18
|
+
SyntaxError: typeof SyntaxError
|
|
19
|
+
parse: typeof parse
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export default parser
|