Skip to content

Commit 7b5cad9

Browse files
committed
92c4123 refactor(compiler): integrate new AST nodes into visitors (#60724)
1 parent 5a7e74d commit 7b5cad9

16 files changed

+29
-23
lines changed

BUILD_INFO

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Fri Apr 4 17:41:56 UTC 2025
2-
8d050b5bfc49878f01777f71a37e34d5c1733b1b
1+
Fri Apr 4 18:35:33 UTC 2025
2+
92c4123a74965fc84fec0a8a939134835613b71c

fesm2022/init.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v20.0.0-next.5+sha-8d050b5
2+
* @license Angular v20.0.0-next.5+sha-92c4123
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

fesm2022/localize-CajB9YLv.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v20.0.0-next.5+sha-8d050b5
2+
* @license Angular v20.0.0-next.5+sha-92c4123
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

fesm2022/localize.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v20.0.0-next.5+sha-8d050b5
2+
* @license Angular v20.0.0-next.5+sha-92c4123
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v20.0.0-next.5+sha-8d050b5
2+
* @license Angular v20.0.0-next.5+sha-92c4123
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

init/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v20.0.0-next.5+sha-8d050b5
2+
* @license Angular v20.0.0-next.5+sha-92c4123
33
* (c) 2010-2025 Google LLC. https://angular.io/
44
* License: MIT
55
*/

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/localize",
3-
"version": "20.0.0-next.5+sha-8d050b5",
3+
"version": "20.0.0-next.5+sha-92c4123",
44
"description": "Angular - library for localizing messages",
55
"bin": {
66
"localize-translate": "./tools/bundles/src/translate/cli.js",
@@ -67,8 +67,8 @@
6767
"yargs": "^17.2.1"
6868
},
6969
"peerDependencies": {
70-
"@angular/compiler": "20.0.0-next.5+sha-8d050b5",
71-
"@angular/compiler-cli": "20.0.0-next.5+sha-8d050b5"
70+
"@angular/compiler": "20.0.0-next.5+sha-92c4123",
71+
"@angular/compiler-cli": "20.0.0-next.5+sha-92c4123"
7272
},
7373
"module": "./fesm2022/localize.mjs",
7474
"typings": "./index.d.ts",

schematics/ng-add/ng_add_bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schematics/ng-add/ng_add_bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/bundles/chunk-24AH5IGH.js.map

-6
This file was deleted.

tools/bundles/chunk-24AH5IGH.js tools/bundles/chunk-CTYX66SH.js

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/bundles/chunk-CTYX66SH.js.map

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/bundles/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/bundles/src/translate/cli.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/bundles_metadata.json

+1-1
Large diffs are not rendered by default.

tools/src/translate/translation_files/base_visitor.d.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.dev/license
77
*/
8-
import { Attribute, Block, BlockParameter, Comment, Element, Expansion, ExpansionCase, LetDeclaration, Text, Visitor } from '@angular/compiler';
8+
import { Attribute, Block, BlockParameter, Comment, Component, Directive, Element, Expansion, ExpansionCase, LetDeclaration, Text, Visitor } from '@angular/compiler';
99
/**
1010
* A simple base class for the `Visitor` interface, which is a noop for every method.
1111
*
@@ -21,4 +21,6 @@ export declare class BaseVisitor implements Visitor {
2121
visitBlock(_block: Block, _context: any): void;
2222
visitBlockParameter(_parameter: BlockParameter, _context: any): void;
2323
visitLetDeclaration(_decl: LetDeclaration, _context: any): void;
24+
visitComponent(_component: Component, _context: any): void;
25+
visitDirective(_directive: Directive, _context: any): void;
2426
}

0 commit comments

Comments
 (0)