-
Notifications
You must be signed in to change notification settings - Fork 81
/
extension.bundle.ts
131 lines (126 loc) · 7.21 KB
/
extension.bundle.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// tslint:disable: no-consecutive-blank-lines // Format-on-save tends to add an extra line to the end of this file
/**
* This is the external face of extension.bundle.js, the main webpack bundle for the extension.
* Anything needing to be exposed outside of the extension sources must be exported from here, because
* everything else will be in private modules in extension.bundle.js.
*
* EXPORTS FOR TESTS:
*
* The tests are not packaged with the webpack bundle and therefore only have access to code exported from this file.
*
* The only non-test source files the .test.ts files should import is '../extension.bundle.ts'.
* At design-time and when running tests without webpack, the test sources are in <root>/test, so '../extension.bundle.ts' will
* point the ts compiler to this Typescript file (<root>/extension.bundle.ts).
* When running tests in webpack, the test sources live in <root>/dist/test, so '../extension.bundle.ts' will pick up the main
* webpacked bundle at <root>/dist/extension.bundle.js.
*/
import * as TLE from "./src/language/expressions/TLE";
import * as Json from "./src/language/json/JSON";
import * as basic from "./src/language/json/Tokenizer";
import * as Completion from './src/vscodeIntegration/Completion';
export * from "./common";
export * from "./src/documents/DeploymentDocument";
export * from "./src/documents/parameters/DeploymentFileMapping";
export * from "./src/documents/parameters/DeploymentParametersDoc";
export * from "./src/documents/parameters/IParameterDefinition";
export * from "./src/documents/parameters/IParameterValuesSource";
export * from "./src/documents/parameters/IParameterValuesSourceProvider";
export * from "./src/documents/parameters/ParameterDefinition";
export * from './src/documents/parameters/parameterFileGeneration';
export * from "./src/documents/parameters/parameterFiles";
export * from "./src/documents/parameters/ParameterValueDefinition";
export * from "./src/documents/parameters/ParameterValues";
export * from "./src/documents/positionContexts/ParametersPositionContext";
export * from "./src/documents/positionContexts/PositionContext";
export * from "./src/documents/positionContexts/TemplatePositionContext";
export * from "./src/documents/templates/areDecoupledChildAndParent";
export * from "./src/documents/templates/deploymentTemplateCodeLenses";
export * from "./src/documents/templates/DeploymentTemplateDoc";
export * from "./src/documents/templates/ExpressionType";
export * from "./src/documents/templates/ExtractItem";
export * from "./src/documents/templates/getNormalizedDocumentKey";
export { looksLikeResourceTypeStringLiteral } from "./src/documents/templates/getResourceIdCompletions";
export * from "./src/documents/templates/getResourcesInfo";
export * from "./src/documents/templates/IJsonDocument";
export { InsertItem } from "./src/documents/templates/insertItem";
export * from "./src/documents/templates/ISchemaInfo";
export * from "./src/documents/templates/linkedTemplates/ILinkedTemplateReference";
export * from './src/documents/templates/linkedTemplates/LinkedFileLoadState';
export * from "./src/documents/templates/linkedTemplates/linkedTemplates";
export * from "./src/documents/templates/ParentAndChildCodeLenses";
export * from "./src/documents/templates/schemas";
export * from "./src/documents/templates/scopes/DeploymentScopeKind";
export * from "./src/documents/templates/scopes/getDeploymentScopeReference";
export * from "./src/documents/templates/scopes/IDeploymentSchemaReference";
export * from "./src/documents/templates/scopes/TemplateScope";
export * from "./src/documents/templates/scopes/templateScopes";
export * from "./src/documents/templates/TemplateSectionType";
export * from "./src/documents/templates/UserFunctionMetadata";
export * from "./src/documents/templates/UserFunctionNamespaceDefinition";
export * from "./src/documents/templates/UserFunctionParameterDefinition";
export * from "./src/documents/templates/VariableDefinition";
export { activateInternal, deactivateInternal } from './src/extension'; // Export activate/deactivate for main.js
export { ext } from './src/extensionVariables';
export * from './src/language/expressions/AzureRMAssets';
export * from "./src/language/expressions/friendlyExpressions";
export * from "./src/language/expressions/isTleExpression";
export * from "./src/language/expressions/TLE";
export * from "./src/language/INamedDefinition";
export * from "./src/language/Issue";
export * from "./src/language/IssueKind";
export * from "./src/language/LineColPos";
export * from "./src/language/ReferenceList";
export * from "./src/language/Span";
export * from "./src/languageclient/getAvailableResourceTypesAndVersionsNoThrow";
export * from "./src/languageclient/startArmLanguageServer";
export * from './src/snippets/ISnippet';
export * from './src/snippets/ISnippetManager';
export * from "./src/snippets/resourceSnippetsConversion";
export * from './src/snippets/SnippetManager';
export * from "./src/survey";
export * from "./src/util/assertNever";
export * from "./src/util/CachedPromise";
export * from "./src/util/CachedValue";
export * from "./src/util/CaseInsensitiveMap";
export * from "./src/util/CompletionsSpy";
export * from "./src/util/debugMarkStrings";
export * from "./src/util/deepClone";
export { delay } from "./src/util/delay";
export * from "./src/util/delayWhile";
export * from './src/util/Duration';
export * from "./src/util/envUtils";
export * from './src/util/filterByType';
export * from "./src/util/Histogram";
export * from './src/util/httpGet';
export * from "./src/util/linkedTemplateScheme";
export * from "./src/util/mapJsonObjectValue";
export * from "./src/util/multilineStrings";
export * from "./src/util/nonNull";
export * from "./src/util/NormalizedMap";
export * from "./src/util/normalizedPaths";
export * from "./src/util/readUtf8FileWithBom";
export { runInBackground } from "./src/util/runInBackground";
export * from "./src/util/sorting";
export * as strings from "./src/util/strings";
export * from './src/util/time';
export * from "./src/util/uri";
export { wrapError } from "./src/util/wrapError";
export * from "./src/visitors/FindReferencesAndErrorsVisitor";
export * from "./src/visitors/FunctionCountVisitor";
export * from "./src/visitors/IncorrectArgumentsCountIssue";
export * from "./src/visitors/ReferenceInVariableDefinitionsVisitor";
export * from "./src/visitors/UndefinedVariablePropertyVisitor";
export * from "./src/visitors/UnrecognizedFunctionIssues";
export * from "./src/vscodeIntegration/commandArguments";
export * from "./src/vscodeIntegration/Configuration";
export * from "./src/vscodeIntegration/FormattedExpressionHoverInfo";
export * from "./src/vscodeIntegration/IHoverInfo";
export * from "./src/vscodeIntegration/toVsCodeCompletionItem";
export * from "./src/vscodeIntegration/Treeview";
export * from "./src/vscodeIntegration/UsageInfoHoverInfo";
export * from "./src/vscodeIntegration/vscodePosition";
export { basic, Completion, Json, TLE };