@angular/compiler 21.0.0-next.4 → 21.0.0-next.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "21.0.0-next.4",
3
+ "version": "21.0.0-next.6",
4
4
  "description": "Angular - the compiler library",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -39,14 +39,14 @@
39
39
  "./fesm2022/compiler.mjs"
40
40
  ],
41
41
  "module": "./fesm2022/compiler.mjs",
42
- "typings": "./index.d.ts",
42
+ "typings": "./types/compiler.d.ts",
43
43
  "type": "module",
44
44
  "exports": {
45
45
  "./package.json": {
46
46
  "default": "./package.json"
47
47
  },
48
48
  ".": {
49
- "types": "./index.d.ts",
49
+ "types": "./types/compiler.d.ts",
50
50
  "default": "./fesm2022/compiler.mjs"
51
51
  }
52
52
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v21.0.0-next.4
2
+ * @license Angular v21.0.0-next.6
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -699,14 +699,6 @@ declare class RecursiveVisitor$1 implements Visitor$1 {
699
699
  private visitChildren;
700
700
  }
701
701
 
702
- declare class InterpolationConfig {
703
- start: string;
704
- end: string;
705
- static fromArray(markers: [string, string] | null): InterpolationConfig;
706
- constructor(start: string, end: string);
707
- }
708
- declare const DEFAULT_INTERPOLATION_CONFIG: InterpolationConfig;
709
-
710
702
  declare enum TagContentType {
711
703
  RAW_TEXT = 0,
712
704
  ESCAPABLE_RAW_TEXT = 1,
@@ -742,8 +734,6 @@ interface LexerRange {
742
734
  interface TokenizeOptions {
743
735
  /** Whether to tokenize ICU messages (considered as text nodes when false). */
744
736
  tokenizeExpansionForms?: boolean;
745
- /** How to tokenize interpolation markers. */
746
- interpolationConfig?: InterpolationConfig;
747
737
  /**
748
738
  * The start and end point of the text to parse within the `source` string.
749
739
  * The entire `source` string is parsed if this is not provided.
@@ -1037,6 +1027,15 @@ declare class InstantiateExpr extends Expression {
1037
1027
  visitExpression(visitor: ExpressionVisitor, context: any): any;
1038
1028
  clone(): InstantiateExpr;
1039
1029
  }
1030
+ declare class RegularExpressionLiteral$1 extends Expression {
1031
+ body: string;
1032
+ flags: string | null;
1033
+ constructor(body: string, flags: string | null, sourceSpan?: ParseSourceSpan$1 | null);
1034
+ isEquivalent(e: Expression): boolean;
1035
+ isConstant(): boolean;
1036
+ visitExpression(visitor: ExpressionVisitor, context: any): any;
1037
+ clone(): RegularExpressionLiteral$1;
1038
+ }
1040
1039
  declare class LiteralExpr extends Expression {
1041
1040
  value: number | string | boolean | null | undefined;
1042
1041
  constructor(value: number | string | boolean | null | undefined, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
@@ -1305,6 +1304,7 @@ interface ExpressionVisitor {
1305
1304
  visitVoidExpr(ast: VoidExpr, context: any): any;
1306
1305
  visitArrowFunctionExpr(ast: ArrowFunctionExpr, context: any): any;
1307
1306
  visitParenthesizedExpr(ast: ParenthesizedExpr, context: any): any;
1307
+ visitRegularExpressionLiteral(ast: RegularExpressionLiteral$1, context: any): any;
1308
1308
  }
1309
1309
  declare const NULL_EXPR: LiteralExpr;
1310
1310
  declare const TYPED_NULL_EXPR: LiteralExpr;
@@ -1400,6 +1400,7 @@ declare class RecursiveAstVisitor$1 implements StatementVisitor, ExpressionVisit
1400
1400
  visitTaggedTemplateLiteralExpr(ast: TaggedTemplateLiteralExpr, context: any): any;
1401
1401
  visitInstantiateExpr(ast: InstantiateExpr, context: any): any;
1402
1402
  visitLiteralExpr(ast: LiteralExpr, context: any): any;
1403
+ visitRegularExpressionLiteral(ast: RegularExpressionLiteral$1, context: any): any;
1403
1404
  visitLocalizedString(ast: LocalizedString, context: any): any;
1404
1405
  visitExternalExpr(ast: ExternalExpr, context: any): any;
1405
1406
  visitConditionalExpr(ast: ConditionalExpr, context: any): any;
@@ -1601,7 +1602,7 @@ declare const output_ast_d_typeofExpr: typeof typeofExpr;
1601
1602
  declare const output_ast_d_unary: typeof unary;
1602
1603
  declare const output_ast_d_variable: typeof variable;
1603
1604
  declare namespace output_ast_d {
1604
- 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_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 };
1605
+ 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, RegularExpressionLiteral$1 as RegularExpressionLiteral, 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_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 };
1605
1606
  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 };
1606
1607
  }
1607
1608
 
@@ -1884,6 +1885,12 @@ declare class ParenthesizedExpression extends AST {
1884
1885
  constructor(span: ParseSpan, sourceSpan: AbsoluteSourceSpan, expression: AST);
1885
1886
  visit(visitor: AstVisitor, context?: any): any;
1886
1887
  }
1888
+ declare class RegularExpressionLiteral extends AST {
1889
+ readonly body: string;
1890
+ readonly flags: string | null;
1891
+ constructor(span: ParseSpan, sourceSpan: AbsoluteSourceSpan, body: string, flags: string | null);
1892
+ visit(visitor: AstVisitor, context?: any): any;
1893
+ }
1887
1894
  /**
1888
1895
  * Records the absolute position of a text span in a source file, where `start` and `end` are the
1889
1896
  * starting and ending byte offsets, respectively, of the text span in a source file.
@@ -1987,6 +1994,7 @@ interface AstVisitor {
1987
1994
  visitTemplateLiteralElement(ast: TemplateLiteralElement, context: any): any;
1988
1995
  visitTaggedTemplateLiteral(ast: TaggedTemplateLiteral, context: any): any;
1989
1996
  visitParenthesizedExpression(ast: ParenthesizedExpression, context: any): any;
1997
+ visitRegularExpressionLiteral(ast: RegularExpressionLiteral, context: any): any;
1990
1998
  visitASTWithSource?(ast: ASTWithSource, context: any): any;
1991
1999
  /**
1992
2000
  * This function is optionally defined to allow classes that implement this
@@ -2023,6 +2031,7 @@ declare class RecursiveAstVisitor implements AstVisitor {
2023
2031
  visitTemplateLiteralElement(ast: TemplateLiteralElement, context: any): void;
2024
2032
  visitTaggedTemplateLiteral(ast: TaggedTemplateLiteral, context: any): void;
2025
2033
  visitParenthesizedExpression(ast: ParenthesizedExpression, context: any): void;
2034
+ visitRegularExpressionLiteral(ast: RegularExpressionLiteral, context: any): void;
2026
2035
  visitAll(asts: AST[], context: any): any;
2027
2036
  }
2028
2037
  declare class ParsedProperty {
@@ -2101,7 +2110,9 @@ declare enum TokenType {
2101
2110
  String = 4,
2102
2111
  Operator = 5,
2103
2112
  Number = 6,
2104
- Error = 7
2113
+ RegExpBody = 7,
2114
+ RegExpFlags = 8,
2115
+ Error = 9
2105
2116
  }
2106
2117
  declare enum StringTokenKind {
2107
2118
  Plain = 0,
@@ -2136,11 +2147,12 @@ declare class Token {
2136
2147
  isKeywordVoid(): boolean;
2137
2148
  isKeywordIn(): boolean;
2138
2149
  isError(): boolean;
2150
+ isRegExpBody(): boolean;
2151
+ isRegExpFlags(): boolean;
2139
2152
  toNumber(): number;
2140
2153
  isTemplateLiteralPart(): this is StringToken;
2141
2154
  isTemplateLiteralEnd(): this is StringToken;
2142
2155
  isTemplateLiteralInterpolationStart(): boolean;
2143
- isTemplateLiteralInterpolationEnd(): boolean;
2144
2156
  toString(): string | null;
2145
2157
  }
2146
2158
  declare class StringToken extends Token {
@@ -2180,10 +2192,10 @@ declare class Parser {
2180
2192
  private readonly _lexer;
2181
2193
  private readonly _supportsDirectPipeReferences;
2182
2194
  constructor(_lexer: Lexer, _supportsDirectPipeReferences?: boolean);
2183
- parseAction(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number, interpolationConfig?: InterpolationConfig): ASTWithSource;
2184
- parseBinding(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number, interpolationConfig?: InterpolationConfig): ASTWithSource;
2195
+ parseAction(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number): ASTWithSource;
2196
+ parseBinding(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number): ASTWithSource;
2185
2197
  private checkSimpleExpression;
2186
- parseSimpleBinding(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number, interpolationConfig?: InterpolationConfig): ASTWithSource;
2198
+ parseSimpleBinding(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number): ASTWithSource;
2187
2199
  private _parseBindingAst;
2188
2200
  /**
2189
2201
  * Parse microsyntax template expression and return a list of bindings or
@@ -2212,7 +2224,7 @@ declare class Parser {
2212
2224
  * @param absoluteValueOffset start of the `templateValue`
2213
2225
  */
2214
2226
  parseTemplateBindings(templateKey: string, templateValue: string, parseSourceSpan: ParseSourceSpan$1, absoluteKeyOffset: number, absoluteValueOffset: number): TemplateBindingParseResult;
2215
- parseInterpolation(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null, interpolationConfig?: InterpolationConfig): ASTWithSource | null;
2227
+ parseInterpolation(input: string, parseSourceSpan: ParseSourceSpan$1, absoluteOffset: number, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): ASTWithSource | null;
2216
2228
  /**
2217
2229
  * Similar to `parseInterpolation`, but treats the provided string as a single expression
2218
2230
  * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
@@ -2227,7 +2239,7 @@ declare class Parser {
2227
2239
  * `SplitInterpolation` with splits that look like
2228
2240
  * <raw text> <expression> <raw text> ... <raw text> <expression> <raw text>
2229
2241
  */
2230
- splitInterpolation(input: string, parseSourceSpan: ParseSourceSpan$1, errors: ParseError[], interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null, interpolationConfig?: InterpolationConfig): SplitInterpolation;
2242
+ splitInterpolation(input: string, parseSourceSpan: ParseSourceSpan$1, errors: ParseError[], interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): SplitInterpolation;
2231
2243
  wrapLiteralPrimitive(input: string | null, sourceSpanOrLocation: ParseSourceSpan$1 | string, absoluteOffset: number): ASTWithSource;
2232
2244
  private _stripComments;
2233
2245
  private _commentStart;
@@ -2308,7 +2320,7 @@ declare class MessageBundle {
2308
2320
  constructor(_htmlParser: HtmlParser, _implicitTags: string[], _implicitAttrs: {
2309
2321
  [k: string]: string[];
2310
2322
  }, _locale?: string | null, _preserveWhitespace?: boolean);
2311
- updateFromTemplate(source: string, url: string, interpolationConfig: InterpolationConfig): ParseError[];
2323
+ updateFromTemplate(source: string, url: string): ParseError[];
2312
2324
  getMessages(): Message[];
2313
2325
  write(serializer: Serializer, filterSources?: (path: string) => string): string;
2314
2326
  }
@@ -2489,7 +2501,6 @@ interface R3ComponentMetadataFacade extends R3DirectiveMetadataFacade {
2489
2501
  styles: string[];
2490
2502
  encapsulation: ViewEncapsulation;
2491
2503
  viewProviders: Provider[] | null;
2492
- interpolation?: [string, string];
2493
2504
  changeDetection?: ChangeDetectionStrategy;
2494
2505
  hasDirectiveDependencies: boolean;
2495
2506
  }
@@ -2548,7 +2559,6 @@ interface R3DeclareComponentFacade extends R3DeclareDirectiveFacade {
2548
2559
  animations?: OpaqueValue;
2549
2560
  changeDetection?: ChangeDetectionStrategy;
2550
2561
  encapsulation?: ViewEncapsulation;
2551
- interpolation?: [string, string];
2552
2562
  preserveWhitespaces?: boolean;
2553
2563
  }
2554
2564
  type R3DeclareTemplateDependencyFacade = {
@@ -2939,6 +2949,17 @@ declare class CompilerFacadeImpl implements CompilerFacade {
2939
2949
  }
2940
2950
  declare function publishFacade(global: any): void;
2941
2951
 
2952
+ declare class InterpolationConfig {
2953
+ start: string;
2954
+ end: string;
2955
+ static fromArray(markers: [string, string] | null): InterpolationConfig;
2956
+ constructor(start: string, end: string);
2957
+ }
2958
+ /**
2959
+ * This symbol is referenced inside G3 and will require some cleanup.
2960
+ */
2961
+ declare const DEFAULT_INTERPOLATION_CONFIG: InterpolationConfig;
2962
+
2942
2963
  declare class HtmlTagDefinition implements TagDefinition {
2943
2964
  private closedByChildren;
2944
2965
  private contentType;
@@ -3160,10 +3181,6 @@ interface R3DeclareComponentMetadata extends R3DeclareDirectiveMetadata {
3160
3181
  * Defaults to `ViewEncapsulation.Emulated`.
3161
3182
  */
3162
3183
  encapsulation?: ViewEncapsulation$1;
3163
- /**
3164
- * Overrides the default interpolation start and end delimiters. Defaults to {{ and }}.
3165
- */
3166
- interpolation?: [string, string];
3167
3184
  /**
3168
3185
  * Whether whitespace in the template should be preserved. Defaults to false.
3169
3186
  */
@@ -4108,10 +4125,6 @@ interface R3ComponentMetadata<DeclarationT extends R3TemplateDependency> extends
4108
4125
  * (used by Closure Compiler's output of `goog.getMsg` for transition period).
4109
4126
  */
4110
4127
  i18nUseExternalIds: boolean;
4111
- /**
4112
- * Overrides the default interpolation start and end delimiters ({{ and }}).
4113
- */
4114
- interpolation: InterpolationConfig;
4115
4128
  /**
4116
4129
  * Strategy used for detecting changes in the component.
4117
4130
  *
@@ -4461,11 +4474,9 @@ interface HostListeners {
4461
4474
  */
4462
4475
  declare class BindingParser {
4463
4476
  private _exprParser;
4464
- private _interpolationConfig;
4465
4477
  private _schemaRegistry;
4466
4478
  errors: ParseError[];
4467
- constructor(_exprParser: Parser, _interpolationConfig: InterpolationConfig, _schemaRegistry: ElementSchemaRegistry, errors: ParseError[]);
4468
- get interpolationConfig(): InterpolationConfig;
4479
+ constructor(_exprParser: Parser, _schemaRegistry: ElementSchemaRegistry, errors: ParseError[]);
4469
4480
  createBoundHostProperties(properties: HostProperties, sourceSpan: ParseSourceSpan$1): ParsedProperty[] | null;
4470
4481
  createDirectiveHostEventAsts(hostListeners: HostListeners, sourceSpan: ParseSourceSpan$1): ParsedEvent[] | null;
4471
4482
  parseInterpolation(value: string, sourceSpan: ParseSourceSpan$1, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): ASTWithSource;
@@ -4552,10 +4563,6 @@ interface ParseTemplateOptions {
4552
4563
  * Preserve whitespace significant to rendering.
4553
4564
  */
4554
4565
  preserveSignificantWhitespace?: boolean;
4555
- /**
4556
- * How to parse interpolation markers.
4557
- */
4558
- interpolationConfig?: InterpolationConfig;
4559
4566
  /**
4560
4567
  * The start and end point of the text to parse within the `source` string.
4561
4568
  * The entire `source` string is parsed if this is not provided.
@@ -4651,7 +4658,7 @@ declare function parseTemplate(template: string, templateUrl: string, options?:
4651
4658
  /**
4652
4659
  * Construct a `BindingParser` with a default configuration.
4653
4660
  */
4654
- declare function makeBindingParser(interpolationConfig?: InterpolationConfig, selectorlessEnabled?: boolean): BindingParser;
4661
+ declare function makeBindingParser(selectorlessEnabled?: boolean): BindingParser;
4655
4662
  /**
4656
4663
  * Information about the template which was extracted during parsing.
4657
4664
  *
@@ -4663,10 +4670,6 @@ interface ParsedTemplate {
4663
4670
  * Include whitespace nodes in the parsed output.
4664
4671
  */
4665
4672
  preserveWhitespaces?: boolean;
4666
- /**
4667
- * How to parse interpolation markers.
4668
- */
4669
- interpolationConfig?: InterpolationConfig;
4670
4673
  /**
4671
4674
  * Any errors from parsing the template the first time.
4672
4675
  *
@@ -5798,5 +5801,5 @@ declare const enum QueryFlags {
5798
5801
  */
5799
5802
  declare function setEnableTemplateSourceLocations(value: boolean): void;
5800
5803
 
5801
- export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingParser, BindingPipe, BindingPipeType, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, CombinedRecursiveAstVisitor, 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, 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, PrefixNot, PropertyRead, QueryFlags, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor$1 as RecursiveVisitor, ResourceLoader, ReturnStatement, SCHEMA, 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, Xliff, Xliff2, Xmb, XmlParser, Xtb, _ATTR_TO_PROP, 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, setEnableTemplateSourceLocations, splitNsName, visitAll as tmplAstVisitAll, verifyHostBindings, visitAll$1 as visitAll };
5804
+ export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingParser, BindingPipe, BindingPipeType, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, CombinedRecursiveAstVisitor, 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, 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, PrefixNot, PropertyRead, QueryFlags, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor$1 as RecursiveVisitor, RegularExpressionLiteral, ResourceLoader, ReturnStatement, SCHEMA, 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, Xliff, Xliff2, Xmb, XmlParser, Xtb, _ATTR_TO_PROP, 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, setEnableTemplateSourceLocations, splitNsName, visitAll as tmplAstVisitAll, verifyHostBindings, visitAll$1 as visitAll };
5802
5805
  export type { AstVisitor, BoundTarget, CompileClassMetadataFn, CompileIdentifierMetadata, DeclareComponentTemplateInfo, DirectiveMatcher, DirectiveMeta, DirectiveOwner, ExpressionVisitor, InputOutputPropertySet, InterpolationPiece, LegacyAnimationTriggerNames, 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 };