_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/base_class.ts_0_595
// tslint:disable import {Directive, Input} from '@angular/core'; class BaseNonAngular { disabled: string = ''; } @Directive() class Sub implements BaseNonAngular { // should not be migrated because of the interface. @Input() disabled = ''; } class BaseWithAngular { @Input() disabled: string = ''; } @Direc...
{ "end_byte": 595, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/base_class.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/transform_incompatible_types.ts_0_303
// tslint:disable import {Directive, Input} from '@angular/core'; // see: button-base Material. @Directive() class TransformIncompatibleTypes { // @ts-ignore Simulate `--strictPropertyInitialization=false`. @Input({transform: (v: unknown) => (v === null ? undefined : !!v)}) disabled: boolean; }
{ "end_byte": 303, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/transform_incompatible_types.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/nested_template_prop_access.ts_0_267
// tslint:disable import {Component, Input} from '@angular/core'; interface Config { bla?: string; } @Component({ template: ` <span [id]="config.bla"> Test </span> `, }) export class NestedTemplatePropAccess { @Input() config: Config = {}; }
{ "end_byte": 267, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/nested_template_prop_access.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/object_expansion.ts_0_362
// tslint:disable import {Component, Input} from '@angular/core'; @Component({}) export class ObjectExpansion { @Input() bla: string = ''; expansion() { const {bla} = this; bla.charAt(0); } deeperExpansion() { const { bla: {charAt}, } = this; charAt(0); } expansionAsParameter...
{ "end_byte": 362, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/object_expansion.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/different_instantiations_of_reference.ts_0_1086
// tslint:disable import {Input, Directive, Component} from '@angular/core'; // Material form field test case let nextUniqueId = 0; @Directive() export class MatHint { align: string = ''; @Input() id = `mat-hint-${nextUniqueId++}`; } @Component({ template: ``, }) export class MatFormFieldTest { private dec...
{ "end_byte": 1086, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/different_instantiations_of_reference.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/BUILD.bazel_0_230
package( default_visibility = ["//packages/core/schematics/migrations/signal-migration/test:__pkg__"], ) filegroup( name = "test_files", srcs = glob( ["*"], exclude = ["BUILD.bazel"], ), )
{ "end_byte": 230, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/BUILD.bazel" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/optimize_test.ts_0_383
// tslint:disable import {AppComponent} from './index'; function assertValidLoadingInput(dir: AppComponent) { if (dir.withUndefinedInput && dir.narrowableMultipleTimes) { throw new Error(``); } const validInputs = ['auto', 'eager', 'lazy']; if (typeof dir.withUndefinedInput === 'string' && !validInputs.in...
{ "end_byte": 383, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/optimize_test.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/template.html_0_216
<span class="mat-mdc-optgroup-label" role="presentation"> <span class="mdc-list-item__primary-text">{{ input }} <ng-content></ng-content></span> </span> <ng-content select="mat-option, ng-container"></ng-content>
{ "end_byte": 216, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/template.html" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/narrowing.ts_0_669
// tslint:disable import {Input, Directive} from '@angular/core'; @Directive() export class Narrowing { @Input() name: string | undefined = undefined; narrowingArrowFn() { [this].map((x) => x.name && x.name.charAt(0)); } narrowingArrowFnMultiLineWrapped() { [this].map( (x) => x.name &&...
{ "end_byte": 669, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/narrowing.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/cross_references.ts_0_317
// tslint:disable import {Component, Input} from '@angular/core'; @Component({ template: ` {{label}} `, }) class Group { @Input() label!: string; } @Component({ template: ` @if (true) { {{group.label}} } {{group.label}} `, }) class Option { constructor(public group: Group) {} }
{ "end_byte": 317, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/cross_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/index.ts_0_2600
// tslint:disable import {Component, Input} from '@angular/core'; interface Vehicle {} interface Car extends Vehicle { __car: true; } interface Audi extends Car { __audi: true; } @Component({ selector: 'app-component', templateUrl: './template.html', }) export class AppComponent { @Input() input: string | ...
{ "end_byte": 2600, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/index.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/writing_to_inputs.ts_0_328
// tslint:disable import {Input} from '@angular/core'; export class TestCmp { @Input() testParenthesisInput = false; @Input() notMutated = true; testParenthesis() { // prettier-ignore ((this.testParenthesisInput)) = true; } testNotMutated() { let fixture: boolean; fixture = this.notMutated...
{ "end_byte": 328, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/writing_to_inputs.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/required-no-explicit-type-extra.ts_0_137
// tslint:disable import {ComponentMirror} from '@angular/core'; export const COMPLEX_VAR = { x: null! as ComponentMirror<never>, };
{ "end_byte": 137, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/required-no-explicit-type-extra.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/jit_true_component_external_tmpl.html_0_9
{{test}}
{ "end_byte": 9, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/jit_true_component_external_tmpl.html" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/with_getters_reference.ts_0_249
// tslint:disable import {WithSettersAndGetters} from './with_getters'; class WithGettersExternalRef { instance: WithSettersAndGetters = null!; test() { if (this.instance.accessor) { console.log(this.instance.accessor); } } }
{ "end_byte": 249, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/with_getters_reference.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/identifier_collisions.ts_0_1030
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ // tslint:disable import {Component, Input} from '@angular/core'; const complex = 'some global variable'; @Compon...
{ "end_byte": 1030, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/identifier_collisions.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/with_jsdoc.ts_0_189
// tslint:disable import {Input} from '@angular/core'; class WithJsdoc { /** * Works */ @Input() simpleInput!: string; @Input() withCommentInside?: /* intended */ boolean; }
{ "end_byte": 189, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/with_jsdoc.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/problematic_type_reference.ts_0_346
// tslint:disable import {Component, Directive, QueryList, Input} from '@angular/core'; @Component({ template: ` {{label}} `, }) class Group { @Input() label!: string; } @Directive() class Base { _items = new QueryList<{ label: string; }>(); } @Directive({}) class Option extends Base { _items = ...
{ "end_byte": 346, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/problematic_type_reference.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/index_spec.ts_0_873
// tslint:disable import {NgIf} from '@angular/common'; import {Component, input} from '@angular/core'; import {TestBed} from '@angular/core/testing'; import {AppComponent} from '.'; describe('bla', () => { it('should work', () => { @Component({ template: ` <app-component #ref /> {{ref.in...
{ "end_byte": 873, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/index_spec.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/any_test.ts_0_852
// tslint:disable import {DebugElement, Input} from '@angular/core'; import {TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; function it(msg: string, fn: () => void) {} const harness = { query<T>(v: T): DebugElement { return null!; }, }; class SubDir { @Input() name = '...
{ "end_byte": 852, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/any_test.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/scope_sharing.ts_0_312
// tslint:disable import {Input} from '@angular/core'; export class TestCmp { @Input() shared = false; bla() { if (TestCmp.arguments) { this.someFn(this.shared); } else { this.shared.valueOf(); } this.someFn(this.shared); } someFn(bla: boolean): asserts bla is true {} }
{ "end_byte": 312, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/scope_sharing.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/derived_class.ts_0_396
// tslint:disable import {Input, Directive} from '@angular/core'; @Directive() class Base { @Input() bla = true; } class Derived extends Base { override bla = false; } // overridden in separate file @Directive() export class Base2 { @Input() bla = true; } // overridden in separate file @Directive() export cl...
{ "end_byte": 396, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/derived_class.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/derived_class_separate_file.ts_0_256
// tslint:disable import {Input} from '@angular/core'; import {Base2, Base3} from './derived_class'; class DerivedExternal extends Base2 { override bla = false; } export class DerivedExternalWithInput extends Base3 { @Input() override bla = true; }
{ "end_byte": 256, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/derived_class_separate_file.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/getters.ts_0_379
// tslint:disable import {Directive, Input} from '@angular/core'; @Directive({}) export class WithGetters { @Input() get disabled() { return this._disabled; } set disabled(value: boolean | string) { this._disabled = typeof value === 'string' ? value === '' : !!value; } private _disabled: boolean ...
{ "end_byte": 379, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/getters.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/loop_labels.ts_0_507
// tslint:disable import {Input} from '@angular/core'; class MyTestCmp { @Input({required: true}) someInput!: boolean | string; tmpValue = false; test() { for (let i = 0, cell = null; i < Number.MIN_SAFE_INTEGER; i++) { this.tmpValue = !!this.someInput; this.tmpValue = !this.someInput; } ...
{ "end_byte": 507, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/loop_labels.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/golden-test/template_object_shorthand.ts_0_253
// tslint:disable import {Component, Input} from '@angular/core'; @Component({ template: ` <div [bla]="{myInput}"> </div> `, host: { '[style]': '{myInput}', }, }) export class TemplateObjectShorthand { @Input() myInput = true; }
{ "end_byte": 253, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/golden-test/template_object_shorthand.ts" }
angular/packages/core/schematics/migrations/signal-migration/test/ts-versions/index.bzl_0_147
"""Exposes information about the tested TS versions.""" TS_VERSIONS = [ "typescript-5.5.4", "typescript-5.5.3", "typescript-5.5.2", ]
{ "end_byte": 147, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/ts-versions/index.bzl" }
angular/packages/core/schematics/migrations/signal-migration/test/ts-versions/yarn.lock_0_940
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 "typescript-5.5.2@npm:typescript@5.5.2": version "5.5.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.2.tgz#c26f023cb0054e657ce04f72583ea2d85f8d0507" integrity sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTx...
{ "end_byte": 940, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/ts-versions/yarn.lock" }
angular/packages/core/schematics/migrations/signal-migration/test/ts-versions/hooks.mjs_0_747
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {runfiles} from '@bazel/runfiles'; const PACKAGE_PATH = runfiles.resolve(`npm_ts_versions/node_modules/$...
{ "end_byte": 747, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/ts-versions/hooks.mjs" }
angular/packages/core/schematics/migrations/signal-migration/test/ts-versions/loader.mjs_0_329
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {register} from 'node:module'; // Registers the TypeScript version loader. register('./hooks.mjs', import.me...
{ "end_byte": 329, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/ts-versions/loader.mjs" }
angular/packages/core/schematics/migrations/signal-migration/test/ts-versions/BUILD.bazel_0_91
exports_files([ "package.json", "yarn.lock", "loader.mjs", "hooks.mjs", ])
{ "end_byte": 91, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/test/ts-versions/BUILD.bazel" }
angular/packages/core/schematics/migrations/signal-migration/src/phase_migrate.ts_0_2802
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {AnalysisProgramInfo} from './analysis_deps'; import {KnownInputs} from './input_detection/known_inputs'; imp...
{ "end_byte": 2802, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/phase_migrate.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/phase_analysis.ts_0_4434
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {isShim} from '@angular/compiler-cli/src/ngtsc/shims'; import {AnalysisProgramInfo} from './analysis_deps'; i...
{ "end_byte": 4434, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/phase_analysis.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/migration.ts_0_1872
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {AbsoluteFsPath, FileSystem} from '@angular/compiler-cli/src/ngtsc/file_system'; import {confirmAsSerializabl...
{ "end_byte": 1872, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/migration.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/migration.ts_1873_10522
export class SignalInputMigration extends TsurgeComplexMigration< CompilationUnitData, CompilationUnitData > { upgradedAnalysisPhaseResults: { replacements: Replacement[]; projectRoot: AbsoluteFsPath; knownInputs: KnownInputs; } | null = null; constructor(private readonly config: MigrationConfig ...
{ "end_byte": 10522, "start_byte": 1873, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/migration.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/cli.ts_0_1375
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import path from 'path'; import assert from 'assert'; import {SignalInputMigration} from './migration'; import {wri...
{ "end_byte": 1375, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/cli.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/write_replacements.ts_0_976
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {applyTextUpdates, Replacement} from '../../../utils/tsurge/replacement'; import {groupReplacementsByFile} fr...
{ "end_byte": 976, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/write_replacements.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/result.ts_0_1548
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {InputDescriptor} from './utils/input_id'; import {ConvertInputPreparation} from...
{ "end_byte": 1548, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/result.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/migration_config.ts_0_2055
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import type {KnownInputInfo} from './input_detection/known_inputs'; export interface MigrationConfig { /** * W...
{ "end_byte": 2055, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/migration_config.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/migration_host.ts_0_1138
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {NgCompilerOptions} from '@angular/compiler-cli/src/ngtsc/core/api'; import ts from 'typescript'; import {Pro...
{ "end_byte": 1138, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/migration_host.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/best_effort_mode.ts_0_879
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {KnownInputs} from './input_detection/known_inputs'; import {nonIgnorableFieldIncompatibilities} from './pass...
{ "end_byte": 879, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/best_effort_mode.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/BUILD.bazel_0_2363
load("//tools:defaults.bzl", "nodejs_binary", "ts_library") ts_library( name = "src", srcs = glob( ["**/*.ts"], exclude = ["test/**"], ), visibility = [ "//packages/core/schematics/migrations/output-migration:__pkg__", "//packages/core/schematics/migrations/signal-migrat...
{ "end_byte": 2363, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/BUILD.bazel" }
angular/packages/core/schematics/migrations/signal-migration/src/index.ts_0_1021
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export {type KnownInputInfo, KnownInputs} from './input_detection/known_inputs'; export { type InputNameNode, ty...
{ "end_byte": 1021, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/index.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/analysis_deps.ts_0_3313
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {DtsMetadataReader, MetadataReader} from '@angular/compiler-cli/src/ngtsc/metad...
{ "end_byte": 3313, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/analysis_deps.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/10_apply_import_manager.ts_0_976
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ImportManager} from '@angular/compiler-cli/src/ngtsc/translator'; import ts from 'typescript'; import {apply...
{ "end_byte": 976, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/10_apply_import_manager.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/5_migrate_ts_references.ts_0_1101
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {migrateTypeScriptReferences} from './reference_migration/migrate_ts_references'...
{ "end_byte": 1101, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/5_migrate_ts_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/6_migrate_input_declarations.ts_0_2548
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ImportManager} from '@angular/compiler-cli/src/ngtsc/translator'; import assert from 'assert'; import ts fro...
{ "end_byte": 2548, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/6_migrate_input_declarations.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/7_migrate_template_references.ts_0_1851
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Replacement, TextUpdate} from '../../../../utils/tsurge'; import {ReferenceMigrationHost} from './reference_...
{ "end_byte": 1851, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/7_migrate_template_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/2_find_source_file_references.ts_0_1904
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ResourceLoader} from '@angular/compiler-cli/src/ngtsc/annotations'; import {PartialEvaluator} from '@angular...
{ "end_byte": 1904, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/2_find_source_file_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/1_identify_inputs.ts_0_3627
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import assert from 'assert'; import ts from 'typescript'; import {ReferenceEmitter} from '@angular/compiler-cli/src/...
{ "end_byte": 3627, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/1_identify_inputs.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/3_check_incompatible_patterns.ts_0_1900
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {KnownInputs} from '../input_detection/known_inputs'; import {MigrationHost} fro...
{ "end_byte": 1900, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/3_check_incompatible_patterns.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/8_migrate_host_bindings.ts_0_2150
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ReferenceMigrationHost} from './reference_migration/reference_migration_host'; ...
{ "end_byte": 2150, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/8_migrate_host_bindings.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/4_check_inheritance.ts_0_1673
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {MetadataReader} from '@angular/compiler-cli/src/ngtsc/metadata'; import assert from 'assert'; import {KnownI...
{ "end_byte": 1673, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/4_check_inheritance.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/9_migrate_ts_type_references.ts_0_1117
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ImportManager} from '@angular/compiler-cli/src/ngtsc/translator'; import {ProgramInfo} from '../../../../uti...
{ "end_byte": 1117, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/9_migrate_ts_type_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/common_incompatible_patterns.ts_0_4925
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {unwrapExpression} from '@angular/compiler-cli/src/ngtsc/annotations/common'; import assert from 'assert'; im...
{ "end_byte": 4925, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/common_incompatible_patterns.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/problematic_field_registry.ts_0_1187
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ClassFieldDescriptor} from '../reference_resolution/known_fields'; import {Clas...
{ "end_byte": 1187, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/problematic_field_registry.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/incompatibility.ts_0_2913
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** * Reasons why a field cannot be migrated. * * Higher values of incompatibility ...
{ "end_byte": 2913, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/incompatibility.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/incompatibility_todos.ts_0_1974
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ProgramInfo, Replacement} from '../../../../../utils/tsurge'; import { getMessageForClassIncompatibility, ...
{ "end_byte": 1974, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/incompatibility_todos.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/incompatibility_human.ts_0_7018
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ClassIncompatibilityReason, FieldIncompatibilityReason} from './incompatibility'; /** * Gets human-readabl...
{ "end_byte": 7018, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/incompatibility_human.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/check_inheritance.ts_0_5260
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Reference} from '@angular/compiler-cli/src/ngtsc/imports'; import {MetadataReader} from '@angular/compiler-c...
{ "end_byte": 5260, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/problematic_patterns/check_inheritance.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_ts_type_references.ts_0_3046
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ProgramInfo, projectFile, Replacement, TextUpdate} from '../../../../../utils/t...
{ "end_byte": 3046, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_ts_type_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_ts_references.ts_0_2973
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import { migrateBindingElementInputReference, IdentifierOfBindingElement, } from '....
{ "end_byte": 2973, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_ts_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_template_references.ts_0_1830
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Replacement, TextUpdate} from '../../../../../utils/tsurge'; import {ClassFieldDescriptor} from '../referenc...
{ "end_byte": 1830, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_template_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/reference_migration_host.ts_0_633
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {Replacement} from '../../../../../utils/tsurge'; import {ClassFieldDescriptor} ...
{ "end_byte": 633, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/reference_migration_host.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_host_bindings.ts_0_2128
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ProgramInfo, projectFile, Replacement, TextUpdate} from '../../../../../utils/t...
{ "end_byte": 2128, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/migrate_host_bindings.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/create_block_arrow_function.ts_0_1983
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ProjectFile, Replacement, TextUpdate} from '../../../../../../utils/tsurge'; /...
{ "end_byte": 1983, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/create_block_arrow_function.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts_0_4582
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {analyzeControlFlow} from '../../../flow_analysis'; import {ProgramInfo, project...
{ "end_byte": 4582, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/standard_reference.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/object_expansion_refs.ts_0_6459
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import { Replacement, TextUpdate, ProgramInfo, projectFile, ProjectFile, } fr...
{ "end_byte": 6459, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_migration/helpers/object_expansion_refs.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/identify_host_references.ts_0_5352
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {getAngularDecorators} from '@angular/compiler-cli/src/ngtsc/annotations'; import {unwrapExpression} from '@a...
{ "end_byte": 5352, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/identify_host_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/reference_kinds.ts_0_5602
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-sty...
{ "end_byte": 5602, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/reference_kinds.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/identify_template_references.ts_0_5249
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {TmplAstNode} from '@angular/compiler'; import {ResourceLoader} from '@angular/compiler-cli/src/ngtsc/annotat...
{ "end_byte": 5249, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/identify_template_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/identify_ts_references.ts_0_4295
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ProgramInfo, projectFile} from '../../../../../utils/tsurge'; import {lookupPro...
{ "end_byte": 4295, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/identify_ts_references.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/index.ts_0_5163
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ResourceLoader} from '@angular/compiler-cli/src/ngtsc/annotations'; import {PartialEvaluator} from '@angular...
{ "end_byte": 5163, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/index.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/reference_result.ts_0_402
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ClassFieldDescriptor} from './known_fields'; import {Reference} from './reference_kinds'; export interface ...
{ "end_byte": 402, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/reference_result.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/known_fields.ts_0_1671
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {UniqueID} from '../../../../../utils/tsurge'; /** * Unique key for an class f...
{ "end_byte": 1671, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/known_fields.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/template_reference_visitor.ts_0_8071
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {SymbolKind, TemplateTypeChecker} from '@angular/compiler-cli/src/ngtsc/typeche...
{ "end_byte": 8071, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/template_reference_visitor.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/template_reference_visitor.ts_8072_16232
export class TemplateExpressionReferenceVisitor< ExprContext, D extends ClassFieldDescriptor, > extends RecursiveAstVisitor { private activeTmplAstNode: ExprContext | null = null; private detectedInputReferences: TmplInputExpressionReference<ExprContext, D>[] = []; private isInsideObjectShorthandExpression = ...
{ "end_byte": 16232, "start_byte": 8072, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/passes/reference_resolution/template_reference_visitor.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/convert-input/convert_to_signal.ts_0_8077
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import assert from 'assert'; import ts from 'typescript'; import {ConvertInputPreparation} from './prepare_and_chec...
{ "end_byte": 8077, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/convert-input/convert_to_signal.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/convert-input/prepare_and_check.ts_0_8319
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ExtractedInput} from '../input_detection/input_decorator'; import { FieldInco...
{ "end_byte": 8319, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/convert-input/prepare_and_check.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/unwrap_parent.ts_0_591
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** * Unwraps the parent of the given node, if it's a * parenthesized expression or ...
{ "end_byte": 591, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/unwrap_parent.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/write_operators.ts_0_878
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** * List of binary operators that indicate a write operation. * * Useful for figu...
{ "end_byte": 878, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/write_operators.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/input_id.ts_0_2365
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {InputNode} from '../input_detection/input_node'; import {ProgramInfo, projectFi...
{ "end_byte": 2365, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/input_id.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/inheritance_sort.ts_0_1921
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export interface GraphNode<T> { data: T; incoming: Set<GraphNode<T>>; outgoing: Set<GraphNode<T>>; } /** * S...
{ "end_byte": 1921, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/inheritance_sort.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/extract_template.ts_0_3000
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ReflectionHost, reflectObjectLiteral} from '@angular/compiler-cli/src/ngtsc/ref...
{ "end_byte": 3000, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/extract_template.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/class_member_names.ts_0_597
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; export function getMemberName(member: ts.ClassElement | ts.PropertyAssignment): string...
{ "end_byte": 597, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/class_member_names.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/unique_names.ts_0_1650
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {isIdentifierFreeInScope, ReservedMarker} from './is_identifier_free_in_scope'; ...
{ "end_byte": 1650, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/unique_names.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/is_identifier_free_in_scope.ts_0_4406
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import assert from 'assert'; import ts from 'typescript'; import {isNodeDescendantOf} from './is_descendant_of'; /*...
{ "end_byte": 4406, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/is_identifier_free_in_scope.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/heritage_types.ts_0_748
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** Gets all types that are inherited (implemented or extended). */ export function ge...
{ "end_byte": 748, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/heritage_types.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/remove_from_union.ts_0_693
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; export function removeFromUnionIfPossible( union: ts.UnionTypeNode, filter: (v: ts...
{ "end_byte": 693, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/remove_from_union.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/inheritance_graph.ts_0_4679
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {getInheritedTypes} from './heritage_types'; /** * Node captured in the inheri...
{ "end_byte": 4679, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/inheritance_graph.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/traverse_access.ts_0_1033
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** * Expands the given reference to its containing expression, capturing * the full...
{ "end_byte": 1033, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/traverse_access.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/binding_elements.ts_0_1066
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** Gets the pattern and property name for a given binding element. */ export function...
{ "end_byte": 1066, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/binding_elements.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/grouped_ts_ast_visitor.ts_0_1430
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** * Class that allows for efficient grouping of TypeScript node AST * traversal. ...
{ "end_byte": 1430, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/grouped_ts_ast_visitor.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/utils/is_descendant_of.ts_0_498
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** Whether the given node is a descendant of the given ancestor. */ export function i...
{ "end_byte": 498, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/utils/is_descendant_of.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/pattern_advisors/debug_element_component_instance.ts_0_2426
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; /** * Detects `query(By.directive(T)).componentInstance` patterns and enhances * the...
{ "end_byte": 2426, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/pattern_advisors/debug_element_component_instance.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/pattern_advisors/spy_on_pattern.ts_0_1693
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ClassFieldDescriptor, KnownFields} from '../passes/reference_resolution/known_f...
{ "end_byte": 1693, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/pattern_advisors/spy_on_pattern.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/pattern_advisors/partial_directive_type.ts_0_2382
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import ts from 'typescript'; import {ClassFieldDescriptor, KnownFields} from '../passes/reference_resolution/known_f...
{ "end_byte": 2382, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/pattern_advisors/partial_directive_type.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/batch/extract.ts_0_1467
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {KnownInputs} from '../input_detection/known_inputs'; import {ClassFieldUniqueKey} from '../passes/reference_...
{ "end_byte": 1467, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/batch/extract.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/batch/unit_data.ts_0_1016
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { ClassIncompatibilityReason, FieldIncompatibilityReason, } from '../passes/problematic_patterns/incompat...
{ "end_byte": 1016, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/batch/unit_data.ts" }
angular/packages/core/schematics/migrations/signal-migration/src/batch/populate_global_data.ts_0_1252
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {KnownInputs} from '../input_detection/known_inputs'; import {ClassFieldUniqueKey} from '../passes/reference_...
{ "end_byte": 1252, "start_byte": 0, "url": "https://github.com/angular/angular/blob/main/packages/core/schematics/migrations/signal-migration/src/batch/populate_global_data.ts" }