MCPcopy Create free account

hub / github.com/angular/angular / functions

Functions28,887 in github.com/angular/angular

↓ 88 callersMethodmarkForCheck
* Marks a view and all of its ancestors dirty. * * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush} component is * checke
packages/core/src/render3/view_ref.ts:162
↓ 88 callersMethodunsubscribe
()
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_chrome_dev_tools_performance-chunk.d.ts:114
↓ 85 callersMethodas_str
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/host/mod.rs:37
↓ 82 callersMethodsetAttribute
(el: RElement, name: string, value: string | TrustedHTML | TrustedScript | TrustedScriptURL, namespace?: strin
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts:4144
↓ 81 callersMethoddelete
* Constructs an observable that, when subscribed, causes the configured * `DELETE` request to execute on the server. See the individual overloads f
packages/common/http/src/client.ts:890
↓ 81 callersMethodwriteFile
(path: AbsoluteFsPath, data: string | Uint8Array, exclusive?: boolean)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:78
↓ 80 callersMethodentries
()
packages/service-worker/worker/testing/fetch.ts:88
↓ 79 callersMethodspan
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/class_data.rs:1273
↓ 78 callersMethodresolve
(type: Type<any>)
packages/core/testing/src/resolvers.ts:31
↓ 76 callersFunctionassertDefined
(actual: T | null | undefined, msg: string)
packages/core/src/util/assert.ts:103
↓ 76 callersFunctionform
(...args: any[])
packages/forms/signals/src/api/structure.ts:225
↓ 76 callersMethodreadFile
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:62
↓ 76 callersMethodremoveEventListener
(type: string, listener?: EventListener, options?: boolean)
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts:619
↓ 75 callersMethodget_metadata_for_file
(filePath: string)
packages/compiler-cli/preprocessor/src/analyzer_wasm.ts:31
↓ 74 callersMethodgetSourceFile
( fileName: string, languageVersionOrOptions: ts.ScriptTarget | ts.CreateSourceFileOptions, onErro
packages/compiler-cli/src/ngtsc/core/src/host.ts:295
↓ 74 callersMethodnext
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/compiler/iterator.rs:30
↓ 74 callersFunctionprovideZoneChangeDetection
(options?: NgZoneOptions)
packages/core/src/change_detection/scheduling/ng_zone_scheduling.ts:154
↓ 73 callersFunctiongetFileSystem
()
packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts:15
↓ 73 callersMethodgetSourceFile
( fileName: string, languageVersion: ts.ScriptTarget, )
packages/compiler-cli/src/ngtsc/testing/src/compiler_host.ts:18
↓ 73 callersMethodwithContext
* Executes a callback in the provided context.
packages/compiler/src/expression_parser/parser.ts:689
↓ 71 callersMethodisStringLiteral
* Return `true` if the given expression is a string literal, or false otherwise.
packages/compiler-cli/linker/src/ast/ast_host.ts:23
↓ 71 callersFunctionngErrorCode
(code: ErrorCode)
packages/compiler-cli/src/ngtsc/diagnostics/src/util.ts:31
↓ 71 callersFunctionprovideRouter
(routes: Routes, ...features: RouterFeatures[])
packages/router/src/provide_router.ts:110
↓ 70 callersMethodas_str
ngtsc's `classMemberAccessLevelToString`.
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/class_data.rs:1021
↓ 68 callersFunctionconfirmAsSerializable
(data: T)
packages/core/schematics/utils/tsurge/helpers/serializable.ts:13
↓ 68 callersMethodprint
* Converts the node's current state to a string. * @param ignoreComments Whether the comments associated with the expression should be skipped.
packages/compiler/src/typecheck/ops/codegen.ts:40
↓ 67 callersMethoddirname
(file: T)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:38
↓ 67 callersMethodisCallExpression
* Return true if the given expression is a call expression, or false otherwise.
packages/compiler-cli/linker/src/ast/ast_host.ts:96
↓ 67 callersFunctionoutput
(opts?: OutputOptions)
packages/core/src/authoring/output/output.ts:69
↓ 66 callersMethodbind
(target: Target<D>)
packages/compiler/src/render3/view/t2_api.ts:208
↓ 66 callersMethodfocus
* Focuses the UI control. * * If the focus method is not implemented, Signal Forms will attempt to focus the host element * when asked to foc
packages/forms/signals/src/api/control.ts:130
↓ 66 callersMethodlen
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/query/file_id.rs:84
↓ 66 callersFunctionthrowError
(msg: string, actual?: any, expected?: any, comparison?: string)
packages/core/src/util/assert.ts:111
↓ 65 callersFunctionstyle
( tokens: '*' | {[key: string]: string | number} | Array<'*' | {[key: string]: string | number}>, )
packages/animations/src/animation_metadata.ts:848
↓ 62 callersFunctiontrigger
(name: string, definitions: AnimationMetadata[])
packages/animations/src/animation_metadata.ts:652
↓ 62 callersMethodupsert_file
Add or update a virtual file with the given content
packages/compiler-cli/preprocessor/ng-analyze/src/fs.rs:361
↓ 61 callersMethoddelete
(key: K)
packages/core/src/render3/list_reconciliation.ts:432
↓ 61 callersFunctiontimeout
(ms?: number)
packages/private/testing/src/utils.ts:183
↓ 60 callersMethodextend
* Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the * inherited {@link IterableDiffers} instance with the p
packages/core/src/change_detection/differs/iterable_differs.ts:233
↓ 59 callersFunctionanimate
( timings: string | number, styles: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null = n
packages/animations/src/animation_metadata.ts:716
↓ 59 callersMethodmatch
* Find the objects that have been added via `addSelectable` * whose css selector is contained in the given css selector. * @param cssSelector A
packages/compiler/src/directive_matching.ts:340
↓ 59 callersMethodquery
* Constructs an observable that, when subscribed, causes the configured * `QUERY` request to execute on the server. The server responds with the re
packages/common/http/src/client.ts:2657
↓ 59 callersFunctiontransition
( stateChangeExpr: | string | (( fromState: string, toState: string, element
packages/animations/src/animation_metadata.ts:1092
↓ 58 callersMethoddirective
(selector: string, factory: IInjectable)
packages/upgrade/src/common/src/angular1.ts:28
↓ 58 callersMethodread
(path: string)
packages/compiler-cli/preprocessor/src/wasm_host_fs.ts:47
↓ 56 callersMethodbootstrapModule
* Creates an instance of an `@NgModule` for a given platform. * * @usageNotes * ### Simple Example * * ```ts * @NgModule({ * im
packages/core/src/platform/platform_ref.ts:91
↓ 56 callersMethodis_empty
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/evaluated_io.rs:71
↓ 55 callersMethod__symbol__
* Zone symbol API to generate a string with __zone_symbol__ prefix
packages/zone.js/lib/zone-impl.ts:333
↓ 55 callersMethodunwrap_named
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/evaluator/value.rs:115
↓ 54 callersFunctionfn
()
packages/forms/test/form_control_spec.ts:1548
↓ 53 callersFunctioneval_source
(source: &str)
packages/compiler-cli/preprocessor/ng-analyze/src/evaluator/tests.rs:57
↓ 52 callersFunctionafterRenderEffect
( callbackOrSpec: | ((onCleanup: EffectCleanupRegisterFn) => void) | { earlyRead?: (onCleanu
packages/core/src/render3/reactivity/after_render_effect.ts:395
↓ 52 callersFunctioncall
( instruction: o.ExternalReference, args: o.Expression[], sourceSpan: ParseSourceSpan | null, )
packages/compiler/src/template/pipeline/src/instruction.ts:1023
↓ 51 callersMethodcreateIdentifier
* Create an identifier. * * @param name the name of the identifier.
packages/compiler-cli/src/ngtsc/translator/src/api/ast_factory.ts:175
↓ 51 callersFunctiongetCurrentTNode
()
packages/core/src/render3/state.ts:379
↓ 51 callersMethodvisitExpression
(visitor: ExpressionVisitor, context: any)
packages/compiler/src/output/output_ast.ts:1003
↓ 51 callersMethodvisitExpression
(node: ts.Expression, context: Context)
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts:110
↓ 50 callersMethodanalyze_file_syntax
(&self, file_id: FileId)
packages/compiler-cli/preprocessor/ng-analyze/src/query/context.rs:146
↓ 50 callersMethodnow
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/perf/layer.rs:383
↓ 50 callersMethodoverrideComponent
(component: Type<any>, override: MetadataOverride<Component>)
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/testing.d.ts:499
↓ 50 callersFunctionprojectFile
( file: ts.SourceFile | AbsoluteFsPath, {sortedRootDirs, projectRoot}: Pick<ProgramInfo, 'sortedRootDirs'
packages/core/schematics/utils/tsurge/project_paths.ts:95
↓ 49 callersMethodcount
(counter: Counter, n?: number)
packages/compiler-cli/preprocessor/src/perf.ts:196
↓ 49 callersFunctiongetTView
()
packages/core/src/render3/state.ts:347
↓ 48 callersMethodfirst
()
packages/common/src/directives/ng_for_of.ts:53
↓ 48 callersFunctionloadStandardTestFiles
({ fakeCommon = false, rxjs = false, forms = false, }: {fakeCommon?: boolean; rxjs?: boolean; forms?: bo
packages/compiler-cli/src/ngtsc/testing/src/mock_file_loading.ts:50
↓ 48 callersMethodnavigateByUrl
(url: string, requiredRoutedComponentType?: Type<T>)
packages/router/testing/src/router_testing_harness.ts:151
↓ 48 callersMethodsetup
* Set up a new testing environment.
packages/compiler-cli/test/ngtsc/env.ts:91
↓ 47 callersMethodgetCurrentProgram
* Get the current `ts.Program` known to this `NgCompiler`. * * Compilation begins with an input `ts.Program`, and during template type-checking
packages/compiler-cli/src/ngtsc/core/src/compiler.ts:723
↓ 46 callersFunctionformatRuntimeError
( code: T, message: null | false | string, )
packages/core/src/errors.ts:205
↓ 46 callersMethodgetSourceFile
( fileName: string, languageVersion: ts.ScriptTarget, onError?: (message: string) => void, sho
packages/language-service/src/adapters.ts:47
↓ 46 callersMethodmax
* @description * Validator that requires the control's value to be less than or equal to the provided number. * * @usageNotes * * ### V
packages/forms/src/validators.ts:209
↓ 46 callersMethodreject
(error: U)
packages/zone.js/lib/common/promise.ts:338
↓ 46 callersMethodreset
* Resets the `FormRecord`, marks all descendants `pristine` and `untouched` and sets * the value of all descendants to null. * * See `FormGro
packages/forms/src/model/form_group.ts:817
↓ 46 callersMethodrun
(f: () => T)
packages/core/src/zone/async-stack-tagging.ts:14
↓ 46 callersMethodsetInput
(name: string, value: unknown)
packages/core/src/render3/component_ref.ts:621
↓ 46 callersFunctionvalue
* @description * Reports the value of the control if it is present, otherwise null.
packages/forms/src/directives/abstract_control_directive.ts:43
↓ 46 callersMethodvisitAll
(nodes: t.Node[][])
packages/compiler/test/render3/r3_ast_spans_spec.ts:308
↓ 45 callersMethodanalyze
()
packages/compiler-cli/preprocessor/src/analyzer_wasm.ts:17
↓ 45 callersFunctiongetSourceFileOrError
(program: ts.Program, fileName: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/util.ts:28
↓ 45 callersMethodtsconfig
( extraOpts: TsConfigOptions = {}, compilerOptions?: TsCompilerOptions, files?: string[], )
packages/compiler-cli/test/ngtsc/env.ts:263
↓ 44 callersMethodcharAt
(pos: number)
packages/compiler/src/ml_parser/lexer.ts:1520
↓ 44 callersFunctioninject
(token: ProviderToken<T> | HostAttributeToken, options?: InjectOptions)
packages/core/src/di/injector_compatibility.ts:287
↓ 44 callersMethodvisitAll
(visitor: Visitor<unknown>)
packages/compiler/src/render3/r3_ast.ts:448
↓ 43 callersMethodexists
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:61
↓ 43 callersMethoditer
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/query/scope.rs:360
↓ 42 callersMethodaddParseSpanInfo
* Adds a synthetic comment to the expression that represents the parse span of the provided node. * This comment can later be retrieved as trivia o
packages/compiler/src/typecheck/ops/codegen.ts:58
↓ 42 callersFunctiongetDOM
()
packages/common/src/dom_adapter.ts:11
↓ 42 callersMethodprint
( from: {sourceSpan?: ParseSourceSpan | null} | null, part: string, newLine: boolean = false, )
packages/compiler/src/output/abstract_emitter.ts:98
↓ 42 callersFunctionrunInInjectionContext
(injector: Injector, fn: () => ReturnT)
packages/core/src/di/contextual.ts:37
↓ 42 callersMethodupdateValueAndValidity
()
packages/forms/signals/src/controls/interop_ng_control.ts:53
↓ 41 callersFunctionassertEqual
(actual: T, expected: T, msg: string)
packages/core/src/util/assert.ts:45
↓ 41 callersFunctionfn
()
packages/core/test/signals/is_signal_spec.ts:33
↓ 41 callersMethodgetTemplateTypeChecker
()
packages/language-service/testing/src/project.ts:311
↓ 41 callersMethodpreventDefault
()
packages/service-worker/worker/testing/events.ts:36
↓ 41 callersMethodresetTestingModule
()
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/testing.d.ts:479
↓ 41 callersFunctionwaitForAngular
(driver: webdriver.WebDriver)
packages/examples/test-utils/index.ts:71
↓ 40 callersMethoddelete
(filePath: string)
packages/compiler-cli/preprocessor/src/processed_file_cache.ts:31
↓ 40 callersFunctiongetComponentDef
(type: any)
packages/core/src/render3/def_getters.ts:39
↓ 39 callersFunctionassert
( node: T, predicate: (node: T) => node is K, expected: string, )
packages/compiler-cli/linker/src/ast/utils.ts:13
↓ 39 callersFunctioncallback
()
packages/core/src/defer/rendering.ts:405
← previousnext →101–200 of 28,887, ranked by callers