Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ functions
Functions
28,887 in github.com/angular/angular
⨍
Functions
28,887
◇
Types & classes
22,621
↓ 39 callers
Method
close
()
packages/compiler-cli/preprocessor/src/hybrid_compiler.ts:137
↓ 39 callers
Function
createWebDriver
()
packages/examples/test-utils/index.ts:48
↓ 39 callers
Method
insert
(&mut self, path: PathBuf, key: SourceKey, value: V)
packages/compiler-cli/preprocessor/ng-analyze/src/query/engine.rs:3318
↓ 39 callers
Method
ok
()
packages/service-worker/worker/testing/fetch.ts:197
↓ 39 callers
Method
open
* Open a `Table`.
packages/service-worker/worker/src/database.ts:57
↓ 38 callers
Function
absoluteFromSourceFile
(sf: {fileName: string})
packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts:37
↓ 38 callers
Function
clearTimeout
(id: any)
packages/language-service/test/legacy/mock_host.ts:135
↓ 38 callers
Function
reject
(req: T, reason: any)
packages/core/test/resource/resource_spec.ts:50
↓ 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
Method
create
(options?: NgpCompilerOptions)
packages/compiler-cli/preprocessor/src/extended_diagnostics/api.ts:97
↓ 37 callers
Function
extract_property_key
Extract a string value from a PropertyKey expression.
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/utils/mod.rs:118
↓ 37 callers
Method
get
(key: string)
packages/upgrade/src/common/src/angular1.ts:181
↓ 37 callers
Method
insertBefore
* Insert a child node. * * Used exclusively for adding View root nodes into ViewAnchor location.
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts:583
↓ 37 callers
Function
join
(basePath: T, ...paths: string[])
packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts:70
↓ 37 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
↓ 36 callers
Function
afterNextRender
( callbackOrSpec: | VoidFunction | { earlyRead?: () => unknown; write?: (r?: unknown
packages/core/src/render3/after_render/hooks.ts:384
↓ 36 callers
Method
build
()
packages/compiler/src/ml_parser/parser.ts:99
↓ 36 callers
Method
is_empty
(&self)
packages/compiler-cli/preprocessor/ng-analyze/src/query/file_id.rs:92
↓ 36 callers
Function
load_and_resolve_tsconfig
( path: &Path, fs: &crate::fs::OverlayFileSystem, )
packages/compiler-cli/preprocessor/ng-analyze/src/tsconfig_resolution.rs:28
↓ 36 callers
Method
relative
* Compute the relative path between `from` and `to`. * * In file-systems that can have multiple file trees the returned path may not actually be
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:48
↓ 36 callers
Method
required
()
packages/forms/signals/src/field/node.ts:252
↓ 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:278
↓ 36 callers
Function
stringify
(token: any)
packages/core/src/util/stringify.ts:9
↓ 36 callers
Function
take
Drains timeline events, totals and counters. `None` unless recording. `file_path` names the files of the slowest queries.
packages/compiler-cli/preprocessor/ng-analyze/src/perf/layer.rs:40
↓ 36 callers
Method
update
(item: T, index: number, value: V)
packages/core/test/render3/list_reconciliation_spec.ts:14
↓ 35 callers
Function
linkedSignal
( optionsOrComputation: | { source: () => S; computation: ComputationFn<S, D>; e
packages/core/src/render3/reactivity/linked_signal.ts:55
↓ 35 callers
Function
state
( name: string, styles: AnimationStyleMetadata, options?: {params: {[name: string]: any}}, )
packages/animations/src/animation_metadata.ts:885
↓ 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
createEnvironmentInjector
( providers: Array<Provider | EnvironmentProviders>, parent: EnvironmentInjector, debugName: string | nu
packages/core/src/render3/ng_module_ref.ts:161
↓ 34 callers
Method
evaluate
(expr: ts.Expression, foreignFunctionResolver?: ForeignFunctionResolver)
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts:35
↓ 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
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:177
↓ 34 callers
Method
listen
(target: GlobalTargetName | RNode, eventName: string, callback: (event: any) => boolean | void, options?: List
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts:4152
↓ 34 callers
Function
makeDiagnostic
( code: ErrorCode, node: ts.Node, messageText: string | ts.DiagnosticMessageChain, relatedInformation?
packages/compiler-cli/src/ngtsc/diagnostics/src/error.ts:48
↓ 34 callers
Method
raw
The raw evaluator value — for the semantic driver and tests.
packages/compiler-cli/preprocessor/ng-analyze/src/evaluator/resolved.rs:829
↓ 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
Method
errors
()
packages/forms/signals/src/field/node.ts:170
↓ 33 callers
Function
ngDebugClient
()
devtools/projects/ng-devtools-backend/src/lib/shared/ng-debug-api/ng-debug-api.ts:15
↓ 33 callers
Method
peek
The parsed character at the current cursor position.
packages/compiler/src/ml_parser/lexer.ts:1411
↓ 33 callers
Method
printLeadingComments
( node: {leadingComments?: o.LeadingComment[]; sourceSpan?: ParseSourceSpan | null}, ctx: EmitterVisit
packages/compiler-cli/preprocessor/src/output_ast_printer.ts:617
↓ 33 callers
Method
queryAll
* @returns All `DebugElement` matches for the predicate at any depth in the subtree.
packages/core/src/debug/debug_node.ts:328
↓ 33 callers
Method
removeChild
(parent: RElement | null, oldChild: RNode, isHostElement?: boolean, requireSynchronousElementRemoval?: boolean
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/_debug_node-chunk.d.ts:4140
↓ 33 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
↓ 32 callers
Function
cb
()
packages/elements/test/utils_spec.ts:31
↓ 32 callers
Method
getDirectiveMetadata
(node: Reference<ClassDeclaration>)
packages/compiler-cli/src/ngtsc/metadata/src/api.ts:368
↓ 32 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:165
↓ 32 callers
Function
isLContainer
(value: RNode | LView | LContainer | {} | null)
packages/core/src/render3/interfaces/type_checks.ts:27
↓ 32 callers
Method
lookup_path
(&self, id: FileId)
packages/compiler-cli/preprocessor/ng-analyze/src/query/engine.rs:382
↓ 32 callers
Function
resolveForwardRef
(type: T)
packages/core/src/di/forward_ref.ts:92
↓ 32 callers
Function
setActiveConsumer
(consumer: ReactiveNode | null)
packages/core/primitives/signals/src/graph.ts:46
↓ 31 callers
Method
createProgram
(tsconfigAbsPath: string, fs: FileSystem)
packages/core/schematics/migrations/signal-migration/src/migration.ts:50
↓ 31 callers
Method
file
(mut self, path: &str)
packages/compiler-cli/preprocessor/ng-analyze/src/tsconfig_resolution.rs:648
↓ 31 callers
Method
getScriptInfo
(fileName: string)
packages/language-service/test/legacy/mock_host.ts:247
↓ 31 callers
Function
makeProgram
( files: {name: AbsoluteFsPath; contents: string; isRoot?: boolean}[], options?: ts.CompilerOptions, hos
packages/compiler-cli/src/ngtsc/testing/src/utils.ts:19
↓ 31 callers
Method
match
(rootSegmentGroup: UrlSegmentGroup)
packages/router/src/recognize.ts:125
↓ 31 callers
Method
next
()
packages/core/test/linker/regression_integration_spec.ts:445
↓ 31 callers
Method
query
* @returns the first `DebugElement` that matches the predicate at any depth in the subtree.
packages/core/src/debug/debug_node.ts:320
↓ 31 callers
Method
reverse
()
packages/animations/browser/test/render/web_animations/web_animations_player_spec.ts:194
↓ 31 callers
Function
runPipeline
( sourceFiles: TestFile[], options: { optimize: boolean; sidecar?: boolean; templateParseOptio
packages/compiler-cli/preprocessor/test/utils.ts:352
↓ 31 callers
Method
withResolvers
* Creates a new Promise and returns it in an object, along with its resolve and reject functions. * @returns An object with the properties `promise
packages/core/src/util/promise_with_resolvers.ts:28
↓ 30 callers
Function
angular_foreign_resolvers
Default set of Angular foreign function resolvers (`forwardRef` + `ModuleWithProviders`). Mirrors upstream `@angular/compiler-cli` resolver combinati
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/resolvers/mod.rs:12
↓ 30 callers
Method
attachComments
( node: T, leadingComments: o.LeadingComment[] | undefined, )
packages/compiler-cli/src/ngtsc/translator/src/translator.ts:615
↓ 30 callers
Function
block_on_with_timeout
Run a future on a worker thread with a deadline, so a regression toward deadlock (the reason the driver is NOT a cached query) fails the test instead
packages/compiler-cli/preprocessor/ng-analyze/src/evaluator/driver.rs:861
↓ 30 callers
Method
clear
()
packages/compiler-cli/preprocessor/src/processed_file_cache.ts:35
↓ 30 callers
Method
create
(index: number, value: V)
packages/core/test/render3/list_reconciliation_spec.ts:13
↓ 30 callers
Method
createCallExpression
* Create an expression that is calling the `callee` with the given `args`. * * @param callee an expression that evaluates to a function to be ca
packages/compiler-cli/src/ngtsc/translator/src/api/ast_factory.ts:68
↓ 30 callers
Method
ensureDir
(path: AbsoluteFsPath)
packages/compiler-cli/src/ngtsc/file_system/src/types.ts:83
↓ 30 callers
Method
getSymbol
(node: AST | TmplAstNode)
packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.ts:109
↓ 30 callers
Function
makeTemplateDiagnostic
( id: TypeCheckId, mapping: SourceMapping, span: ParseSourceSpan, category: ts.DiagnosticCategory, c
packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.ts:43
↓ 30 callers
Method
markAsTouched
* Sets the touched status of the field and its descendants to `true`. * * @param options Options for marking the field as touched.
packages/forms/signals/src/api/types.ts:554
↓ 30 callers
Method
min
* @description * Validator that requires the control's value to be greater than or equal to the provided number. * * @usageNotes * * ##
packages/forms/src/validators.ts:185
↓ 30 callers
Function
required
( path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, config?: BaseValidatorConfig<TValue, TPa
packages/forms/signals/src/api/rules/validation/required.ts:43
↓ 30 callers
Method
scheduleTask
* Schedule an existing Task. * * Useful for rescheduling a task which was already canceled. * * @param task
packages/zone.js/lib/zone-impl.ts:287
↓ 29 callers
Method
abort
(reason: Error)
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/testing.d.ts:847
↓ 29 callers
Method
analyze_file_semantic
(&self, file_id: FileId)
packages/compiler-cli/preprocessor/ng-analyze/src/query/context.rs:103
↓ 29 callers
Function
build_engine
(files: &[(&str, &str)], entrypoints: &[&str])
packages/compiler-cli/preprocessor/ng-analyze/src/evaluator/driver.rs:833
↓ 29 callers
Function
humanizeSpan
(span: ParseSourceSpan | null | undefined)
packages/compiler/test/render3/r3_ast_spans_spec.ts:313
↓ 29 callers
Method
path
The entry's filesystem path (for [`IdKind::Virtual`] entries, the verbatim `id`).
packages/compiler-cli/preprocessor/ng-analyze/src/query/file_id.rs:25
↓ 29 callers
Method
test
(arr: string[])
packages/core/schematics/migrations/signal-migration/test/golden-test/flow_cases.ts:9
↓ 29 callers
Function
verifyNoBrowserErrors
(driver: webdriver.WebDriver)
packages/examples/test-utils/index.ts:161
↓ 28 callers
Method
addStatement
* Add a statement to this scope.
packages/compiler/src/typecheck/ops/scope.ts:323
↓ 28 callers
Function
assertInInjectionContext
(debugFn: Function)
packages/core/src/di/contextual.ts:77
↓ 28 callers
Method
clear
()
packages/core/testing/src/logger.ts:29
↓ 28 callers
Method
driveDiagnostics
* Run the compiler to completion, and return any `ts.Diagnostic` errors that may have occurred.
packages/compiler-cli/test/ngtsc/env.ts:353
↓ 28 callers
Function
extract_import_map
Extracts a map of local import names to their imported symbol info. Examples: `import { booleanAttribute } from '@angular/core'` -> `{"booleanAttribu
packages/compiler-cli/preprocessor/ng-analyze/src/analyzer/imports.rs:875
↓ 28 callers
Method
getDecoratorsOfDeclaration
* Examine a declaration (for example, of a class or function) and return metadata about any * decorators present on the declaration. * * @par
packages/compiler-cli/src/ngtsc/reflection/src/host.ts:580
↓ 28 callers
Method
info
(...args: string[])
packages/compiler-cli/src/ngtsc/logging/src/logger.ts:16
↓ 28 callers
Method
load
* Load the resource at the given url, synchronously. * * The contents of the resource may have been cached by a previous call to `preload()`.
packages/compiler-cli/src/ngtsc/annotations/common/src/api.ts:70
↓ 28 callers
Method
recordAst
(ast: e.AST)
packages/compiler/test/render3/util/expression.ts:19
↓ 28 callers
Method
span
* Retrieve a `ParseSpan` from `start` to the current position (or to `artificialEndIndex` if * provided). * * @param start Position from whic
packages/compiler/src/expression_parser/parser.ts:650
↓ 28 callers
Function
stringifyForError
(value: any)
packages/core/src/render3/util/stringify_utils.ts:33
↓ 28 callers
Method
transform
(value: any, ...args: any[])
ngp-vscode-ng-language-service/tests/test-workspace/mock_packages/@angular/core/types/core.d.ts:2415
↓ 28 callers
Function
unwrapRNode
(value: RNode | LView | LContainer)
packages/core/src/render3/util/view_utils.ts:62
↓ 28 callers
Function
validate
( path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, logic: NoInfer<FieldValidator<TValue, TP
packages/forms/signals/src/api/rules/validation/validate.ts:33
↓ 28 callers
Method
visit
* This function is optionally defined to allow classes that implement this * interface to selectively decide if the specified `ast` should be visit
packages/compiler/src/expression_parser/ast.ts:722
↓ 27 callers
Method
_beginToken
(type: TokenType, start = this._cursor.clone())
packages/compiler/src/ml_parser/lexer.ts:497
↓ 27 callers
Method
_endToken
(parts: string[], end?: CharacterCursor)
packages/compiler/src/ml_parser/lexer.ts:502
↓ 27 callers
Function
asyncTest
(this: unknown, testFn: Function, zone: Zone = Zone.current)
packages/zone.js/test/test-util.ts:98
↓ 27 callers
Function
createComponent
( template: (rf: any) => void, vars: number, consts?: (number | string)[][], )
packages/core/test/acceptance/ng_module_spec.ts:665
↓ 27 callers
Method
emit
* Emit an `Expression` which refers to the given `Reference` in the context of a particular * source file, if possible. * * @param ref the `R
packages/compiler-cli/src/ngtsc/imports/src/emitter.ts:201
← previous
next →
201–300 of 28,887, ranked by callers