@angular/compiler 14.0.0-next.9 → 14.0.0-rc.0
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/esm2020/src/compiler.mjs +3 -2
- package/esm2020/src/compiler_facade_interface.mjs +7 -1
- package/esm2020/src/core.mjs +6 -6
- package/esm2020/src/expression_parser/parser.mjs +12 -12
- package/esm2020/src/i18n/i18n_parser.mjs +3 -3
- package/esm2020/src/jit_compiler_facade.mjs +74 -42
- package/esm2020/src/ml_parser/html_whitespaces.mjs +2 -2
- package/esm2020/src/ml_parser/lexer.mjs +36 -36
- package/esm2020/src/ml_parser/parser.mjs +41 -41
- package/esm2020/src/render3/partial/api.mjs +1 -1
- package/esm2020/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2020/src/render3/partial/component.mjs +28 -37
- package/esm2020/src/render3/partial/directive.mjs +6 -3
- package/esm2020/src/render3/partial/factory.mjs +1 -1
- package/esm2020/src/render3/partial/injectable.mjs +1 -1
- package/esm2020/src/render3/partial/injector.mjs +1 -1
- package/esm2020/src/render3/partial/ng_module.mjs +3 -3
- package/esm2020/src/render3/partial/pipe.mjs +6 -3
- package/esm2020/src/render3/r3_ast.mjs +3 -3
- package/esm2020/src/render3/r3_factory.mjs +6 -6
- package/esm2020/src/render3/r3_identifiers.mjs +2 -1
- package/esm2020/src/render3/r3_pipe_compiler.mjs +5 -1
- package/esm2020/src/render3/util.mjs +4 -4
- package/esm2020/src/render3/view/api.mjs +7 -2
- package/esm2020/src/render3/view/compiler.mjs +45 -35
- package/esm2020/src/render3/view/i18n/get_msg_utils.mjs +58 -5
- package/esm2020/src/render3/view/i18n/meta.mjs +4 -4
- package/esm2020/src/render3/view/i18n/util.mjs +2 -2
- package/esm2020/src/render3/view/style_parser.mjs +19 -19
- package/esm2020/src/render3/view/styling_builder.mjs +6 -6
- package/esm2020/src/render3/view/template.mjs +25 -25
- package/esm2020/src/render3/view/util.mjs +14 -5
- package/esm2020/src/selector.mjs +8 -8
- package/esm2020/src/template_parser/binding_parser.mjs +8 -8
- package/esm2020/src/util.mjs +8 -8
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +416 -301
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +424 -314
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/index.d.ts +4964 -5
- package/package.json +3 -3
- package/testing/index.d.ts +22 -5
- package/compiler.d.ts +0 -8
- package/public_api.d.ts +0 -13
- package/src/assertions.d.ts +0 -8
- package/src/chars.d.ts +0 -75
- package/src/compiler.d.ts +0 -77
- package/src/compiler_facade_interface.d.ts +0 -284
- package/src/compiler_util/expression_converter.d.ts +0 -71
- package/src/config.d.ts +0 -25
- package/src/constant_pool.d.ts +0 -37
- package/src/core.d.ts +0 -216
- package/src/expression_parser/ast.d.ts +0 -440
- package/src/expression_parser/lexer.d.ts +0 -47
- package/src/expression_parser/parser.d.ts +0 -315
- package/src/i18n/big_integer.d.ts +0 -108
- package/src/i18n/digest.d.ts +0 -44
- package/src/i18n/extractor_merger.d.ts +0 -27
- package/src/i18n/i18n_ast.d.ts +0 -148
- package/src/i18n/i18n_html_parser.d.ts +0 -19
- package/src/i18n/i18n_parser.d.ts +0 -18
- package/src/i18n/index.d.ts +0 -15
- package/src/i18n/message_bundle.d.ts +0 -28
- package/src/i18n/parse_util.d.ts +0 -14
- package/src/i18n/serializers/placeholder.d.ts +0 -25
- package/src/i18n/serializers/serializer.d.ts +0 -46
- package/src/i18n/serializers/xliff.d.ts +0 -19
- package/src/i18n/serializers/xliff2.d.ts +0 -19
- package/src/i18n/serializers/xmb.d.ts +0 -22
- package/src/i18n/serializers/xml_helper.d.ts +0 -52
- package/src/i18n/serializers/xtb.d.ts +0 -20
- package/src/i18n/translation_bundle.d.ts +0 -27
- package/src/injectable_compiler_2.d.ts +0 -24
- package/src/jit_compiler_facade.d.ts +0 -46
- package/src/ml_parser/ast.d.ts +0 -89
- package/src/ml_parser/entities.d.ts +0 -9
- package/src/ml_parser/html_parser.d.ts +0 -13
- package/src/ml_parser/html_tags.d.ts +0 -33
- package/src/ml_parser/html_whitespaces.d.ts +0 -45
- package/src/ml_parser/icu_ast_expander.d.ts +0 -42
- package/src/ml_parser/interpolation_config.d.ts +0 -14
- package/src/ml_parser/lexer.d.ts +0 -114
- package/src/ml_parser/parser.d.ts +0 -26
- package/src/ml_parser/tags.d.ts +0 -29
- package/src/ml_parser/tokens.d.ts +0 -141
- package/src/ml_parser/xml_parser.d.ts +0 -13
- package/src/ml_parser/xml_tags.d.ts +0 -24
- package/src/output/abstract_emitter.d.ts +0 -66
- package/src/output/abstract_js_emitter.d.ts +0 -19
- package/src/output/map_util.d.ts +0 -18
- package/src/output/output_ast.d.ts +0 -575
- package/src/output/output_jit.d.ts +0 -73
- package/src/output/output_jit_trusted_types.d.ts +0 -43
- package/src/output/source_map.d.ts +0 -29
- package/src/parse_util.d.ts +0 -75
- package/src/render3/partial/api.d.ts +0 -441
- package/src/render3/partial/class_metadata.d.ts +0 -10
- package/src/render3/partial/component.d.ts +0 -39
- package/src/render3/partial/directive.d.ts +0 -13
- package/src/render3/partial/factory.d.ts +0 -3
- package/src/render3/partial/injectable.d.ts +0 -19
- package/src/render3/partial/injector.d.ts +0 -3
- package/src/render3/partial/ng_module.d.ts +0 -3
- package/src/render3/partial/pipe.d.ts +0 -12
- package/src/render3/partial/util.d.ts +0 -33
- package/src/render3/r3_ast.d.ts +0 -211
- package/src/render3/r3_class_metadata_compiler.d.ts +0 -35
- package/src/render3/r3_factory.d.ts +0 -94
- package/src/render3/r3_identifiers.d.ts +0 -182
- package/src/render3/r3_injector_compiler.d.ts +0 -18
- package/src/render3/r3_jit.d.ts +0 -22
- package/src/render3/r3_module_compiler.d.ts +0 -103
- package/src/render3/r3_pipe_compiler.d.ts +0 -50
- package/src/render3/r3_template_transform.d.ts +0 -24
- package/src/render3/util.d.ts +0 -94
- package/src/render3/view/api.d.ts +0 -328
- package/src/render3/view/compiler.d.ts +0 -86
- package/src/render3/view/i18n/context.d.ts +0 -68
- package/src/render3/view/i18n/get_msg_utils.d.ts +0 -13
- package/src/render3/view/i18n/icu_serializer.d.ts +0 -9
- package/src/render3/view/i18n/localize_utils.d.ts +0 -24
- package/src/render3/view/i18n/meta.d.ts +0 -78
- package/src/render3/view/i18n/util.d.ts +0 -78
- package/src/render3/view/style_parser.d.ts +0 -18
- package/src/render3/view/styling_builder.d.ts +0 -211
- package/src/render3/view/t2_api.d.ts +0 -152
- package/src/render3/view/t2_binder.d.ts +0 -57
- package/src/render3/view/template.d.ts +0 -450
- package/src/render3/view/util.d.ts +0 -94
- package/src/resource_loader.d.ts +0 -17
- package/src/schema/dom_element_schema_registry.d.ts +0 -45
- package/src/schema/dom_security_schema.d.ts +0 -11
- package/src/schema/element_schema_registry.d.ts +0 -29
- package/src/schema/trusted_types_sinks.d.ts +0 -15
- package/src/selector.d.ts +0 -105
- package/src/shadow_css.d.ts +0 -76
- package/src/style_url_resolver.d.ts +0 -8
- package/src/template_parser/binding_parser.d.ts +0 -91
- package/src/template_parser/template_preparser.d.ts +0 -24
- package/src/util.d.ts +0 -42
- package/src/version.d.ts +0 -14
- package/testing/package.json +0 -9
- package/testing/public_api.d.ts +0 -13
- package/testing/src/testing.d.ts +0 -23
- package/testing/testing.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler",
|
|
3
|
-
"version": "14.0.0-
|
|
3
|
+
"version": "14.0.0-rc.0",
|
|
4
4
|
"description": "Angular - the compiler library",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/core": "14.0.0-
|
|
14
|
+
"@angular/core": "14.0.0-rc.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"@angular/core": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"default": "./fesm2020/compiler.mjs"
|
|
65
65
|
},
|
|
66
66
|
"./testing": {
|
|
67
|
-
"types": "./testing/
|
|
67
|
+
"types": "./testing/index.d.ts",
|
|
68
68
|
"esm2020": "./esm2020/testing/testing.mjs",
|
|
69
69
|
"es2020": "./fesm2020/testing.mjs",
|
|
70
70
|
"es2015": "./fesm2015/testing.mjs",
|
package/testing/index.d.ts
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license
|
|
3
|
-
*
|
|
2
|
+
* @license Angular v14.0.0-rc.0
|
|
3
|
+
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
|
+
* License: MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @module
|
|
10
|
+
* @description
|
|
11
|
+
* Entry point for all APIs of the compiler package.
|
|
4
12
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
13
|
+
* <div class="callout is-critical">
|
|
14
|
+
* <header>Unstable APIs</header>
|
|
15
|
+
* <p>
|
|
16
|
+
* All compiler apis are currently considered experimental and private!
|
|
17
|
+
* </p>
|
|
18
|
+
* <p>
|
|
19
|
+
* We expect the APIs in this package to keep on changing. Do not rely on them.
|
|
20
|
+
* </p>
|
|
21
|
+
* </div>
|
|
7
22
|
*/
|
|
8
|
-
export
|
|
23
|
+
export declare const unusedExport = true;
|
|
24
|
+
|
|
25
|
+
export { }
|
package/compiler.d.ts
DELETED
package/public_api.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @module
|
|
10
|
-
* @description
|
|
11
|
-
* Entry point for all public APIs of this package.
|
|
12
|
-
*/
|
|
13
|
-
export * from './src/compiler';
|
package/src/assertions.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export declare function assertInterpolationSymbols(identifier: string, value: any): void;
|
package/src/chars.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
export declare const $EOF = 0;
|
|
9
|
-
export declare const $BSPACE = 8;
|
|
10
|
-
export declare const $TAB = 9;
|
|
11
|
-
export declare const $LF = 10;
|
|
12
|
-
export declare const $VTAB = 11;
|
|
13
|
-
export declare const $FF = 12;
|
|
14
|
-
export declare const $CR = 13;
|
|
15
|
-
export declare const $SPACE = 32;
|
|
16
|
-
export declare const $BANG = 33;
|
|
17
|
-
export declare const $DQ = 34;
|
|
18
|
-
export declare const $HASH = 35;
|
|
19
|
-
export declare const $$ = 36;
|
|
20
|
-
export declare const $PERCENT = 37;
|
|
21
|
-
export declare const $AMPERSAND = 38;
|
|
22
|
-
export declare const $SQ = 39;
|
|
23
|
-
export declare const $LPAREN = 40;
|
|
24
|
-
export declare const $RPAREN = 41;
|
|
25
|
-
export declare const $STAR = 42;
|
|
26
|
-
export declare const $PLUS = 43;
|
|
27
|
-
export declare const $COMMA = 44;
|
|
28
|
-
export declare const $MINUS = 45;
|
|
29
|
-
export declare const $PERIOD = 46;
|
|
30
|
-
export declare const $SLASH = 47;
|
|
31
|
-
export declare const $COLON = 58;
|
|
32
|
-
export declare const $SEMICOLON = 59;
|
|
33
|
-
export declare const $LT = 60;
|
|
34
|
-
export declare const $EQ = 61;
|
|
35
|
-
export declare const $GT = 62;
|
|
36
|
-
export declare const $QUESTION = 63;
|
|
37
|
-
export declare const $0 = 48;
|
|
38
|
-
export declare const $7 = 55;
|
|
39
|
-
export declare const $9 = 57;
|
|
40
|
-
export declare const $A = 65;
|
|
41
|
-
export declare const $E = 69;
|
|
42
|
-
export declare const $F = 70;
|
|
43
|
-
export declare const $X = 88;
|
|
44
|
-
export declare const $Z = 90;
|
|
45
|
-
export declare const $LBRACKET = 91;
|
|
46
|
-
export declare const $BACKSLASH = 92;
|
|
47
|
-
export declare const $RBRACKET = 93;
|
|
48
|
-
export declare const $CARET = 94;
|
|
49
|
-
export declare const $_ = 95;
|
|
50
|
-
export declare const $a = 97;
|
|
51
|
-
export declare const $b = 98;
|
|
52
|
-
export declare const $e = 101;
|
|
53
|
-
export declare const $f = 102;
|
|
54
|
-
export declare const $n = 110;
|
|
55
|
-
export declare const $r = 114;
|
|
56
|
-
export declare const $t = 116;
|
|
57
|
-
export declare const $u = 117;
|
|
58
|
-
export declare const $v = 118;
|
|
59
|
-
export declare const $x = 120;
|
|
60
|
-
export declare const $z = 122;
|
|
61
|
-
export declare const $LBRACE = 123;
|
|
62
|
-
export declare const $BAR = 124;
|
|
63
|
-
export declare const $RBRACE = 125;
|
|
64
|
-
export declare const $NBSP = 160;
|
|
65
|
-
export declare const $PIPE = 124;
|
|
66
|
-
export declare const $TILDA = 126;
|
|
67
|
-
export declare const $AT = 64;
|
|
68
|
-
export declare const $BT = 96;
|
|
69
|
-
export declare function isWhitespace(code: number): boolean;
|
|
70
|
-
export declare function isDigit(code: number): boolean;
|
|
71
|
-
export declare function isAsciiLetter(code: number): boolean;
|
|
72
|
-
export declare function isAsciiHexDigit(code: number): boolean;
|
|
73
|
-
export declare function isNewLine(code: number): boolean;
|
|
74
|
-
export declare function isOctalDigit(code: number): boolean;
|
|
75
|
-
export declare function isQuote(code: number): boolean;
|
package/src/compiler.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* @module
|
|
10
|
-
* @description
|
|
11
|
-
* Entry point for all APIs of the compiler package.
|
|
12
|
-
*
|
|
13
|
-
* <div class="callout is-critical">
|
|
14
|
-
* <header>Unstable APIs</header>
|
|
15
|
-
* <p>
|
|
16
|
-
* All compiler apis are currently considered experimental and private!
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>
|
|
19
|
-
* We expect the APIs in this package to keep on changing. Do not rely on them.
|
|
20
|
-
* </p>
|
|
21
|
-
* </div>
|
|
22
|
-
*/
|
|
23
|
-
import * as core from './core';
|
|
24
|
-
export { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA, SchemaMetadata } from './core';
|
|
25
|
-
export { core };
|
|
26
|
-
export * from './version';
|
|
27
|
-
export { CompilerConfig, preserveWhitespacesDefault } from './config';
|
|
28
|
-
export * from './resource_loader';
|
|
29
|
-
export { ConstantPool } from './constant_pool';
|
|
30
|
-
export { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig } from './ml_parser/interpolation_config';
|
|
31
|
-
export * from './schema/element_schema_registry';
|
|
32
|
-
export * from './i18n/index';
|
|
33
|
-
export * from './expression_parser/ast';
|
|
34
|
-
export * from './expression_parser/lexer';
|
|
35
|
-
export * from './expression_parser/parser';
|
|
36
|
-
export * from './ml_parser/ast';
|
|
37
|
-
export * from './ml_parser/html_parser';
|
|
38
|
-
export * from './ml_parser/html_tags';
|
|
39
|
-
export * from './ml_parser/interpolation_config';
|
|
40
|
-
export * from './ml_parser/tags';
|
|
41
|
-
export { ParseTreeResult, TreeError } from './ml_parser/parser';
|
|
42
|
-
export { LexerRange } from './ml_parser/lexer';
|
|
43
|
-
export * from './ml_parser/xml_parser';
|
|
44
|
-
export { ArrayType, DYNAMIC_TYPE, BinaryOperator, BinaryOperatorExpr, BuiltinType, BuiltinTypeName, CommaExpr, ConditionalExpr, DeclareFunctionStmt, DeclareVarStmt, Expression, ExpressionStatement, ExpressionType, ExpressionVisitor, ExternalExpr, ExternalReference, literalMap, FunctionExpr, IfStmt, InstantiateExpr, InvokeFunctionExpr, LiteralArrayExpr, LiteralExpr, LiteralMapExpr, MapType, NotExpr, NONE_TYPE, ReadKeyExpr, ReadPropExpr, ReadVarExpr, ReturnStatement, StatementVisitor, TaggedTemplateExpr, TemplateLiteral, TemplateLiteralElement, Type, TypeModifier, TypeVisitor, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, StmtModifier, Statement, STRING_TYPE, TypeofExpr, jsDocComment, leadingComment, LeadingComment, JSDocComment, UnaryOperator, UnaryOperatorExpr, LocalizedString } from './output/output_ast';
|
|
45
|
-
export { EmitterVisitorContext } from './output/abstract_emitter';
|
|
46
|
-
export { JitEvaluator } from './output/output_jit';
|
|
47
|
-
export * from './parse_util';
|
|
48
|
-
export * from './schema/dom_element_schema_registry';
|
|
49
|
-
export * from './selector';
|
|
50
|
-
export { Version } from './util';
|
|
51
|
-
export { SourceMap } from './output/source_map';
|
|
52
|
-
export * from './injectable_compiler_2';
|
|
53
|
-
export * from './render3/partial/api';
|
|
54
|
-
export * from './render3/view/api';
|
|
55
|
-
export { BoundAttribute as TmplAstBoundAttribute, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Content as TmplAstContent, Element as TmplAstElement, Icu as TmplAstIcu, Node as TmplAstNode, RecursiveVisitor as TmplAstRecursiveVisitor, Reference as TmplAstReference, Template as TmplAstTemplate, Text as TmplAstText, TextAttribute as TmplAstTextAttribute, Variable as TmplAstVariable } from './render3/r3_ast';
|
|
56
|
-
export * from './render3/view/t2_api';
|
|
57
|
-
export * from './render3/view/t2_binder';
|
|
58
|
-
export { Identifiers as R3Identifiers } from './render3/r3_identifiers';
|
|
59
|
-
export { R3ClassMetadata, CompileClassMetadataFn, compileClassMetadata } from './render3/r3_class_metadata_compiler';
|
|
60
|
-
export { compileFactoryFunction, R3DependencyMetadata, R3FactoryMetadata, FactoryTarget } from './render3/r3_factory';
|
|
61
|
-
export { compileNgModule, R3NgModuleMetadata, R3SelectorScopeMode } from './render3/r3_module_compiler';
|
|
62
|
-
export { compileInjector, R3InjectorMetadata } from './render3/r3_injector_compiler';
|
|
63
|
-
export { compilePipeFromMetadata, R3PipeMetadata } from './render3/r3_pipe_compiler';
|
|
64
|
-
export { makeBindingParser, ParsedTemplate, parseTemplate, ParseTemplateOptions } from './render3/view/template';
|
|
65
|
-
export { ForwardRefHandling, MaybeForwardRefExpression, R3CompiledExpression, R3Reference, createMayBeForwardRefExpression, devOnlyGuardedExpression, getSafePropertyAccessString } from './render3/util';
|
|
66
|
-
export { compileComponentFromMetadata, compileDirectiveFromMetadata, parseHostBindings, ParsedHostBindings, verifyHostBindings } from './render3/view/compiler';
|
|
67
|
-
export { compileDeclareClassMetadata } from './render3/partial/class_metadata';
|
|
68
|
-
export { compileDeclareComponentFromMetadata, DeclareComponentTemplateInfo } from './render3/partial/component';
|
|
69
|
-
export { compileDeclareDirectiveFromMetadata } from './render3/partial/directive';
|
|
70
|
-
export { compileDeclareFactoryFunction } from './render3/partial/factory';
|
|
71
|
-
export { compileDeclareInjectableFromMetadata } from './render3/partial/injectable';
|
|
72
|
-
export { compileDeclareInjectorFromMetadata } from './render3/partial/injector';
|
|
73
|
-
export { compileDeclareNgModuleFromMetadata } from './render3/partial/ng_module';
|
|
74
|
-
export { compileDeclarePipeFromMetadata } from './render3/partial/pipe';
|
|
75
|
-
export { publishFacade } from './jit_compiler_facade';
|
|
76
|
-
export { emitDistinctChangesOnlyDefaultValue, ChangeDetectionStrategy, ViewEncapsulation } from './core';
|
|
77
|
-
export * as outputAst from './output/output_ast';
|
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* A set of interfaces which are shared between `@angular/core` and `@angular/compiler` to allow
|
|
10
|
-
* for late binding of `@angular/compiler` for JIT purposes.
|
|
11
|
-
*
|
|
12
|
-
* This file has two copies. Please ensure that they are in sync:
|
|
13
|
-
* - packages/compiler/src/compiler_facade_interface.ts (main)
|
|
14
|
-
* - packages/core/src/compiler/compiler_facade_interface.ts (replica)
|
|
15
|
-
*
|
|
16
|
-
* Please ensure that the two files are in sync using this command:
|
|
17
|
-
* ```
|
|
18
|
-
* cp packages/compiler/src/compiler_facade_interface.ts \
|
|
19
|
-
* packages/core/src/compiler/compiler_facade_interface.ts
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export interface ExportedCompilerFacade {
|
|
23
|
-
ɵcompilerFacade: CompilerFacade;
|
|
24
|
-
}
|
|
25
|
-
export interface CompilerFacade {
|
|
26
|
-
compilePipe(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3PipeMetadataFacade): any;
|
|
27
|
-
compilePipeDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclarePipeFacade): any;
|
|
28
|
-
compileInjectable(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3InjectableMetadataFacade): any;
|
|
29
|
-
compileInjectableDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareInjectableFacade): any;
|
|
30
|
-
compileInjector(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3InjectorMetadataFacade): any;
|
|
31
|
-
compileInjectorDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareInjectorFacade): any;
|
|
32
|
-
compileNgModule(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3NgModuleMetadataFacade): any;
|
|
33
|
-
compileNgModuleDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareNgModuleFacade): any;
|
|
34
|
-
compileDirective(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DirectiveMetadataFacade): any;
|
|
35
|
-
compileDirectiveDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareDirectiveFacade): any;
|
|
36
|
-
compileComponent(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3ComponentMetadataFacade): any;
|
|
37
|
-
compileComponentDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareComponentFacade): any;
|
|
38
|
-
compileFactory(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3FactoryDefMetadataFacade): any;
|
|
39
|
-
compileFactoryDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareFactoryFacade): any;
|
|
40
|
-
createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan;
|
|
41
|
-
FactoryTarget: typeof FactoryTarget;
|
|
42
|
-
ResourceLoader: Function & {
|
|
43
|
-
prototype: ResourceLoader;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export interface CoreEnvironment {
|
|
47
|
-
[name: string]: Function;
|
|
48
|
-
}
|
|
49
|
-
export declare type ResourceLoader = {
|
|
50
|
-
get(url: string): Promise<string> | string;
|
|
51
|
-
};
|
|
52
|
-
export declare type StringMap = {
|
|
53
|
-
[key: string]: string;
|
|
54
|
-
};
|
|
55
|
-
export declare type StringMapWithRename = {
|
|
56
|
-
[key: string]: string | [string, string];
|
|
57
|
-
};
|
|
58
|
-
export declare type Provider = unknown;
|
|
59
|
-
export declare type Type = Function;
|
|
60
|
-
export declare type OpaqueValue = unknown;
|
|
61
|
-
export declare enum FactoryTarget {
|
|
62
|
-
Directive = 0,
|
|
63
|
-
Component = 1,
|
|
64
|
-
Injectable = 2,
|
|
65
|
-
Pipe = 3,
|
|
66
|
-
NgModule = 4
|
|
67
|
-
}
|
|
68
|
-
export interface R3DependencyMetadataFacade {
|
|
69
|
-
token: OpaqueValue;
|
|
70
|
-
attribute: string | null;
|
|
71
|
-
host: boolean;
|
|
72
|
-
optional: boolean;
|
|
73
|
-
self: boolean;
|
|
74
|
-
skipSelf: boolean;
|
|
75
|
-
}
|
|
76
|
-
export interface R3DeclareDependencyMetadataFacade {
|
|
77
|
-
token: OpaqueValue;
|
|
78
|
-
attribute?: boolean;
|
|
79
|
-
host?: boolean;
|
|
80
|
-
optional?: boolean;
|
|
81
|
-
self?: boolean;
|
|
82
|
-
skipSelf?: boolean;
|
|
83
|
-
}
|
|
84
|
-
export interface R3PipeMetadataFacade {
|
|
85
|
-
name: string;
|
|
86
|
-
type: Type;
|
|
87
|
-
pipeName: string;
|
|
88
|
-
pure: boolean;
|
|
89
|
-
isStandalone: boolean;
|
|
90
|
-
}
|
|
91
|
-
export interface R3InjectableMetadataFacade {
|
|
92
|
-
name: string;
|
|
93
|
-
type: Type;
|
|
94
|
-
typeArgumentCount: number;
|
|
95
|
-
providedIn?: Type | 'root' | 'platform' | 'any' | null;
|
|
96
|
-
useClass?: OpaqueValue;
|
|
97
|
-
useFactory?: OpaqueValue;
|
|
98
|
-
useExisting?: OpaqueValue;
|
|
99
|
-
useValue?: OpaqueValue;
|
|
100
|
-
deps?: R3DependencyMetadataFacade[];
|
|
101
|
-
}
|
|
102
|
-
export interface R3NgModuleMetadataFacade {
|
|
103
|
-
type: Type;
|
|
104
|
-
bootstrap: Function[];
|
|
105
|
-
declarations: Function[];
|
|
106
|
-
imports: Function[];
|
|
107
|
-
exports: Function[];
|
|
108
|
-
schemas: {
|
|
109
|
-
name: string;
|
|
110
|
-
}[] | null;
|
|
111
|
-
id: string | null;
|
|
112
|
-
}
|
|
113
|
-
export interface R3InjectorMetadataFacade {
|
|
114
|
-
name: string;
|
|
115
|
-
type: Type;
|
|
116
|
-
providers: Provider[];
|
|
117
|
-
imports: OpaqueValue[];
|
|
118
|
-
}
|
|
119
|
-
export interface R3DirectiveMetadataFacade {
|
|
120
|
-
name: string;
|
|
121
|
-
type: Type;
|
|
122
|
-
typeSourceSpan: ParseSourceSpan;
|
|
123
|
-
selector: string | null;
|
|
124
|
-
queries: R3QueryMetadataFacade[];
|
|
125
|
-
host: {
|
|
126
|
-
[key: string]: string;
|
|
127
|
-
};
|
|
128
|
-
propMetadata: {
|
|
129
|
-
[key: string]: OpaqueValue[];
|
|
130
|
-
};
|
|
131
|
-
lifecycle: {
|
|
132
|
-
usesOnChanges: boolean;
|
|
133
|
-
};
|
|
134
|
-
inputs: string[];
|
|
135
|
-
outputs: string[];
|
|
136
|
-
usesInheritance: boolean;
|
|
137
|
-
exportAs: string[] | null;
|
|
138
|
-
providers: Provider[] | null;
|
|
139
|
-
viewQueries: R3QueryMetadataFacade[];
|
|
140
|
-
isStandalone: boolean;
|
|
141
|
-
}
|
|
142
|
-
export interface R3ComponentMetadataFacade extends R3DirectiveMetadataFacade {
|
|
143
|
-
template: string;
|
|
144
|
-
preserveWhitespaces: boolean;
|
|
145
|
-
animations: OpaqueValue[] | undefined;
|
|
146
|
-
pipes: Map<string, any>;
|
|
147
|
-
directives: R3UsedDirectiveMetadata[];
|
|
148
|
-
styles: string[];
|
|
149
|
-
encapsulation: ViewEncapsulation;
|
|
150
|
-
viewProviders: Provider[] | null;
|
|
151
|
-
interpolation?: [string, string];
|
|
152
|
-
changeDetection?: ChangeDetectionStrategy;
|
|
153
|
-
}
|
|
154
|
-
export interface R3DeclareDirectiveFacade {
|
|
155
|
-
selector?: string;
|
|
156
|
-
type: Type;
|
|
157
|
-
inputs?: {
|
|
158
|
-
[classPropertyName: string]: string | [string, string];
|
|
159
|
-
};
|
|
160
|
-
outputs?: {
|
|
161
|
-
[classPropertyName: string]: string;
|
|
162
|
-
};
|
|
163
|
-
host?: {
|
|
164
|
-
attributes?: {
|
|
165
|
-
[key: string]: OpaqueValue;
|
|
166
|
-
};
|
|
167
|
-
listeners?: {
|
|
168
|
-
[key: string]: string;
|
|
169
|
-
};
|
|
170
|
-
properties?: {
|
|
171
|
-
[key: string]: string;
|
|
172
|
-
};
|
|
173
|
-
classAttribute?: string;
|
|
174
|
-
styleAttribute?: string;
|
|
175
|
-
};
|
|
176
|
-
queries?: R3DeclareQueryMetadataFacade[];
|
|
177
|
-
viewQueries?: R3DeclareQueryMetadataFacade[];
|
|
178
|
-
providers?: OpaqueValue;
|
|
179
|
-
exportAs?: string[];
|
|
180
|
-
usesInheritance?: boolean;
|
|
181
|
-
usesOnChanges?: boolean;
|
|
182
|
-
isStandalone?: boolean;
|
|
183
|
-
}
|
|
184
|
-
export interface R3DeclareComponentFacade extends R3DeclareDirectiveFacade {
|
|
185
|
-
template: string;
|
|
186
|
-
isInline?: boolean;
|
|
187
|
-
styles?: string[];
|
|
188
|
-
components?: R3DeclareUsedDirectiveFacade[];
|
|
189
|
-
directives?: R3DeclareUsedDirectiveFacade[];
|
|
190
|
-
pipes?: {
|
|
191
|
-
[pipeName: string]: OpaqueValue | (() => OpaqueValue);
|
|
192
|
-
};
|
|
193
|
-
viewProviders?: OpaqueValue;
|
|
194
|
-
animations?: OpaqueValue;
|
|
195
|
-
changeDetection?: ChangeDetectionStrategy;
|
|
196
|
-
encapsulation?: ViewEncapsulation;
|
|
197
|
-
interpolation?: [string, string];
|
|
198
|
-
preserveWhitespaces?: boolean;
|
|
199
|
-
}
|
|
200
|
-
export interface R3DeclareUsedDirectiveFacade {
|
|
201
|
-
selector: string;
|
|
202
|
-
type: OpaqueValue | (() => OpaqueValue);
|
|
203
|
-
inputs?: string[];
|
|
204
|
-
outputs?: string[];
|
|
205
|
-
exportAs?: string[];
|
|
206
|
-
}
|
|
207
|
-
export interface R3UsedDirectiveMetadata {
|
|
208
|
-
selector: string;
|
|
209
|
-
inputs: string[];
|
|
210
|
-
outputs: string[];
|
|
211
|
-
exportAs: string[] | null;
|
|
212
|
-
type: any;
|
|
213
|
-
}
|
|
214
|
-
export interface R3FactoryDefMetadataFacade {
|
|
215
|
-
name: string;
|
|
216
|
-
type: Type;
|
|
217
|
-
typeArgumentCount: number;
|
|
218
|
-
deps: R3DependencyMetadataFacade[] | null;
|
|
219
|
-
target: FactoryTarget;
|
|
220
|
-
}
|
|
221
|
-
export interface R3DeclareFactoryFacade {
|
|
222
|
-
type: Type;
|
|
223
|
-
deps: R3DeclareDependencyMetadataFacade[] | 'invalid' | null;
|
|
224
|
-
target: FactoryTarget;
|
|
225
|
-
}
|
|
226
|
-
export interface R3DeclareInjectableFacade {
|
|
227
|
-
type: Type;
|
|
228
|
-
providedIn?: Type | 'root' | 'platform' | 'any' | null;
|
|
229
|
-
useClass?: OpaqueValue;
|
|
230
|
-
useFactory?: OpaqueValue;
|
|
231
|
-
useExisting?: OpaqueValue;
|
|
232
|
-
useValue?: OpaqueValue;
|
|
233
|
-
deps?: R3DeclareDependencyMetadataFacade[];
|
|
234
|
-
}
|
|
235
|
-
export declare enum ViewEncapsulation {
|
|
236
|
-
Emulated = 0,
|
|
237
|
-
None = 2,
|
|
238
|
-
ShadowDom = 3
|
|
239
|
-
}
|
|
240
|
-
export declare type ChangeDetectionStrategy = number;
|
|
241
|
-
export interface R3QueryMetadataFacade {
|
|
242
|
-
propertyName: string;
|
|
243
|
-
first: boolean;
|
|
244
|
-
predicate: OpaqueValue | string[];
|
|
245
|
-
descendants: boolean;
|
|
246
|
-
emitDistinctChangesOnly: boolean;
|
|
247
|
-
read: OpaqueValue | null;
|
|
248
|
-
static: boolean;
|
|
249
|
-
}
|
|
250
|
-
export interface R3DeclareQueryMetadataFacade {
|
|
251
|
-
propertyName: string;
|
|
252
|
-
first?: boolean;
|
|
253
|
-
predicate: OpaqueValue | string[];
|
|
254
|
-
descendants?: boolean;
|
|
255
|
-
read?: OpaqueValue;
|
|
256
|
-
static?: boolean;
|
|
257
|
-
emitDistinctChangesOnly?: boolean;
|
|
258
|
-
}
|
|
259
|
-
export interface R3DeclareInjectorFacade {
|
|
260
|
-
type: Type;
|
|
261
|
-
imports?: OpaqueValue[];
|
|
262
|
-
providers?: OpaqueValue[];
|
|
263
|
-
}
|
|
264
|
-
export interface R3DeclareNgModuleFacade {
|
|
265
|
-
type: Type;
|
|
266
|
-
bootstrap?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
267
|
-
declarations?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
268
|
-
imports?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
269
|
-
exports?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
270
|
-
schemas?: OpaqueValue[];
|
|
271
|
-
id?: OpaqueValue;
|
|
272
|
-
}
|
|
273
|
-
export interface R3DeclarePipeFacade {
|
|
274
|
-
type: Type;
|
|
275
|
-
name: string;
|
|
276
|
-
pure?: boolean;
|
|
277
|
-
isStandalone?: boolean;
|
|
278
|
-
}
|
|
279
|
-
export interface ParseSourceSpan {
|
|
280
|
-
start: any;
|
|
281
|
-
end: any;
|
|
282
|
-
details: any;
|
|
283
|
-
fullStart: any;
|
|
284
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import * as cdAst from '../expression_parser/ast';
|
|
9
|
-
import * as o from '../output/output_ast';
|
|
10
|
-
import { ParseSourceSpan } from '../parse_util';
|
|
11
|
-
export declare class EventHandlerVars {
|
|
12
|
-
static event: o.ReadVarExpr;
|
|
13
|
-
}
|
|
14
|
-
export interface LocalResolver {
|
|
15
|
-
getLocal(name: string): o.Expression | null;
|
|
16
|
-
notifyImplicitReceiverUse(): void;
|
|
17
|
-
globals?: Set<string>;
|
|
18
|
-
maybeRestoreView(): void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Converts the given expression AST into an executable output AST, assuming the expression is
|
|
22
|
-
* used in an action binding (e.g. an event handler).
|
|
23
|
-
*/
|
|
24
|
-
export declare function convertActionBinding(localResolver: LocalResolver | null, implicitReceiver: o.Expression, action: cdAst.AST, bindingId: string, baseSourceSpan?: ParseSourceSpan, implicitReceiverAccesses?: Set<string>, globals?: Set<string>): o.Statement[];
|
|
25
|
-
export interface BuiltinConverter {
|
|
26
|
-
(args: o.Expression[]): o.Expression;
|
|
27
|
-
}
|
|
28
|
-
export interface BuiltinConverterFactory {
|
|
29
|
-
createLiteralArrayConverter(argCount: number): BuiltinConverter;
|
|
30
|
-
createLiteralMapConverter(keys: {
|
|
31
|
-
key: string;
|
|
32
|
-
quoted: boolean;
|
|
33
|
-
}[]): BuiltinConverter;
|
|
34
|
-
createPipeConverter(name: string, argCount: number): BuiltinConverter;
|
|
35
|
-
}
|
|
36
|
-
export declare function convertPropertyBindingBuiltins(converterFactory: BuiltinConverterFactory, ast: cdAst.AST): cdAst.AST;
|
|
37
|
-
export declare class ConvertPropertyBindingResult {
|
|
38
|
-
stmts: o.Statement[];
|
|
39
|
-
currValExpr: o.Expression;
|
|
40
|
-
constructor(stmts: o.Statement[], currValExpr: o.Expression);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Converts the given expression AST into an executable output AST, assuming the expression
|
|
44
|
-
* is used in property binding. The expression has to be preprocessed via
|
|
45
|
-
* `convertPropertyBindingBuiltins`.
|
|
46
|
-
*/
|
|
47
|
-
export declare function convertPropertyBinding(localResolver: LocalResolver | null, implicitReceiver: o.Expression, expressionWithoutBuiltins: cdAst.AST, bindingId: string): ConvertPropertyBindingResult;
|
|
48
|
-
/**
|
|
49
|
-
* Given some expression, such as a binding or interpolation expression, and a context expression to
|
|
50
|
-
* look values up on, visit each facet of the given expression resolving values from the context
|
|
51
|
-
* expression such that a list of arguments can be derived from the found values that can be used as
|
|
52
|
-
* arguments to an external update instruction.
|
|
53
|
-
*
|
|
54
|
-
* @param localResolver The resolver to use to look up expressions by name appropriately
|
|
55
|
-
* @param contextVariableExpression The expression representing the context variable used to create
|
|
56
|
-
* the final argument expressions
|
|
57
|
-
* @param expressionWithArgumentsToExtract The expression to visit to figure out what values need to
|
|
58
|
-
* be resolved and what arguments list to build.
|
|
59
|
-
* @param bindingId A name prefix used to create temporary variable names if they're needed for the
|
|
60
|
-
* arguments generated
|
|
61
|
-
* @returns An array of expressions that can be passed as arguments to instruction expressions like
|
|
62
|
-
* `o.importExpr(R3.propertyInterpolate).callFn(result)`
|
|
63
|
-
*/
|
|
64
|
-
export declare function convertUpdateArguments(localResolver: LocalResolver, contextVariableExpression: o.Expression, expressionWithArgumentsToExtract: cdAst.Interpolation, bindingId: string): {
|
|
65
|
-
stmts: o.Statement[];
|
|
66
|
-
args: o.Expression[];
|
|
67
|
-
};
|
|
68
|
-
export declare class BuiltinFunctionCall extends cdAst.Call {
|
|
69
|
-
converter: BuiltinConverter;
|
|
70
|
-
constructor(span: cdAst.ParseSpan, sourceSpan: cdAst.AbsoluteSourceSpan, args: cdAst.AST[], converter: BuiltinConverter);
|
|
71
|
-
}
|
package/src/config.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import { MissingTranslationStrategy, ViewEncapsulation } from './core';
|
|
9
|
-
export declare class CompilerConfig {
|
|
10
|
-
defaultEncapsulation: ViewEncapsulation | null;
|
|
11
|
-
useJit: boolean;
|
|
12
|
-
jitDevMode: boolean;
|
|
13
|
-
missingTranslation: MissingTranslationStrategy | null;
|
|
14
|
-
preserveWhitespaces: boolean;
|
|
15
|
-
strictInjectionParameters: boolean;
|
|
16
|
-
constructor({ defaultEncapsulation, useJit, jitDevMode, missingTranslation, preserveWhitespaces, strictInjectionParameters }?: {
|
|
17
|
-
defaultEncapsulation?: ViewEncapsulation;
|
|
18
|
-
useJit?: boolean;
|
|
19
|
-
jitDevMode?: boolean;
|
|
20
|
-
missingTranslation?: MissingTranslationStrategy | null;
|
|
21
|
-
preserveWhitespaces?: boolean;
|
|
22
|
-
strictInjectionParameters?: boolean;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
export declare function preserveWhitespacesDefault(preserveWhitespacesOption: boolean | null, defaultSetting?: boolean): boolean;
|
package/src/constant_pool.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright Google LLC All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
7
|
-
*/
|
|
8
|
-
import * as o from './output/output_ast';
|
|
9
|
-
/**
|
|
10
|
-
* A constant pool allows a code emitter to share constant in an output context.
|
|
11
|
-
*
|
|
12
|
-
* The constant pool also supports sharing access to ivy definitions references.
|
|
13
|
-
*/
|
|
14
|
-
export declare class ConstantPool {
|
|
15
|
-
private readonly isClosureCompilerEnabled;
|
|
16
|
-
statements: o.Statement[];
|
|
17
|
-
private literals;
|
|
18
|
-
private literalFactories;
|
|
19
|
-
private nextNameIndex;
|
|
20
|
-
constructor(isClosureCompilerEnabled?: boolean);
|
|
21
|
-
getConstLiteral(literal: o.Expression, forceShared?: boolean): o.Expression;
|
|
22
|
-
getLiteralFactory(literal: o.LiteralArrayExpr | o.LiteralMapExpr): {
|
|
23
|
-
literalFactory: o.Expression;
|
|
24
|
-
literalFactoryArguments: o.Expression[];
|
|
25
|
-
};
|
|
26
|
-
private _getLiteralFactory;
|
|
27
|
-
/**
|
|
28
|
-
* Produce a unique name.
|
|
29
|
-
*
|
|
30
|
-
* The name might be unique among different prefixes if any of the prefixes end in
|
|
31
|
-
* a digit so the prefix should be a constant string (not based on user input) and
|
|
32
|
-
* must not end in a digit.
|
|
33
|
-
*/
|
|
34
|
-
uniqueName(prefix: string): string;
|
|
35
|
-
private freshName;
|
|
36
|
-
private keyOf;
|
|
37
|
-
}
|