@hamelin.sh/compiler 0.2.1 → 0.2.2
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/dist/main.d.ts +6 -6
- package/dist/main.js +497 -497
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -173,12 +173,6 @@ declare function initSync(module: { module: SyncInitInput } | SyncInitInput): In
|
|
|
173
173
|
declare const compileHamelin: (catalog: Catalog, hamelinInput: string, timeRange?: string) => Promise<CompileQueryResult>;
|
|
174
174
|
declare const createCompiler: (catalog: Catalog) => Promise<Compiler>;
|
|
175
175
|
|
|
176
|
-
declare const getFunctionDescriptions: () => Promise<FunctionDescription[]>;
|
|
177
|
-
|
|
178
|
-
declare const getDatasetsFromQuery: (catalog: Catalog, hamelinInput: string) => Promise<QueryDatasetsResult>;
|
|
179
|
-
|
|
180
|
-
declare const sampleCatalog: Catalog;
|
|
181
|
-
|
|
182
176
|
declare class HamelinLexer extends antlr.Lexer {
|
|
183
177
|
static readonly LET_COMMAND = 1;
|
|
184
178
|
static readonly WHERE_COMMAND = 2;
|
|
@@ -2933,6 +2927,10 @@ declare class HamelinListener implements ParseTreeListener {
|
|
|
2933
2927
|
exitEveryRule(node: ParserRuleContext): void;
|
|
2934
2928
|
}
|
|
2935
2929
|
|
|
2930
|
+
declare const getDatasetsFromQuery: (catalog: Catalog, hamelinInput: string) => Promise<QueryDatasetsResult>;
|
|
2931
|
+
|
|
2932
|
+
declare const getFunctionDescriptions: () => Promise<FunctionDescription[]>;
|
|
2933
|
+
|
|
2936
2934
|
/**
|
|
2937
2935
|
* Returns the top level limit information from the provided Hamelin query.
|
|
2938
2936
|
*/
|
|
@@ -2947,4 +2945,6 @@ type QuerySort = {
|
|
|
2947
2945
|
*/
|
|
2948
2946
|
declare const getSorts: (hamelinQuery: string) => QuerySort[];
|
|
2949
2947
|
|
|
2948
|
+
declare const sampleCatalog: Catalog;
|
|
2949
|
+
|
|
2950
2950
|
export { AggCommandContext, AnyNumberContext, AppendCommandContext, ArrayLiteralContext, AssignmentClauseContext, AssignmentContext, AtLeastOneContext, BackQuotedIdentifierContext, BasicDoubleQuotedStringLiteralContext, BasicSingleQuotedStringLiteralContext, BinaryLiteralContext, BinaryOperatorContext, BooleanLiteralContext, CastContext, type Catalog, CatalogProvider, type Column, ColumnReferenceAltContext, ColumnReferenceContext, CommandContext, CommandEOFContext, type CompileQueryResult, Compiler, type Completion, type CompletionItem, type CompletionItemKind, type Context, type ContextualCompletion, type ContextualResult, type ContextualTranslationError, type ContextualTranslationErrors, type DMLTranslation, DecimalLiteralContext, DerefContext, DropCommandContext, ExactlyContext, ExplodeCommandContext, ExpressionContext, ExpressionEOFContext, ExpressionQueryContext, FromClauseContext, FromCommandContext, FunctionCallContext, type FunctionDescription, GroupClauseContext, HamelinLexer, HamelinListener, HamelinParser, type HamelinType, HamelinVisitor, HamelintypeContext, IdentifierContext, IdentifierEOFContext, IndexAccessContext, type InitInput, type InitOutput, IntegerLiteralContext, IntervalLiteralContext, JoinCommandContext, type LanguageArea, LetCommandContext, type Level, LimitCommandContext, MatchCommandContext, MatchDefineContext, NamedArgumentContext, NestCommandContext, NestedContext, NullLiteralContext, NumberContext, NumericLiteralContext, PairLiteralContext, ParameterizedTypeContext, ParenthesizedExpressionContext, ParseCommandContext, PatternContext, PipelineAltContext, PipelineContext, PositionalArgumentContext, QuantifiedContext, QuantifierContext, QueryContext, type QueryDatasetsResult, QueryEOFContext, type QuerySort, type QueryTranslation, RowsLiteralContext, ScientificLiteralContext, SelectCommandContext, SelectionContext, SimpleIdentifierContext, SimpleIdentifierEOFContext, SimpleTypeContext, SortCommandContext, SortExpressionContext, type Stage, StandaloneQueryContext, type StatementTranslation, StringContext, StringLiteralContext, StructLiteralContext, StructTypeContext, type SyncInitInput, TableAliasContext, TableReferenceContext, type Translation, type TranslationError, type TranslationErrors, TsTruncContext, TsTruncTimestampLiteralContext, TupleLiteralContext, TupleTypeContext, TypeWithArgumentsContext, UnaryPostfixOperatorContext, UnaryPrefixOperatorContext, UnboundRangeLiteralContext, UnicodeDoubleQuotedStringLiteralContext, UnicodeSingleQuotedStringLiteralContext, UnionCommandContext, UnnestCommandContext, UnquotedIdentifierContext, WhereCommandContext, WindowCommandContext, WithQueryContext, WithinCommandContext, ZeroOrOneContext, compileHamelin, createCompiler, getDatasetsFromQuery, getFunctionDescriptions, getLimits, getSorts, initSync, sampleCatalog };
|