MCPcopy Create free account

hub / github.com/babel/babel / functions

Functions18,421 in github.com/babel/babel

↓ 2 callersMethodp
()
packages/babel-plugin-transform-classes/test/fixtures/exec/super-change-proto.js:4
↓ 2 callersFunctionpackagesIterator
(exclude: Set<string>)
Gulpfile.ts:798
↓ 2 callersFunctionparseAndBuildMetadata
( formatter: Formatter<T>, code: string, opts: TemplateOpts, )
packages/babel-template/src/parse.ts:37
↓ 2 callersMethodparseArrow
( node: Undone<N.ArrowFunctionExpression>, )
packages/babel-parser/src/plugins/flow/index.ts:3181
↓ 2 callersMethodparseBigIntLiteral
(value: any)
packages/babel-parser/src/plugins/estree.ts:55
↓ 2 callersMethodparseBlockBody
( node: N.BlockStatementLike, allowDirectives: boolean | undefined | null, topLevel: boolean
packages/babel-parser/src/plugins/estree.ts:184
↓ 2 callersMethodparseBooleanLiteral
(value: boolean)
packages/babel-parser/src/plugins/estree.ts:89
↓ 2 callersMethodparseClassMember
( classBody: N.ClassBody, member: any, state: N.ParseClassMemberState, )
packages/babel-parser/src/plugins/flow/index.ts:2402
↓ 2 callersMethodparseClassMemberWithIsStatic
( classBody: N.ClassBody, member: Undone<N.ClassMember | N.TSIndexSignature>, state: N.Parse
packages/babel-parser/src/plugins/typescript/index.ts:3488
↓ 2 callersMethodparseClassProperty
(...args: [N.ClassProperty])
packages/babel-parser/src/plugins/estree.ts:345
↓ 2 callersMethodparseFunctionBody
( node: N.Function, allowExpression?: boolean | null, isMethod: boolean = false, )
packages/babel-parser/src/plugins/estree.ts:245
↓ 2 callersMethodparseFunctionBodyAndFinish
(node: Undone<T>, type: T["type"], isMethod: boolean = false)
packages/babel-parser/src/plugins/flow/index.ts:1968
↓ 2 callersMethodparseFunctionParamType
( param: T, )
packages/babel-parser/src/plugins/flow/index.ts:2787
↓ 2 callersMethodparseMaybeAssign
( refExpressionErrors?: ExpressionErrors | null, isParenItem?: boolean, )
packages/babel-parser/src/plugins/typescript/index.ts:4006
↓ 2 callersMethodparseNamedOrFilteredImportSpecifiers
(node: Undone<N.ImportDeclaration>)
packages/babel-parser/src/plugins/flow/index.ts:2879
↓ 2 callersMethodparseObjPropValue
( prop: Undone<T>, startLoc: Position | undefined | null, isGenerator: boolean, isAsyn
packages/babel-parser/src/plugins/flow/index.ts:2747
↓ 2 callersMethodparsePropertyNamePrefixOperator
( node: Undone<N.ObjectOrClassMember | N.ClassMember>, )
packages/babel-parser/src/plugins/flow/index.ts:2739
↓ 2 callersFunctionpatternLikeCommon
()
packages/babel-types/src/definitions/core.ts:537
↓ 2 callersFunctionpd
({convertedChunk:e,state:t,getSize:n,truncateChunk:r,addChunk:o,maxBuffer:i})
Makefile.js:36
↓ 2 callersFunctionpf
({otherStdioItems:e,type:t,value:n,optionName:r,direction:o})
Makefile.js:36
↓ 2 callersFunctionpluginOptions
(disallowAmbiguousJSXLike: boolean | undefined)
packages/babel-preset-typescript/src/index.ts:25
↓ 2 callersFunctionpo
()
Makefile.js:36
↓ 2 callersFunctionpopulatePlaceholders
( metadata: Metadata, replacements: TemplateReplacements, )
packages/babel-template/src/populate.ts:17
↓ 2 callersFunctionpp
Makefile.js:36
↓ 2 callersFunctionprependExpressionsToComputedKey
* Prepend expressions to the computed key of the given field path. * * If the computed key is a sequence expression, this function will unwrap * th
packages/babel-helper-create-class-features-plugin/src/decorators.ts:325
↓ 2 callersFunctionprettifyTargets
(targets: Targets)
packages/babel-helper-compilation-targets/src/pretty.ts:25
↓ 2 callersMethodprintJoin
(nodes: Array<t.Node> | undefined | null, parent: t.Node, opts: PrintJoinOptions = {})
packages/babel-generator/test/fixtures/sourcemaps/real-world-babel-file2/output.js:509
↓ 2 callersMethodprintJoin
( nodes: Array<t.Node> | undefined | null, parent: t.Node, opts: PrintJoinOptions = {}, )
packages/babel-generator/test/fixtures/sourcemaps/real-world-babel-file2/input.ts:644
↓ 2 callersFunctionpriority
(bodyNode: Statement & { _blockHoist?: number | true })
packages/babel-core/src/transformation/block-hoist-plugin.ts:75
↓ 2 callersFunctionprivateKeyPathIterator
(pattern: t.LVal | t.PatternLike)
packages/babel-plugin-proposal-destructuring-private/src/util.ts:306
↓ 2 callersMethodprocessComment
* Given a newly created AST node _n_, attach _n_ to a comment whitespace _w_ if applicable * {@see {@link CommentWhitespace}}
packages/babel-parser/src/parser/comments.ts:114
↓ 2 callersFunctionprocessComments
( attribs: NodePath<JSXAttribute | JSXSpreadAttribute>[], )
packages/babel-plugin-transform-react-jsx/src/create-plugin.ts:449
↓ 2 callersFunctionprocessMethodInline
( node: t.ClassMethod & { kind: "method" | "get" | "set" }, buildExpr: ( classRef: t.Identifier,
packages/babel-plugin-transform-classes/src/transformClass.ts:613
↓ 2 callersFunctionpush
(x)
packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-ordering--to-es2015/accessor-static-accessor-initializers/exec.js:3
↓ 2 callersFunctionpush
(x)
packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-ordering--to-es2015/field/exec.js:3
↓ 2 callersFunctionpush
(x)
packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-ordering/accessor-static-accessor-initializers/exec.js:3
↓ 2 callersFunctionpush
(x)
packages/babel-plugin-proposal-decorators/test/fixtures/2023-11-ordering/field/exec.js:3
↓ 2 callersMethodpushClassMethod
( classBody: Undone<N.ClassBody>, method: Undone<N.ClassMethod>, isGenerator: boolean,
packages/babel-parser/src/plugins/flow/index.ts:2629
↓ 2 callersFunctionpy
({subprocessStdout:e,onStdoutDataDone:t,readable:n,subprocess:r,subprocessStdin:o})
Makefile.js:36
↓ 2 callersMethodquery
(query)
packages/babel-plugin-transform-classes/test/fixtures/regression/T6750/input.mjs:3
↓ 2 callersFunctionrandom
(min, max)
packages/babel-parser/test/helpers/to-fuzzed-options.js:1
↓ 2 callersMethodreScan_lt
()
packages/babel-parser/src/plugins/flow/index.ts:3953
↓ 2 callersMethodreScan_lt_gt
()
packages/babel-parser/src/plugins/typescript/index.ts:4607
↓ 2 callersMethodread
(name: string)
packages/babel-helper-module-imports/src/import-builder.ts:149
↓ 2 callersFunctionreadCodePoint
( input: string, pos: number, lineStart: number, curLine: number, throwOnInvalid: boolean, errors:
packages/babel-helper-string-parser/src/index.ts:403
↓ 2 callersFunctionreadConfig
* Read the given config file, returning the result. Returns null if no config was found, but will * throw if there are parsing errors while loading a
packages/babel-core/src/config/files/configuration.ts:332
↓ 2 callersFunctionreadDir
(loc: string, pathFilter: (arg0: string) => boolean)
packages/babel-helper-transform-fixture-test-runner/src/index.ts:605
↓ 2 callersFunctionreadHexChar
( input: string, pos: number, lineStart: number, curLine: number, len: number, forceLen: boolean,
packages/babel-helper-string-parser/src/index.ts:259
↓ 2 callersFunctionreadInt
( input: string, pos: number, lineStart: number, curLine: number, radix: number, len: number | und
packages/babel-helper-string-parser/src/index.ts:312
↓ 2 callersFunctionreadOnlyError
(file: File, name: string)
packages/babel-helper-create-class-features-plugin/src/fields.ts:370
↓ 2 callersFunctionreadVal
()
packages/babel-core/test/fixtures/plugins/inference-recursion/exec.js:32
↓ 2 callersMethodrecordArrowParameterBindingError
* Record errors that must be thrown if the current pattern ends up being an arrow * function parameter. This is used to record parenthesized identi
packages/babel-parser/src/util/expression-scope.ts:199
↓ 2 callersMethodrecordParameterInitializerError
* Record likely parameter initializer errors * * When current scope is a ParameterDeclaration, the error will be thrown immediately, * otherw
packages/babel-parser/src/util/expression-scope.ts:158
↓ 2 callersMethodreference
* Increment the amount of references to this binding.
packages/babel-traverse/src/scope/binding.ts:98
↓ 2 callersFunctionreferencesRest
( path: NodePath<t.Identifier | t.JSXIdentifier>, state: State, )
packages/babel-plugin-transform-parameters/src/rest.ts:32
↓ 2 callersFunctionregExpLiteral
( pattern: string, flags: string = "", )
packages/babel-types/src/builders/generated/lowercase.ts:518
↓ 2 callersFunctionregisterGlobalType
(programScope: Scope, name: string)
packages/babel-plugin-transform-typescript/src/global-types.ts:22
↓ 2 callersMethodreinterpretTypeAsFunctionTypeParam
(type: N.FlowType)
packages/babel-parser/src/plugins/flow/index.ts:1528
↓ 2 callersFunctionremoveFileDependency
(filename: string, dep: string)
packages/babel-cli/src/babel/watcher.ts:121
↓ 2 callersFunctionremoveFileDependency
(filename: string, dep: string)
packages/babel-generator/test/fixtures/sourcemaps/real-world-babel-file1/output.js:99
↓ 2 callersFunctionremoveFileDependency
(filename: string, dep: string)
packages/babel-generator/test/fixtures/sourcemaps/real-world-babel-file1/input.ts:127
↓ 2 callersFunctionremovePropertiesDeep
( tree: T, opts?: { preserveComments: boolean } | null, )
packages/babel-types/src/modifications/removePropertiesDeep.ts:5
↓ 2 callersFunctionremoveTypeDuplicates
( nodesIn: readonly (t.FlowType | false | null | undefined)[], )
packages/babel-types/src/modifications/flow/removeTypeDuplicates.ts:19
↓ 2 callersFunctionreplaceImpureComputedKeys
* Replaces computed keys that have side effects with inline memoization. * * Example: { [foo()]: x } becomes { [_temp = foo()]: x } with upfront
packages/babel-plugin-transform-object-rest-spread/src/index.ts:182
↓ 2 callersFunctionreplaceUnicodeEscapes
(str: string)
packages/babel-plugin-transform-unicode-escapes/src/index.ts:25
↓ 2 callersFunctionrequireModule
( type: string, loader: "require" | "auto", name: string, )
packages/babel-core/src/config/files/plugins.ts:220
↓ 2 callersFunctionrequireNoInterop
(source: t.Expression)
packages/babel-plugin-transform-modules-commonjs/src/dynamic-import.ts:14
↓ 2 callersFunctionresetScope
(scope: Scope)
packages/babel-traverse/src/scope/index.ts:248
↓ 2 callersMethodresetStartLocation
(node: N.Node, startLoc: Position)
packages/babel-parser/src/plugins/estree.ts:658
↓ 2 callersFunctionresolveAlternativesHelper
( type: "plugin" | "preset", name: string, )
packages/babel-core/src/config/files/plugins.ts:92
↓ 2 callersFunctionresolveCall
(callee: NodePath)
packages/babel-traverse/src/path/inference/inferers.ts:225
↓ 2 callersFunctionresolveOptionPluginOrPreset
( options: any, optionsDir: string, )
packages/babel-helper-fixtures/src/index.ts:431
↓ 2 callersFunctionresume
(n, r)
packages/babel-runtime-corejs3/helpers/esm/wrapAsyncGenerator.js:12
↓ 2 callersFunctionresume
(key: AsyncIteratorMethod, arg: IteratorResult<T, TReturn>)
packages/babel-helpers/src/helpers/wrapAsyncGenerator.ts:71
↓ 2 callersFunctionretry
(fn)
test/runtime-integration/node-versions.mjs:110
↓ 2 callersFunctionrewriteThis
(programPath: NodePath)
packages/babel-helper-module-transforms/src/rewrite-this.ts:12
↓ 2 callersFunctionrun
()
packages/babel-generator/test/index.js:1721
↓ 2 callersFunctionrun
()
packages/babel-plugin-transform-block-scoping/test/fixtures/general/annex-B_3_3-module/input.mjs:2
↓ 2 callersFunctionrun
()
packages/babel-plugin-transform-block-scoping/test/fixtures/general/annex-B_3_3-async/input.js:2
↓ 2 callersFunctionrun
()
packages/babel-plugin-transform-block-scoping/test/fixtures/general/annex-B_3_3-async-generator/input.js:9
↓ 2 callersFunctionrun
()
packages/babel-plugin-transform-block-scoping/test/fixtures/general/annex-B_3_3-generator/input.js:2
↓ 2 callersFunctionrun
(plugin, assumptions)
packages/babel-core/test/assumptions.js:171
↓ 2 callersMethodrun
(task: string)
scripts/parallel-tsc/tsc.ts:112
↓ 2 callersFunctionrunCacheableScriptInTestContext
( filename: string, srcFn: () => string, context: vm.Context, moduleCache: any, )
packages/babel-helper-transform-fixture-test-runner/src/index.ts:111
↓ 2 callersFunctionry
Makefile.js:36
↓ 2 callersMethodself
()
packages/babel-plugin-transform-private-methods/test/fixtures/private-method/read-only/exec.js:4
↓ 2 callersFunctionsemverMin
( first: string | undefined | null, second: string, )
packages/babel-helper-compilation-targets/src/utils.ts:11
↓ 2 callersFunctionsemverifyTarget
(target: Target, value: string)
packages/babel-helper-compilation-targets/src/index.ts:129
↓ 2 callersFunctionserialize
(value)
packages/babel-parser/test/helpers/serialization.js:74
↓ 2 callersFunctionset
(r, f, o, i)
packages/babel-runtime-corejs3/helpers/esm/set.js:6
↓ 2 callersFunctionset
( target: object, property: PropertyKey, value: any, receiver?: any, )
packages/babel-helpers/src/helpers/set.ts:6
↓ 2 callersFunctionsetInterval
(_x, _x2)
packages/babel-plugin-transform-function-name/test/fixtures/function-name/global/output.js:3
↓ 2 callersMethodsetSourcePosition
(line: number, column: number)
packages/babel-generator/src/buffer.ts:378
↓ 2 callersFunctionsetTrailingComments
* Merge comments with node's trailingComments or assign comments to be * trailingComments. New comments will be placed before old comments * because
packages/babel-parser/src/parser/comments.ts:43
↓ 2 callersFunctionsetupRegister
(config = { babelrc: false })
packages/babel-register/test/index.js:103
↓ 2 callersFunctionsg
({error:e,fileDescriptors:t,sourceOptions:n,startTime:r})
Makefile.js:36
↓ 2 callersFunctionshouldIgnore
(name: string, ignore?: string[])
packages/babel-helper-fixtures/src/index.ts:94
↓ 2 callersFunctionshouldIgnore
* Tests if a filename should be ignored based on "ignore" and "only" options.
packages/babel-plugin-transform-regenerator/test/fixtures/misc/real-world/input.mjs:451
↓ 2 callersFunctionshouldIgnore
* Tests if a filename should be ignored based on "ignore" and "only" options.
packages/babel-plugin-transform-regenerator/test/fixtures/misc/real-world/output.mjs:682
↓ 2 callersFunctionshouldIgnore
* Tests if a filename should be ignored based on "ignore" and "only" options.
packages/babel-core/src/config/config-chain.ts:853
← previousnext →1,801–1,900 of 18,421, ranked by callers