MCPcopy Create free account

hub / github.com/angular/angular / functions

Functions22,620 in github.com/angular/angular

↓ 67 callersMethodresolve
* Perform resolution on the given decorator along with the result of analysis. * * The resolution phase happens after the entire `ts.Program` ha
packages/compiler-cli/src/ngtsc/transform/src/api.ts:165
↓ 66 callersMethodgetSourceFile
( fileName: string, languageVersion: ts.ScriptTarget, )
packages/compiler-cli/src/ngtsc/testing/src/compiler_host.ts:18
↓ 66 callersFunctionthrowError
(msg: string, actual?: any, expected?: any, comparison?: string)
packages/core/src/util/assert.ts:111
↓ 64 callersMethodentries
Equivalent to `navigation.entries()`.
packages/core/primitives/dom-navigation/testing/fake_navigation.ts:171
↓ 64 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
↓ 63 callersMethodisCallExpression
* Return true if the given expression is a call expression, or false otherwise.
packages/compiler-cli/linker/src/ast/ast_host.ts:96
↓ 63 callersFunctionstyle
( tokens: '*' | {[key: string]: string | number} | Array<'*' | {[key: string]: string | number}>, )
packages/animations/src/animation_metadata.ts:848
↓ 62 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:898
↓ 62 callersFunctionoutput
(opts?: OutputOptions)
packages/core/src/authoring/output/output.ts:69
↓ 62 callersFunctiontrigger
(name: string, definitions: AnimationMetadata[])
packages/animations/src/animation_metadata.ts:652
↓ 61 callersMethodreadFile
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:62
↓ 60 callersFunctionfn
()
packages/forms/test/form_control_spec.ts:1548
↓ 59 callersMethodisStringLiteral
* Return `true` if the given expression is a string literal, or false otherwise.
packages/compiler-cli/linker/src/ast/ast_host.ts:23
↓ 58 callersMethodbind
(target: Target<D>)
packages/compiler/src/render3/view/t2_api.ts:193
↓ 57 callersFunctionanimate
( timings: string | number, styles: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null = n
packages/animations/src/animation_metadata.ts:716
↓ 57 callersMethoddirective
(selector: string, factory: IInjectable)
packages/upgrade/src/common/src/angular1.ts:28
↓ 57 callersFunctiontransition
( stateChangeExpr: | string | (( fromState: string, toState: string, element
packages/animations/src/animation_metadata.ts:1092
↓ 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:87
↓ 56 callersMethoddelete
(key: K)
packages/core/src/render3/list_reconciliation.ts:421
↓ 53 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
↓ 52 callersMethodwithContext
* Executes a callback in the provided context.
packages/compiler/src/expression_parser/parser.ts:693
↓ 51 callersMethod__symbol__
* Zone symbol API to generate a string with __zone_symbol__ prefix
packages/zone.js/lib/zone-impl.ts:333
↓ 51 callersMethodcreateIdentifier
* Create an identifier. * * @param name the name of the identifier.
packages/compiler-cli/src/ngtsc/translator/src/api/ast_factory.ts:169
↓ 51 callersFunctiongetCurrentTNode
()
packages/core/src/render3/state.ts:379
↓ 51 callersMethodwriteFile
(path: AbsoluteFsPath, data: string | Uint8Array, exclusive?: boolean)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:78
↓ 50 callersFunctionprojectFile
( file: ts.SourceFile | AbsoluteFsPath, {sortedRootDirs, projectRoot}: Pick<ProgramInfo, 'sortedRootDirs'
packages/core/schematics/utils/tsurge/project_paths.ts:95
↓ 49 callersFunctioncall
( instruction: o.ExternalReference, args: o.Expression[], sourceSpan: ParseSourceSpan | null, )
packages/compiler/src/template/pipeline/src/instruction.ts:979
↓ 49 callersMethodvisitExpression
(visitor: ExpressionVisitor, context: any)
packages/compiler/src/output/output_ast.ts:1001
↓ 48 callersFunctionafterRenderEffect
( callbackOrSpec: | ((onCleanup: EffectCleanupRegisterFn) => void) | { earlyRead?: (onCleanu
packages/core/src/render3/reactivity/after_render_effect.ts:382
↓ 48 callersMethodclear
()
packages/core/testing/src/logger.ts:29
↓ 48 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:713
↓ 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 callersMethodsetup
* Set up a new testing environment.
packages/compiler-cli/test/ngtsc/env.ts:80
↓ 47 callersMethodgetSourceFile
( fileName: string, languageVersion: ts.ScriptTarget, onError?: (message: string) => void, sho
packages/language-service/src/adapters.ts:47
↓ 47 callersFunctiongetTView
()
packages/core/src/render3/state.ts:347
↓ 47 callersMethodvisitAll
(nodes: t.Node[][])
packages/compiler/test/render3/r3_ast_spans_spec.ts:313
↓ 47 callersMethodvisitExpression
(node: ts.Expression, context: Context)
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts:110
↓ 46 callersFunctiongetSourceFileOrError
(program: ts.Program, fileName: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/util.ts:28
↓ 46 callersMethodnavigateByUrl
(url: string, requiredRoutedComponentType?: Type<T>)
packages/router/testing/src/router_testing_harness.ts:146
↓ 45 callersMethodtsconfig
( extraOpts: TsConfigOptions = {}, compilerOptions?: TsCompilerOptions, files?: string[], )
packages/compiler-cli/test/ngtsc/env.ts:227
↓ 44 callersFunction$localize
( messageParts: TemplateStringsArray, ...expressions: readonly any[] )
packages/localize/src/localize/src/localize.ts:146
↓ 44 callersMethodany
(values: Iterable<PromiseLike<T>>)
packages/zone.js/lib/common/promise.ts:355
↓ 44 callersFunctioninject
(token: ProviderToken<T> | HostAttributeToken, options?: InjectOptions)
packages/core/src/di/injector_compatibility.ts:293
↓ 44 callersMethodoverrideComponent
(component: Type<any>, override: MetadataOverride<Component>)
packages/core/testing/src/test_bed.ts:149
↓ 44 callersMethodreject
(error: U)
packages/zone.js/lib/common/promise.ts:338
↓ 44 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
↓ 43 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
↓ 43 callersMethodcontains
* Check whether there is an enabled control with the given name in the group. * * See `FormGroup#contains` for additional information.
packages/forms/src/model/form_group.ts:780
↓ 43 callersMethodvisitAll
(visitor: Visitor<unknown>)
packages/compiler/src/render3/r3_ast.ts:391
↓ 42 callersFunctionassertEqual
(actual: T, expected: T, msg: string)
packages/core/src/util/assert.ts:45
↓ 42 callersFunctiongetDOM
()
packages/common/src/dom_adapter.ts:11
↓ 42 callersMethodgetTemplateTypeChecker
()
packages/language-service/testing/src/project.ts:313
↓ 41 callersMethodcharAt
(pos: number)
packages/compiler/src/ml_parser/lexer.ts:1669
↓ 41 callersMethodcount
()
packages/core/test/acceptance/listener_spec.ts:595
↓ 41 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
↓ 41 callersMethodpreventDefault
()
packages/service-worker/worker/testing/events.ts:36
↓ 41 callersMethodprint
(from: {sourceSpan: ParseSourceSpan | null} | null, part: string, newLine: boolean = false)
packages/compiler/src/output/abstract_emitter.ts:91
↓ 41 callersFunctiontimeout
(ms?: number)
packages/private/testing/src/utils.ts:183
↓ 41 callersMethodupdateValueAndValidity
()
packages/forms/signals/src/controls/interop_ng_control.ts:53
↓ 41 callersFunctionvalue
* @description * Reports the value of the control if it is present, otherwise null.
packages/forms/src/directives/abstract_control_directive.ts:43
↓ 40 callersFunctionfn
()
packages/core/test/signals/is_signal_spec.ts:33
↓ 40 callersFunctionformatRuntimeError
( code: T, message: null | false | string, )
packages/core/src/errors.ts:198
↓ 39 callersFunctionassert
( node: T, predicate: (node: T) => node is K, expected: string, )
packages/compiler-cli/linker/src/ast/utils.ts:13
↓ 39 callersFunctiongetComponentDef
(type: any)
packages/core/src/render3/def_getters.ts:39
↓ 39 callersMethodgetTypeOfSymbol
* Translates a symbol's TCB location to its corresponding ts.Type using the program's type checker. * This is used by compiler checks that need sem
packages/compiler-cli/src/ngtsc/typecheck/api/checker.ts:187
↓ 39 callersFunctionprovideProtractorTestingSupport
( options: {usePendingTasksForStability?: boolean} = {}, )
packages/platform-browser/src/browser.ts:196
↓ 39 callersFunctionrunInInjectionContext
(injector: Injector, fn: () => ReturnT)
packages/core/src/di/contextual.ts:37
↓ 39 callersMethodsetInput
(name: string, value: unknown)
packages/core/src/render3/component_ref.ts:577
↓ 38 callersFunctionclearTimeout
(id: any)
packages/language-service/test/legacy/mock_host.ts:135
↓ 38 callersMethodtoHaveText
* Expect the element to have exactly the given text. * * @usageNotes * ### Example * * {@example testing/ts/matchers.ts region='toHaveT
packages/private/testing/matchers/index.ts:30
↓ 37 callersFunctionabsoluteFromSourceFile
(sf: {fileName: string})
packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts:37
↓ 37 callersMethoddirname
(file: T)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:38
↓ 37 callersMethodgetSymbolOfNode
* Retrieves a `Symbol` for the node in a component's template. * * This method can return `null` if a valid `Symbol` cannot be determined for th
packages/compiler-cli/src/ngtsc/typecheck/api/checker.ts:167
↓ 36 callersFunctioncallback
()
packages/core/src/defer/rendering.ts:389
↓ 36 callersMethodget
(key: string)
packages/upgrade/src/common/src/angular1.ts:181
↓ 36 callersMethodopen
* Open a `Table`.
packages/service-worker/worker/src/database.ts:57
↓ 36 callersMethodrunOutsideAngular
* Executes the `fn` function synchronously in Angular's parent zone and returns value returned by * the function. * * Running functions via {
packages/core/src/zone/ng_zone.ts:281
↓ 35 callersMethodevaluate
(expr: ts.Expression, foreignFunctionResolver?: ForeignFunctionResolver)
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts:35
↓ 35 callersMethodinsertBefore
(parent: RNode, newChild: RNode, refChild: RNode | null, isMove?: boolean)
packages/core/src/render3/interfaces/renderer.ts:46
↓ 35 callersMethodpeek
The parsed character at the current cursor position.
packages/compiler/src/ml_parser/lexer.ts:1560
↓ 35 callersMethodremoveChild
( parent: RElement | null, oldChild: RNode, isHostElement?: boolean, requireSynchronousElement
packages/core/src/render3/interfaces/renderer.ts:48
↓ 35 callersMethodresetTestingModule
()
packages/core/testing/src/test_bed.ts:116
↓ 35 callersFunctionɵɵdefineInjectable
(opts: { token: unknown; providedIn?: Type<any> | 'root' | 'platform' | 'any' | 'environment' | null; fa
packages/core/src/di/interface/defs.ts:167
↓ 34 callersFunctionfakeAsync
(fn: Function, options?: {flush?: boolean})
packages/core/testing/src/fake_async.ts:70
↓ 34 callersMethodgetProgram
* Retrieve the latest version of the program, containing all the updates made thus far.
packages/compiler-cli/src/ngtsc/program_driver/src/api.ts:59
↓ 34 callersMethodsetValue
* Sets the value of the `FormRecord`. It accepts an object that matches * the structure of the group, with control names as keys. * * See `Fo
packages/forms/src/model/form_group.ts:788
↓ 34 callersFunctionstate
( name: string, styles: AnimationStyleMetadata, options?: {params: {[name: string]: any}}, )
packages/animations/src/animation_metadata.ts:885
↓ 34 callersFunctionstringify
(token: any)
packages/core/src/util/stringify.ts:9
↓ 33 callersMethod__load_patch
* load patch for specified native module, allow user to * define their own patch, user can use this API after loading zone.js
packages/zone.js/lib/zone-impl.ts:328
↓ 33 callersFunctionafterNextRender
( callbackOrSpec: | VoidFunction | { earlyRead?: () => unknown; write?: (r?: unknown
packages/core/src/render3/after_render/hooks.ts:384
↓ 33 callersMethodrequired
()
packages/forms/signals/src/field/node.ts:253
↓ 32 callersMethodlisten
( target: GlobalTargetName | RNode, eventName: string, callback: (event: any) => boolean | void,
packages/core/src/render3/interfaces/renderer.ts:74
↓ 32 callersFunctionreject
(req: T, reason: any)
packages/core/test/resource/resource_spec.ts:48
↓ 32 callersFunctionresolveForwardRef
(type: T)
packages/core/src/di/forward_ref.ts:93
↓ 32 callersMethodserialize
* Serialize the contents of a translation file containing the given `messages`. * * @param messages The messages to render to the file. * @re
packages/localize/tools/src/extract/translation_files/translation_serializer.ts:20
↓ 31 callersFunctioncreateEnvironmentInjector
( providers: Array<Provider | EnvironmentProviders>, parent: EnvironmentInjector, debugName: string | nu
packages/core/src/render3/ng_module_ref.ts:161
↓ 31 callersMethoderrors
()
packages/forms/signals/src/field/node.ts:171
↓ 31 callersMethodexists
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:61
↓ 31 callersMethodnext
()
packages/core/test/linker/regression_integration_spec.ts:453
↓ 30 callersMethodattachComments
( node: T, leadingComments: o.LeadingComment[] | undefined, )
packages/compiler-cli/src/ngtsc/translator/src/translator.ts:608
← previousnext →101–200 of 22,620, ranked by callers