Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ functions
Functions
22,620 in github.com/angular/angular
⨍
Functions
22,620
◇
Types & classes
18,391
↓ 67 callers
Method
resolve
* 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 callers
Method
getSourceFile
( fileName: string, languageVersion: ts.ScriptTarget, )
packages/compiler-cli/src/ngtsc/testing/src/compiler_host.ts:18
↓ 66 callers
Function
throwError
(msg: string, actual?: any, expected?: any, comparison?: string)
packages/core/src/util/assert.ts:111
↓ 64 callers
Method
entries
Equivalent to `navigation.entries()`.
packages/core/primitives/dom-navigation/testing/fake_navigation.ts:171
↓ 64 callers
Method
focus
* 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 callers
Method
isCallExpression
* Return true if the given expression is a call expression, or false otherwise.
packages/compiler-cli/linker/src/ast/ast_host.ts:96
↓ 63 callers
Function
style
( tokens: '*' | {[key: string]: string | number} | Array<'*' | {[key: string]: string | number}>, )
packages/animations/src/animation_metadata.ts:848
↓ 62 callers
Method
delete
* 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 callers
Function
output
(opts?: OutputOptions)
packages/core/src/authoring/output/output.ts:69
↓ 62 callers
Function
trigger
(name: string, definitions: AnimationMetadata[])
packages/animations/src/animation_metadata.ts:652
↓ 61 callers
Method
readFile
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:62
↓ 60 callers
Function
fn
()
packages/forms/test/form_control_spec.ts:1548
↓ 59 callers
Method
isStringLiteral
* Return `true` if the given expression is a string literal, or false otherwise.
packages/compiler-cli/linker/src/ast/ast_host.ts:23
↓ 58 callers
Method
bind
(target: Target<D>)
packages/compiler/src/render3/view/t2_api.ts:193
↓ 57 callers
Function
animate
( timings: string | number, styles: AnimationStyleMetadata | AnimationKeyframesSequenceMetadata | null = n
packages/animations/src/animation_metadata.ts:716
↓ 57 callers
Method
directive
(selector: string, factory: IInjectable)
packages/upgrade/src/common/src/angular1.ts:28
↓ 57 callers
Function
transition
( stateChangeExpr: | string | (( fromState: string, toState: string, element
packages/animations/src/animation_metadata.ts:1092
↓ 56 callers
Method
bootstrapModule
* 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 callers
Method
delete
(key: K)
packages/core/src/render3/list_reconciliation.ts:421
↓ 53 callers
Method
match
* 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 callers
Method
withContext
* Executes a callback in the provided context.
packages/compiler/src/expression_parser/parser.ts:693
↓ 51 callers
Method
__symbol__
* Zone symbol API to generate a string with __zone_symbol__ prefix
packages/zone.js/lib/zone-impl.ts:333
↓ 51 callers
Method
createIdentifier
* Create an identifier. * * @param name the name of the identifier.
packages/compiler-cli/src/ngtsc/translator/src/api/ast_factory.ts:169
↓ 51 callers
Function
getCurrentTNode
()
packages/core/src/render3/state.ts:379
↓ 51 callers
Method
writeFile
(path: AbsoluteFsPath, data: string | Uint8Array, exclusive?: boolean)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:78
↓ 50 callers
Function
projectFile
( file: ts.SourceFile | AbsoluteFsPath, {sortedRootDirs, projectRoot}: Pick<ProgramInfo, 'sortedRootDirs'
packages/core/schematics/utils/tsurge/project_paths.ts:95
↓ 49 callers
Function
call
( instruction: o.ExternalReference, args: o.Expression[], sourceSpan: ParseSourceSpan | null, )
packages/compiler/src/template/pipeline/src/instruction.ts:979
↓ 49 callers
Method
visitExpression
(visitor: ExpressionVisitor, context: any)
packages/compiler/src/output/output_ast.ts:1001
↓ 48 callers
Function
afterRenderEffect
( callbackOrSpec: | ((onCleanup: EffectCleanupRegisterFn) => void) | { earlyRead?: (onCleanu
packages/core/src/render3/reactivity/after_render_effect.ts:382
↓ 48 callers
Method
clear
()
packages/core/testing/src/logger.ts:29
↓ 48 callers
Method
getCurrentProgram
* 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 callers
Function
loadStandardTestFiles
({ 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 callers
Method
setup
* Set up a new testing environment.
packages/compiler-cli/test/ngtsc/env.ts:80
↓ 47 callers
Method
getSourceFile
( fileName: string, languageVersion: ts.ScriptTarget, onError?: (message: string) => void, sho
packages/language-service/src/adapters.ts:47
↓ 47 callers
Function
getTView
()
packages/core/src/render3/state.ts:347
↓ 47 callers
Method
visitAll
(nodes: t.Node[][])
packages/compiler/test/render3/r3_ast_spans_spec.ts:313
↓ 47 callers
Method
visitExpression
(node: ts.Expression, context: Context)
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.ts:110
↓ 46 callers
Function
getSourceFileOrError
(program: ts.Program, fileName: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/util.ts:28
↓ 46 callers
Method
navigateByUrl
(url: string, requiredRoutedComponentType?: Type<T>)
packages/router/testing/src/router_testing_harness.ts:146
↓ 45 callers
Method
tsconfig
( extraOpts: TsConfigOptions = {}, compilerOptions?: TsCompilerOptions, files?: string[], )
packages/compiler-cli/test/ngtsc/env.ts:227
↓ 44 callers
Function
$localize
( messageParts: TemplateStringsArray, ...expressions: readonly any[] )
packages/localize/src/localize/src/localize.ts:146
↓ 44 callers
Method
any
(values: Iterable<PromiseLike<T>>)
packages/zone.js/lib/common/promise.ts:355
↓ 44 callers
Function
inject
(token: ProviderToken<T> | HostAttributeToken, options?: InjectOptions)
packages/core/src/di/injector_compatibility.ts:293
↓ 44 callers
Method
overrideComponent
(component: Type<any>, override: MetadataOverride<Component>)
packages/core/testing/src/test_bed.ts:149
↓ 44 callers
Method
reject
(error: U)
packages/zone.js/lib/common/promise.ts:338
↓ 44 callers
Method
reset
* 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 callers
Method
addParseSpanInfo
* 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 callers
Method
contains
* 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 callers
Method
visitAll
(visitor: Visitor<unknown>)
packages/compiler/src/render3/r3_ast.ts:391
↓ 42 callers
Function
assertEqual
(actual: T, expected: T, msg: string)
packages/core/src/util/assert.ts:45
↓ 42 callers
Function
getDOM
()
packages/common/src/dom_adapter.ts:11
↓ 42 callers
Method
getTemplateTypeChecker
()
packages/language-service/testing/src/project.ts:313
↓ 41 callers
Method
charAt
(pos: number)
packages/compiler/src/ml_parser/lexer.ts:1669
↓ 41 callers
Method
count
()
packages/core/test/acceptance/listener_spec.ts:595
↓ 41 callers
Method
max
* @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 callers
Method
preventDefault
()
packages/service-worker/worker/testing/events.ts:36
↓ 41 callers
Method
print
(from: {sourceSpan: ParseSourceSpan | null} | null, part: string, newLine: boolean = false)
packages/compiler/src/output/abstract_emitter.ts:91
↓ 41 callers
Function
timeout
(ms?: number)
packages/private/testing/src/utils.ts:183
↓ 41 callers
Method
updateValueAndValidity
()
packages/forms/signals/src/controls/interop_ng_control.ts:53
↓ 41 callers
Function
value
* @description * Reports the value of the control if it is present, otherwise null.
packages/forms/src/directives/abstract_control_directive.ts:43
↓ 40 callers
Function
fn
()
packages/core/test/signals/is_signal_spec.ts:33
↓ 40 callers
Function
formatRuntimeError
( code: T, message: null | false | string, )
packages/core/src/errors.ts:198
↓ 39 callers
Function
assert
( node: T, predicate: (node: T) => node is K, expected: string, )
packages/compiler-cli/linker/src/ast/utils.ts:13
↓ 39 callers
Function
getComponentDef
(type: any)
packages/core/src/render3/def_getters.ts:39
↓ 39 callers
Method
getTypeOfSymbol
* 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 callers
Function
provideProtractorTestingSupport
( options: {usePendingTasksForStability?: boolean} = {}, )
packages/platform-browser/src/browser.ts:196
↓ 39 callers
Function
runInInjectionContext
(injector: Injector, fn: () => ReturnT)
packages/core/src/di/contextual.ts:37
↓ 39 callers
Method
setInput
(name: string, value: unknown)
packages/core/src/render3/component_ref.ts:577
↓ 38 callers
Function
clearTimeout
(id: any)
packages/language-service/test/legacy/mock_host.ts:135
↓ 38 callers
Method
toHaveText
* 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 callers
Function
absoluteFromSourceFile
(sf: {fileName: string})
packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts:37
↓ 37 callers
Method
dirname
(file: T)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:38
↓ 37 callers
Method
getSymbolOfNode
* 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 callers
Function
callback
()
packages/core/src/defer/rendering.ts:389
↓ 36 callers
Method
get
(key: string)
packages/upgrade/src/common/src/angular1.ts:181
↓ 36 callers
Method
open
* Open a `Table`.
packages/service-worker/worker/src/database.ts:57
↓ 36 callers
Method
runOutsideAngular
* 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 callers
Method
evaluate
(expr: ts.Expression, foreignFunctionResolver?: ForeignFunctionResolver)
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts:35
↓ 35 callers
Method
insertBefore
(parent: RNode, newChild: RNode, refChild: RNode | null, isMove?: boolean)
packages/core/src/render3/interfaces/renderer.ts:46
↓ 35 callers
Method
peek
The parsed character at the current cursor position.
packages/compiler/src/ml_parser/lexer.ts:1560
↓ 35 callers
Method
removeChild
( parent: RElement | null, oldChild: RNode, isHostElement?: boolean, requireSynchronousElement
packages/core/src/render3/interfaces/renderer.ts:48
↓ 35 callers
Method
resetTestingModule
()
packages/core/testing/src/test_bed.ts:116
↓ 35 callers
Function
ɵɵdefineInjectable
(opts: { token: unknown; providedIn?: Type<any> | 'root' | 'platform' | 'any' | 'environment' | null; fa
packages/core/src/di/interface/defs.ts:167
↓ 34 callers
Function
fakeAsync
(fn: Function, options?: {flush?: boolean})
packages/core/testing/src/fake_async.ts:70
↓ 34 callers
Method
getProgram
* 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 callers
Method
setValue
* 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 callers
Function
state
( name: string, styles: AnimationStyleMetadata, options?: {params: {[name: string]: any}}, )
packages/animations/src/animation_metadata.ts:885
↓ 34 callers
Function
stringify
(token: any)
packages/core/src/util/stringify.ts:9
↓ 33 callers
Method
__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 callers
Function
afterNextRender
( callbackOrSpec: | VoidFunction | { earlyRead?: () => unknown; write?: (r?: unknown
packages/core/src/render3/after_render/hooks.ts:384
↓ 33 callers
Method
required
()
packages/forms/signals/src/field/node.ts:253
↓ 32 callers
Method
listen
( target: GlobalTargetName | RNode, eventName: string, callback: (event: any) => boolean | void,
packages/core/src/render3/interfaces/renderer.ts:74
↓ 32 callers
Function
reject
(req: T, reason: any)
packages/core/test/resource/resource_spec.ts:48
↓ 32 callers
Function
resolveForwardRef
(type: T)
packages/core/src/di/forward_ref.ts:93
↓ 32 callers
Method
serialize
* 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 callers
Function
createEnvironmentInjector
( providers: Array<Provider | EnvironmentProviders>, parent: EnvironmentInjector, debugName: string | nu
packages/core/src/render3/ng_module_ref.ts:161
↓ 31 callers
Method
errors
()
packages/forms/signals/src/field/node.ts:171
↓ 31 callers
Method
exists
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:61
↓ 31 callers
Method
next
()
packages/core/test/linker/regression_integration_spec.ts:453
↓ 30 callers
Method
attachComments
( node: T, leadingComments: o.LeadingComment[] | undefined, )
packages/compiler-cli/src/ngtsc/translator/src/translator.ts:608
← previous
next →
101–200 of 22,620, ranked by callers