UNPKG

@kusto/language-service-next

Version:

Azure Data Explorer (a.k.a Kusto) language service for javascript

991 lines (978 loc) 1.64 MB
/// <reference path="./bridge.d.ts" /> /** @namespace System */ /** * @memberof System * @callback System.Func * @return {T} */ declare namespace Kusto.Language { /** @namespace Kusto.Language */ /** * Well known aggregates * * @static * @abstract * @public * @class Kusto.Language.Aggregates */ interface Aggregates { } interface AggregatesFunc extends Function { prototype: Aggregates; new (): Aggregates; Sum: Kusto.Language.Symbols.FunctionSymbol | null; SumIf: Kusto.Language.Symbols.FunctionSymbol | null; Cnt: Kusto.Language.Symbols.FunctionSymbol | null; Count: Kusto.Language.Symbols.FunctionSymbol | null; CountIf: Kusto.Language.Symbols.FunctionSymbol | null; DCount: Kusto.Language.Symbols.FunctionSymbol | null; DCountIf: Kusto.Language.Symbols.FunctionSymbol | null; TDigest: Kusto.Language.Symbols.FunctionSymbol | null; TDigestMerge: Kusto.Language.Symbols.FunctionSymbol | null; MergeTDigest: Kusto.Language.Symbols.FunctionSymbol | null; Hll: Kusto.Language.Symbols.FunctionSymbol | null; HllIf: Kusto.Language.Symbols.FunctionSymbol | null; HllMerge: Kusto.Language.Symbols.FunctionSymbol | null; Min: Kusto.Language.Symbols.FunctionSymbol | null; MinIf: Kusto.Language.Symbols.FunctionSymbol | null; Max: Kusto.Language.Symbols.FunctionSymbol | null; MaxIf: Kusto.Language.Symbols.FunctionSymbol | null; Avg: Kusto.Language.Symbols.FunctionSymbol | null; AvgIf: Kusto.Language.Symbols.FunctionSymbol | null; MakeList_Deprecated: Kusto.Language.Symbols.FunctionSymbol | null; MakeList: Kusto.Language.Symbols.FunctionSymbol | null; MakeListIf: Kusto.Language.Symbols.FunctionSymbol | null; MakeListWithNulls: Kusto.Language.Symbols.FunctionSymbol | null; MakeSet_Deprecated: Kusto.Language.Symbols.FunctionSymbol | null; MakeSet: Kusto.Language.Symbols.FunctionSymbol | null; MakeSetIf: Kusto.Language.Symbols.FunctionSymbol | null; Passthrough: Kusto.Language.Symbols.FunctionSymbol | null; MakeDictionary: Kusto.Language.Symbols.FunctionSymbol | null; MakeBag: Kusto.Language.Symbols.FunctionSymbol | null; MakeBagIf: Kusto.Language.Symbols.FunctionSymbol | null; BuildSchema: Kusto.Language.Symbols.FunctionSymbol | null; BinaryAllOr: Kusto.Language.Symbols.FunctionSymbol | null; BinaryAllAnd: Kusto.Language.Symbols.FunctionSymbol | null; BinaryAllXor: Kusto.Language.Symbols.FunctionSymbol | null; CountDistinct: Kusto.Language.Symbols.FunctionSymbol | null; CountDistinctIf: Kusto.Language.Symbols.FunctionSymbol | null; Percentile: Kusto.Language.Symbols.FunctionSymbol | null; Percentiles: Kusto.Language.Symbols.FunctionSymbol | null; PercentilesArray: Kusto.Language.Symbols.FunctionSymbol | null; PercentileW: Kusto.Language.Symbols.FunctionSymbol | null; PercentilesW: Kusto.Language.Symbols.FunctionSymbol | null; PercentilesWArray: Kusto.Language.Symbols.FunctionSymbol | null; Stdev: Kusto.Language.Symbols.FunctionSymbol | null; StdevIf: Kusto.Language.Symbols.FunctionSymbol | null; Stdevp: Kusto.Language.Symbols.FunctionSymbol | null; Variance: Kusto.Language.Symbols.FunctionSymbol | null; VarianceIf: Kusto.Language.Symbols.FunctionSymbol | null; Variancep: Kusto.Language.Symbols.FunctionSymbol | null; VariancepIf: Kusto.Language.Symbols.FunctionSymbol | null; Covariance: Kusto.Language.Symbols.FunctionSymbol | null; CovarianceIf: Kusto.Language.Symbols.FunctionSymbol | null; Covariancep: Kusto.Language.Symbols.FunctionSymbol | null; CovariancepIf: Kusto.Language.Symbols.FunctionSymbol | null; Any: Kusto.Language.Symbols.FunctionSymbol | null; TakeAny: Kusto.Language.Symbols.FunctionSymbol | null; AnyIf: Kusto.Language.Symbols.FunctionSymbol | null; TakeAnyIf: Kusto.Language.Symbols.FunctionSymbol | null; ArgMin: Kusto.Language.Symbols.FunctionSymbol | null; ArgMax: Kusto.Language.Symbols.FunctionSymbol | null; ArgMin_Deprecated: Kusto.Language.Symbols.FunctionSymbol | null; ArgMax_Deprecated: Kusto.Language.Symbols.FunctionSymbol | null; All: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Symbols.FunctionSymbol> | null; GetAnyResult(context: Kusto.Language.Symbols.CustomReturnTypeContext | null, unnamedExpressionPrefix: string | null): Kusto.Language.Symbols.TypeSymbol | null; } var Aggregates: AggregatesFunc; interface DiagnosticCategory { } interface DiagnosticCategoryFunc extends Function { prototype: DiagnosticCategory; new (): DiagnosticCategory; General: string | null; Correctness: string | null; Performance: string | null; } var DiagnosticCategory: DiagnosticCategoryFunc; interface DiagnosticFacts { } interface DiagnosticFactsFunc extends Function { prototype: DiagnosticFacts; new (): DiagnosticFacts; GetMissingText(text: string | null): Kusto.Language.Diagnostic | null; GetUnexpectedCharacter(text: string | null): Kusto.Language.Diagnostic | null; GetMalformedToken(term: string | null): Kusto.Language.Diagnostic | null; GetMalformedLiteral(): Kusto.Language.Diagnostic | null; GetTermsExpected(terms: string[] | null): Kusto.Language.Diagnostic | null; GetTokenExpected(kinds: Kusto.Language.Syntax.SyntaxKind[] | null): Kusto.Language.Diagnostic | null; GetTokenExpected$2(kinds: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Syntax.SyntaxKind> | null): Kusto.Language.Diagnostic | null; GetTokenExpected$1(texts: System.Collections.Generic.IEnumerable$1<string> | null): Kusto.Language.Diagnostic | null; GetTokenExpected$3(tokens: string[] | null): Kusto.Language.Diagnostic | null; GetMissingName(): Kusto.Language.Diagnostic | null; GetMissingNameWithKeyword(keyword: string | null): Kusto.Language.Diagnostic | null; GetMissingValue(): Kusto.Language.Diagnostic | null; GetMissingExpression(): Kusto.Language.Diagnostic | null; GetMissingExpressionWithKeyword(keyword: string | null): Kusto.Language.Diagnostic | null; GetMissingNumber(): Kusto.Language.Diagnostic | null; GetMissingString(): Kusto.Language.Diagnostic | null; GetMissingBoolean(): Kusto.Language.Diagnostic | null; GetMissingTypeOfLiteral(): Kusto.Language.Diagnostic | null; GetMissingFunctionCall(): Kusto.Language.Diagnostic | null; GetMissingFunctionDeclaration(): Kusto.Language.Diagnostic | null; GetMissingTypeName(): Kusto.Language.Diagnostic | null; GetMissingParameter(): Kusto.Language.Diagnostic | null; GetMissingFirstOrLast(): Kusto.Language.Diagnostic | null; GetMissingAllLastOrNone(): Kusto.Language.Diagnostic | null; GetMissingJsonValue(): Kusto.Language.Diagnostic | null; GetMissingJoinOnClause(): Kusto.Language.Diagnostic | null; GetMissingJsonPair(): Kusto.Language.Diagnostic | null; GetMissingStatement(): Kusto.Language.Diagnostic | null; GetMissingPatternMatch(): Kusto.Language.Diagnostic | null; GetMissingClause(): Kusto.Language.Diagnostic | null; GetMissingClause$1(clauseName: string | null): Kusto.Language.Diagnostic | null; GetMissingSchemaDeclaration(): Kusto.Language.Diagnostic | null; GetParsePatternMustStartWithColumnNameOrStar(): Kusto.Language.Diagnostic | null; GetParsePatternNameDoesNotFollowStringLiteral(): Kusto.Language.Diagnostic | null; GetParsePatternStringLiteralMustFollowStar(): Kusto.Language.Diagnostic | null; GetParsePatternUsingStarAfterStringColumnIsAmbiguous(): Kusto.Language.Diagnostic | null; GetInvalidPatternPart(): Kusto.Language.Diagnostic | null; GetIdentifierNameOnly(): Kusto.Language.Diagnostic | null; GetOperatorNotDefined(name: string | null, argumentTypes: Kusto.Language.Symbols.TypeSymbol[] | null): Kusto.Language.Diagnostic | null; GetOperatorNotDefined$1(name: string | null, argumentTypes: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Symbols.TypeSymbol> | null): Kusto.Language.Diagnostic | null; GetTypeExpected(type: Kusto.Language.Symbols.Symbol | null): Kusto.Language.Diagnostic | null; GetTypeExpected$1(types: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Symbols.TypeSymbol> | null): Kusto.Language.Diagnostic | null; GetScalarTypeExpected(): Kusto.Language.Diagnostic | null; GetColumnExpected(): Kusto.Language.Diagnostic | null; GetRenameAssignmentExpected(): Kusto.Language.Diagnostic | null; GetTabularValueExpected(): Kusto.Language.Diagnostic | null; GetTableOrScalarExpected(): Kusto.Language.Diagnostic | null; GetSingleColumnTableExpected(): Kusto.Language.Diagnostic | null; GetDatabaseExpected(): Kusto.Language.Diagnostic | null; GetClusterExpected(): Kusto.Language.Diagnostic | null; GetTypeNotAllowed(type: Kusto.Language.Symbols.Symbol | null): Kusto.Language.Diagnostic | null; GetFunctionRequiresArgumentList(functionName: string | null): Kusto.Language.Diagnostic | null; GetArgumentCountExpected(count: number): Kusto.Language.Diagnostic | null; GetFunctionExpectsArgumentCountExact(functionName: string | null, count: number): Kusto.Language.Diagnostic | null; GetFunctionExpectsArgumentCountRange(functionName: string | null, min: number, max: number): Kusto.Language.Diagnostic | null; GetFunctionHasIncorrectNumberOfArguments(): Kusto.Language.Diagnostic | null; GetScalarFunctionNotDefined(name: string | null): Kusto.Language.Diagnostic | null; GetAggregateFunctionNotDefined(name: string | null): Kusto.Language.Diagnostic | null; GetPlugInFunctionNotDefined(name: string | null): Kusto.Language.Diagnostic | null; GetPlugInFunctionIsNotEnabled(name: string | null): Kusto.Language.Diagnostic | null; GetPluginNotAllowedInThisContext(name: string | null): Kusto.Language.Diagnostic | null; GetFunctionNotDefinedWithMatchingParameters(name: string | null, argumentTypes: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Symbols.Symbol> | null): Kusto.Language.Diagnostic | null; GetNameIsNotAFunction(name: string | null): Kusto.Language.Diagnostic | null; GetExpressionMustBeConstant(): Kusto.Language.Diagnostic | null; GetExpressionMustBeConstantOrIdentifier(): Kusto.Language.Diagnostic | null; GetExpressionMustBeLiteral(): Kusto.Language.Diagnostic | null; GetExpressionMustBeLiteralScalarValue(): Kusto.Language.Diagnostic | null; GetExpressionMustNotBeEmpty(): Kusto.Language.Diagnostic | null; GetExpressionMustBeInteger(): Kusto.Language.Diagnostic | null; GetExpressionMustBeRealOrDecimal(): Kusto.Language.Diagnostic | null; GetExpressionMustBeIntegerOrArray(): Kusto.Language.Diagnostic | null; GetExpressionMustBeNumeric(): Kusto.Language.Diagnostic | null; GetExpressionMustBeNumericOrBool(): Kusto.Language.Diagnostic | null; GetExpressionMustBeSummable(): Kusto.Language.Diagnostic | null; GetMultiValuedExpressionCannotBeAssignedToVariable(): Kusto.Language.Diagnostic | null; GetExpressionMustHaveValue$1<T>(T: {prototype: T}, values: System.Collections.Generic.IReadOnlyList$1<T> | null): Kusto.Language.Diagnostic | null; GetExpressionMustHaveValue<T>(T: {prototype: T}, values: T[] | null): Kusto.Language.Diagnostic | null; GetExpressionMustNotHaveValue<T>(T: {prototype: T}, values: System.Collections.Generic.IReadOnlyList$1<T> | null): Kusto.Language.Diagnostic | null; GetExpressionMustHaveType$1<S>(S: {prototype: S}, types: System.Collections.Generic.IReadOnlyList$1<S> | null): Kusto.Language.Diagnostic | null; GetExpressionMustHaveType<S>(S: {prototype: S}, types: S[] | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownItem(name: string | null): Kusto.Language.Diagnostic | null; GetFunctionNotDefined(name: string | null): Kusto.Language.Diagnostic | null; GetAggregateNotAllowedInThisContext(name: string | null): Kusto.Language.Diagnostic | null; GetColumnMustExistOnBothSidesOfJoin(name: string | null): Kusto.Language.Diagnostic | null; GetNameRefersToMoreThanOneItem(name: string | null): Kusto.Language.Diagnostic | null; GetTheElementAccessOperatorIsNotAllowedInThisContext(): Kusto.Language.Diagnostic | null; GetTheExpressionHasNoName(): Kusto.Language.Diagnostic | null; GetTheExpressionDoesNotHaveMultipleValues(): Kusto.Language.Diagnostic | null; GetTheNameDoesNotHaveCorrespondingExpression(): Kusto.Language.Diagnostic | null; GetInvalidTypeName(name: string | null): Kusto.Language.Diagnostic | null; GetInvalidColumnDeclaration(): Kusto.Language.Diagnostic | null; GetDuplicateColumnDeclaration(name: string | null): Kusto.Language.Diagnostic | null; GetInvalidTypeExpression(): Kusto.Language.Diagnostic | null; GetIncorrectNumberOfDataValues(multiple: number): Kusto.Language.Diagnostic | null; GetQueryOperatorCannotBeFirst(): Kusto.Language.Diagnostic | null; GetQueryOperatorMustBeFirst(): Kusto.Language.Diagnostic | null; GetQueryOperatorExpected(): Kusto.Language.Diagnostic | null; GetQueryOperatorNotAllowedInContext(name: string | null): Kusto.Language.Diagnostic | null; GetTypeIsNotIntervalType(intervalType: Kusto.Language.Symbols.Symbol | null, rangeType: Kusto.Language.Symbols.Symbol | null): Kusto.Language.Diagnostic | null; GetUnknownQueryOperatorParameterName(name: string | null): Kusto.Language.Diagnostic | null; GetParameterAlreadySpecified(name: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToTable(name: string | null): Kusto.Language.Diagnostic | null; GetInvalidJoinCondition(): Kusto.Language.Diagnostic | null; GetInvalidJoinConditionOperand(prefix: string | null): Kusto.Language.Diagnostic | null; GetTheExpressionRefersToMoreThanOneColumn(): Kusto.Language.Diagnostic | null; GetPackMustBeLastItemInList(): Kusto.Language.Diagnostic | null; GetValueCountMustEqualParameterCount(): Kusto.Language.Diagnostic | null; GetPathValueWithNoPathParameter(): Kusto.Language.Diagnostic | null; GetPathValueExpected(): Kusto.Language.Diagnostic | null; GetNoPatternMatchesArguments(): Kusto.Language.Diagnostic | null; GetDefaultValueExpected(): Kusto.Language.Diagnostic | null; GetTableHasNoColumns(): Kusto.Language.Diagnostic | null; GetStarExpressionNotAllowed(): Kusto.Language.Diagnostic | null; GetStarExpressionMustBeLastArgument(): Kusto.Language.Diagnostic | null; GetNamedArgumentsNotSupported(): Kusto.Language.Diagnostic | null; GetCompoundNamedArgumentsNotSupported(): Kusto.Language.Diagnostic | null; GetUnnamedArgumentAfterOutofOrderNamedArgument(): Kusto.Language.Diagnostic | null; GetUnknownArgumentName(): Kusto.Language.Diagnostic | null; GetMissingArgumentForParameter(parameterName: string | null): Kusto.Language.Diagnostic | null; GetIncompleteFragment(): Kusto.Language.Diagnostic | null; GetNoColumnsInScope(): Kusto.Language.Diagnostic | null; GetErrorInExpansion(name: string | null, errors: string | null): Kusto.Language.Diagnostic | null; GetVariableAlreadyDeclared(name: string | null): Kusto.Language.Diagnostic | null; GetMaterializedViewNameMustBeStringLiteral(): Kusto.Language.Diagnostic | null; GetAnalyzerFailure(analyzerName: string | null, message: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownTable(name: string | null): Kusto.Language.Diagnostic | null; GetFuzzyEntityNotDefined(name?: string | null, kind?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyClusterNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyDatabaseNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyTableNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyExternalTableNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyMaterializedViewNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyEntityGroupNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyFunctionNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetFuzzyStoredQueryResultNotDefined(name?: string | null): Kusto.Language.Diagnostic | null; GetExpressionMustBeOrderable(): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownCluster(name: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownDatabase(name: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownExternalTable(name: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownMaterializedView(name: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownFunction(name: string | null): Kusto.Language.Diagnostic | null; GetClientParametersNotSupported(): Kusto.Language.Diagnostic | null; GetRawGuidLiteralNotAllowed(): Kusto.Language.Diagnostic | null; GetDecimalInDynamic(): Kusto.Language.Diagnostic | null; GetClusterDatabaseOrTableExpected(): Kusto.Language.Diagnostic | null; GetMissingGraphMatchPattern(): Kusto.Language.Diagnostic | null; GetGraphExpected(): Kusto.Language.Diagnostic | null; GetQueryOperatorExpectsGraph(): Kusto.Language.Diagnostic | null; GetColumnDeclarationExpected(): Kusto.Language.Diagnostic | null; GetIntegerLiteralExpected(): Kusto.Language.Diagnostic | null; GetStringLiteralExpected(): Kusto.Language.Diagnostic | null; GetBooleanLiteralExpected(): Kusto.Language.Diagnostic | null; GetSummableLiteralExpected(): Kusto.Language.Diagnostic | null; GetNumericLiteralExpected(): Kusto.Language.Diagnostic | null; GetScalarLiteralExpected(): Kusto.Language.Diagnostic | null; GetRealLiteralExpected(): Kusto.Language.Diagnostic | null; GetTabularParametersMustBeDeclaredFirst(): Kusto.Language.Diagnostic | null; GetCommonJoinColumnsMustHaveSameType(name: string | null): Kusto.Language.Diagnostic | null; GetNameRequiresBrackets(name: string | null): Kusto.Language.Diagnostic | null; GetMissingGraphEntityType(): Kusto.Language.Diagnostic | null; GetIncorrectNumberOfOutputGraphEntities(): Kusto.Language.Diagnostic | null; GetTableOrGraphExpected(): Kusto.Language.Diagnostic | null; GetNoCommonArgumentType(): Kusto.Language.Diagnostic | null; GetExpressionMustBeStringOrArray(): Kusto.Language.Diagnostic | null; GetExpressionMustBeDynamicArray(): Kusto.Language.Diagnostic | null; GetExpressionMustBeDynamicBag(): Kusto.Language.Diagnostic | null; GetInvalidNameInAggregateContext(name: string | null): Kusto.Language.Diagnostic | null; GetInvalidNameInPlugInContext(name: string | null): Kusto.Language.Diagnostic | null; GetMissingGraphMatchPatternElement(): Kusto.Language.Diagnostic | null; GetGraphMatchPatternSyntaxError(expectedElementType: string | null, actualElementType: string | null): Kusto.Language.Diagnostic | null; GetMakeGraphDynamicNodeIdColumnNotSupported(): Kusto.Language.Diagnostic | null; GetJoinKeyCannotBeDynamic(): Kusto.Language.Diagnostic | null; GetJoinKeysNotComparable(leftType: string | null, rightType: string | null): Kusto.Language.Diagnostic | null; GetMakeGraphImplicityIdShouldNotBeEmpty(): Kusto.Language.Diagnostic | null; GetQueryTextSizeExceeded(): Kusto.Language.Diagnostic | null; GetQuerySyntaxDepthExceeded(): Kusto.Language.Diagnostic | null; GetInternalFailure(): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownEntityGroup(name: string | null): Kusto.Language.Diagnostic | null; GetNameDoesNotReferToAnyKnownStoredQueryResult(name: string | null): Kusto.Language.Diagnostic | null; GetTabularValueDoesNotHaveRequiredColumns(): Kusto.Language.Diagnostic | null; GetUnknownDirective(name: string | null): Kusto.Language.Diagnostic | null; /** * This is for expecting exactly a table reference, and not any other tabular expression. * * @static * @public * @this Kusto.Language.DiagnosticFacts * @memberof Kusto.Language.DiagnosticFacts * @return {Kusto.Language.Diagnostic} */ GetTableExpected(): Kusto.Language.Diagnostic | null; GetMissingCommand(): Kusto.Language.Diagnostic | null; } var DiagnosticFacts: DiagnosticFactsFunc; enum DiagnosticLocationKind { Absolute = 0, Relative = 1, RelativeEnd = 2 } interface DiagnosticSeverity { } interface DiagnosticSeverityFunc extends Function { prototype: DiagnosticSeverity; new (): DiagnosticSeverity; /** * A diagnostic that represents code that will fail to execute. * * @static * @public * @memberof Kusto.Language.DiagnosticSeverity * @constant * @default "Error" * @type string */ Error: string | null; /** * A diagnostic that represents code that will execute but with possible unintended consequence. * * @static * @public * @memberof Kusto.Language.DiagnosticSeverity * @constant * @default "Warning" * @type string */ Warning: string | null; /** * A diagnostic that represents a suggestion to improve the code. * * @static * @public * @memberof Kusto.Language.DiagnosticSeverity * @constant * @default "Suggestion" * @type string */ Suggestion: string | null; /** * A diagnostic that represents information about the code. * * @static * @public * @memberof Kusto.Language.DiagnosticSeverity * @constant * @default "Information" * @type string */ Information: string | null; /** * A diagnostic that is not meant to be relayed to the user. * * @static * @public * @memberof Kusto.Language.DiagnosticSeverity * @constant * @default "Hidden" * @type string */ Hidden: string | null; } var DiagnosticSeverity: DiagnosticSeverityFunc; /** * Built-in scalar math-like operators * * @static * @abstract * @public * @class Kusto.Language.Operators */ interface Operators { } interface OperatorsFunc extends Function { prototype: Operators; new (): Operators; UnaryMinus: Kusto.Language.Symbols.OperatorSymbol | null; UnaryPlus: Kusto.Language.Symbols.OperatorSymbol | null; And: Kusto.Language.Symbols.OperatorSymbol | null; Or: Kusto.Language.Symbols.OperatorSymbol | null; Add: Kusto.Language.Symbols.OperatorSymbol | null; Subtract: Kusto.Language.Symbols.OperatorSymbol | null; Multiply: Kusto.Language.Symbols.OperatorSymbol | null; Divide: Kusto.Language.Symbols.OperatorSymbol | null; Modulo: Kusto.Language.Symbols.OperatorSymbol | null; LessThan: Kusto.Language.Symbols.OperatorSymbol | null; LessThanOrEqual: Kusto.Language.Symbols.OperatorSymbol | null; GreaterThan: Kusto.Language.Symbols.OperatorSymbol | null; GreaterThanOrEqual: Kusto.Language.Symbols.OperatorSymbol | null; Equal: Kusto.Language.Symbols.OperatorSymbol | null; NotEqual: Kusto.Language.Symbols.OperatorSymbol | null; EqualTilde: Kusto.Language.Symbols.OperatorSymbol | null; BangTilde: Kusto.Language.Symbols.OperatorSymbol | null; Has: Kusto.Language.Symbols.OperatorSymbol | null; HasCs: Kusto.Language.Symbols.OperatorSymbol | null; NotHas: Kusto.Language.Symbols.OperatorSymbol | null; NotHasCs: Kusto.Language.Symbols.OperatorSymbol | null; HasPrefix: Kusto.Language.Symbols.OperatorSymbol | null; HasPrefixCs: Kusto.Language.Symbols.OperatorSymbol | null; NotHasPrefix: Kusto.Language.Symbols.OperatorSymbol | null; NotHasPrefixCs: Kusto.Language.Symbols.OperatorSymbol | null; HasSuffix: Kusto.Language.Symbols.OperatorSymbol | null; HasSuffixCs: Kusto.Language.Symbols.OperatorSymbol | null; NotHasSuffix: Kusto.Language.Symbols.OperatorSymbol | null; NotHasSuffixCs: Kusto.Language.Symbols.OperatorSymbol | null; Like: Kusto.Language.Symbols.OperatorSymbol | null; LikeCs: Kusto.Language.Symbols.OperatorSymbol | null; NotLike: Kusto.Language.Symbols.OperatorSymbol | null; NotLikeCs: Kusto.Language.Symbols.OperatorSymbol | null; Contains: Kusto.Language.Symbols.OperatorSymbol | null; ContainsCs: Kusto.Language.Symbols.OperatorSymbol | null; NotContains: Kusto.Language.Symbols.OperatorSymbol | null; NotContainsCs: Kusto.Language.Symbols.OperatorSymbol | null; StartsWith: Kusto.Language.Symbols.OperatorSymbol | null; StartsWithCs: Kusto.Language.Symbols.OperatorSymbol | null; NotStartsWith: Kusto.Language.Symbols.OperatorSymbol | null; NotStartsWithCs: Kusto.Language.Symbols.OperatorSymbol | null; EndsWith: Kusto.Language.Symbols.OperatorSymbol | null; EndsWithCs: Kusto.Language.Symbols.OperatorSymbol | null; NotEndsWith: Kusto.Language.Symbols.OperatorSymbol | null; NotEndsWithCs: Kusto.Language.Symbols.OperatorSymbol | null; MatchRegex: Kusto.Language.Symbols.OperatorSymbol | null; Search: Kusto.Language.Symbols.OperatorSymbol | null; In: Kusto.Language.Symbols.OperatorSymbol | null; HasAny: Kusto.Language.Symbols.OperatorSymbol | null; HasAll: Kusto.Language.Symbols.OperatorSymbol | null; InCs: Kusto.Language.Symbols.OperatorSymbol | null; NotIn: Kusto.Language.Symbols.OperatorSymbol | null; NotInCs: Kusto.Language.Symbols.OperatorSymbol | null; Between: Kusto.Language.Symbols.OperatorSymbol | null; NotBetween: Kusto.Language.Symbols.OperatorSymbol | null; All: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Symbols.OperatorSymbol> | null; } var Operators: OperatorsFunc; interface KustoFacts { } interface KustoFactsFunc extends Function { prototype: KustoFacts; new (): KustoFacts; /** * Types allowed for function parameters and columns. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ ParamTypes: System.Collections.Generic.IReadOnlyList$1<string> | null; /** * Extended type allowed in some schema declarations. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ ExtendedParamTypes: System.Collections.Generic.IReadOnlyList$1<string> | null; StorageTypes: System.Collections.Generic.IReadOnlyList$1<string> | null; ChartTypes: System.Collections.Generic.IReadOnlyList$1<string> | null; /** * Chart types not shown in intellisense * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ HiddenChartTypes: System.Collections.Generic.IReadOnlyList$1<string> | null; /** * Char types shown in intellisense * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ VisibleChartTypes: System.Collections.Generic.IReadOnlyList$1<string> | null; ChartProperties: System.Collections.Generic.IReadOnlyList$1<string> | null; ChartKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; ChartLegends: System.Collections.Generic.IReadOnlyList$1<string> | null; ChartAxis: System.Collections.Generic.IReadOnlyList$1<string> | null; ChartYSplit: System.Collections.Generic.IReadOnlyList$1<string> | null; HintDistributions: System.Collections.Generic.IReadOnlyList$1<string> | null; HintRemotes: System.Collections.Generic.IReadOnlyList$1<string> | null; HintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; HintSpreads: System.Collections.Generic.IReadOnlyList$1<string> | null; HintConcurrencies: System.Collections.Generic.IReadOnlyList$1<string> | null; DistinctHintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; EvaluateHintDistributions: System.Collections.Generic.IReadOnlyList$1<string> | null; EvaluateHintRemotes: System.Collections.Generic.IReadOnlyList$1<string> | null; JoinKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; GraphMarkComponentsKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; JoinHintRemotes: System.Collections.Generic.IReadOnlyList$1<string> | null; JoinHintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; LookupKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; MakeSeriesKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; MvExpandKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; PartitionHintConcurrencies: System.Collections.Generic.IReadOnlyList$1<string> | null; PartitionHintSpreads: System.Collections.Generic.IReadOnlyList$1<string> | null; PartitionHintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; PartitionedGraphMakeHintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; ReduceByKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; SearchKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; SortHintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; SummarizeHintStrategies: System.Collections.Generic.IReadOnlyList$1<string> | null; UnionWithSourceProperties: System.Collections.Generic.IReadOnlyList$1<string> | null; UnionKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; CyclesKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; ShortestPathsOutputs: System.Collections.Generic.IReadOnlyList$1<string> | null; UnionHintConcurrencies: System.Collections.Generic.IReadOnlyList$1<string> | null; UnionHintSpreads: System.Collections.Generic.IReadOnlyList$1<string> | null; ParseKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; DataScopeValues: System.Collections.Generic.IReadOnlyList$1<string> | null; ScanKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; ScanStepOutputValues: System.Collections.Generic.IReadOnlyList$1<string> | null; ToScalarKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; ToTableKinds: System.Collections.Generic.IReadOnlyList$1<string> | null; LimitExamples: System.Collections.Generic.IReadOnlyList$1<string> | null; TopExamples: System.Collections.Generic.IReadOnlyList$1<string> | null; AgoExamples: System.Collections.Generic.IReadOnlyList$1<string> | null; KnownInternalFunctionNames: System.Collections.Generic.IReadOnlyList$1<string> | null; DateTimeParts: System.Collections.Generic.IReadOnlyList$1<string> | null; DateDiffParts: System.Collections.Generic.IReadOnlyList$1<string> | null; /** * Directive names possibly supported by the client. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ Directives: System.Collections.Generic.IReadOnlyList$1<string> | null; /** * Keywords that can be used as identifiers everywhere. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ KeywordsAsIdentifiers: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Syntax.SyntaxKind> | null; /** * Keywords that can be used as identifiers in some additional locations in queries. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ ExtendedKeywordsAsIdentifiers: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Syntax.SyntaxKind> | null; /** * Keywords that can be used as identifiers in some distinct locations in queries. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ SpecialKeywordsAsIdentifiers: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Syntax.SyntaxKind> | null; ForkOperatorKinds: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Syntax.SyntaxKind> | null; /** * Query operators that can come after a pipe * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @type System.Collections.Generic.IReadOnlyList$1 */ PostPipeOperatorKinds: System.Collections.Generic.IReadOnlyList$1<Kusto.Language.Syntax.SyntaxKind> | null; /** * The quote text at the start and end of a multi-line string. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @default "```" * @type string */ MultiLineStringQuote: string | null; /** * Alternate quote for multi-line strings, to be depreciated. * * @static * @public * @readonly * @memberof Kusto.Language.KustoFacts * @default "~~~" * @type string */ AlternateMultiLineStringQuote: string | null; KustoWindowsNet: string | null; KnownQueryOperatorParameterNames: System.Collections.Generic.IReadOnlyList$1<string> | null; UnionIsFuzzyProperty: string | null; /** * True if the query operator is on the right side of a pipe expression or is in a context that allows operators that would normally only appear on the right side of a pipe expression. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {Kusto.Language.Syntax.QueryOperator} queryOp * @return {boolean} */ HasPipedInput(queryOp: Kusto.Language.Syntax.QueryOperator | null): boolean; /** * True if the text can be used as an identifier everywhere in the specified language dialect. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} text * @param {Kusto.Language.KustoDialect} dialect * @return {boolean} */ CanBeIdentifier$1(text: string | null, dialect: Kusto.Language.KustoDialect): boolean; /** * True if the text can be used as an identifier everywhere in Kusto queries. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} text * @return {boolean} */ CanBeIdentifier(text: string | null): boolean; /** * Adds bracketting and quoting to the name if it cannot be an identifier in the specified language dialect. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} name * @param {Kusto.Language.KustoDialect} dialect * @return {string} */ BracketNameIfNecessary$1(name: string | null, dialect: Kusto.Language.KustoDialect): string | null; /** * Adds bracketting and quoting to the name if it cannot be an identifier everywhere in Kusto queries. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} name * @return {string} */ BracketNameIfNecessary(name: string | null): string | null; /** * Convert name to bracketed form: name -&gt; ['name'] * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} name * @return {string} */ GetBracketedName(name: string | null): string | null; /** * Gets the single-quoted escaped string literal for the text, unless it contains a single quote, and then get the double-quoted escaped string literal. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} text * @return {string} */ GetStringLiteral(text: string | null): string | null; /** * Gets the single-quoted escaped string literal for the text. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} text * @return {string} */ GetSingleQuotedStringLiteral(text: string | null): string | null; /** * Gets the double-quoted escaped string literal for the text. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} text * @return {string} */ GetDoubleQuotedStringLiteral(text: string | null): string | null; /** * Gets the multi-line quoted string literal for the text. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} text * @return {string} */ GetMultiLineStringLiteral(text: string | null): string | null; /** * Gets the column name used for an expression in a projection. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {Kusto.Language.Syntax.Expression} expr * @param {string} defaultName * @param {Kusto.Language.Symbols.TableSymbol} rowScope * @return {string} */ GetExpressionResultName(expr: Kusto.Language.Syntax.Expression | null, defaultName?: string | null, rowScope?: Kusto.Language.Symbols.TableSymbol | null): string | null; /** * Gets the content value of a string literal * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} literal * @return {string} */ GetStringLiteralValue(literal: string | null): string | null; /** * Returns true if the name matches the host name. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} name * @param {string} hostName * @return {boolean} */ IsHostName(name: string | null, hostName: string | null): boolean; /** * Gets the host name from a possible uri * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} clusterUriOrName * @return {string} */ GetHostName(clusterUriOrName: string | null): string | null; /** * Returns true if the character is a legal part of a host name or IP address. * * @static * @private * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {number} ch * @return {boolean} */ /** * Gets the full name of a host given the short or full name. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} hostname * @param {string} defaultDomainSuffix * @return {string} */ GetFullHostName(hostname: string | null, defaultDomainSuffix: string | null): string | null; /** * Returns true if the hostname has a short name * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} hostname * @param {string} defaultDomainSuffix * @return {boolean} */ HasShortHostName(hostname: string | null, defaultDomainSuffix: string | null): boolean; /** * Returns true if the name is the short name of the host name. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} name * @param {string} hostName * @param {string} defaultDomainSuffix * @return {boolean} */ IsShortHostName(name: string | null, hostName: string | null, defaultDomainSuffix: string | null): boolean; /** * Returns true if the name is a possible short host name * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} name * @return {boolean} */ IsPossibleShortHostName(name: string | null): boolean; /** * Gets the short name given the full host name, if one exists or null if no short name exists * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} hostName * @param {string} defaultDomainSuffix * @return {string} */ GetShortHostName(hostName: string | null, defaultDomainSuffix: string | null): string | null; /** * True if the text matches the pattern (*, xxx*, *xxx, *xxx*, xxx*yyy, *xxx*yyy*, ...) The * represents any zero-or-more characters. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {string} pattern * @param {string} text * @param {boolean} ignoreCase * @return {boolean} */ Matches(pattern: string | null, text: string | null, ignoreCase?: boolean): boolean; /** * Attempts to determine the tabularity of an expression (scalar, tabular, none, unknown) given syntax. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {Kusto.Language.Syntax.Expression} expression * @param {Kusto.Language.GlobalState} globals * @return {Kusto.Language.Symbols.Tabularity} */ GetSyntaxTabularity(expression: Kusto.Language.Syntax.Expression | null, globals?: Kusto.Language.GlobalState | null): Kusto.Language.Symbols.Tabularity; /** * Attempts to determine the tabularity of a statement (scalar, tabular, none, unknown) given syntax. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {Kusto.Language.Syntax.Statement} statement * @param {Kusto.Language.GlobalState} globals * @return {Kusto.Language.Symbols.Tabularity} */ GetSyntaxTabularity$1(statement: Kusto.Language.Syntax.Statement | null, globals?: Kusto.Language.GlobalState | null): Kusto.Language.Symbols.Tabularity; /** * Attempts to determine the tabularity of a block of statements (scalar, tabular, none, unknown) given syntax. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {Kusto.Language.Syntax.SyntaxList$1} statements * @param {Kusto.Language.GlobalState} globals * @return {Kusto.Language.Symbols.Tabularity} */ GetSyntaxTabularity$2(statements: Kusto.Language.Syntax.SyntaxList$1<Kusto.Language.Syntax.SeparatedElement$1<Kusto.Language.Syntax.Statement>> | null, globals?: Kusto.Language.GlobalState | null): Kusto.Language.Symbols.Tabularity; /** * Gets the scalar type for the literal syntax kind. * * @static * @public * @this Kusto.Language.KustoFacts * @memberof Kusto.Language.KustoFacts * @param {Kusto.Language.Syntax.SyntaxKind} kind * @return {Kusto.Language.Symbols.ScalarSymbol} */ GetLiteralType(kind: Kusto.Language.Syntax.SyntaxKind): Kusto.Language.Symbols.ScalarSymbol | null; } var KustoFacts: KustoFactsFunc; enum KustoDialect { Unknown = 0, ClusterManagerCommand = 1, DataManagerCommand = 2, EngineCommand = 3, Query = 4 } interface Diagnostic extends System.IEquatable$1<Kusto.Language.Diagnostic> { /** * The code that uniquely identifies the specific kind of diagnostic. * * @instance * @public * @memberof Kusto.Language.Diagnostic * @function Code * @type string */ Code: string | null; /** * The category of the diagnostic; Correctness, Performance, General, etc * * @instance * @public * @memberof Kusto.Language.Diagnostic * @function Category * @type string */ Category: string | null; /** * The severity of the diagnostic; Error, Warning, Suggestion, etc * * @instance * @public * @memberof Kusto.Language.Diagnostic * @function Severity * @type string */ Severity: string | null; /** * A short description of the diagnostic. * * @instance * @public * @memberof Kusto.Language.Diagnostic * @function Description * @type string */ Description: string | null; /** * The message of the diagnostic. * * @instance * @public * @memberof Kusto.Language.Diagnostic * @function Message * @type string */ Message: string | null; /** * True if the diagnostic has an known source location * * @instance * @public * @readonly * @memberof Kusto.Language.Diagnostic * @function HasLocation * @type boolean */ HasLocation: boolean; /** * The kind of diagnositc location. * * @instance * @public * @memberof Kusto.Language.Diagnostic * @function LocationKind * @type Kusto.Language.DiagnosticLocationKind */ LocationKind: Kusto.Language.DiagnosticLocationKind; /**