@angular/compiler 20.0.0-rc.1 → 20.0.0-rc.3
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/fesm2022/compiler.mjs +164 -422
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +645 -366
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-rc.
|
|
2
|
+
* @license Angular v20.0.0-rc.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
declare const emitDistinctChangesOnlyDefaultValue = true;
|
|
8
|
-
declare enum ViewEncapsulation {
|
|
8
|
+
declare enum ViewEncapsulation$1 {
|
|
9
9
|
Emulated = 0,
|
|
10
10
|
None = 2,
|
|
11
11
|
ShadowDom = 3
|
|
12
12
|
}
|
|
13
|
-
declare enum ChangeDetectionStrategy {
|
|
13
|
+
declare enum ChangeDetectionStrategy$1 {
|
|
14
14
|
OnPush = 0,
|
|
15
15
|
Default = 1
|
|
16
16
|
}
|
|
@@ -41,10 +41,10 @@ interface SchemaMetadata {
|
|
|
41
41
|
}
|
|
42
42
|
declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
|
|
43
43
|
declare const NO_ERRORS_SCHEMA: SchemaMetadata;
|
|
44
|
-
interface Type$
|
|
44
|
+
interface Type$2 extends Function {
|
|
45
45
|
new (...args: any[]): any;
|
|
46
46
|
}
|
|
47
|
-
declare const Type$
|
|
47
|
+
declare const Type$2: FunctionConstructor;
|
|
48
48
|
declare enum SecurityContext {
|
|
49
49
|
NONE = 0,
|
|
50
50
|
HTML = 1,
|
|
@@ -227,8 +227,6 @@ declare const enum AttributeMarker {
|
|
|
227
227
|
type core_d_AttributeMarker = AttributeMarker;
|
|
228
228
|
declare const core_d_AttributeMarker: typeof AttributeMarker;
|
|
229
229
|
declare const core_d_CUSTOM_ELEMENTS_SCHEMA: typeof CUSTOM_ELEMENTS_SCHEMA;
|
|
230
|
-
type core_d_ChangeDetectionStrategy = ChangeDetectionStrategy;
|
|
231
|
-
declare const core_d_ChangeDetectionStrategy: typeof ChangeDetectionStrategy;
|
|
232
230
|
type core_d_HostBinding = HostBinding;
|
|
233
231
|
type core_d_HostListener = HostListener;
|
|
234
232
|
type core_d_InjectFlags = InjectFlags;
|
|
@@ -249,12 +247,10 @@ type core_d_SecurityContext = SecurityContext;
|
|
|
249
247
|
declare const core_d_SecurityContext: typeof SecurityContext;
|
|
250
248
|
type core_d_SelectorFlags = SelectorFlags;
|
|
251
249
|
declare const core_d_SelectorFlags: typeof SelectorFlags;
|
|
252
|
-
type core_d_ViewEncapsulation = ViewEncapsulation;
|
|
253
|
-
declare const core_d_ViewEncapsulation: typeof ViewEncapsulation;
|
|
254
250
|
declare const core_d_emitDistinctChangesOnlyDefaultValue: typeof emitDistinctChangesOnlyDefaultValue;
|
|
255
251
|
declare const core_d_parseSelectorToR3Selector: typeof parseSelectorToR3Selector;
|
|
256
252
|
declare namespace core_d {
|
|
257
|
-
export { core_d_AttributeMarker as AttributeMarker, core_d_CUSTOM_ELEMENTS_SCHEMA as CUSTOM_ELEMENTS_SCHEMA,
|
|
253
|
+
export { core_d_AttributeMarker as AttributeMarker, core_d_CUSTOM_ELEMENTS_SCHEMA as CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, core_d_InjectFlags as InjectFlags, core_d_InputFlags as InputFlags, core_d_MissingTranslationStrategy as MissingTranslationStrategy, core_d_NO_ERRORS_SCHEMA as NO_ERRORS_SCHEMA, core_d_RenderFlags as RenderFlags, core_d_SecurityContext as SecurityContext, core_d_SelectorFlags as SelectorFlags, Type$2 as Type, ViewEncapsulation$1 as ViewEncapsulation, core_d_emitDistinctChangesOnlyDefaultValue as emitDistinctChangesOnlyDefaultValue, core_d_parseSelectorToR3Selector as parseSelectorToR3Selector };
|
|
258
254
|
export type { core_d_HostBinding as HostBinding, core_d_HostListener as HostListener, core_d_Input as Input, core_d_Output as Output, core_d_R3CssSelector as R3CssSelector, core_d_R3CssSelectorList as R3CssSelectorList, core_d_SchemaMetadata as SchemaMetadata };
|
|
259
255
|
}
|
|
260
256
|
|
|
@@ -276,7 +272,7 @@ declare class ParseSourceFile {
|
|
|
276
272
|
url: string;
|
|
277
273
|
constructor(content: string, url: string);
|
|
278
274
|
}
|
|
279
|
-
declare class ParseSourceSpan {
|
|
275
|
+
declare class ParseSourceSpan$1 {
|
|
280
276
|
start: ParseLocation;
|
|
281
277
|
end: ParseLocation;
|
|
282
278
|
fullStart: ParseLocation;
|
|
@@ -313,7 +309,7 @@ declare enum ParseErrorLevel {
|
|
|
313
309
|
}
|
|
314
310
|
declare class ParseError {
|
|
315
311
|
/** Location of the error. */
|
|
316
|
-
readonly span: ParseSourceSpan;
|
|
312
|
+
readonly span: ParseSourceSpan$1;
|
|
317
313
|
/** Error message. */
|
|
318
314
|
readonly msg: string;
|
|
319
315
|
/** Severity level of the error. */
|
|
@@ -325,7 +321,7 @@ declare class ParseError {
|
|
|
325
321
|
readonly relatedError?: unknown | undefined;
|
|
326
322
|
constructor(
|
|
327
323
|
/** Location of the error. */
|
|
328
|
-
span: ParseSourceSpan,
|
|
324
|
+
span: ParseSourceSpan$1,
|
|
329
325
|
/** Error message. */
|
|
330
326
|
msg: string,
|
|
331
327
|
/** Severity level of the error. */
|
|
@@ -346,7 +342,7 @@ declare class ParseError {
|
|
|
346
342
|
* @param sourceUrl reference to Component or Directive source.
|
|
347
343
|
* @returns instance of ParseSourceSpan that represent a given Component or Directive.
|
|
348
344
|
*/
|
|
349
|
-
declare function r3JitTypeSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan;
|
|
345
|
+
declare function r3JitTypeSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan$1;
|
|
350
346
|
declare function identifierName(compileIdentifier: CompileIdentifierMetadata | null | undefined): string | null;
|
|
351
347
|
interface CompileIdentifierMetadata {
|
|
352
348
|
reference: any;
|
|
@@ -361,7 +357,7 @@ interface MessagePlaceholder {
|
|
|
361
357
|
/** The text contents of the placeholder */
|
|
362
358
|
text: string;
|
|
363
359
|
/** The source span of the placeholder */
|
|
364
|
-
sourceSpan: ParseSourceSpan;
|
|
360
|
+
sourceSpan: ParseSourceSpan$1;
|
|
365
361
|
}
|
|
366
362
|
declare class Message {
|
|
367
363
|
nodes: Node$2[];
|
|
@@ -401,19 +397,19 @@ interface MessageSpan {
|
|
|
401
397
|
endCol: number;
|
|
402
398
|
}
|
|
403
399
|
interface Node$2 {
|
|
404
|
-
sourceSpan: ParseSourceSpan;
|
|
400
|
+
sourceSpan: ParseSourceSpan$1;
|
|
405
401
|
visit(visitor: Visitor$2, context?: any): any;
|
|
406
402
|
}
|
|
407
403
|
declare class Text$2 implements Node$2 {
|
|
408
404
|
value: string;
|
|
409
|
-
sourceSpan: ParseSourceSpan;
|
|
410
|
-
constructor(value: string, sourceSpan: ParseSourceSpan);
|
|
405
|
+
sourceSpan: ParseSourceSpan$1;
|
|
406
|
+
constructor(value: string, sourceSpan: ParseSourceSpan$1);
|
|
411
407
|
visit(visitor: Visitor$2, context?: any): any;
|
|
412
408
|
}
|
|
413
409
|
declare class Container implements Node$2 {
|
|
414
410
|
children: Node$2[];
|
|
415
|
-
sourceSpan: ParseSourceSpan;
|
|
416
|
-
constructor(children: Node$2[], sourceSpan: ParseSourceSpan);
|
|
411
|
+
sourceSpan: ParseSourceSpan$1;
|
|
412
|
+
constructor(children: Node$2[], sourceSpan: ParseSourceSpan$1);
|
|
417
413
|
visit(visitor: Visitor$2, context?: any): any;
|
|
418
414
|
}
|
|
419
415
|
declare class Icu$1 implements Node$2 {
|
|
@@ -422,11 +418,11 @@ declare class Icu$1 implements Node$2 {
|
|
|
422
418
|
cases: {
|
|
423
419
|
[k: string]: Node$2;
|
|
424
420
|
};
|
|
425
|
-
sourceSpan: ParseSourceSpan;
|
|
421
|
+
sourceSpan: ParseSourceSpan$1;
|
|
426
422
|
expressionPlaceholder?: string | undefined;
|
|
427
423
|
constructor(expression: string, type: string, cases: {
|
|
428
424
|
[k: string]: Node$2;
|
|
429
|
-
}, sourceSpan: ParseSourceSpan, expressionPlaceholder?: string | undefined);
|
|
425
|
+
}, sourceSpan: ParseSourceSpan$1, expressionPlaceholder?: string | undefined);
|
|
430
426
|
visit(visitor: Visitor$2, context?: any): any;
|
|
431
427
|
}
|
|
432
428
|
declare class TagPlaceholder implements Node$2 {
|
|
@@ -438,28 +434,28 @@ declare class TagPlaceholder implements Node$2 {
|
|
|
438
434
|
closeName: string;
|
|
439
435
|
children: Node$2[];
|
|
440
436
|
isVoid: boolean;
|
|
441
|
-
sourceSpan: ParseSourceSpan;
|
|
442
|
-
startSourceSpan: ParseSourceSpan | null;
|
|
443
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
437
|
+
sourceSpan: ParseSourceSpan$1;
|
|
438
|
+
startSourceSpan: ParseSourceSpan$1 | null;
|
|
439
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
444
440
|
constructor(tag: string, attrs: {
|
|
445
441
|
[k: string]: string;
|
|
446
|
-
}, startName: string, closeName: string, children: Node$2[], isVoid: boolean, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan | null, endSourceSpan: ParseSourceSpan | null);
|
|
442
|
+
}, startName: string, closeName: string, children: Node$2[], isVoid: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1 | null, endSourceSpan: ParseSourceSpan$1 | null);
|
|
447
443
|
visit(visitor: Visitor$2, context?: any): any;
|
|
448
444
|
}
|
|
449
445
|
declare class Placeholder implements Node$2 {
|
|
450
446
|
value: string;
|
|
451
447
|
name: string;
|
|
452
|
-
sourceSpan: ParseSourceSpan;
|
|
453
|
-
constructor(value: string, name: string, sourceSpan: ParseSourceSpan);
|
|
448
|
+
sourceSpan: ParseSourceSpan$1;
|
|
449
|
+
constructor(value: string, name: string, sourceSpan: ParseSourceSpan$1);
|
|
454
450
|
visit(visitor: Visitor$2, context?: any): any;
|
|
455
451
|
}
|
|
456
452
|
declare class IcuPlaceholder implements Node$2 {
|
|
457
453
|
value: Icu$1;
|
|
458
454
|
name: string;
|
|
459
|
-
sourceSpan: ParseSourceSpan;
|
|
455
|
+
sourceSpan: ParseSourceSpan$1;
|
|
460
456
|
/** Used to capture a message computed from a previous processing pass (see `setI18nRefs()`). */
|
|
461
457
|
previousMessage?: Message;
|
|
462
|
-
constructor(value: Icu$1, name: string, sourceSpan: ParseSourceSpan);
|
|
458
|
+
constructor(value: Icu$1, name: string, sourceSpan: ParseSourceSpan$1);
|
|
463
459
|
visit(visitor: Visitor$2, context?: any): any;
|
|
464
460
|
}
|
|
465
461
|
declare class BlockPlaceholder implements Node$2 {
|
|
@@ -468,10 +464,10 @@ declare class BlockPlaceholder implements Node$2 {
|
|
|
468
464
|
startName: string;
|
|
469
465
|
closeName: string;
|
|
470
466
|
children: Node$2[];
|
|
471
|
-
sourceSpan: ParseSourceSpan;
|
|
472
|
-
startSourceSpan: ParseSourceSpan | null;
|
|
473
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
474
|
-
constructor(name: string, parameters: string[], startName: string, closeName: string, children: Node$2[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan | null, endSourceSpan: ParseSourceSpan | null);
|
|
467
|
+
sourceSpan: ParseSourceSpan$1;
|
|
468
|
+
startSourceSpan: ParseSourceSpan$1 | null;
|
|
469
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
470
|
+
constructor(name: string, parameters: string[], startName: string, closeName: string, children: Node$2[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1 | null, endSourceSpan: ParseSourceSpan$1 | null);
|
|
475
471
|
visit(visitor: Visitor$2, context?: any): any;
|
|
476
472
|
}
|
|
477
473
|
/**
|
|
@@ -540,7 +536,7 @@ type InterpolatedAttributeToken = AttributeValueTextToken | AttributeValueInterp
|
|
|
540
536
|
interface TokenBase {
|
|
541
537
|
type: TokenType$1;
|
|
542
538
|
parts: string[];
|
|
543
|
-
sourceSpan: ParseSourceSpan;
|
|
539
|
+
sourceSpan: ParseSourceSpan$1;
|
|
544
540
|
}
|
|
545
541
|
interface TextToken extends TokenBase {
|
|
546
542
|
type: TokenType$1.TEXT | TokenType$1.ESCAPABLE_RAW_TEXT | TokenType$1.RAW_TEXT;
|
|
@@ -564,46 +560,46 @@ interface AttributeValueInterpolationToken extends TokenBase {
|
|
|
564
560
|
}
|
|
565
561
|
|
|
566
562
|
interface BaseNode {
|
|
567
|
-
sourceSpan: ParseSourceSpan;
|
|
563
|
+
sourceSpan: ParseSourceSpan$1;
|
|
568
564
|
visit(visitor: Visitor$1, context: any): any;
|
|
569
565
|
}
|
|
570
566
|
type Node$1 = Attribute | Comment$1 | Element$1 | Expansion | ExpansionCase | Text$1 | Block | BlockParameter | Component$1 | Directive$1;
|
|
571
567
|
declare abstract class NodeWithI18n implements BaseNode {
|
|
572
|
-
sourceSpan: ParseSourceSpan;
|
|
568
|
+
sourceSpan: ParseSourceSpan$1;
|
|
573
569
|
i18n?: I18nMeta$1 | undefined;
|
|
574
|
-
constructor(sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
570
|
+
constructor(sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
575
571
|
abstract visit(visitor: Visitor$1, context: any): any;
|
|
576
572
|
}
|
|
577
573
|
declare class Text$1 extends NodeWithI18n {
|
|
578
574
|
value: string;
|
|
579
575
|
tokens: InterpolatedTextToken[];
|
|
580
|
-
constructor(value: string, sourceSpan: ParseSourceSpan, tokens: InterpolatedTextToken[], i18n?: I18nMeta$1);
|
|
576
|
+
constructor(value: string, sourceSpan: ParseSourceSpan$1, tokens: InterpolatedTextToken[], i18n?: I18nMeta$1);
|
|
581
577
|
visit(visitor: Visitor$1, context: any): any;
|
|
582
578
|
}
|
|
583
579
|
declare class Expansion extends NodeWithI18n {
|
|
584
580
|
switchValue: string;
|
|
585
581
|
type: string;
|
|
586
582
|
cases: ExpansionCase[];
|
|
587
|
-
switchValueSourceSpan: ParseSourceSpan;
|
|
588
|
-
constructor(switchValue: string, type: string, cases: ExpansionCase[], sourceSpan: ParseSourceSpan, switchValueSourceSpan: ParseSourceSpan, i18n?: I18nMeta$1);
|
|
583
|
+
switchValueSourceSpan: ParseSourceSpan$1;
|
|
584
|
+
constructor(switchValue: string, type: string, cases: ExpansionCase[], sourceSpan: ParseSourceSpan$1, switchValueSourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1);
|
|
589
585
|
visit(visitor: Visitor$1, context: any): any;
|
|
590
586
|
}
|
|
591
587
|
declare class ExpansionCase implements BaseNode {
|
|
592
588
|
value: string;
|
|
593
589
|
expression: Node$1[];
|
|
594
|
-
sourceSpan: ParseSourceSpan;
|
|
595
|
-
valueSourceSpan: ParseSourceSpan;
|
|
596
|
-
expSourceSpan: ParseSourceSpan;
|
|
597
|
-
constructor(value: string, expression: Node$1[], sourceSpan: ParseSourceSpan, valueSourceSpan: ParseSourceSpan, expSourceSpan: ParseSourceSpan);
|
|
590
|
+
sourceSpan: ParseSourceSpan$1;
|
|
591
|
+
valueSourceSpan: ParseSourceSpan$1;
|
|
592
|
+
expSourceSpan: ParseSourceSpan$1;
|
|
593
|
+
constructor(value: string, expression: Node$1[], sourceSpan: ParseSourceSpan$1, valueSourceSpan: ParseSourceSpan$1, expSourceSpan: ParseSourceSpan$1);
|
|
598
594
|
visit(visitor: Visitor$1, context: any): any;
|
|
599
595
|
}
|
|
600
596
|
declare class Attribute extends NodeWithI18n {
|
|
601
597
|
name: string;
|
|
602
598
|
value: string;
|
|
603
|
-
readonly keySpan: ParseSourceSpan | undefined;
|
|
604
|
-
valueSpan: ParseSourceSpan | undefined;
|
|
599
|
+
readonly keySpan: ParseSourceSpan$1 | undefined;
|
|
600
|
+
valueSpan: ParseSourceSpan$1 | undefined;
|
|
605
601
|
valueTokens: InterpolatedAttributeToken[] | undefined;
|
|
606
|
-
constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan | undefined, valueSpan: ParseSourceSpan | undefined, valueTokens: InterpolatedAttributeToken[] | undefined, i18n: I18nMeta$1 | undefined);
|
|
602
|
+
constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1 | undefined, valueSpan: ParseSourceSpan$1 | undefined, valueTokens: InterpolatedAttributeToken[] | undefined, i18n: I18nMeta$1 | undefined);
|
|
607
603
|
visit(visitor: Visitor$1, context: any): any;
|
|
608
604
|
}
|
|
609
605
|
declare class Element$1 extends NodeWithI18n {
|
|
@@ -611,25 +607,25 @@ declare class Element$1 extends NodeWithI18n {
|
|
|
611
607
|
attrs: Attribute[];
|
|
612
608
|
readonly directives: Directive$1[];
|
|
613
609
|
children: Node$1[];
|
|
614
|
-
startSourceSpan: ParseSourceSpan;
|
|
615
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
616
|
-
constructor(name: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null, i18n?: I18nMeta$1);
|
|
610
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
611
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
612
|
+
constructor(name: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan?: ParseSourceSpan$1 | null, i18n?: I18nMeta$1);
|
|
617
613
|
visit(visitor: Visitor$1, context: any): any;
|
|
618
614
|
}
|
|
619
615
|
declare class Comment$1 implements BaseNode {
|
|
620
616
|
value: string | null;
|
|
621
|
-
sourceSpan: ParseSourceSpan;
|
|
622
|
-
constructor(value: string | null, sourceSpan: ParseSourceSpan);
|
|
617
|
+
sourceSpan: ParseSourceSpan$1;
|
|
618
|
+
constructor(value: string | null, sourceSpan: ParseSourceSpan$1);
|
|
623
619
|
visit(visitor: Visitor$1, context: any): any;
|
|
624
620
|
}
|
|
625
621
|
declare class Block extends NodeWithI18n {
|
|
626
622
|
name: string;
|
|
627
623
|
parameters: BlockParameter[];
|
|
628
624
|
children: Node$1[];
|
|
629
|
-
nameSpan: ParseSourceSpan;
|
|
630
|
-
startSourceSpan: ParseSourceSpan;
|
|
631
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
632
|
-
constructor(name: string, parameters: BlockParameter[], children: Node$1[], sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null, i18n?: I18nMeta$1);
|
|
625
|
+
nameSpan: ParseSourceSpan$1;
|
|
626
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
627
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
628
|
+
constructor(name: string, parameters: BlockParameter[], children: Node$1[], sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan?: ParseSourceSpan$1 | null, i18n?: I18nMeta$1);
|
|
633
629
|
visit(visitor: Visitor$1, context: any): any;
|
|
634
630
|
}
|
|
635
631
|
declare class Component$1 extends NodeWithI18n {
|
|
@@ -639,33 +635,33 @@ declare class Component$1 extends NodeWithI18n {
|
|
|
639
635
|
attrs: Attribute[];
|
|
640
636
|
readonly directives: Directive$1[];
|
|
641
637
|
readonly children: Node$1[];
|
|
642
|
-
readonly startSourceSpan: ParseSourceSpan;
|
|
643
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
644
|
-
constructor(componentName: string, tagName: string | null, fullName: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null, i18n?: I18nMeta$1);
|
|
638
|
+
readonly startSourceSpan: ParseSourceSpan$1;
|
|
639
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
640
|
+
constructor(componentName: string, tagName: string | null, fullName: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan?: ParseSourceSpan$1 | null, i18n?: I18nMeta$1);
|
|
645
641
|
visit(visitor: Visitor$1, context: any): any;
|
|
646
642
|
}
|
|
647
643
|
declare class Directive$1 implements BaseNode {
|
|
648
644
|
readonly name: string;
|
|
649
645
|
readonly attrs: Attribute[];
|
|
650
|
-
readonly sourceSpan: ParseSourceSpan;
|
|
651
|
-
readonly startSourceSpan: ParseSourceSpan;
|
|
652
|
-
readonly endSourceSpan: ParseSourceSpan | null;
|
|
653
|
-
constructor(name: string, attrs: Attribute[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null);
|
|
646
|
+
readonly sourceSpan: ParseSourceSpan$1;
|
|
647
|
+
readonly startSourceSpan: ParseSourceSpan$1;
|
|
648
|
+
readonly endSourceSpan: ParseSourceSpan$1 | null;
|
|
649
|
+
constructor(name: string, attrs: Attribute[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan?: ParseSourceSpan$1 | null);
|
|
654
650
|
visit(visitor: Visitor$1, context: any): any;
|
|
655
651
|
}
|
|
656
652
|
declare class BlockParameter implements BaseNode {
|
|
657
653
|
expression: string;
|
|
658
|
-
sourceSpan: ParseSourceSpan;
|
|
659
|
-
constructor(expression: string, sourceSpan: ParseSourceSpan);
|
|
654
|
+
sourceSpan: ParseSourceSpan$1;
|
|
655
|
+
constructor(expression: string, sourceSpan: ParseSourceSpan$1);
|
|
660
656
|
visit(visitor: Visitor$1, context: any): any;
|
|
661
657
|
}
|
|
662
658
|
declare class LetDeclaration$1 implements BaseNode {
|
|
663
659
|
name: string;
|
|
664
660
|
value: string;
|
|
665
|
-
sourceSpan: ParseSourceSpan;
|
|
666
|
-
readonly nameSpan: ParseSourceSpan;
|
|
667
|
-
valueSpan: ParseSourceSpan;
|
|
668
|
-
constructor(name: string, value: string, sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan, valueSpan: ParseSourceSpan);
|
|
661
|
+
sourceSpan: ParseSourceSpan$1;
|
|
662
|
+
readonly nameSpan: ParseSourceSpan$1;
|
|
663
|
+
valueSpan: ParseSourceSpan$1;
|
|
664
|
+
constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1);
|
|
669
665
|
visit(visitor: Visitor$1, context: any): any;
|
|
670
666
|
}
|
|
671
667
|
interface Visitor$1 {
|
|
@@ -808,8 +804,8 @@ interface TokenizeOptions {
|
|
|
808
804
|
|
|
809
805
|
declare class TreeError extends ParseError {
|
|
810
806
|
elementName: string | null;
|
|
811
|
-
static create(elementName: string | null, span: ParseSourceSpan, msg: string): TreeError;
|
|
812
|
-
constructor(elementName: string | null, span: ParseSourceSpan, msg: string);
|
|
807
|
+
static create(elementName: string | null, span: ParseSourceSpan$1, msg: string): TreeError;
|
|
808
|
+
constructor(elementName: string | null, span: ParseSourceSpan$1, msg: string);
|
|
813
809
|
}
|
|
814
810
|
declare class ParseTreeResult {
|
|
815
811
|
rootNodes: Node$1[];
|
|
@@ -834,7 +830,7 @@ declare enum TypeModifier {
|
|
|
834
830
|
None = 0,
|
|
835
831
|
Const = 1
|
|
836
832
|
}
|
|
837
|
-
declare abstract class Type {
|
|
833
|
+
declare abstract class Type$1 {
|
|
838
834
|
modifiers: TypeModifier;
|
|
839
835
|
constructor(modifiers?: TypeModifier);
|
|
840
836
|
abstract visitType(visitor: TypeVisitor, context: any): any;
|
|
@@ -850,28 +846,28 @@ declare enum BuiltinTypeName {
|
|
|
850
846
|
Inferred = 6,
|
|
851
847
|
None = 7
|
|
852
848
|
}
|
|
853
|
-
declare class BuiltinType extends Type {
|
|
849
|
+
declare class BuiltinType extends Type$1 {
|
|
854
850
|
name: BuiltinTypeName;
|
|
855
851
|
constructor(name: BuiltinTypeName, modifiers?: TypeModifier);
|
|
856
852
|
visitType(visitor: TypeVisitor, context: any): any;
|
|
857
853
|
}
|
|
858
|
-
declare class ExpressionType extends Type {
|
|
854
|
+
declare class ExpressionType extends Type$1 {
|
|
859
855
|
value: Expression;
|
|
860
|
-
typeParams: Type[] | null;
|
|
861
|
-
constructor(value: Expression, modifiers?: TypeModifier, typeParams?: Type[] | null);
|
|
856
|
+
typeParams: Type$1[] | null;
|
|
857
|
+
constructor(value: Expression, modifiers?: TypeModifier, typeParams?: Type$1[] | null);
|
|
862
858
|
visitType(visitor: TypeVisitor, context: any): any;
|
|
863
859
|
}
|
|
864
|
-
declare class ArrayType extends Type {
|
|
865
|
-
of: Type;
|
|
866
|
-
constructor(of: Type, modifiers?: TypeModifier);
|
|
860
|
+
declare class ArrayType extends Type$1 {
|
|
861
|
+
of: Type$1;
|
|
862
|
+
constructor(of: Type$1, modifiers?: TypeModifier);
|
|
867
863
|
visitType(visitor: TypeVisitor, context: any): any;
|
|
868
864
|
}
|
|
869
|
-
declare class MapType extends Type {
|
|
870
|
-
valueType: Type | null;
|
|
871
|
-
constructor(valueType: Type | null | undefined, modifiers?: TypeModifier);
|
|
865
|
+
declare class MapType extends Type$1 {
|
|
866
|
+
valueType: Type$1 | null;
|
|
867
|
+
constructor(valueType: Type$1 | null | undefined, modifiers?: TypeModifier);
|
|
872
868
|
visitType(visitor: TypeVisitor, context: any): any;
|
|
873
869
|
}
|
|
874
|
-
declare class TransplantedType<T> extends Type {
|
|
870
|
+
declare class TransplantedType<T> extends Type$1 {
|
|
875
871
|
readonly type: T;
|
|
876
872
|
constructor(type: T, modifiers?: TypeModifier);
|
|
877
873
|
visitType(visitor: TypeVisitor, context: any): any;
|
|
@@ -924,9 +920,9 @@ declare function areAllEquivalent<T extends {
|
|
|
924
920
|
isEquivalent(other: T): boolean;
|
|
925
921
|
}>(base: T[], other: T[]): boolean;
|
|
926
922
|
declare abstract class Expression {
|
|
927
|
-
type: Type | null;
|
|
928
|
-
sourceSpan: ParseSourceSpan | null;
|
|
929
|
-
constructor(type: Type | null | undefined, sourceSpan?: ParseSourceSpan | null);
|
|
923
|
+
type: Type$1 | null;
|
|
924
|
+
sourceSpan: ParseSourceSpan$1 | null;
|
|
925
|
+
constructor(type: Type$1 | null | undefined, sourceSpan?: ParseSourceSpan$1 | null);
|
|
930
926
|
abstract visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
931
927
|
/**
|
|
932
928
|
* Calculates whether this expression produces the same value as the given expression.
|
|
@@ -938,36 +934,36 @@ declare abstract class Expression {
|
|
|
938
934
|
*/
|
|
939
935
|
abstract isConstant(): boolean;
|
|
940
936
|
abstract clone(): Expression;
|
|
941
|
-
prop(name: string, sourceSpan?: ParseSourceSpan | null): ReadPropExpr;
|
|
942
|
-
key(index: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null): ReadKeyExpr;
|
|
943
|
-
callFn(params: Expression[], sourceSpan?: ParseSourceSpan | null, pure?: boolean): InvokeFunctionExpr;
|
|
944
|
-
instantiate(params: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): InstantiateExpr;
|
|
945
|
-
conditional(trueCase: Expression, falseCase?: Expression | null, sourceSpan?: ParseSourceSpan | null): ConditionalExpr;
|
|
946
|
-
equals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
947
|
-
notEquals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
948
|
-
identical(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
949
|
-
notIdentical(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
950
|
-
minus(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
951
|
-
plus(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
952
|
-
divide(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
953
|
-
multiply(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
954
|
-
modulo(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
955
|
-
power(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
956
|
-
and(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
957
|
-
bitwiseOr(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
958
|
-
bitwiseAnd(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
959
|
-
or(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
960
|
-
lower(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
961
|
-
lowerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
962
|
-
bigger(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
963
|
-
biggerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
964
|
-
isBlank(sourceSpan?: ParseSourceSpan | null): Expression;
|
|
965
|
-
nullishCoalesce(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
|
|
937
|
+
prop(name: string, sourceSpan?: ParseSourceSpan$1 | null): ReadPropExpr;
|
|
938
|
+
key(index: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): ReadKeyExpr;
|
|
939
|
+
callFn(params: Expression[], sourceSpan?: ParseSourceSpan$1 | null, pure?: boolean): InvokeFunctionExpr;
|
|
940
|
+
instantiate(params: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): InstantiateExpr;
|
|
941
|
+
conditional(trueCase: Expression, falseCase?: Expression | null, sourceSpan?: ParseSourceSpan$1 | null): ConditionalExpr;
|
|
942
|
+
equals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
943
|
+
notEquals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
944
|
+
identical(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
945
|
+
notIdentical(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
946
|
+
minus(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
947
|
+
plus(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
948
|
+
divide(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
949
|
+
multiply(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
950
|
+
modulo(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
951
|
+
power(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
952
|
+
and(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
953
|
+
bitwiseOr(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
954
|
+
bitwiseAnd(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
955
|
+
or(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
956
|
+
lower(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
957
|
+
lowerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
958
|
+
bigger(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
959
|
+
biggerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
960
|
+
isBlank(sourceSpan?: ParseSourceSpan$1 | null): Expression;
|
|
961
|
+
nullishCoalesce(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
|
|
966
962
|
toStmt(): Statement;
|
|
967
963
|
}
|
|
968
964
|
declare class ReadVarExpr extends Expression {
|
|
969
965
|
name: string;
|
|
970
|
-
constructor(name: string, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
966
|
+
constructor(name: string, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
971
967
|
isEquivalent(e: Expression): boolean;
|
|
972
968
|
isConstant(): boolean;
|
|
973
969
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -976,7 +972,7 @@ declare class ReadVarExpr extends Expression {
|
|
|
976
972
|
}
|
|
977
973
|
declare class TypeofExpr extends Expression {
|
|
978
974
|
expr: Expression;
|
|
979
|
-
constructor(expr: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
975
|
+
constructor(expr: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
980
976
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
981
977
|
isEquivalent(e: Expression): boolean;
|
|
982
978
|
isConstant(): boolean;
|
|
@@ -984,7 +980,7 @@ declare class TypeofExpr extends Expression {
|
|
|
984
980
|
}
|
|
985
981
|
declare class VoidExpr extends Expression {
|
|
986
982
|
expr: Expression;
|
|
987
|
-
constructor(expr: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
983
|
+
constructor(expr: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
988
984
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
989
985
|
isEquivalent(e: Expression): boolean;
|
|
990
986
|
isConstant(): boolean;
|
|
@@ -992,7 +988,7 @@ declare class VoidExpr extends Expression {
|
|
|
992
988
|
}
|
|
993
989
|
declare class WrappedNodeExpr<T> extends Expression {
|
|
994
990
|
node: T;
|
|
995
|
-
constructor(node: T, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
991
|
+
constructor(node: T, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
996
992
|
isEquivalent(e: Expression): boolean;
|
|
997
993
|
isConstant(): boolean;
|
|
998
994
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1001,19 +997,19 @@ declare class WrappedNodeExpr<T> extends Expression {
|
|
|
1001
997
|
declare class WriteVarExpr extends Expression {
|
|
1002
998
|
name: string;
|
|
1003
999
|
value: Expression;
|
|
1004
|
-
constructor(name: string, value: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1000
|
+
constructor(name: string, value: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1005
1001
|
isEquivalent(e: Expression): boolean;
|
|
1006
1002
|
isConstant(): boolean;
|
|
1007
1003
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
1008
1004
|
clone(): WriteVarExpr;
|
|
1009
|
-
toDeclStmt(type?: Type | null, modifiers?: StmtModifier): DeclareVarStmt;
|
|
1005
|
+
toDeclStmt(type?: Type$1 | null, modifiers?: StmtModifier): DeclareVarStmt;
|
|
1010
1006
|
toConstDecl(): DeclareVarStmt;
|
|
1011
1007
|
}
|
|
1012
1008
|
declare class WriteKeyExpr extends Expression {
|
|
1013
1009
|
receiver: Expression;
|
|
1014
1010
|
index: Expression;
|
|
1015
1011
|
value: Expression;
|
|
1016
|
-
constructor(receiver: Expression, index: Expression, value: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1012
|
+
constructor(receiver: Expression, index: Expression, value: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1017
1013
|
isEquivalent(e: Expression): boolean;
|
|
1018
1014
|
isConstant(): boolean;
|
|
1019
1015
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1023,7 +1019,7 @@ declare class WritePropExpr extends Expression {
|
|
|
1023
1019
|
receiver: Expression;
|
|
1024
1020
|
name: string;
|
|
1025
1021
|
value: Expression;
|
|
1026
|
-
constructor(receiver: Expression, name: string, value: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1022
|
+
constructor(receiver: Expression, name: string, value: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1027
1023
|
isEquivalent(e: Expression): boolean;
|
|
1028
1024
|
isConstant(): boolean;
|
|
1029
1025
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1033,7 +1029,7 @@ declare class InvokeFunctionExpr extends Expression {
|
|
|
1033
1029
|
fn: Expression;
|
|
1034
1030
|
args: Expression[];
|
|
1035
1031
|
pure: boolean;
|
|
1036
|
-
constructor(fn: Expression, args: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, pure?: boolean);
|
|
1032
|
+
constructor(fn: Expression, args: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, pure?: boolean);
|
|
1037
1033
|
get receiver(): Expression;
|
|
1038
1034
|
isEquivalent(e: Expression): boolean;
|
|
1039
1035
|
isConstant(): boolean;
|
|
@@ -1043,7 +1039,7 @@ declare class InvokeFunctionExpr extends Expression {
|
|
|
1043
1039
|
declare class TaggedTemplateLiteralExpr extends Expression {
|
|
1044
1040
|
tag: Expression;
|
|
1045
1041
|
template: TemplateLiteralExpr;
|
|
1046
|
-
constructor(tag: Expression, template: TemplateLiteralExpr, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1042
|
+
constructor(tag: Expression, template: TemplateLiteralExpr, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1047
1043
|
isEquivalent(e: Expression): boolean;
|
|
1048
1044
|
isConstant(): boolean;
|
|
1049
1045
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1052,7 +1048,7 @@ declare class TaggedTemplateLiteralExpr extends Expression {
|
|
|
1052
1048
|
declare class InstantiateExpr extends Expression {
|
|
1053
1049
|
classExpr: Expression;
|
|
1054
1050
|
args: Expression[];
|
|
1055
|
-
constructor(classExpr: Expression, args: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1051
|
+
constructor(classExpr: Expression, args: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1056
1052
|
isEquivalent(e: Expression): boolean;
|
|
1057
1053
|
isConstant(): boolean;
|
|
1058
1054
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1060,7 +1056,7 @@ declare class InstantiateExpr extends Expression {
|
|
|
1060
1056
|
}
|
|
1061
1057
|
declare class LiteralExpr extends Expression {
|
|
1062
1058
|
value: number | string | boolean | null | undefined;
|
|
1063
|
-
constructor(value: number | string | boolean | null | undefined, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1059
|
+
constructor(value: number | string | boolean | null | undefined, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1064
1060
|
isEquivalent(e: Expression): boolean;
|
|
1065
1061
|
isConstant(): boolean;
|
|
1066
1062
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1069,7 +1065,7 @@ declare class LiteralExpr extends Expression {
|
|
|
1069
1065
|
declare class TemplateLiteralExpr extends Expression {
|
|
1070
1066
|
elements: TemplateLiteralElementExpr[];
|
|
1071
1067
|
expressions: Expression[];
|
|
1072
|
-
constructor(elements: TemplateLiteralElementExpr[], expressions: Expression[], sourceSpan?: ParseSourceSpan | null);
|
|
1068
|
+
constructor(elements: TemplateLiteralElementExpr[], expressions: Expression[], sourceSpan?: ParseSourceSpan$1 | null);
|
|
1073
1069
|
isEquivalent(e: Expression): boolean;
|
|
1074
1070
|
isConstant(): boolean;
|
|
1075
1071
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1078,7 +1074,7 @@ declare class TemplateLiteralExpr extends Expression {
|
|
|
1078
1074
|
declare class TemplateLiteralElementExpr extends Expression {
|
|
1079
1075
|
readonly text: string;
|
|
1080
1076
|
readonly rawText: string;
|
|
1081
|
-
constructor(text: string, sourceSpan?: ParseSourceSpan | null, rawText?: string);
|
|
1077
|
+
constructor(text: string, sourceSpan?: ParseSourceSpan$1 | null, rawText?: string);
|
|
1082
1078
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
1083
1079
|
isEquivalent(e: Expression): boolean;
|
|
1084
1080
|
isConstant(): boolean;
|
|
@@ -1086,12 +1082,12 @@ declare class TemplateLiteralElementExpr extends Expression {
|
|
|
1086
1082
|
}
|
|
1087
1083
|
declare class LiteralPiece {
|
|
1088
1084
|
text: string;
|
|
1089
|
-
sourceSpan: ParseSourceSpan;
|
|
1090
|
-
constructor(text: string, sourceSpan: ParseSourceSpan);
|
|
1085
|
+
sourceSpan: ParseSourceSpan$1;
|
|
1086
|
+
constructor(text: string, sourceSpan: ParseSourceSpan$1);
|
|
1091
1087
|
}
|
|
1092
1088
|
declare class PlaceholderPiece {
|
|
1093
1089
|
text: string;
|
|
1094
|
-
sourceSpan: ParseSourceSpan;
|
|
1090
|
+
sourceSpan: ParseSourceSpan$1;
|
|
1095
1091
|
associatedMessage?: Message | undefined;
|
|
1096
1092
|
/**
|
|
1097
1093
|
* Create a new instance of a `PlaceholderPiece`.
|
|
@@ -1102,7 +1098,7 @@ declare class PlaceholderPiece {
|
|
|
1102
1098
|
* The `associatedMessage` is mainly used to provide a relationship to an ICU message that has
|
|
1103
1099
|
* been extracted out from the message containing the placeholder.
|
|
1104
1100
|
*/
|
|
1105
|
-
constructor(text: string, sourceSpan: ParseSourceSpan, associatedMessage?: Message | undefined);
|
|
1101
|
+
constructor(text: string, sourceSpan: ParseSourceSpan$1, associatedMessage?: Message | undefined);
|
|
1106
1102
|
}
|
|
1107
1103
|
type MessagePiece = LiteralPiece | PlaceholderPiece;
|
|
1108
1104
|
declare class LocalizedString extends Expression {
|
|
@@ -1110,7 +1106,7 @@ declare class LocalizedString extends Expression {
|
|
|
1110
1106
|
readonly messageParts: LiteralPiece[];
|
|
1111
1107
|
readonly placeHolderNames: PlaceholderPiece[];
|
|
1112
1108
|
readonly expressions: Expression[];
|
|
1113
|
-
constructor(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeHolderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan | null);
|
|
1109
|
+
constructor(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeHolderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan$1 | null);
|
|
1114
1110
|
isEquivalent(e: Expression): boolean;
|
|
1115
1111
|
isConstant(): boolean;
|
|
1116
1112
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1124,8 +1120,8 @@ declare class LocalizedString extends Expression {
|
|
|
1124
1120
|
* @param messagePart The first part of the tagged string
|
|
1125
1121
|
*/
|
|
1126
1122
|
serializeI18nHead(): CookedRawString;
|
|
1127
|
-
getMessagePartSourceSpan(i: number): ParseSourceSpan | null;
|
|
1128
|
-
getPlaceholderSourceSpan(i: number): ParseSourceSpan;
|
|
1123
|
+
getMessagePartSourceSpan(i: number): ParseSourceSpan$1 | null;
|
|
1124
|
+
getPlaceholderSourceSpan(i: number): ParseSourceSpan$1;
|
|
1129
1125
|
/**
|
|
1130
1126
|
* Serialize the given `placeholderName` and `messagePart` into "cooked" and "raw" strings that
|
|
1131
1127
|
* can be used in a `$localize` tagged string.
|
|
@@ -1146,12 +1142,12 @@ declare class LocalizedString extends Expression {
|
|
|
1146
1142
|
interface CookedRawString {
|
|
1147
1143
|
cooked: string;
|
|
1148
1144
|
raw: string;
|
|
1149
|
-
range: ParseSourceSpan | null;
|
|
1145
|
+
range: ParseSourceSpan$1 | null;
|
|
1150
1146
|
}
|
|
1151
1147
|
declare class ExternalExpr extends Expression {
|
|
1152
1148
|
value: ExternalReference;
|
|
1153
|
-
typeParams: Type[] | null;
|
|
1154
|
-
constructor(value: ExternalReference, type?: Type | null, typeParams?: Type[] | null, sourceSpan?: ParseSourceSpan | null);
|
|
1149
|
+
typeParams: Type$1[] | null;
|
|
1150
|
+
constructor(value: ExternalReference, type?: Type$1 | null, typeParams?: Type$1[] | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1155
1151
|
isEquivalent(e: Expression): boolean;
|
|
1156
1152
|
isConstant(): boolean;
|
|
1157
1153
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1166,7 +1162,7 @@ declare class ConditionalExpr extends Expression {
|
|
|
1166
1162
|
condition: Expression;
|
|
1167
1163
|
falseCase: Expression | null;
|
|
1168
1164
|
trueCase: Expression;
|
|
1169
|
-
constructor(condition: Expression, trueCase: Expression, falseCase?: Expression | null, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1165
|
+
constructor(condition: Expression, trueCase: Expression, falseCase?: Expression | null, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1170
1166
|
isEquivalent(e: Expression): boolean;
|
|
1171
1167
|
isConstant(): boolean;
|
|
1172
1168
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1175,7 +1171,7 @@ declare class ConditionalExpr extends Expression {
|
|
|
1175
1171
|
declare class DynamicImportExpr extends Expression {
|
|
1176
1172
|
url: string | Expression;
|
|
1177
1173
|
urlComment?: string | undefined;
|
|
1178
|
-
constructor(url: string | Expression, sourceSpan?: ParseSourceSpan | null, urlComment?: string | undefined);
|
|
1174
|
+
constructor(url: string | Expression, sourceSpan?: ParseSourceSpan$1 | null, urlComment?: string | undefined);
|
|
1179
1175
|
isEquivalent(e: Expression): boolean;
|
|
1180
1176
|
isConstant(): boolean;
|
|
1181
1177
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1183,7 +1179,7 @@ declare class DynamicImportExpr extends Expression {
|
|
|
1183
1179
|
}
|
|
1184
1180
|
declare class NotExpr extends Expression {
|
|
1185
1181
|
condition: Expression;
|
|
1186
|
-
constructor(condition: Expression, sourceSpan?: ParseSourceSpan | null);
|
|
1182
|
+
constructor(condition: Expression, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1187
1183
|
isEquivalent(e: Expression): boolean;
|
|
1188
1184
|
isConstant(): boolean;
|
|
1189
1185
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1191,8 +1187,8 @@ declare class NotExpr extends Expression {
|
|
|
1191
1187
|
}
|
|
1192
1188
|
declare class FnParam {
|
|
1193
1189
|
name: string;
|
|
1194
|
-
type: Type | null;
|
|
1195
|
-
constructor(name: string, type?: Type | null);
|
|
1190
|
+
type: Type$1 | null;
|
|
1191
|
+
constructor(name: string, type?: Type$1 | null);
|
|
1196
1192
|
isEquivalent(param: FnParam): boolean;
|
|
1197
1193
|
clone(): FnParam;
|
|
1198
1194
|
}
|
|
@@ -1200,7 +1196,7 @@ declare class FunctionExpr extends Expression {
|
|
|
1200
1196
|
params: FnParam[];
|
|
1201
1197
|
statements: Statement[];
|
|
1202
1198
|
name?: string | null | undefined;
|
|
1203
|
-
constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null | undefined);
|
|
1199
|
+
constructor(params: FnParam[], statements: Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, name?: string | null | undefined);
|
|
1204
1200
|
isEquivalent(e: Expression | Statement): boolean;
|
|
1205
1201
|
isConstant(): boolean;
|
|
1206
1202
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1210,7 +1206,7 @@ declare class FunctionExpr extends Expression {
|
|
|
1210
1206
|
declare class ArrowFunctionExpr extends Expression {
|
|
1211
1207
|
params: FnParam[];
|
|
1212
1208
|
body: Expression | Statement[];
|
|
1213
|
-
constructor(params: FnParam[], body: Expression | Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1209
|
+
constructor(params: FnParam[], body: Expression | Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1214
1210
|
isEquivalent(e: Expression): boolean;
|
|
1215
1211
|
isConstant(): boolean;
|
|
1216
1212
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1221,7 +1217,7 @@ declare class UnaryOperatorExpr extends Expression {
|
|
|
1221
1217
|
operator: UnaryOperator;
|
|
1222
1218
|
expr: Expression;
|
|
1223
1219
|
parens: boolean;
|
|
1224
|
-
constructor(operator: UnaryOperator, expr: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null, parens?: boolean);
|
|
1220
|
+
constructor(operator: UnaryOperator, expr: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, parens?: boolean);
|
|
1225
1221
|
isEquivalent(e: Expression): boolean;
|
|
1226
1222
|
isConstant(): boolean;
|
|
1227
1223
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1229,7 +1225,7 @@ declare class UnaryOperatorExpr extends Expression {
|
|
|
1229
1225
|
}
|
|
1230
1226
|
declare class ParenthesizedExpr extends Expression {
|
|
1231
1227
|
expr: Expression;
|
|
1232
|
-
constructor(expr: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1228
|
+
constructor(expr: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1233
1229
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
1234
1230
|
isEquivalent(e: Expression): boolean;
|
|
1235
1231
|
isConstant(): boolean;
|
|
@@ -1239,7 +1235,7 @@ declare class BinaryOperatorExpr extends Expression {
|
|
|
1239
1235
|
operator: BinaryOperator;
|
|
1240
1236
|
rhs: Expression;
|
|
1241
1237
|
lhs: Expression;
|
|
1242
|
-
constructor(operator: BinaryOperator, lhs: Expression, rhs: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1238
|
+
constructor(operator: BinaryOperator, lhs: Expression, rhs: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1243
1239
|
isEquivalent(e: Expression): boolean;
|
|
1244
1240
|
isConstant(): boolean;
|
|
1245
1241
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1248,7 +1244,7 @@ declare class BinaryOperatorExpr extends Expression {
|
|
|
1248
1244
|
declare class ReadPropExpr extends Expression {
|
|
1249
1245
|
receiver: Expression;
|
|
1250
1246
|
name: string;
|
|
1251
|
-
constructor(receiver: Expression, name: string, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1247
|
+
constructor(receiver: Expression, name: string, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1252
1248
|
get index(): string;
|
|
1253
1249
|
isEquivalent(e: Expression): boolean;
|
|
1254
1250
|
isConstant(): boolean;
|
|
@@ -1259,7 +1255,7 @@ declare class ReadPropExpr extends Expression {
|
|
|
1259
1255
|
declare class ReadKeyExpr extends Expression {
|
|
1260
1256
|
receiver: Expression;
|
|
1261
1257
|
index: Expression;
|
|
1262
|
-
constructor(receiver: Expression, index: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1258
|
+
constructor(receiver: Expression, index: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1263
1259
|
isEquivalent(e: Expression): boolean;
|
|
1264
1260
|
isConstant(): boolean;
|
|
1265
1261
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1268,7 +1264,7 @@ declare class ReadKeyExpr extends Expression {
|
|
|
1268
1264
|
}
|
|
1269
1265
|
declare class LiteralArrayExpr extends Expression {
|
|
1270
1266
|
entries: Expression[];
|
|
1271
|
-
constructor(entries: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null);
|
|
1267
|
+
constructor(entries: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1272
1268
|
isConstant(): boolean;
|
|
1273
1269
|
isEquivalent(e: Expression): boolean;
|
|
1274
1270
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1284,8 +1280,8 @@ declare class LiteralMapEntry {
|
|
|
1284
1280
|
}
|
|
1285
1281
|
declare class LiteralMapExpr extends Expression {
|
|
1286
1282
|
entries: LiteralMapEntry[];
|
|
1287
|
-
valueType: Type | null;
|
|
1288
|
-
constructor(entries: LiteralMapEntry[], type?: MapType | null, sourceSpan?: ParseSourceSpan | null);
|
|
1283
|
+
valueType: Type$1 | null;
|
|
1284
|
+
constructor(entries: LiteralMapEntry[], type?: MapType | null, sourceSpan?: ParseSourceSpan$1 | null);
|
|
1289
1285
|
isEquivalent(e: Expression): boolean;
|
|
1290
1286
|
isConstant(): boolean;
|
|
1291
1287
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1293,7 +1289,7 @@ declare class LiteralMapExpr extends Expression {
|
|
|
1293
1289
|
}
|
|
1294
1290
|
declare class CommaExpr extends Expression {
|
|
1295
1291
|
parts: Expression[];
|
|
1296
|
-
constructor(parts: Expression[], sourceSpan?: ParseSourceSpan | null);
|
|
1292
|
+
constructor(parts: Expression[], sourceSpan?: ParseSourceSpan$1 | null);
|
|
1297
1293
|
isEquivalent(e: Expression): boolean;
|
|
1298
1294
|
isConstant(): boolean;
|
|
1299
1295
|
visitExpression(visitor: ExpressionVisitor, context: any): any;
|
|
@@ -1352,9 +1348,9 @@ declare class JSDocComment extends LeadingComment {
|
|
|
1352
1348
|
}
|
|
1353
1349
|
declare abstract class Statement {
|
|
1354
1350
|
modifiers: StmtModifier;
|
|
1355
|
-
sourceSpan: ParseSourceSpan | null;
|
|
1351
|
+
sourceSpan: ParseSourceSpan$1 | null;
|
|
1356
1352
|
leadingComments?: LeadingComment[] | undefined;
|
|
1357
|
-
constructor(modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[] | undefined);
|
|
1353
|
+
constructor(modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[] | undefined);
|
|
1358
1354
|
/**
|
|
1359
1355
|
* Calculates whether this statement produces the same value as the given statement.
|
|
1360
1356
|
* Note: We don't check Types nor ParseSourceSpans nor function arguments.
|
|
@@ -1367,8 +1363,8 @@ declare abstract class Statement {
|
|
|
1367
1363
|
declare class DeclareVarStmt extends Statement {
|
|
1368
1364
|
name: string;
|
|
1369
1365
|
value?: Expression | undefined;
|
|
1370
|
-
type: Type | null;
|
|
1371
|
-
constructor(name: string, value?: Expression | undefined, type?: Type | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
|
|
1366
|
+
type: Type$1 | null;
|
|
1367
|
+
constructor(name: string, value?: Expression | undefined, type?: Type$1 | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
|
|
1372
1368
|
isEquivalent(stmt: Statement): boolean;
|
|
1373
1369
|
visitStatement(visitor: StatementVisitor, context: any): any;
|
|
1374
1370
|
}
|
|
@@ -1376,20 +1372,20 @@ declare class DeclareFunctionStmt extends Statement {
|
|
|
1376
1372
|
name: string;
|
|
1377
1373
|
params: FnParam[];
|
|
1378
1374
|
statements: Statement[];
|
|
1379
|
-
type: Type | null;
|
|
1380
|
-
constructor(name: string, params: FnParam[], statements: Statement[], type?: Type | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
|
|
1375
|
+
type: Type$1 | null;
|
|
1376
|
+
constructor(name: string, params: FnParam[], statements: Statement[], type?: Type$1 | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
|
|
1381
1377
|
isEquivalent(stmt: Statement): boolean;
|
|
1382
1378
|
visitStatement(visitor: StatementVisitor, context: any): any;
|
|
1383
1379
|
}
|
|
1384
1380
|
declare class ExpressionStatement extends Statement {
|
|
1385
1381
|
expr: Expression;
|
|
1386
|
-
constructor(expr: Expression, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
|
|
1382
|
+
constructor(expr: Expression, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
|
|
1387
1383
|
isEquivalent(stmt: Statement): boolean;
|
|
1388
1384
|
visitStatement(visitor: StatementVisitor, context: any): any;
|
|
1389
1385
|
}
|
|
1390
1386
|
declare class ReturnStatement extends Statement {
|
|
1391
1387
|
value: Expression;
|
|
1392
|
-
constructor(value: Expression, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
|
|
1388
|
+
constructor(value: Expression, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
|
|
1393
1389
|
isEquivalent(stmt: Statement): boolean;
|
|
1394
1390
|
visitStatement(visitor: StatementVisitor, context: any): any;
|
|
1395
1391
|
}
|
|
@@ -1397,7 +1393,7 @@ declare class IfStmt extends Statement {
|
|
|
1397
1393
|
condition: Expression;
|
|
1398
1394
|
trueCase: Statement[];
|
|
1399
1395
|
falseCase: Statement[];
|
|
1400
|
-
constructor(condition: Expression, trueCase: Statement[], falseCase?: Statement[], sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
|
|
1396
|
+
constructor(condition: Expression, trueCase: Statement[], falseCase?: Statement[], sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
|
|
1401
1397
|
isEquivalent(stmt: Statement): boolean;
|
|
1402
1398
|
visitStatement(visitor: StatementVisitor, context: any): any;
|
|
1403
1399
|
}
|
|
@@ -1409,7 +1405,7 @@ interface StatementVisitor {
|
|
|
1409
1405
|
visitIfStmt(stmt: IfStmt, context: any): any;
|
|
1410
1406
|
}
|
|
1411
1407
|
declare class RecursiveAstVisitor$1 implements StatementVisitor, ExpressionVisitor {
|
|
1412
|
-
visitType(ast: Type, context: any): any;
|
|
1408
|
+
visitType(ast: Type$1, context: any): any;
|
|
1413
1409
|
visitExpression(ast: Expression, context: any): any;
|
|
1414
1410
|
visitBuiltinType(type: BuiltinType, context: any): any;
|
|
1415
1411
|
visitExpressionType(type: ExpressionType, context: any): any;
|
|
@@ -1454,26 +1450,26 @@ declare class RecursiveAstVisitor$1 implements StatementVisitor, ExpressionVisit
|
|
|
1454
1450
|
}
|
|
1455
1451
|
declare function leadingComment(text: string, multiline?: boolean, trailingNewline?: boolean): LeadingComment;
|
|
1456
1452
|
declare function jsDocComment(tags?: JSDocTag[]): JSDocComment;
|
|
1457
|
-
declare function variable(name: string, type?: Type | null, sourceSpan?: ParseSourceSpan | null): ReadVarExpr;
|
|
1458
|
-
declare function importExpr(id: ExternalReference, typeParams?: Type[] | null, sourceSpan?: ParseSourceSpan | null): ExternalExpr;
|
|
1459
|
-
declare function importType(id: ExternalReference, typeParams?: Type[] | null, typeModifiers?: TypeModifier): ExpressionType | null;
|
|
1460
|
-
declare function expressionType(expr: Expression, typeModifiers?: TypeModifier, typeParams?: Type[] | null): ExpressionType;
|
|
1453
|
+
declare function variable(name: string, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): ReadVarExpr;
|
|
1454
|
+
declare function importExpr(id: ExternalReference, typeParams?: Type$1[] | null, sourceSpan?: ParseSourceSpan$1 | null): ExternalExpr;
|
|
1455
|
+
declare function importType(id: ExternalReference, typeParams?: Type$1[] | null, typeModifiers?: TypeModifier): ExpressionType | null;
|
|
1456
|
+
declare function expressionType(expr: Expression, typeModifiers?: TypeModifier, typeParams?: Type$1[] | null): ExpressionType;
|
|
1461
1457
|
declare function transplantedType<T>(type: T, typeModifiers?: TypeModifier): TransplantedType<T>;
|
|
1462
1458
|
declare function typeofExpr(expr: Expression): TypeofExpr;
|
|
1463
|
-
declare function literalArr(values: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): LiteralArrayExpr;
|
|
1459
|
+
declare function literalArr(values: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): LiteralArrayExpr;
|
|
1464
1460
|
declare function literalMap(values: {
|
|
1465
1461
|
key: string;
|
|
1466
1462
|
quoted: boolean;
|
|
1467
1463
|
value: Expression;
|
|
1468
1464
|
}[], type?: MapType | null): LiteralMapExpr;
|
|
1469
|
-
declare function unary(operator: UnaryOperator, expr: Expression, type?: Type, sourceSpan?: ParseSourceSpan | null): UnaryOperatorExpr;
|
|
1470
|
-
declare function not(expr: Expression, sourceSpan?: ParseSourceSpan | null): NotExpr;
|
|
1471
|
-
declare function fn(params: FnParam[], body: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null): FunctionExpr;
|
|
1472
|
-
declare function arrowFn(params: FnParam[], body: Expression | Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): ArrowFunctionExpr;
|
|
1473
|
-
declare function ifStmt(condition: Expression, thenClause: Statement[], elseClause?: Statement[], sourceSpan?: ParseSourceSpan, leadingComments?: LeadingComment[]): IfStmt;
|
|
1474
|
-
declare function taggedTemplate(tag: Expression, template: TemplateLiteralExpr, type?: Type | null, sourceSpan?: ParseSourceSpan | null): TaggedTemplateLiteralExpr;
|
|
1475
|
-
declare function literal(value: any, type?: Type | null, sourceSpan?: ParseSourceSpan | null): LiteralExpr;
|
|
1476
|
-
declare function localizedString(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeholderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan | null): LocalizedString;
|
|
1465
|
+
declare function unary(operator: UnaryOperator, expr: Expression, type?: Type$1, sourceSpan?: ParseSourceSpan$1 | null): UnaryOperatorExpr;
|
|
1466
|
+
declare function not(expr: Expression, sourceSpan?: ParseSourceSpan$1 | null): NotExpr;
|
|
1467
|
+
declare function fn(params: FnParam[], body: Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, name?: string | null): FunctionExpr;
|
|
1468
|
+
declare function arrowFn(params: FnParam[], body: Expression | Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): ArrowFunctionExpr;
|
|
1469
|
+
declare function ifStmt(condition: Expression, thenClause: Statement[], elseClause?: Statement[], sourceSpan?: ParseSourceSpan$1, leadingComments?: LeadingComment[]): IfStmt;
|
|
1470
|
+
declare function taggedTemplate(tag: Expression, template: TemplateLiteralExpr, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): TaggedTemplateLiteralExpr;
|
|
1471
|
+
declare function literal(value: any, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): LiteralExpr;
|
|
1472
|
+
declare function localizedString(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeholderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan$1 | null): LocalizedString;
|
|
1477
1473
|
declare function isNull(exp: Expression): boolean;
|
|
1478
1474
|
declare const enum JSDocTagName {
|
|
1479
1475
|
Desc = "desc",
|
|
@@ -1592,8 +1588,6 @@ type output_ast_d_TemplateLiteralExpr = TemplateLiteralExpr;
|
|
|
1592
1588
|
declare const output_ast_d_TemplateLiteralExpr: typeof TemplateLiteralExpr;
|
|
1593
1589
|
type output_ast_d_TransplantedType<T> = TransplantedType<T>;
|
|
1594
1590
|
declare const output_ast_d_TransplantedType: typeof TransplantedType;
|
|
1595
|
-
type output_ast_d_Type = Type;
|
|
1596
|
-
declare const output_ast_d_Type: typeof Type;
|
|
1597
1591
|
type output_ast_d_TypeModifier = TypeModifier;
|
|
1598
1592
|
declare const output_ast_d_TypeModifier: typeof TypeModifier;
|
|
1599
1593
|
type output_ast_d_TypeVisitor = TypeVisitor;
|
|
@@ -1635,16 +1629,20 @@ declare const output_ast_d_typeofExpr: typeof typeofExpr;
|
|
|
1635
1629
|
declare const output_ast_d_unary: typeof unary;
|
|
1636
1630
|
declare const output_ast_d_variable: typeof variable;
|
|
1637
1631
|
declare namespace output_ast_d {
|
|
1638
|
-
export { output_ast_d_ArrayType as ArrayType, output_ast_d_ArrowFunctionExpr as ArrowFunctionExpr, output_ast_d_BOOL_TYPE as BOOL_TYPE, output_ast_d_BinaryOperator as BinaryOperator, output_ast_d_BinaryOperatorExpr as BinaryOperatorExpr, output_ast_d_BuiltinType as BuiltinType, output_ast_d_BuiltinTypeName as BuiltinTypeName, output_ast_d_CommaExpr as CommaExpr, output_ast_d_ConditionalExpr as ConditionalExpr, output_ast_d_DYNAMIC_TYPE as DYNAMIC_TYPE, output_ast_d_DeclareFunctionStmt as DeclareFunctionStmt, output_ast_d_DeclareVarStmt as DeclareVarStmt, output_ast_d_DynamicImportExpr as DynamicImportExpr, output_ast_d_Expression as Expression, output_ast_d_ExpressionStatement as ExpressionStatement, output_ast_d_ExpressionType as ExpressionType, output_ast_d_ExternalExpr as ExternalExpr, output_ast_d_ExternalReference as ExternalReference, output_ast_d_FUNCTION_TYPE as FUNCTION_TYPE, output_ast_d_FnParam as FnParam, output_ast_d_FunctionExpr as FunctionExpr, output_ast_d_INFERRED_TYPE as INFERRED_TYPE, output_ast_d_INT_TYPE as INT_TYPE, output_ast_d_IfStmt as IfStmt, output_ast_d_InstantiateExpr as InstantiateExpr, output_ast_d_InvokeFunctionExpr as InvokeFunctionExpr, output_ast_d_JSDocComment as JSDocComment, output_ast_d_JSDocTagName as JSDocTagName, output_ast_d_LeadingComment as LeadingComment, output_ast_d_LiteralArrayExpr as LiteralArrayExpr, output_ast_d_LiteralExpr as LiteralExpr, output_ast_d_LiteralMapEntry as LiteralMapEntry, output_ast_d_LiteralMapExpr as LiteralMapExpr, output_ast_d_LiteralPiece as LiteralPiece, output_ast_d_LocalizedString as LocalizedString, output_ast_d_MapType as MapType, output_ast_d_NONE_TYPE as NONE_TYPE, output_ast_d_NULL_EXPR as NULL_EXPR, output_ast_d_NUMBER_TYPE as NUMBER_TYPE, output_ast_d_NotExpr as NotExpr, output_ast_d_ParenthesizedExpr as ParenthesizedExpr, output_ast_d_PlaceholderPiece as PlaceholderPiece, output_ast_d_ReadKeyExpr as ReadKeyExpr, output_ast_d_ReadPropExpr as ReadPropExpr, output_ast_d_ReadVarExpr as ReadVarExpr, RecursiveAstVisitor$1 as RecursiveAstVisitor, output_ast_d_ReturnStatement as ReturnStatement, output_ast_d_STRING_TYPE as STRING_TYPE, output_ast_d_Statement as Statement, output_ast_d_StmtModifier as StmtModifier, output_ast_d_TYPED_NULL_EXPR as TYPED_NULL_EXPR, output_ast_d_TaggedTemplateLiteralExpr as TaggedTemplateLiteralExpr, output_ast_d_TemplateLiteralElementExpr as TemplateLiteralElementExpr, output_ast_d_TemplateLiteralExpr as TemplateLiteralExpr, output_ast_d_TransplantedType as TransplantedType,
|
|
1632
|
+
export { output_ast_d_ArrayType as ArrayType, output_ast_d_ArrowFunctionExpr as ArrowFunctionExpr, output_ast_d_BOOL_TYPE as BOOL_TYPE, output_ast_d_BinaryOperator as BinaryOperator, output_ast_d_BinaryOperatorExpr as BinaryOperatorExpr, output_ast_d_BuiltinType as BuiltinType, output_ast_d_BuiltinTypeName as BuiltinTypeName, output_ast_d_CommaExpr as CommaExpr, output_ast_d_ConditionalExpr as ConditionalExpr, output_ast_d_DYNAMIC_TYPE as DYNAMIC_TYPE, output_ast_d_DeclareFunctionStmt as DeclareFunctionStmt, output_ast_d_DeclareVarStmt as DeclareVarStmt, output_ast_d_DynamicImportExpr as DynamicImportExpr, output_ast_d_Expression as Expression, output_ast_d_ExpressionStatement as ExpressionStatement, output_ast_d_ExpressionType as ExpressionType, output_ast_d_ExternalExpr as ExternalExpr, output_ast_d_ExternalReference as ExternalReference, output_ast_d_FUNCTION_TYPE as FUNCTION_TYPE, output_ast_d_FnParam as FnParam, output_ast_d_FunctionExpr as FunctionExpr, output_ast_d_INFERRED_TYPE as INFERRED_TYPE, output_ast_d_INT_TYPE as INT_TYPE, output_ast_d_IfStmt as IfStmt, output_ast_d_InstantiateExpr as InstantiateExpr, output_ast_d_InvokeFunctionExpr as InvokeFunctionExpr, output_ast_d_JSDocComment as JSDocComment, output_ast_d_JSDocTagName as JSDocTagName, output_ast_d_LeadingComment as LeadingComment, output_ast_d_LiteralArrayExpr as LiteralArrayExpr, output_ast_d_LiteralExpr as LiteralExpr, output_ast_d_LiteralMapEntry as LiteralMapEntry, output_ast_d_LiteralMapExpr as LiteralMapExpr, output_ast_d_LiteralPiece as LiteralPiece, output_ast_d_LocalizedString as LocalizedString, output_ast_d_MapType as MapType, output_ast_d_NONE_TYPE as NONE_TYPE, output_ast_d_NULL_EXPR as NULL_EXPR, output_ast_d_NUMBER_TYPE as NUMBER_TYPE, output_ast_d_NotExpr as NotExpr, output_ast_d_ParenthesizedExpr as ParenthesizedExpr, output_ast_d_PlaceholderPiece as PlaceholderPiece, output_ast_d_ReadKeyExpr as ReadKeyExpr, output_ast_d_ReadPropExpr as ReadPropExpr, output_ast_d_ReadVarExpr as ReadVarExpr, RecursiveAstVisitor$1 as RecursiveAstVisitor, output_ast_d_ReturnStatement as ReturnStatement, output_ast_d_STRING_TYPE as STRING_TYPE, output_ast_d_Statement as Statement, output_ast_d_StmtModifier as StmtModifier, output_ast_d_TYPED_NULL_EXPR as TYPED_NULL_EXPR, output_ast_d_TaggedTemplateLiteralExpr as TaggedTemplateLiteralExpr, output_ast_d_TemplateLiteralElementExpr as TemplateLiteralElementExpr, output_ast_d_TemplateLiteralExpr as TemplateLiteralExpr, output_ast_d_TransplantedType as TransplantedType, Type$1 as Type, output_ast_d_TypeModifier as TypeModifier, output_ast_d_TypeofExpr as TypeofExpr, output_ast_d_UnaryOperator as UnaryOperator, output_ast_d_UnaryOperatorExpr as UnaryOperatorExpr, output_ast_d_VoidExpr as VoidExpr, output_ast_d_WrappedNodeExpr as WrappedNodeExpr, output_ast_d_WriteKeyExpr as WriteKeyExpr, output_ast_d_WritePropExpr as WritePropExpr, output_ast_d_WriteVarExpr as WriteVarExpr, output_ast_d_areAllEquivalent as areAllEquivalent, output_ast_d_arrowFn as arrowFn, output_ast_d_expressionType as expressionType, output_ast_d_fn as fn, output_ast_d_ifStmt as ifStmt, output_ast_d_importExpr as importExpr, output_ast_d_importType as importType, output_ast_d_isNull as isNull, output_ast_d_jsDocComment as jsDocComment, output_ast_d_leadingComment as leadingComment, output_ast_d_literal as literal, output_ast_d_literalArr as literalArr, output_ast_d_literalMap as literalMap, output_ast_d_localizedString as localizedString, output_ast_d_not as not, output_ast_d_nullSafeIsEquivalent as nullSafeIsEquivalent, output_ast_d_taggedTemplate as taggedTemplate, output_ast_d_transplantedType as transplantedType, output_ast_d_typeofExpr as typeofExpr, output_ast_d_unary as unary, output_ast_d_variable as variable };
|
|
1639
1633
|
export type { output_ast_d_CookedRawString as CookedRawString, output_ast_d_ExpressionVisitor as ExpressionVisitor, output_ast_d_JSDocTag as JSDocTag, output_ast_d_MessagePiece as MessagePiece, output_ast_d_StatementVisitor as StatementVisitor, output_ast_d_TypeVisitor as TypeVisitor };
|
|
1640
1634
|
}
|
|
1641
1635
|
|
|
1636
|
+
declare function SECURITY_SCHEMA(): {
|
|
1637
|
+
[k: string]: SecurityContext;
|
|
1638
|
+
};
|
|
1639
|
+
|
|
1642
1640
|
declare class CompilerConfig {
|
|
1643
|
-
defaultEncapsulation: ViewEncapsulation | null;
|
|
1641
|
+
defaultEncapsulation: ViewEncapsulation$1 | null;
|
|
1644
1642
|
preserveWhitespaces: boolean;
|
|
1645
1643
|
strictInjectionParameters: boolean;
|
|
1646
1644
|
constructor({ defaultEncapsulation, preserveWhitespaces, strictInjectionParameters, }?: {
|
|
1647
|
-
defaultEncapsulation?: ViewEncapsulation;
|
|
1645
|
+
defaultEncapsulation?: ViewEncapsulation$1;
|
|
1648
1646
|
preserveWhitespaces?: boolean;
|
|
1649
1647
|
strictInjectionParameters?: boolean;
|
|
1650
1648
|
});
|
|
@@ -2069,12 +2067,12 @@ declare class ParsedProperty {
|
|
|
2069
2067
|
name: string;
|
|
2070
2068
|
expression: ASTWithSource;
|
|
2071
2069
|
type: ParsedPropertyType;
|
|
2072
|
-
sourceSpan: ParseSourceSpan;
|
|
2073
|
-
readonly keySpan: ParseSourceSpan;
|
|
2074
|
-
valueSpan: ParseSourceSpan | undefined;
|
|
2070
|
+
sourceSpan: ParseSourceSpan$1;
|
|
2071
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
2072
|
+
valueSpan: ParseSourceSpan$1 | undefined;
|
|
2075
2073
|
readonly isLiteral: boolean;
|
|
2076
2074
|
readonly isAnimation: boolean;
|
|
2077
|
-
constructor(name: string, expression: ASTWithSource, type: ParsedPropertyType, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined);
|
|
2075
|
+
constructor(name: string, expression: ASTWithSource, type: ParsedPropertyType, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined);
|
|
2078
2076
|
}
|
|
2079
2077
|
declare enum ParsedPropertyType {
|
|
2080
2078
|
DEFAULT = 0,
|
|
@@ -2092,11 +2090,11 @@ declare class ParsedEvent {
|
|
|
2092
2090
|
targetOrPhase: string | null;
|
|
2093
2091
|
type: ParsedEventType;
|
|
2094
2092
|
handler: ASTWithSource;
|
|
2095
|
-
sourceSpan: ParseSourceSpan;
|
|
2096
|
-
handlerSpan: ParseSourceSpan;
|
|
2097
|
-
readonly keySpan: ParseSourceSpan;
|
|
2098
|
-
constructor(name: string, targetOrPhase: string | null, type: ParsedEventType.TwoWay, handler: ASTWithSource<NonNullAssert | PropertyRead | KeyedRead>, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, keySpan: ParseSourceSpan);
|
|
2099
|
-
constructor(name: string, targetOrPhase: string | null, type: ParsedEventType, handler: ASTWithSource, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, keySpan: ParseSourceSpan);
|
|
2093
|
+
sourceSpan: ParseSourceSpan$1;
|
|
2094
|
+
handlerSpan: ParseSourceSpan$1;
|
|
2095
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
2096
|
+
constructor(name: string, targetOrPhase: string | null, type: ParsedEventType.TwoWay, handler: ASTWithSource<NonNullAssert | PropertyRead | KeyedRead>, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1);
|
|
2097
|
+
constructor(name: string, targetOrPhase: string | null, type: ParsedEventType, handler: ASTWithSource, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1);
|
|
2100
2098
|
}
|
|
2101
2099
|
/**
|
|
2102
2100
|
* ParsedVariable represents a variable declaration in a microsyntax expression.
|
|
@@ -2104,10 +2102,10 @@ declare class ParsedEvent {
|
|
|
2104
2102
|
declare class ParsedVariable {
|
|
2105
2103
|
readonly name: string;
|
|
2106
2104
|
readonly value: string;
|
|
2107
|
-
readonly sourceSpan: ParseSourceSpan;
|
|
2108
|
-
readonly keySpan: ParseSourceSpan;
|
|
2109
|
-
readonly valueSpan?: ParseSourceSpan | undefined;
|
|
2110
|
-
constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan?: ParseSourceSpan | undefined);
|
|
2105
|
+
readonly sourceSpan: ParseSourceSpan$1;
|
|
2106
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
2107
|
+
readonly valueSpan?: ParseSourceSpan$1 | undefined;
|
|
2108
|
+
constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan?: ParseSourceSpan$1 | undefined);
|
|
2111
2109
|
}
|
|
2112
2110
|
declare enum BindingType {
|
|
2113
2111
|
Property = 0,
|
|
@@ -2123,10 +2121,10 @@ declare class BoundElementProperty {
|
|
|
2123
2121
|
securityContext: SecurityContext;
|
|
2124
2122
|
value: ASTWithSource;
|
|
2125
2123
|
unit: string | null;
|
|
2126
|
-
sourceSpan: ParseSourceSpan;
|
|
2127
|
-
readonly keySpan: ParseSourceSpan | undefined;
|
|
2128
|
-
valueSpan: ParseSourceSpan | undefined;
|
|
2129
|
-
constructor(name: string, type: BindingType, securityContext: SecurityContext, value: ASTWithSource, unit: string | null, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan | undefined, valueSpan: ParseSourceSpan | undefined);
|
|
2124
|
+
sourceSpan: ParseSourceSpan$1;
|
|
2125
|
+
readonly keySpan: ParseSourceSpan$1 | undefined;
|
|
2126
|
+
valueSpan: ParseSourceSpan$1 | undefined;
|
|
2127
|
+
constructor(name: string, type: BindingType, securityContext: SecurityContext, value: ASTWithSource, unit: string | null, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1 | undefined, valueSpan: ParseSourceSpan$1 | undefined);
|
|
2130
2128
|
}
|
|
2131
2129
|
|
|
2132
2130
|
declare enum TokenType {
|
|
@@ -2289,6 +2287,7 @@ declare class HtmlParser extends Parser$1 {
|
|
|
2289
2287
|
parse(source: string, url: string, options?: TokenizeOptions): ParseTreeResult;
|
|
2290
2288
|
}
|
|
2291
2289
|
|
|
2290
|
+
declare function escapeRegExp(s: string): string;
|
|
2292
2291
|
declare class Version {
|
|
2293
2292
|
full: string;
|
|
2294
2293
|
readonly major: string;
|
|
@@ -2395,6 +2394,301 @@ declare class Xtb extends Serializer {
|
|
|
2395
2394
|
createNameMapper(message: Message): PlaceholderMapper;
|
|
2396
2395
|
}
|
|
2397
2396
|
|
|
2397
|
+
interface CompilerFacade {
|
|
2398
|
+
compilePipe(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3PipeMetadataFacade): any;
|
|
2399
|
+
compilePipeDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclarePipeFacade): any;
|
|
2400
|
+
compileInjectable(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3InjectableMetadataFacade): any;
|
|
2401
|
+
compileInjectableDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareInjectableFacade): any;
|
|
2402
|
+
compileInjector(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3InjectorMetadataFacade): any;
|
|
2403
|
+
compileInjectorDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareInjectorFacade): any;
|
|
2404
|
+
compileNgModule(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3NgModuleMetadataFacade): any;
|
|
2405
|
+
compileNgModuleDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareNgModuleFacade): any;
|
|
2406
|
+
compileDirective(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DirectiveMetadataFacade): any;
|
|
2407
|
+
compileDirectiveDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareDirectiveFacade): any;
|
|
2408
|
+
compileComponent(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3ComponentMetadataFacade): any;
|
|
2409
|
+
compileComponentDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareComponentFacade): any;
|
|
2410
|
+
compileFactory(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3FactoryDefMetadataFacade): any;
|
|
2411
|
+
compileFactoryDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareFactoryFacade): any;
|
|
2412
|
+
createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan;
|
|
2413
|
+
FactoryTarget: typeof FactoryTarget;
|
|
2414
|
+
ResourceLoader: Function & {
|
|
2415
|
+
prototype: ResourceLoader$1;
|
|
2416
|
+
};
|
|
2417
|
+
}
|
|
2418
|
+
interface CoreEnvironment {
|
|
2419
|
+
[name: string]: unknown;
|
|
2420
|
+
}
|
|
2421
|
+
type ResourceLoader$1 = {
|
|
2422
|
+
get(url: string): Promise<string> | string;
|
|
2423
|
+
};
|
|
2424
|
+
type Provider = unknown;
|
|
2425
|
+
type Type = Function;
|
|
2426
|
+
type OpaqueValue = unknown;
|
|
2427
|
+
declare enum FactoryTarget {
|
|
2428
|
+
Directive = 0,
|
|
2429
|
+
Component = 1,
|
|
2430
|
+
Injectable = 2,
|
|
2431
|
+
Pipe = 3,
|
|
2432
|
+
NgModule = 4
|
|
2433
|
+
}
|
|
2434
|
+
interface R3DependencyMetadataFacade {
|
|
2435
|
+
token: OpaqueValue;
|
|
2436
|
+
attribute: string | null;
|
|
2437
|
+
host: boolean;
|
|
2438
|
+
optional: boolean;
|
|
2439
|
+
self: boolean;
|
|
2440
|
+
skipSelf: boolean;
|
|
2441
|
+
}
|
|
2442
|
+
interface R3DeclareDependencyMetadataFacade {
|
|
2443
|
+
token: OpaqueValue;
|
|
2444
|
+
attribute?: boolean;
|
|
2445
|
+
host?: boolean;
|
|
2446
|
+
optional?: boolean;
|
|
2447
|
+
self?: boolean;
|
|
2448
|
+
skipSelf?: boolean;
|
|
2449
|
+
}
|
|
2450
|
+
interface R3PipeMetadataFacade {
|
|
2451
|
+
name: string;
|
|
2452
|
+
type: Type;
|
|
2453
|
+
pipeName: string;
|
|
2454
|
+
pure: boolean;
|
|
2455
|
+
isStandalone: boolean;
|
|
2456
|
+
}
|
|
2457
|
+
interface R3InjectableMetadataFacade {
|
|
2458
|
+
name: string;
|
|
2459
|
+
type: Type;
|
|
2460
|
+
typeArgumentCount: number;
|
|
2461
|
+
providedIn?: Type | 'root' | 'platform' | 'any' | null;
|
|
2462
|
+
useClass?: OpaqueValue;
|
|
2463
|
+
useFactory?: OpaqueValue;
|
|
2464
|
+
useExisting?: OpaqueValue;
|
|
2465
|
+
useValue?: OpaqueValue;
|
|
2466
|
+
deps?: R3DependencyMetadataFacade[];
|
|
2467
|
+
}
|
|
2468
|
+
interface R3NgModuleMetadataFacade {
|
|
2469
|
+
type: Type;
|
|
2470
|
+
bootstrap: Function[];
|
|
2471
|
+
declarations: Function[];
|
|
2472
|
+
imports: Function[];
|
|
2473
|
+
exports: Function[];
|
|
2474
|
+
schemas: {
|
|
2475
|
+
name: string;
|
|
2476
|
+
}[] | null;
|
|
2477
|
+
id: string | null;
|
|
2478
|
+
}
|
|
2479
|
+
interface R3InjectorMetadataFacade {
|
|
2480
|
+
name: string;
|
|
2481
|
+
type: Type;
|
|
2482
|
+
providers: Provider[];
|
|
2483
|
+
imports: OpaqueValue[];
|
|
2484
|
+
}
|
|
2485
|
+
interface R3HostDirectiveMetadataFacade {
|
|
2486
|
+
directive: Type;
|
|
2487
|
+
inputs?: string[];
|
|
2488
|
+
outputs?: string[];
|
|
2489
|
+
}
|
|
2490
|
+
interface R3DirectiveMetadataFacade {
|
|
2491
|
+
name: string;
|
|
2492
|
+
type: Type;
|
|
2493
|
+
typeSourceSpan: ParseSourceSpan;
|
|
2494
|
+
selector: string | null;
|
|
2495
|
+
queries: R3QueryMetadataFacade[];
|
|
2496
|
+
host: {
|
|
2497
|
+
[key: string]: string;
|
|
2498
|
+
};
|
|
2499
|
+
propMetadata: {
|
|
2500
|
+
[key: string]: OpaqueValue[];
|
|
2501
|
+
};
|
|
2502
|
+
lifecycle: {
|
|
2503
|
+
usesOnChanges: boolean;
|
|
2504
|
+
};
|
|
2505
|
+
inputs: (string | {
|
|
2506
|
+
name: string;
|
|
2507
|
+
alias?: string;
|
|
2508
|
+
required?: boolean;
|
|
2509
|
+
})[];
|
|
2510
|
+
outputs: string[];
|
|
2511
|
+
usesInheritance: boolean;
|
|
2512
|
+
exportAs: string[] | null;
|
|
2513
|
+
providers: Provider[] | null;
|
|
2514
|
+
viewQueries: R3QueryMetadataFacade[];
|
|
2515
|
+
isStandalone: boolean;
|
|
2516
|
+
hostDirectives: R3HostDirectiveMetadataFacade[] | null;
|
|
2517
|
+
isSignal: boolean;
|
|
2518
|
+
}
|
|
2519
|
+
interface R3ComponentMetadataFacade extends R3DirectiveMetadataFacade {
|
|
2520
|
+
template: string;
|
|
2521
|
+
preserveWhitespaces: boolean;
|
|
2522
|
+
animations: OpaqueValue[] | undefined;
|
|
2523
|
+
declarations: R3TemplateDependencyFacade[];
|
|
2524
|
+
styles: string[];
|
|
2525
|
+
encapsulation: ViewEncapsulation;
|
|
2526
|
+
viewProviders: Provider[] | null;
|
|
2527
|
+
interpolation?: [string, string];
|
|
2528
|
+
changeDetection?: ChangeDetectionStrategy;
|
|
2529
|
+
}
|
|
2530
|
+
type LegacyInputPartialMapping$1 = string | [bindingPropertyName: string, classPropertyName: string, transformFunction?: Function];
|
|
2531
|
+
interface R3DeclareDirectiveFacade {
|
|
2532
|
+
selector?: string;
|
|
2533
|
+
type: Type;
|
|
2534
|
+
version: string;
|
|
2535
|
+
inputs?: {
|
|
2536
|
+
[fieldName: string]: {
|
|
2537
|
+
classPropertyName: string;
|
|
2538
|
+
publicName: string;
|
|
2539
|
+
isSignal: boolean;
|
|
2540
|
+
isRequired: boolean;
|
|
2541
|
+
transformFunction: Function | null;
|
|
2542
|
+
} | LegacyInputPartialMapping$1;
|
|
2543
|
+
};
|
|
2544
|
+
outputs?: {
|
|
2545
|
+
[classPropertyName: string]: string;
|
|
2546
|
+
};
|
|
2547
|
+
host?: {
|
|
2548
|
+
attributes?: {
|
|
2549
|
+
[key: string]: OpaqueValue;
|
|
2550
|
+
};
|
|
2551
|
+
listeners?: {
|
|
2552
|
+
[key: string]: string;
|
|
2553
|
+
};
|
|
2554
|
+
properties?: {
|
|
2555
|
+
[key: string]: string;
|
|
2556
|
+
};
|
|
2557
|
+
classAttribute?: string;
|
|
2558
|
+
styleAttribute?: string;
|
|
2559
|
+
};
|
|
2560
|
+
queries?: R3DeclareQueryMetadataFacade[];
|
|
2561
|
+
viewQueries?: R3DeclareQueryMetadataFacade[];
|
|
2562
|
+
providers?: OpaqueValue;
|
|
2563
|
+
exportAs?: string[];
|
|
2564
|
+
usesInheritance?: boolean;
|
|
2565
|
+
usesOnChanges?: boolean;
|
|
2566
|
+
isStandalone?: boolean;
|
|
2567
|
+
isSignal?: boolean;
|
|
2568
|
+
hostDirectives?: R3HostDirectiveMetadataFacade[] | null;
|
|
2569
|
+
}
|
|
2570
|
+
interface R3DeclareComponentFacade extends R3DeclareDirectiveFacade {
|
|
2571
|
+
template: string;
|
|
2572
|
+
isInline?: boolean;
|
|
2573
|
+
styles?: string[];
|
|
2574
|
+
dependencies?: R3DeclareTemplateDependencyFacade[];
|
|
2575
|
+
components?: R3DeclareDirectiveDependencyFacade[];
|
|
2576
|
+
directives?: R3DeclareDirectiveDependencyFacade[];
|
|
2577
|
+
pipes?: {
|
|
2578
|
+
[pipeName: string]: OpaqueValue | (() => OpaqueValue);
|
|
2579
|
+
};
|
|
2580
|
+
deferBlockDependencies?: (() => Promise<Type> | null)[];
|
|
2581
|
+
viewProviders?: OpaqueValue;
|
|
2582
|
+
animations?: OpaqueValue;
|
|
2583
|
+
changeDetection?: ChangeDetectionStrategy;
|
|
2584
|
+
encapsulation?: ViewEncapsulation;
|
|
2585
|
+
interpolation?: [string, string];
|
|
2586
|
+
preserveWhitespaces?: boolean;
|
|
2587
|
+
}
|
|
2588
|
+
type R3DeclareTemplateDependencyFacade = {
|
|
2589
|
+
kind: string;
|
|
2590
|
+
} & (R3DeclareDirectiveDependencyFacade | R3DeclarePipeDependencyFacade | R3DeclareNgModuleDependencyFacade);
|
|
2591
|
+
interface R3DeclareDirectiveDependencyFacade {
|
|
2592
|
+
kind?: 'directive' | 'component';
|
|
2593
|
+
selector: string;
|
|
2594
|
+
type: OpaqueValue | (() => OpaqueValue);
|
|
2595
|
+
inputs?: string[];
|
|
2596
|
+
outputs?: string[];
|
|
2597
|
+
exportAs?: string[];
|
|
2598
|
+
}
|
|
2599
|
+
interface R3DeclarePipeDependencyFacade {
|
|
2600
|
+
kind?: 'pipe';
|
|
2601
|
+
name: string;
|
|
2602
|
+
type: OpaqueValue | (() => OpaqueValue);
|
|
2603
|
+
}
|
|
2604
|
+
interface R3DeclareNgModuleDependencyFacade {
|
|
2605
|
+
kind: 'ngmodule';
|
|
2606
|
+
type: OpaqueValue | (() => OpaqueValue);
|
|
2607
|
+
}
|
|
2608
|
+
declare enum R3TemplateDependencyKind$1 {
|
|
2609
|
+
Directive = 0,
|
|
2610
|
+
Pipe = 1,
|
|
2611
|
+
NgModule = 2
|
|
2612
|
+
}
|
|
2613
|
+
interface R3TemplateDependencyFacade {
|
|
2614
|
+
kind: R3TemplateDependencyKind$1;
|
|
2615
|
+
type: OpaqueValue | (() => OpaqueValue);
|
|
2616
|
+
}
|
|
2617
|
+
interface R3FactoryDefMetadataFacade {
|
|
2618
|
+
name: string;
|
|
2619
|
+
type: Type;
|
|
2620
|
+
typeArgumentCount: number;
|
|
2621
|
+
deps: R3DependencyMetadataFacade[] | null;
|
|
2622
|
+
target: FactoryTarget;
|
|
2623
|
+
}
|
|
2624
|
+
interface R3DeclareFactoryFacade {
|
|
2625
|
+
type: Type;
|
|
2626
|
+
deps: R3DeclareDependencyMetadataFacade[] | 'invalid' | null;
|
|
2627
|
+
target: FactoryTarget;
|
|
2628
|
+
}
|
|
2629
|
+
interface R3DeclareInjectableFacade {
|
|
2630
|
+
type: Type;
|
|
2631
|
+
providedIn?: Type | 'root' | 'platform' | 'any' | null;
|
|
2632
|
+
useClass?: OpaqueValue;
|
|
2633
|
+
useFactory?: OpaqueValue;
|
|
2634
|
+
useExisting?: OpaqueValue;
|
|
2635
|
+
useValue?: OpaqueValue;
|
|
2636
|
+
deps?: R3DeclareDependencyMetadataFacade[];
|
|
2637
|
+
}
|
|
2638
|
+
declare enum ViewEncapsulation {
|
|
2639
|
+
Emulated = 0,
|
|
2640
|
+
None = 2,
|
|
2641
|
+
ShadowDom = 3
|
|
2642
|
+
}
|
|
2643
|
+
type ChangeDetectionStrategy = number;
|
|
2644
|
+
interface R3QueryMetadataFacade {
|
|
2645
|
+
propertyName: string;
|
|
2646
|
+
first: boolean;
|
|
2647
|
+
predicate: OpaqueValue | string[];
|
|
2648
|
+
descendants: boolean;
|
|
2649
|
+
emitDistinctChangesOnly: boolean;
|
|
2650
|
+
read: OpaqueValue | null;
|
|
2651
|
+
static: boolean;
|
|
2652
|
+
isSignal: boolean;
|
|
2653
|
+
}
|
|
2654
|
+
interface R3DeclareQueryMetadataFacade {
|
|
2655
|
+
propertyName: string;
|
|
2656
|
+
first?: boolean;
|
|
2657
|
+
predicate: OpaqueValue | string[];
|
|
2658
|
+
descendants?: boolean;
|
|
2659
|
+
read?: OpaqueValue;
|
|
2660
|
+
static?: boolean;
|
|
2661
|
+
emitDistinctChangesOnly?: boolean;
|
|
2662
|
+
isSignal?: boolean;
|
|
2663
|
+
}
|
|
2664
|
+
interface R3DeclareInjectorFacade {
|
|
2665
|
+
type: Type;
|
|
2666
|
+
imports?: OpaqueValue[];
|
|
2667
|
+
providers?: OpaqueValue[];
|
|
2668
|
+
}
|
|
2669
|
+
interface R3DeclareNgModuleFacade {
|
|
2670
|
+
type: Type;
|
|
2671
|
+
bootstrap?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
2672
|
+
declarations?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
2673
|
+
imports?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
2674
|
+
exports?: OpaqueValue[] | (() => OpaqueValue[]);
|
|
2675
|
+
schemas?: OpaqueValue[];
|
|
2676
|
+
id?: OpaqueValue;
|
|
2677
|
+
}
|
|
2678
|
+
interface R3DeclarePipeFacade {
|
|
2679
|
+
type: Type;
|
|
2680
|
+
version: string;
|
|
2681
|
+
name: string;
|
|
2682
|
+
pure?: boolean;
|
|
2683
|
+
isStandalone?: boolean;
|
|
2684
|
+
}
|
|
2685
|
+
interface ParseSourceSpan {
|
|
2686
|
+
start: any;
|
|
2687
|
+
end: any;
|
|
2688
|
+
details: any;
|
|
2689
|
+
fullStart: any;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2398
2692
|
interface R3Reference {
|
|
2399
2693
|
value: Expression;
|
|
2400
2694
|
type: Expression;
|
|
@@ -2404,7 +2698,7 @@ interface R3Reference {
|
|
|
2404
2698
|
*/
|
|
2405
2699
|
interface R3CompiledExpression {
|
|
2406
2700
|
expression: Expression;
|
|
2407
|
-
type: Type;
|
|
2701
|
+
type: Type$1;
|
|
2408
2702
|
statements: Statement[];
|
|
2409
2703
|
}
|
|
2410
2704
|
declare function getSafePropertyAccessString(accessor: string, name: string): string;
|
|
@@ -2480,7 +2774,7 @@ interface R3ConstructorFactoryMetadata {
|
|
|
2480
2774
|
/**
|
|
2481
2775
|
* Type of the target being created by the factory.
|
|
2482
2776
|
*/
|
|
2483
|
-
target: FactoryTarget
|
|
2777
|
+
target: FactoryTarget;
|
|
2484
2778
|
}
|
|
2485
2779
|
declare enum R3FactoryDelegateType {
|
|
2486
2780
|
Class = 0,
|
|
@@ -2495,13 +2789,6 @@ interface R3ExpressionFactoryMetadata extends R3ConstructorFactoryMetadata {
|
|
|
2495
2789
|
expression: Expression;
|
|
2496
2790
|
}
|
|
2497
2791
|
type R3FactoryMetadata = R3ConstructorFactoryMetadata | R3DelegatedFnOrClassMetadata | R3ExpressionFactoryMetadata;
|
|
2498
|
-
declare enum FactoryTarget$1 {
|
|
2499
|
-
Directive = 0,
|
|
2500
|
-
Component = 1,
|
|
2501
|
-
Injectable = 2,
|
|
2502
|
-
Pipe = 3,
|
|
2503
|
-
NgModule = 4
|
|
2504
|
-
}
|
|
2505
2792
|
interface R3DependencyMetadata {
|
|
2506
2793
|
/**
|
|
2507
2794
|
* An expression representing the token or value to be injected.
|
|
@@ -2578,19 +2865,19 @@ declare class EmitterVisitorContext {
|
|
|
2578
2865
|
private _lines;
|
|
2579
2866
|
constructor(_indent: number);
|
|
2580
2867
|
println(from?: {
|
|
2581
|
-
sourceSpan: ParseSourceSpan | null;
|
|
2868
|
+
sourceSpan: ParseSourceSpan$1 | null;
|
|
2582
2869
|
} | null, lastPart?: string): void;
|
|
2583
2870
|
lineIsEmpty(): boolean;
|
|
2584
2871
|
lineLength(): number;
|
|
2585
2872
|
print(from: {
|
|
2586
|
-
sourceSpan: ParseSourceSpan | null;
|
|
2873
|
+
sourceSpan: ParseSourceSpan$1 | null;
|
|
2587
2874
|
} | null, part: string, newLine?: boolean): void;
|
|
2588
2875
|
removeEmptyLastLine(): void;
|
|
2589
2876
|
incIndent(): void;
|
|
2590
2877
|
decIndent(): void;
|
|
2591
2878
|
toSource(): string;
|
|
2592
2879
|
toSourceMapGenerator(genFilePath: string, startsAtLine?: number): SourceMapGenerator;
|
|
2593
|
-
spanOf(line: number, column: number): ParseSourceSpan | null;
|
|
2880
|
+
spanOf(line: number, column: number): ParseSourceSpan$1 | null;
|
|
2594
2881
|
}
|
|
2595
2882
|
|
|
2596
2883
|
interface ExternalReferenceResolver {
|
|
@@ -2649,6 +2936,40 @@ declare abstract class ResourceLoader {
|
|
|
2649
2936
|
abstract get(url: string): Promise<string> | string;
|
|
2650
2937
|
}
|
|
2651
2938
|
|
|
2939
|
+
declare class CompilerFacadeImpl implements CompilerFacade {
|
|
2940
|
+
private jitEvaluator;
|
|
2941
|
+
FactoryTarget: typeof FactoryTarget;
|
|
2942
|
+
ResourceLoader: typeof ResourceLoader;
|
|
2943
|
+
private elementSchemaRegistry;
|
|
2944
|
+
constructor(jitEvaluator?: JitEvaluator);
|
|
2945
|
+
compilePipe(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3PipeMetadataFacade): any;
|
|
2946
|
+
compilePipeDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclarePipeFacade): any;
|
|
2947
|
+
compileInjectable(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3InjectableMetadataFacade): any;
|
|
2948
|
+
compileInjectableDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3DeclareInjectableFacade): any;
|
|
2949
|
+
compileInjector(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3InjectorMetadataFacade): any;
|
|
2950
|
+
compileInjectorDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareInjectorFacade): any;
|
|
2951
|
+
compileNgModule(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3NgModuleMetadataFacade): any;
|
|
2952
|
+
compileNgModuleDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareNgModuleFacade): any;
|
|
2953
|
+
compileDirective(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3DirectiveMetadataFacade): any;
|
|
2954
|
+
compileDirectiveDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareDirectiveFacade): any;
|
|
2955
|
+
private compileDirectiveFromMeta;
|
|
2956
|
+
compileComponent(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3ComponentMetadataFacade): any;
|
|
2957
|
+
compileComponentDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareComponentFacade): any;
|
|
2958
|
+
private compileComponentFromMeta;
|
|
2959
|
+
compileFactory(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3FactoryDefMetadataFacade): any;
|
|
2960
|
+
compileFactoryDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareFactoryFacade): any;
|
|
2961
|
+
createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan$1;
|
|
2962
|
+
/**
|
|
2963
|
+
* JIT compiles an expression and returns the result of executing that expression.
|
|
2964
|
+
*
|
|
2965
|
+
* @param def the definition which will be compiled and executed to get the value to patch
|
|
2966
|
+
* @param context an object map of @angular/core symbol names to symbols which will be available
|
|
2967
|
+
* in the context of the compiled expression
|
|
2968
|
+
* @param sourceUrl a URL to use for the source map of the compiled expression
|
|
2969
|
+
* @param preStatements a collection of statements that should be evaluated before the expression.
|
|
2970
|
+
*/
|
|
2971
|
+
private jitExpression;
|
|
2972
|
+
}
|
|
2652
2973
|
declare function publishFacade(global: any): void;
|
|
2653
2974
|
|
|
2654
2975
|
declare class HtmlTagDefinition implements TagDefinition {
|
|
@@ -2866,12 +3187,12 @@ interface R3DeclareComponentMetadata extends R3DeclareDirectiveMetadata {
|
|
|
2866
3187
|
* Strategy used for detecting changes in the component.
|
|
2867
3188
|
* Defaults to `ChangeDetectionStrategy.Default`.
|
|
2868
3189
|
*/
|
|
2869
|
-
changeDetection?: ChangeDetectionStrategy;
|
|
3190
|
+
changeDetection?: ChangeDetectionStrategy$1;
|
|
2870
3191
|
/**
|
|
2871
3192
|
* An encapsulation policy for the component's styling.
|
|
2872
3193
|
* Defaults to `ViewEncapsulation.Emulated`.
|
|
2873
3194
|
*/
|
|
2874
|
-
encapsulation?: ViewEncapsulation;
|
|
3195
|
+
encapsulation?: ViewEncapsulation$1;
|
|
2875
3196
|
/**
|
|
2876
3197
|
* Overrides the default interpolation start and end delimiters. Defaults to {{ and }}.
|
|
2877
3198
|
*/
|
|
@@ -3051,13 +3372,6 @@ interface R3DeclareFactoryMetadata extends R3PartialDeclaration {
|
|
|
3051
3372
|
*/
|
|
3052
3373
|
target: FactoryTarget;
|
|
3053
3374
|
}
|
|
3054
|
-
declare enum FactoryTarget {
|
|
3055
|
-
Directive = 0,
|
|
3056
|
-
Component = 1,
|
|
3057
|
-
Injectable = 2,
|
|
3058
|
-
Pipe = 3,
|
|
3059
|
-
NgModule = 4
|
|
3060
|
-
}
|
|
3061
3375
|
/**
|
|
3062
3376
|
* Describes the shape of the object that the `ɵɵngDeclareInjectable()` function accepts.
|
|
3063
3377
|
*
|
|
@@ -3185,7 +3499,7 @@ interface R3DeclareHostDirectiveMetadata {
|
|
|
3185
3499
|
}
|
|
3186
3500
|
|
|
3187
3501
|
interface Node {
|
|
3188
|
-
sourceSpan: ParseSourceSpan;
|
|
3502
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3189
3503
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3190
3504
|
}
|
|
3191
3505
|
/**
|
|
@@ -3196,21 +3510,21 @@ interface Node {
|
|
|
3196
3510
|
*/
|
|
3197
3511
|
declare class Comment implements Node {
|
|
3198
3512
|
value: string;
|
|
3199
|
-
sourceSpan: ParseSourceSpan;
|
|
3200
|
-
constructor(value: string, sourceSpan: ParseSourceSpan);
|
|
3513
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3514
|
+
constructor(value: string, sourceSpan: ParseSourceSpan$1);
|
|
3201
3515
|
visit<Result>(_visitor: Visitor<Result>): Result;
|
|
3202
3516
|
}
|
|
3203
3517
|
declare class Text implements Node {
|
|
3204
3518
|
value: string;
|
|
3205
|
-
sourceSpan: ParseSourceSpan;
|
|
3206
|
-
constructor(value: string, sourceSpan: ParseSourceSpan);
|
|
3519
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3520
|
+
constructor(value: string, sourceSpan: ParseSourceSpan$1);
|
|
3207
3521
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3208
3522
|
}
|
|
3209
3523
|
declare class BoundText implements Node {
|
|
3210
3524
|
value: AST;
|
|
3211
|
-
sourceSpan: ParseSourceSpan;
|
|
3525
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3212
3526
|
i18n?: I18nMeta$1 | undefined;
|
|
3213
|
-
constructor(value: AST, sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3527
|
+
constructor(value: AST, sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
3214
3528
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3215
3529
|
}
|
|
3216
3530
|
/**
|
|
@@ -3222,11 +3536,11 @@ declare class BoundText implements Node {
|
|
|
3222
3536
|
declare class TextAttribute implements Node {
|
|
3223
3537
|
name: string;
|
|
3224
3538
|
value: string;
|
|
3225
|
-
sourceSpan: ParseSourceSpan;
|
|
3226
|
-
readonly keySpan: ParseSourceSpan | undefined;
|
|
3227
|
-
valueSpan?: ParseSourceSpan | undefined;
|
|
3539
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3540
|
+
readonly keySpan: ParseSourceSpan$1 | undefined;
|
|
3541
|
+
valueSpan?: ParseSourceSpan$1 | undefined;
|
|
3228
3542
|
i18n?: I18nMeta$1 | undefined;
|
|
3229
|
-
constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan | undefined, valueSpan?: ParseSourceSpan | undefined, i18n?: I18nMeta$1 | undefined);
|
|
3543
|
+
constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1 | undefined, valueSpan?: ParseSourceSpan$1 | undefined, i18n?: I18nMeta$1 | undefined);
|
|
3230
3544
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3231
3545
|
}
|
|
3232
3546
|
declare class BoundAttribute implements Node {
|
|
@@ -3235,11 +3549,11 @@ declare class BoundAttribute implements Node {
|
|
|
3235
3549
|
securityContext: SecurityContext;
|
|
3236
3550
|
value: AST;
|
|
3237
3551
|
unit: string | null;
|
|
3238
|
-
sourceSpan: ParseSourceSpan;
|
|
3239
|
-
readonly keySpan: ParseSourceSpan;
|
|
3240
|
-
valueSpan: ParseSourceSpan | undefined;
|
|
3552
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3553
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
3554
|
+
valueSpan: ParseSourceSpan$1 | undefined;
|
|
3241
3555
|
i18n: I18nMeta$1 | undefined;
|
|
3242
|
-
constructor(name: string, type: BindingType, securityContext: SecurityContext, value: AST, unit: string | null, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined, i18n: I18nMeta$1 | undefined);
|
|
3556
|
+
constructor(name: string, type: BindingType, securityContext: SecurityContext, value: AST, unit: string | null, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined, i18n: I18nMeta$1 | undefined);
|
|
3243
3557
|
static fromBoundElementProperty(prop: BoundElementProperty, i18n?: I18nMeta$1): BoundAttribute;
|
|
3244
3558
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3245
3559
|
}
|
|
@@ -3249,10 +3563,10 @@ declare class BoundEvent implements Node {
|
|
|
3249
3563
|
handler: AST;
|
|
3250
3564
|
target: string | null;
|
|
3251
3565
|
phase: string | null;
|
|
3252
|
-
sourceSpan: ParseSourceSpan;
|
|
3253
|
-
handlerSpan: ParseSourceSpan;
|
|
3254
|
-
readonly keySpan: ParseSourceSpan;
|
|
3255
|
-
constructor(name: string, type: ParsedEventType, handler: AST, target: string | null, phase: string | null, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, keySpan: ParseSourceSpan);
|
|
3566
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3567
|
+
handlerSpan: ParseSourceSpan$1;
|
|
3568
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
3569
|
+
constructor(name: string, type: ParsedEventType, handler: AST, target: string | null, phase: string | null, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1);
|
|
3256
3570
|
static fromParsedEvent(event: ParsedEvent): BoundEvent;
|
|
3257
3571
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3258
3572
|
}
|
|
@@ -3264,25 +3578,25 @@ declare class Element implements Node {
|
|
|
3264
3578
|
directives: Directive[];
|
|
3265
3579
|
children: Node[];
|
|
3266
3580
|
references: Reference[];
|
|
3267
|
-
sourceSpan: ParseSourceSpan;
|
|
3268
|
-
startSourceSpan: ParseSourceSpan;
|
|
3269
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
3581
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3582
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
3583
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3270
3584
|
i18n?: I18nMeta$1 | undefined;
|
|
3271
|
-
constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], children: Node[], references: Reference[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3585
|
+
constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], children: Node[], references: Reference[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3272
3586
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3273
3587
|
}
|
|
3274
3588
|
declare abstract class DeferredTrigger implements Node {
|
|
3275
|
-
nameSpan: ParseSourceSpan | null;
|
|
3276
|
-
sourceSpan: ParseSourceSpan;
|
|
3277
|
-
prefetchSpan: ParseSourceSpan | null;
|
|
3278
|
-
whenOrOnSourceSpan: ParseSourceSpan | null;
|
|
3279
|
-
hydrateSpan: ParseSourceSpan | null;
|
|
3280
|
-
constructor(nameSpan: ParseSourceSpan | null, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, whenOrOnSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
|
|
3589
|
+
nameSpan: ParseSourceSpan$1 | null;
|
|
3590
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3591
|
+
prefetchSpan: ParseSourceSpan$1 | null;
|
|
3592
|
+
whenOrOnSourceSpan: ParseSourceSpan$1 | null;
|
|
3593
|
+
hydrateSpan: ParseSourceSpan$1 | null;
|
|
3594
|
+
constructor(nameSpan: ParseSourceSpan$1 | null, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, whenOrOnSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
|
|
3281
3595
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3282
3596
|
}
|
|
3283
3597
|
declare class BoundDeferredTrigger extends DeferredTrigger {
|
|
3284
3598
|
value: AST;
|
|
3285
|
-
constructor(value: AST, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, whenSourceSpan: ParseSourceSpan, hydrateSpan: ParseSourceSpan | null);
|
|
3599
|
+
constructor(value: AST, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, whenSourceSpan: ParseSourceSpan$1, hydrateSpan: ParseSourceSpan$1 | null);
|
|
3286
3600
|
}
|
|
3287
3601
|
declare class NeverDeferredTrigger extends DeferredTrigger {
|
|
3288
3602
|
}
|
|
@@ -3292,32 +3606,32 @@ declare class ImmediateDeferredTrigger extends DeferredTrigger {
|
|
|
3292
3606
|
}
|
|
3293
3607
|
declare class HoverDeferredTrigger extends DeferredTrigger {
|
|
3294
3608
|
reference: string | null;
|
|
3295
|
-
constructor(reference: string | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
|
|
3609
|
+
constructor(reference: string | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
|
|
3296
3610
|
}
|
|
3297
3611
|
declare class TimerDeferredTrigger extends DeferredTrigger {
|
|
3298
3612
|
delay: number;
|
|
3299
|
-
constructor(delay: number, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
|
|
3613
|
+
constructor(delay: number, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
|
|
3300
3614
|
}
|
|
3301
3615
|
declare class InteractionDeferredTrigger extends DeferredTrigger {
|
|
3302
3616
|
reference: string | null;
|
|
3303
|
-
constructor(reference: string | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
|
|
3617
|
+
constructor(reference: string | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
|
|
3304
3618
|
}
|
|
3305
3619
|
declare class ViewportDeferredTrigger extends DeferredTrigger {
|
|
3306
3620
|
reference: string | null;
|
|
3307
|
-
constructor(reference: string | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
|
|
3621
|
+
constructor(reference: string | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
|
|
3308
3622
|
}
|
|
3309
3623
|
declare class BlockNode {
|
|
3310
|
-
nameSpan: ParseSourceSpan;
|
|
3311
|
-
sourceSpan: ParseSourceSpan;
|
|
3312
|
-
startSourceSpan: ParseSourceSpan;
|
|
3313
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
3314
|
-
constructor(nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null);
|
|
3624
|
+
nameSpan: ParseSourceSpan$1;
|
|
3625
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3626
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
3627
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3628
|
+
constructor(nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null);
|
|
3315
3629
|
}
|
|
3316
3630
|
declare class DeferredBlockPlaceholder extends BlockNode implements Node {
|
|
3317
3631
|
children: Node[];
|
|
3318
3632
|
minimumTime: number | null;
|
|
3319
3633
|
i18n?: I18nMeta$1 | undefined;
|
|
3320
|
-
constructor(children: Node[], minimumTime: number | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3634
|
+
constructor(children: Node[], minimumTime: number | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3321
3635
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3322
3636
|
}
|
|
3323
3637
|
declare class DeferredBlockLoading extends BlockNode implements Node {
|
|
@@ -3325,13 +3639,13 @@ declare class DeferredBlockLoading extends BlockNode implements Node {
|
|
|
3325
3639
|
afterTime: number | null;
|
|
3326
3640
|
minimumTime: number | null;
|
|
3327
3641
|
i18n?: I18nMeta$1 | undefined;
|
|
3328
|
-
constructor(children: Node[], afterTime: number | null, minimumTime: number | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3642
|
+
constructor(children: Node[], afterTime: number | null, minimumTime: number | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3329
3643
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3330
3644
|
}
|
|
3331
3645
|
declare class DeferredBlockError extends BlockNode implements Node {
|
|
3332
3646
|
children: Node[];
|
|
3333
3647
|
i18n?: I18nMeta$1 | undefined;
|
|
3334
|
-
constructor(children: Node[], nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3648
|
+
constructor(children: Node[], nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3335
3649
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3336
3650
|
}
|
|
3337
3651
|
interface DeferredBlockTriggers {
|
|
@@ -3349,7 +3663,7 @@ declare class DeferredBlock extends BlockNode implements Node {
|
|
|
3349
3663
|
placeholder: DeferredBlockPlaceholder | null;
|
|
3350
3664
|
loading: DeferredBlockLoading | null;
|
|
3351
3665
|
error: DeferredBlockError | null;
|
|
3352
|
-
mainBlockSpan: ParseSourceSpan;
|
|
3666
|
+
mainBlockSpan: ParseSourceSpan$1;
|
|
3353
3667
|
i18n?: I18nMeta$1 | undefined;
|
|
3354
3668
|
readonly triggers: Readonly<DeferredBlockTriggers>;
|
|
3355
3669
|
readonly prefetchTriggers: Readonly<DeferredBlockTriggers>;
|
|
@@ -3357,7 +3671,7 @@ declare class DeferredBlock extends BlockNode implements Node {
|
|
|
3357
3671
|
private readonly definedTriggers;
|
|
3358
3672
|
private readonly definedPrefetchTriggers;
|
|
3359
3673
|
private readonly definedHydrateTriggers;
|
|
3360
|
-
constructor(children: Node[], triggers: DeferredBlockTriggers, prefetchTriggers: DeferredBlockTriggers, hydrateTriggers: DeferredBlockTriggers, placeholder: DeferredBlockPlaceholder | null, loading: DeferredBlockLoading | null, error: DeferredBlockError | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, mainBlockSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3674
|
+
constructor(children: Node[], triggers: DeferredBlockTriggers, prefetchTriggers: DeferredBlockTriggers, hydrateTriggers: DeferredBlockTriggers, placeholder: DeferredBlockPlaceholder | null, loading: DeferredBlockLoading | null, error: DeferredBlockError | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, mainBlockSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3361
3675
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3362
3676
|
visitAll(visitor: Visitor<unknown>): void;
|
|
3363
3677
|
private visitTriggers;
|
|
@@ -3375,38 +3689,38 @@ declare class SwitchBlock extends BlockNode implements Node {
|
|
|
3375
3689
|
* These blocks are only captured to allow for autocompletion in the language service. They
|
|
3376
3690
|
* aren't meant to be processed in any other way.
|
|
3377
3691
|
*/
|
|
3378
|
-
unknownBlocks: UnknownBlock[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan);
|
|
3692
|
+
unknownBlocks: UnknownBlock[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1);
|
|
3379
3693
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3380
3694
|
}
|
|
3381
3695
|
declare class SwitchBlockCase extends BlockNode implements Node {
|
|
3382
3696
|
expression: AST | null;
|
|
3383
3697
|
children: Node[];
|
|
3384
3698
|
i18n?: I18nMeta$1 | undefined;
|
|
3385
|
-
constructor(expression: AST | null, children: Node[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3699
|
+
constructor(expression: AST | null, children: Node[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
3386
3700
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3387
3701
|
}
|
|
3388
3702
|
declare class ForLoopBlock extends BlockNode implements Node {
|
|
3389
3703
|
item: Variable;
|
|
3390
3704
|
expression: ASTWithSource;
|
|
3391
3705
|
trackBy: ASTWithSource;
|
|
3392
|
-
trackKeywordSpan: ParseSourceSpan;
|
|
3706
|
+
trackKeywordSpan: ParseSourceSpan$1;
|
|
3393
3707
|
contextVariables: Variable[];
|
|
3394
3708
|
children: Node[];
|
|
3395
3709
|
empty: ForLoopBlockEmpty | null;
|
|
3396
|
-
mainBlockSpan: ParseSourceSpan;
|
|
3710
|
+
mainBlockSpan: ParseSourceSpan$1;
|
|
3397
3711
|
i18n?: I18nMeta$1 | undefined;
|
|
3398
|
-
constructor(item: Variable, expression: ASTWithSource, trackBy: ASTWithSource, trackKeywordSpan: ParseSourceSpan, contextVariables: Variable[], children: Node[], empty: ForLoopBlockEmpty | null, sourceSpan: ParseSourceSpan, mainBlockSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3712
|
+
constructor(item: Variable, expression: ASTWithSource, trackBy: ASTWithSource, trackKeywordSpan: ParseSourceSpan$1, contextVariables: Variable[], children: Node[], empty: ForLoopBlockEmpty | null, sourceSpan: ParseSourceSpan$1, mainBlockSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
3399
3713
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3400
3714
|
}
|
|
3401
3715
|
declare class ForLoopBlockEmpty extends BlockNode implements Node {
|
|
3402
3716
|
children: Node[];
|
|
3403
3717
|
i18n?: I18nMeta$1 | undefined;
|
|
3404
|
-
constructor(children: Node[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3718
|
+
constructor(children: Node[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
3405
3719
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3406
3720
|
}
|
|
3407
3721
|
declare class IfBlock extends BlockNode implements Node {
|
|
3408
3722
|
branches: IfBlockBranch[];
|
|
3409
|
-
constructor(branches: IfBlockBranch[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan);
|
|
3723
|
+
constructor(branches: IfBlockBranch[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1);
|
|
3410
3724
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3411
3725
|
}
|
|
3412
3726
|
declare class IfBlockBranch extends BlockNode implements Node {
|
|
@@ -3414,23 +3728,23 @@ declare class IfBlockBranch extends BlockNode implements Node {
|
|
|
3414
3728
|
children: Node[];
|
|
3415
3729
|
expressionAlias: Variable | null;
|
|
3416
3730
|
i18n?: I18nMeta$1 | undefined;
|
|
3417
|
-
constructor(expression: AST | null, children: Node[], expressionAlias: Variable | null, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3731
|
+
constructor(expression: AST | null, children: Node[], expressionAlias: Variable | null, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
3418
3732
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3419
3733
|
}
|
|
3420
3734
|
declare class UnknownBlock implements Node {
|
|
3421
3735
|
name: string;
|
|
3422
|
-
sourceSpan: ParseSourceSpan;
|
|
3423
|
-
nameSpan: ParseSourceSpan;
|
|
3424
|
-
constructor(name: string, sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan);
|
|
3736
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3737
|
+
nameSpan: ParseSourceSpan$1;
|
|
3738
|
+
constructor(name: string, sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1);
|
|
3425
3739
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3426
3740
|
}
|
|
3427
3741
|
declare class LetDeclaration implements Node {
|
|
3428
3742
|
name: string;
|
|
3429
3743
|
value: AST;
|
|
3430
|
-
sourceSpan: ParseSourceSpan;
|
|
3431
|
-
nameSpan: ParseSourceSpan;
|
|
3432
|
-
valueSpan: ParseSourceSpan;
|
|
3433
|
-
constructor(name: string, value: AST, sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan, valueSpan: ParseSourceSpan);
|
|
3744
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3745
|
+
nameSpan: ParseSourceSpan$1;
|
|
3746
|
+
valueSpan: ParseSourceSpan$1;
|
|
3747
|
+
constructor(name: string, value: AST, sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1);
|
|
3434
3748
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3435
3749
|
}
|
|
3436
3750
|
declare class Component implements Node {
|
|
@@ -3443,11 +3757,11 @@ declare class Component implements Node {
|
|
|
3443
3757
|
directives: Directive[];
|
|
3444
3758
|
children: Node[];
|
|
3445
3759
|
references: Reference[];
|
|
3446
|
-
sourceSpan: ParseSourceSpan;
|
|
3447
|
-
startSourceSpan: ParseSourceSpan;
|
|
3448
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
3760
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3761
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
3762
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3449
3763
|
i18n?: I18nMeta$1 | undefined;
|
|
3450
|
-
constructor(componentName: string, tagName: string | null, fullName: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], children: Node[], references: Reference[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3764
|
+
constructor(componentName: string, tagName: string | null, fullName: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], children: Node[], references: Reference[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3451
3765
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3452
3766
|
}
|
|
3453
3767
|
declare class Directive implements Node {
|
|
@@ -3456,11 +3770,11 @@ declare class Directive implements Node {
|
|
|
3456
3770
|
inputs: BoundAttribute[];
|
|
3457
3771
|
outputs: BoundEvent[];
|
|
3458
3772
|
references: Reference[];
|
|
3459
|
-
sourceSpan: ParseSourceSpan;
|
|
3460
|
-
startSourceSpan: ParseSourceSpan;
|
|
3461
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
3773
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3774
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
3775
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3462
3776
|
i18n?: I18nMeta$1 | undefined;
|
|
3463
|
-
constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], references: Reference[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3777
|
+
constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], references: Reference[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3464
3778
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3465
3779
|
}
|
|
3466
3780
|
declare class Template implements Node {
|
|
@@ -3473,41 +3787,41 @@ declare class Template implements Node {
|
|
|
3473
3787
|
children: Node[];
|
|
3474
3788
|
references: Reference[];
|
|
3475
3789
|
variables: Variable[];
|
|
3476
|
-
sourceSpan: ParseSourceSpan;
|
|
3477
|
-
startSourceSpan: ParseSourceSpan;
|
|
3478
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
3790
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3791
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
3792
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3479
3793
|
i18n?: I18nMeta$1 | undefined;
|
|
3480
|
-
constructor(tagName: string | null, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], templateAttrs: (BoundAttribute | TextAttribute)[], children: Node[], references: Reference[], variables: Variable[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3794
|
+
constructor(tagName: string | null, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], templateAttrs: (BoundAttribute | TextAttribute)[], children: Node[], references: Reference[], variables: Variable[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3481
3795
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3482
3796
|
}
|
|
3483
3797
|
declare class Content implements Node {
|
|
3484
3798
|
selector: string;
|
|
3485
3799
|
attributes: TextAttribute[];
|
|
3486
3800
|
children: Node[];
|
|
3487
|
-
sourceSpan: ParseSourceSpan;
|
|
3488
|
-
startSourceSpan: ParseSourceSpan;
|
|
3489
|
-
endSourceSpan: ParseSourceSpan | null;
|
|
3801
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3802
|
+
startSourceSpan: ParseSourceSpan$1;
|
|
3803
|
+
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3490
3804
|
i18n?: I18nMeta$1 | undefined;
|
|
3491
3805
|
readonly name = "ng-content";
|
|
3492
|
-
constructor(selector: string, attributes: TextAttribute[], children: Node[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
|
|
3806
|
+
constructor(selector: string, attributes: TextAttribute[], children: Node[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3493
3807
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3494
3808
|
}
|
|
3495
3809
|
declare class Variable implements Node {
|
|
3496
3810
|
name: string;
|
|
3497
3811
|
value: string;
|
|
3498
|
-
sourceSpan: ParseSourceSpan;
|
|
3499
|
-
readonly keySpan: ParseSourceSpan;
|
|
3500
|
-
valueSpan?: ParseSourceSpan | undefined;
|
|
3501
|
-
constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan?: ParseSourceSpan | undefined);
|
|
3812
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3813
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
3814
|
+
valueSpan?: ParseSourceSpan$1 | undefined;
|
|
3815
|
+
constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan?: ParseSourceSpan$1 | undefined);
|
|
3502
3816
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3503
3817
|
}
|
|
3504
3818
|
declare class Reference implements Node {
|
|
3505
3819
|
name: string;
|
|
3506
3820
|
value: string;
|
|
3507
|
-
sourceSpan: ParseSourceSpan;
|
|
3508
|
-
readonly keySpan: ParseSourceSpan;
|
|
3509
|
-
valueSpan?: ParseSourceSpan | undefined;
|
|
3510
|
-
constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan?: ParseSourceSpan | undefined);
|
|
3821
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3822
|
+
readonly keySpan: ParseSourceSpan$1;
|
|
3823
|
+
valueSpan?: ParseSourceSpan$1 | undefined;
|
|
3824
|
+
constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan?: ParseSourceSpan$1 | undefined);
|
|
3511
3825
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3512
3826
|
}
|
|
3513
3827
|
declare class Icu implements Node {
|
|
@@ -3517,13 +3831,13 @@ declare class Icu implements Node {
|
|
|
3517
3831
|
placeholders: {
|
|
3518
3832
|
[name: string]: Text | BoundText;
|
|
3519
3833
|
};
|
|
3520
|
-
sourceSpan: ParseSourceSpan;
|
|
3834
|
+
sourceSpan: ParseSourceSpan$1;
|
|
3521
3835
|
i18n?: I18nMeta$1 | undefined;
|
|
3522
3836
|
constructor(vars: {
|
|
3523
3837
|
[name: string]: BoundText;
|
|
3524
3838
|
}, placeholders: {
|
|
3525
3839
|
[name: string]: Text | BoundText;
|
|
3526
|
-
}, sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
|
|
3840
|
+
}, sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
|
|
3527
3841
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3528
3842
|
}
|
|
3529
3843
|
/**
|
|
@@ -3534,8 +3848,8 @@ declare class HostElement implements Node {
|
|
|
3534
3848
|
readonly tagNames: string[];
|
|
3535
3849
|
readonly bindings: BoundAttribute[];
|
|
3536
3850
|
readonly listeners: BoundEvent[];
|
|
3537
|
-
readonly sourceSpan: ParseSourceSpan;
|
|
3538
|
-
constructor(tagNames: string[], bindings: BoundAttribute[], listeners: BoundEvent[], sourceSpan: ParseSourceSpan);
|
|
3851
|
+
readonly sourceSpan: ParseSourceSpan$1;
|
|
3852
|
+
constructor(tagNames: string[], bindings: BoundAttribute[], listeners: BoundEvent[], sourceSpan: ParseSourceSpan$1);
|
|
3539
3853
|
visit<Result>(): Result;
|
|
3540
3854
|
}
|
|
3541
3855
|
interface Visitor<Result = any> {
|
|
@@ -3616,7 +3930,7 @@ interface R3DirectiveMetadata {
|
|
|
3616
3930
|
/**
|
|
3617
3931
|
* A source span for the directive type.
|
|
3618
3932
|
*/
|
|
3619
|
-
typeSourceSpan: ParseSourceSpan;
|
|
3933
|
+
typeSourceSpan: ParseSourceSpan$1;
|
|
3620
3934
|
/**
|
|
3621
3935
|
* Dependencies of the directive's constructor.
|
|
3622
3936
|
*/
|
|
@@ -3802,7 +4116,7 @@ interface R3ComponentMetadata<DeclarationT extends R3TemplateDependency> extends
|
|
|
3802
4116
|
* - `ViewEncapsulation.None`: Apply component styles globally without any sort of encapsulation.
|
|
3803
4117
|
* - `ViewEncapsulation.ShadowDom`: Use the browser's native Shadow DOM API to encapsulate styles.
|
|
3804
4118
|
*/
|
|
3805
|
-
encapsulation: ViewEncapsulation;
|
|
4119
|
+
encapsulation: ViewEncapsulation$1;
|
|
3806
4120
|
/**
|
|
3807
4121
|
* A collection of animation triggers that will be used in the component template.
|
|
3808
4122
|
*/
|
|
@@ -3833,7 +4147,7 @@ interface R3ComponentMetadata<DeclarationT extends R3TemplateDependency> extends
|
|
|
3833
4147
|
* statically resolved during analysis phase. Whereas in local compilation mode the value is the
|
|
3834
4148
|
* expression as appears in the decorator.
|
|
3835
4149
|
*/
|
|
3836
|
-
changeDetection: ChangeDetectionStrategy | Expression | null;
|
|
4150
|
+
changeDetection: ChangeDetectionStrategy$1 | Expression | null;
|
|
3837
4151
|
/**
|
|
3838
4152
|
* Relative path to the component's template from the root of the project.
|
|
3839
4153
|
* Used to generate debugging information.
|
|
@@ -4176,15 +4490,15 @@ declare class BindingParser {
|
|
|
4176
4490
|
errors: ParseError[];
|
|
4177
4491
|
constructor(_exprParser: Parser, _interpolationConfig: InterpolationConfig, _schemaRegistry: ElementSchemaRegistry, errors: ParseError[]);
|
|
4178
4492
|
get interpolationConfig(): InterpolationConfig;
|
|
4179
|
-
createBoundHostProperties(properties: HostProperties, sourceSpan: ParseSourceSpan): ParsedProperty[] | null;
|
|
4180
|
-
createDirectiveHostEventAsts(hostListeners: HostListeners, sourceSpan: ParseSourceSpan): ParsedEvent[] | null;
|
|
4181
|
-
parseInterpolation(value: string, sourceSpan: ParseSourceSpan, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): ASTWithSource;
|
|
4493
|
+
createBoundHostProperties(properties: HostProperties, sourceSpan: ParseSourceSpan$1): ParsedProperty[] | null;
|
|
4494
|
+
createDirectiveHostEventAsts(hostListeners: HostListeners, sourceSpan: ParseSourceSpan$1): ParsedEvent[] | null;
|
|
4495
|
+
parseInterpolation(value: string, sourceSpan: ParseSourceSpan$1, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): ASTWithSource;
|
|
4182
4496
|
/**
|
|
4183
4497
|
* Similar to `parseInterpolation`, but treats the provided string as a single expression
|
|
4184
4498
|
* element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
|
|
4185
4499
|
* This is used for parsing the switch expression in ICUs.
|
|
4186
4500
|
*/
|
|
4187
|
-
parseInterpolationExpression(expression: string, sourceSpan: ParseSourceSpan): ASTWithSource;
|
|
4501
|
+
parseInterpolationExpression(expression: string, sourceSpan: ParseSourceSpan$1): ASTWithSource;
|
|
4188
4502
|
/**
|
|
4189
4503
|
* Parses the bindings in a microsyntax expression, and converts them to
|
|
4190
4504
|
* `ParsedProperty` or `ParsedVariable`.
|
|
@@ -4197,7 +4511,7 @@ declare class BindingParser {
|
|
|
4197
4511
|
* @param targetProps target property bindings in the template
|
|
4198
4512
|
* @param targetVars target variables in the template
|
|
4199
4513
|
*/
|
|
4200
|
-
parseInlineTemplateBinding(tplKey: string, tplValue: string, sourceSpan: ParseSourceSpan, absoluteValueOffset: number, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], targetVars: ParsedVariable[], isIvyAst: boolean): void;
|
|
4514
|
+
parseInlineTemplateBinding(tplKey: string, tplValue: string, sourceSpan: ParseSourceSpan$1, absoluteValueOffset: number, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], targetVars: ParsedVariable[], isIvyAst: boolean): void;
|
|
4201
4515
|
/**
|
|
4202
4516
|
* Parses the bindings in a microsyntax expression, e.g.
|
|
4203
4517
|
* ```html
|
|
@@ -4211,14 +4525,14 @@ declare class BindingParser {
|
|
|
4211
4525
|
* @param absoluteValueOffset start of the `tplValue`
|
|
4212
4526
|
*/
|
|
4213
4527
|
private _parseTemplateBindings;
|
|
4214
|
-
parseLiteralAttr(name: string, value: string | null, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
|
|
4215
|
-
parsePropertyBinding(name: string, expression: string, isHost: boolean, isPartOfAssignmentBinding: boolean, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
|
|
4216
|
-
parsePropertyInterpolation(name: string, value: string, sourceSpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): boolean;
|
|
4528
|
+
parseLiteralAttr(name: string, value: string | null, sourceSpan: ParseSourceSpan$1, absoluteOffset: number, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1): void;
|
|
4529
|
+
parsePropertyBinding(name: string, expression: string, isHost: boolean, isPartOfAssignmentBinding: boolean, sourceSpan: ParseSourceSpan$1, absoluteOffset: number, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1): void;
|
|
4530
|
+
parsePropertyInterpolation(name: string, value: string, sourceSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): boolean;
|
|
4217
4531
|
private _parsePropertyAst;
|
|
4218
4532
|
private _parseAnimation;
|
|
4219
|
-
parseBinding(value: string, isHostBinding: boolean, sourceSpan: ParseSourceSpan, absoluteOffset: number): ASTWithSource;
|
|
4533
|
+
parseBinding(value: string, isHostBinding: boolean, sourceSpan: ParseSourceSpan$1, absoluteOffset: number): ASTWithSource;
|
|
4220
4534
|
createBoundElementProperty(elementSelector: string | null, boundProp: ParsedProperty, skipValidation?: boolean, mapPropertyName?: boolean): BoundElementProperty;
|
|
4221
|
-
parseEvent(name: string, expression: string, isAssignmentEvent: boolean, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, targetMatchableAttrs: string[][], targetEvents: ParsedEvent[], keySpan: ParseSourceSpan): void;
|
|
4535
|
+
parseEvent(name: string, expression: string, isAssignmentEvent: boolean, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, targetMatchableAttrs: string[][], targetEvents: ParsedEvent[], keySpan: ParseSourceSpan$1): void;
|
|
4222
4536
|
calcPossibleSecurityContexts(selector: string, propName: string, isAttribute: boolean): SecurityContext[];
|
|
4223
4537
|
parseEventListenerName(rawName: string): {
|
|
4224
4538
|
eventName: string;
|
|
@@ -4844,49 +5158,23 @@ declare class Identifiers {
|
|
|
4844
5158
|
static syntheticHostProperty: ExternalReference;
|
|
4845
5159
|
static syntheticHostListener: ExternalReference;
|
|
4846
5160
|
static attribute: ExternalReference;
|
|
4847
|
-
static attributeInterpolate1: ExternalReference;
|
|
4848
|
-
static attributeInterpolate2: ExternalReference;
|
|
4849
|
-
static attributeInterpolate3: ExternalReference;
|
|
4850
|
-
static attributeInterpolate4: ExternalReference;
|
|
4851
|
-
static attributeInterpolate5: ExternalReference;
|
|
4852
|
-
static attributeInterpolate6: ExternalReference;
|
|
4853
|
-
static attributeInterpolate7: ExternalReference;
|
|
4854
|
-
static attributeInterpolate8: ExternalReference;
|
|
4855
|
-
static attributeInterpolateV: ExternalReference;
|
|
4856
5161
|
static classProp: ExternalReference;
|
|
4857
5162
|
static elementContainerStart: ExternalReference;
|
|
4858
5163
|
static elementContainerEnd: ExternalReference;
|
|
4859
5164
|
static elementContainer: ExternalReference;
|
|
4860
5165
|
static styleMap: ExternalReference;
|
|
4861
|
-
static styleMapInterpolate1: ExternalReference;
|
|
4862
|
-
static styleMapInterpolate2: ExternalReference;
|
|
4863
|
-
static styleMapInterpolate3: ExternalReference;
|
|
4864
|
-
static styleMapInterpolate4: ExternalReference;
|
|
4865
|
-
static styleMapInterpolate5: ExternalReference;
|
|
4866
|
-
static styleMapInterpolate6: ExternalReference;
|
|
4867
|
-
static styleMapInterpolate7: ExternalReference;
|
|
4868
|
-
static styleMapInterpolate8: ExternalReference;
|
|
4869
|
-
static styleMapInterpolateV: ExternalReference;
|
|
4870
5166
|
static classMap: ExternalReference;
|
|
4871
|
-
static classMapInterpolate1: ExternalReference;
|
|
4872
|
-
static classMapInterpolate2: ExternalReference;
|
|
4873
|
-
static classMapInterpolate3: ExternalReference;
|
|
4874
|
-
static classMapInterpolate4: ExternalReference;
|
|
4875
|
-
static classMapInterpolate5: ExternalReference;
|
|
4876
|
-
static classMapInterpolate6: ExternalReference;
|
|
4877
|
-
static classMapInterpolate7: ExternalReference;
|
|
4878
|
-
static classMapInterpolate8: ExternalReference;
|
|
4879
|
-
static classMapInterpolateV: ExternalReference;
|
|
4880
5167
|
static styleProp: ExternalReference;
|
|
4881
|
-
static
|
|
4882
|
-
static
|
|
4883
|
-
static
|
|
4884
|
-
static
|
|
4885
|
-
static
|
|
4886
|
-
static
|
|
4887
|
-
static
|
|
4888
|
-
static
|
|
4889
|
-
static
|
|
5168
|
+
static interpolate: ExternalReference;
|
|
5169
|
+
static interpolate1: ExternalReference;
|
|
5170
|
+
static interpolate2: ExternalReference;
|
|
5171
|
+
static interpolate3: ExternalReference;
|
|
5172
|
+
static interpolate4: ExternalReference;
|
|
5173
|
+
static interpolate5: ExternalReference;
|
|
5174
|
+
static interpolate6: ExternalReference;
|
|
5175
|
+
static interpolate7: ExternalReference;
|
|
5176
|
+
static interpolate8: ExternalReference;
|
|
5177
|
+
static interpolateV: ExternalReference;
|
|
4890
5178
|
static nextContext: ExternalReference;
|
|
4891
5179
|
static resetView: ExternalReference;
|
|
4892
5180
|
static templateCreate: ExternalReference;
|
|
@@ -4954,16 +5242,6 @@ declare class Identifiers {
|
|
|
4954
5242
|
static pipeBindV: ExternalReference;
|
|
4955
5243
|
static domProperty: ExternalReference;
|
|
4956
5244
|
static property: ExternalReference;
|
|
4957
|
-
static propertyInterpolate: ExternalReference;
|
|
4958
|
-
static propertyInterpolate1: ExternalReference;
|
|
4959
|
-
static propertyInterpolate2: ExternalReference;
|
|
4960
|
-
static propertyInterpolate3: ExternalReference;
|
|
4961
|
-
static propertyInterpolate4: ExternalReference;
|
|
4962
|
-
static propertyInterpolate5: ExternalReference;
|
|
4963
|
-
static propertyInterpolate6: ExternalReference;
|
|
4964
|
-
static propertyInterpolate7: ExternalReference;
|
|
4965
|
-
static propertyInterpolate8: ExternalReference;
|
|
4966
|
-
static propertyInterpolateV: ExternalReference;
|
|
4967
5245
|
static i18n: ExternalReference;
|
|
4968
5246
|
static i18nAttributes: ExternalReference;
|
|
4969
5247
|
static i18nExp: ExternalReference;
|
|
@@ -4984,6 +5262,7 @@ declare class Identifiers {
|
|
|
4984
5262
|
static forwardRef: ExternalReference;
|
|
4985
5263
|
static resolveForwardRef: ExternalReference;
|
|
4986
5264
|
static replaceMetadata: ExternalReference;
|
|
5265
|
+
static getReplaceMetadataURL: ExternalReference;
|
|
4987
5266
|
static ɵɵdefineInjectable: ExternalReference;
|
|
4988
5267
|
static declareInjectable: ExternalReference;
|
|
4989
5268
|
static InjectableDeclaration: ExternalReference;
|
|
@@ -5100,7 +5379,7 @@ declare function parseHostBindings(host: {
|
|
|
5100
5379
|
* @param sourceSpan source span where host bindings were defined.
|
|
5101
5380
|
* @returns array of errors associated with a given set of host bindings.
|
|
5102
5381
|
*/
|
|
5103
|
-
declare function verifyHostBindings(bindings: ParsedHostBindings, sourceSpan: ParseSourceSpan): ParseError[];
|
|
5382
|
+
declare function verifyHostBindings(bindings: ParsedHostBindings, sourceSpan: ParseSourceSpan$1): ParseError[];
|
|
5104
5383
|
/**
|
|
5105
5384
|
* Encapsulates a CSS stylesheet with emulated view encapsulation.
|
|
5106
5385
|
* This allows a stylesheet to be used with an Angular component that
|
|
@@ -5396,5 +5675,5 @@ declare class DomElementSchemaRegistry extends ElementSchemaRegistry {
|
|
|
5396
5675
|
|
|
5397
5676
|
declare const VERSION: Version;
|
|
5398
5677
|
|
|
5399
|
-
export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingParser, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CommaExpr, Comment$1 as Comment, CompilerConfig, Component$1 as Component, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclarationListEmitMode, DeclareFunctionStmt, DeclareVarStmt, DeferBlockDepsEmitMode, Directive$1 as Directive, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element$1 as Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, FactoryTarget
|
|
5678
|
+
export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingParser, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, CommaExpr, Comment$1 as Comment, CompilerConfig, CompilerFacadeImpl, Component$1 as Component, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclarationListEmitMode, DeclareFunctionStmt, DeclareVarStmt, DeferBlockDepsEmitMode, Directive$1 as Directive, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element$1 as Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, FactoryTarget, ForwardRefHandling, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, InstantiateExpr, Interpolation, InterpolationConfig, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, LetDeclaration$1 as LetDeclaration, Lexer, TokenType$1 as LexerTokenType, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, LiteralPrimitive, LocalizedString, MapType, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, NodeWithI18n, NonNullAssert, NotExpr, ParenthesizedExpr, ParenthesizedExpression, ParseError, ParseErrorLevel, ParseFlags, ParseLocation, ParseSourceFile, ParseSourceSpan$1 as ParseSourceSpan, ParseSpan, ParseTreeResult, ParsedEvent, ParsedEventType, ParsedProperty, ParsedPropertyType, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor$1 as RecursiveVisitor, ResourceLoader, ReturnStatement, SECURITY_SCHEMA, STRING_TYPE, SafeCall, SafeKeyedRead, SafePropertyRead, SelectorContext, SelectorListContext, SelectorMatcher, SelectorlessMatcher, Serializer, SplitInterpolation, Statement, StmtModifier, StringToken, StringTokenKind, TagContentType, TaggedTemplateLiteral, TaggedTemplateLiteralExpr, TemplateBindingParseResult, TemplateLiteral, TemplateLiteralElement, TemplateLiteralElementExpr, TemplateLiteralExpr, Text$1 as Text, ThisReceiver, BlockNode as TmplAstBlockNode, BoundAttribute as TmplAstBoundAttribute, BoundDeferredTrigger as TmplAstBoundDeferredTrigger, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Component as TmplAstComponent, Content as TmplAstContent, DeferredBlock as TmplAstDeferredBlock, DeferredBlockError as TmplAstDeferredBlockError, DeferredBlockLoading as TmplAstDeferredBlockLoading, DeferredBlockPlaceholder as TmplAstDeferredBlockPlaceholder, DeferredTrigger as TmplAstDeferredTrigger, Directive as TmplAstDirective, Element as TmplAstElement, ForLoopBlock as TmplAstForLoopBlock, ForLoopBlockEmpty as TmplAstForLoopBlockEmpty, HostElement as TmplAstHostElement, HoverDeferredTrigger as TmplAstHoverDeferredTrigger, Icu as TmplAstIcu, IdleDeferredTrigger as TmplAstIdleDeferredTrigger, IfBlock as TmplAstIfBlock, IfBlockBranch as TmplAstIfBlockBranch, ImmediateDeferredTrigger as TmplAstImmediateDeferredTrigger, InteractionDeferredTrigger as TmplAstInteractionDeferredTrigger, LetDeclaration as TmplAstLetDeclaration, NeverDeferredTrigger as TmplAstNeverDeferredTrigger, RecursiveVisitor as TmplAstRecursiveVisitor, Reference as TmplAstReference, SwitchBlock as TmplAstSwitchBlock, SwitchBlockCase as TmplAstSwitchBlockCase, Template as TmplAstTemplate, Text as TmplAstText, TextAttribute as TmplAstTextAttribute, TimerDeferredTrigger as TmplAstTimerDeferredTrigger, UnknownBlock as TmplAstUnknownBlock, Variable as TmplAstVariable, ViewportDeferredTrigger as TmplAstViewportDeferredTrigger, Token, TokenType, TransplantedType, TreeError, Type$1 as Type, TypeModifier, TypeofExpr, TypeofExpression, Unary, UnaryOperator, UnaryOperatorExpr, VERSION, VariableBinding, Version, ViewEncapsulation$1 as ViewEncapsulation, VoidExpr, VoidExpression, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, Xliff, Xliff2, Xmb, XmlParser, Xtb, compileClassDebugInfo, compileClassMetadata, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata, compileDeclareComponentFromMetadata, compileDeclareDirectiveFromMetadata, compileDeclareFactoryFunction, compileDeclareInjectableFromMetadata, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileDeclarePipeFromMetadata, compileDeferResolverFunction, compileDirectiveFromMetadata, compileFactoryFunction, compileHmrInitializer, compileHmrUpdateCallback, compileInjectable, compileInjector, compileNgModule, compileOpaqueAsyncClassMetadata, compilePipeFromMetadata, computeMsgId, core_d as core, createCssSelectorFromNode, createInjectableType, createMayBeForwardRefExpression, devOnlyGuardedExpression, emitDistinctChangesOnlyDefaultValue, encapsulateStyle, escapeRegExp, findMatchingDirectivesAndPipes, getHtmlTagDefinition, getNsPrefix, getSafePropertyAccessString, identifierName, isNgContainer, isNgContent, isNgTemplate, jsDocComment, leadingComment, literal, literalMap, makeBindingParser, mergeNsAndName, output_ast_d as outputAst, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, sanitizeIdentifier, splitNsName, visitAll as tmplAstVisitAll, verifyHostBindings, visitAll$1 as visitAll };
|
|
5400
5679
|
export type { AnimationTriggerNames, AstVisitor, BoundTarget, CompileClassMetadataFn, CompileIdentifierMetadata, DeclareComponentTemplateInfo, DirectiveMatcher, DirectiveMeta, DirectiveOwner, ExpressionVisitor, InputOutputPropertySet, InterpolationPiece, LegacyInputPartialMapping, LexerRange, LiteralMapKey, MaybeForwardRefExpression, Node$1 as Node, ParseTemplateOptions, ParsedHostBindings, ParsedTemplate, R3ClassDebugInfo, R3ClassMetadata, R3CompiledExpression, R3ComponentDeferMetadata, R3ComponentMetadata, R3DeclareClassMetadata, R3DeclareClassMetadataAsync, R3DeclareComponentMetadata, R3DeclareDependencyMetadata, R3DeclareDirectiveDependencyMetadata, R3DeclareDirectiveMetadata, R3DeclareFactoryMetadata, R3DeclareHostDirectiveMetadata, R3DeclareInjectableMetadata, R3DeclareInjectorMetadata, R3DeclareNgModuleDependencyMetadata, R3DeclareNgModuleMetadata, R3DeclarePipeDependencyMetadata, R3DeclarePipeMetadata, R3DeclareQueryMetadata, R3DeclareTemplateDependencyMetadata, R3DeferPerBlockDependency, R3DeferPerComponentDependency, R3DeferResolverFunctionMetadata, R3DependencyMetadata, R3DirectiveDependencyMetadata, R3DirectiveMetadata, R3FactoryMetadata, R3HmrMetadata, R3HmrNamespaceDependency, R3HostDirectiveMetadata, R3HostMetadata, R3InjectableMetadata, R3InjectorMetadata, R3InputMetadata, R3NgModuleDependencyMetadata, R3NgModuleMetadata, R3NgModuleMetadataGlobal, R3PartialDeclaration, R3PipeDependencyMetadata, R3PipeMetadata, R3QueryMetadata, R3Reference, R3TemplateDependency, R3TemplateDependencyMetadata, ReferenceTarget, SchemaMetadata, ScopedNode, SourceMap, StatementVisitor, TagDefinition, Target, TargetBinder, TemplateBinding, TemplateBindingIdentifier, TemplateEntity, DeferredBlockTriggers as TmplAstDeferredBlockTriggers, Node as TmplAstNode, Visitor as TmplAstVisitor, TypeVisitor, Visitor$1 as Visitor };
|