@dataform/sqlx
Advanced tools
Comparing version 1.5.3 to 1.5.4
/// <amd-module name="@dataform/sqlx/lexer" /> | ||
export declare enum SyntaxTreeNodeType { | ||
SQL = 0, | ||
JAVASCRIPT = 1, | ||
JAVASCRIPT_TEMPLATE_STRING_PLACEHOLDER = 2, | ||
SQL_STATEMENT_SEPARATOR = 3, | ||
SQL_COMMENT = 4 | ||
JAVASCRIPT = 0, | ||
JAVASCRIPT_TEMPLATE_STRING_PLACEHOLDER = 1, | ||
SQL = 2, | ||
SQL_COMMENT = 3, | ||
SQL_LITERAL_STRING = 4, | ||
SQL_STATEMENT_SEPARATOR = 5 | ||
} | ||
@@ -13,2 +14,3 @@ export declare class SyntaxTreeNode { | ||
static create(code: string): SyntaxTreeNode; | ||
static isSyntaxTreeNode(node: string | SyntaxTreeNode): node is SyntaxTreeNode; | ||
constructor(type: SyntaxTreeNodeType, allChildren?: Array<string | SyntaxTreeNode>); | ||
@@ -20,13 +22,1 @@ children(): (string | SyntaxTreeNode)[]; | ||
} | ||
export interface ISqlxParseResults { | ||
config: string; | ||
js: string; | ||
sql: string[]; | ||
incremental: string; | ||
preOperations: string[]; | ||
postOperations: string[]; | ||
input: { | ||
[label: string]: string; | ||
}; | ||
} | ||
export declare function parseSqlx(code: string): ISqlxParseResults; |
{ | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"homepage": "https://github.com/dataform-co/dataform", | ||
@@ -4,0 +4,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55768
370