MCPcopy Create free account

hub / github.com/alangpierce/sucrase / functions

Functions904 in github.com/alangpierce/sucrase

↓ 1 callersFunctionisNonTopLevelDeclaration
(token: Token)
src/parser/tokenizer/index.ts:62
↓ 1 callersFunctionisObjectShorthandDeclaration
(token: Token)
src/parser/tokenizer/index.ts:100
↓ 1 callersMethodisSimpleExportVar
* Determine if the export is of the form: * export var/let/const [varName] = [expr]; * In other words, determine if function name inference migh
src/transformers/CJSImportTransformer.ts:624
↓ 1 callersFunctionisUsingInLoop
* Determine if this token is a `using` declaration (explicit resource * management) as part of a loop. * https://github.com/tc39/proposal-explicit-r
src/parser/traverser/statement.ts:373
↓ 1 callersFunctionjsxParseAttributeValue
()
src/parser/plugins/jsx/index.ts:154
↓ 1 callersFunctionjsxParseClosingElement
()
src/parser/plugins/jsx/index.ts:230
↓ 1 callersFunctionjsxParseElementAt
()
src/parser/plugins/jsx/index.ts:241
↓ 1 callersFunctionjsxParseOpeningElement
(initialTokenIndex: number)
src/parser/plugins/jsx/index.ts:186
↓ 1 callersFunctionjsxParseSpreadChild
()
src/parser/plugins/jsx/index.ts:178
↓ 1 callersFunctionjsxReadString
(quote: number)
src/parser/plugins/jsx/index.ts:75
↓ 1 callersFunctionjsxReadToken
* Read token with JSX contents. * * In addition to detecting jsxTagStart and also regular tokens that might be * part of an expression, this code d
src/parser/plugins/jsx/index.ts:37
↓ 1 callersFunctionjsxReadWord
()
src/parser/plugins/jsx/index.ts:100
↓ 1 callersFunctionloadDependencies
()
website/src/worker/Worker.worker.ts:42
↓ 1 callersFunctionloadHashState
()
website/src/URLHashState.ts:76
↓ 1 callersFunctionlocationForIndex
(pos: number)
src/parser/traverser/base.ts:34
↓ 1 callersFunctionmain
* Run the test262 suite on some tests that we know are useful.
spec-compliance-tests/test262/run-test262.ts:27
↓ 1 callersFunctionmain
* Script that clones the Babel repo, walks its parser tests, and tries them in * Sucrase. If they fail in Sucrase but pass with Babel in a Sucrase-li
spec-compliance-tests/babel-tests/check-babel-tests.ts:105
↓ 1 callersFunctionmain
()
script/lint.ts:14
↓ 1 callersFunctionmain
* This script releases the core sucrase package (NOT any integrations). To use: * 1.) Update package.json to the new version without committing. * 2
script/release.ts:23
↓ 1 callersFunctionmain
()
script/build.ts:14
↓ 1 callersFunctionmain
()
integration-test/test-cases/register-cases/allows-dynamic-import/main.js:1
↓ 1 callersFunctionmain
()
integration-test/test-cases/register-cases/respects-preserve-dynamic-import-option/main.js:1
↓ 1 callersFunctionmain
()
benchmark/microbenchmark.ts:7
↓ 1 callersFunctionmain
()
benchmark/benchmark.ts:15
↓ 1 callersFunctionmain
()
benchmark/compare-performance.ts:28
↓ 1 callersFunctionmain
()
benchmark/profile.ts:7
↓ 1 callersFunctionmain
()
example-runner/example-runner.ts:24
↓ 1 callersFunctionmarkShadowedGlobals
( tokens: TokenProcessor, scopes: Array<Scope>, globalNames: Set<string>, )
src/identifyShadowedGlobals.ts:44
↓ 1 callersFunctionmergeDirectoryContents
( srcDirPath: string, destDirPath: string, )
script/mergeDirectoryContents.ts:4
↓ 1 callersFunctionparseAmbiguousForStatement
()
src/parser/traverser/statement.ts:392
↓ 1 callersFunctionparseAssignableListItem
(allowModifiers: boolean, isBlockScope: boolean)
src/parser/traverser/lval.ts:124
↓ 1 callersFunctionparseAsyncArrowFromCallExpression
(functionStart: number, startTokenIndex: number)
benchmark/sample/expression.ts:365
↓ 1 callersFunctionparseAsyncArrowFromCallExpression
(startTokenIndex: number)
src/parser/traverser/expression.ts:419
↓ 1 callersFunctionparseAsyncArrowWithTypeParameters
()
src/parser/plugins/flow.ts:1060
↓ 1 callersFunctionparseAwait
()
benchmark/sample/expression.ts:950
↓ 1 callersFunctionparseAwait
()
src/parser/traverser/expression.ts:1001
↓ 1 callersFunctionparseBreakContinueStatement
()
src/parser/traverser/statement.ts:338
↓ 1 callersFunctionparseCatchClauseParam
()
src/parser/traverser/statement.ts:496
↓ 1 callersFunctionparseClassBody
(classContextId: number)
src/parser/traverser/statement.ts:758
↓ 1 callersFunctionparseClassId
(isStatement: boolean, optionalId: boolean = false)
src/parser/traverser/statement.ts:924
↓ 1 callersFunctionparseClassMember
(memberStart: number, classContextId: number)
src/parser/traverser/statement.ts:775
↓ 1 callersFunctionparseClassMemberWithIsStatic
( memberStart: number, isStatic: boolean, classContextId: number, )
src/parser/traverser/statement.ts:811
↓ 1 callersFunctionparseClassSuper
()
src/parser/traverser/statement.ts:947
↓ 1 callersFunctionparseConditional
(noIn: boolean | null, startPos: number)
benchmark/sample/expression.ts:150
↓ 1 callersFunctionparseConditional
(noIn: boolean)
src/parser/traverser/expression.ts:165
↓ 1 callersFunctionparseDebuggerStatement
()
src/parser/traverser/statement.ts:346
↓ 1 callersFunctionparseDoStatement
()
src/parser/traverser/statement.ts:351
↓ 1 callersFunctionparseEmptyStatement
()
src/parser/traverser/statement.ts:545
↓ 1 callersFunctionparseExportDeclaration
()
src/parser/traverser/statement.ts:1029
↓ 1 callersFunctionparseExportDefaultExpression
()
src/parser/traverser/statement.ts:999
↓ 1 callersFunctionparseExportNamespace
()
src/parser/traverser/statement.ts:1108
↓ 1 callersFunctionparseExportSpecifier
()
src/parser/traverser/statement.ts:1150
↓ 1 callersFunctionparseExportStar
()
src/parser/traverser/statement.ts:1090
↓ 1 callersFunctionparseExprOp
(minPrec: number, noIn: boolean | null)
benchmark/sample/expression.ts:182
↓ 1 callersFunctionparseExprOp
(startTokenIndex: number, minPrec: number, noIn: boolean)
src/parser/traverser/expression.ts:198
↓ 1 callersFunctionparseExprOps
(noIn: boolean | null)
benchmark/sample/expression.ts:168
↓ 1 callersFunctionparseExprOps
(noIn: boolean)
src/parser/traverser/expression.ts:183
↓ 1 callersFunctionparseExprSubscripts
()
benchmark/sample/expression.ts:241
↓ 1 callersFunctionparseFile
()
src/parser/traverser/index.ts:7
↓ 1 callersFunctionparseForStatement
()
src/parser/traverser/statement.ts:359
↓ 1 callersFunctionparseFunctionBodyAndFinish
( functionStart: number, isGenerator: boolean, allowExpressionBody: boolean | null = null, funcContext
benchmark/sample/expression.ts:880
↓ 1 callersFunctionparseFunctionExpression
()
benchmark/sample/expression.ts:516
↓ 1 callersFunctionparseFunctionExpression
()
src/parser/traverser/expression.ts:604
↓ 1 callersFunctionparseFunctionStatement
()
src/parser/traverser/statement.ts:436
↓ 1 callersFunctionparseIdentifierStatement
* Parse a statement starting with an identifier of the given name. Subclasses match on the name * to handle statements like "declare".
src/parser/traverser/statement.ts:557
↓ 1 callersFunctionparseIfStatement
()
src/parser/traverser/statement.ts:442
↓ 1 callersFunctionparseImportMetaProperty
()
benchmark/sample/expression.ts:530
↓ 1 callersFunctionparseImportSpecifier
()
src/parser/traverser/statement.ts:1303
↓ 1 callersFunctionparseImportSpecifiers
()
src/parser/traverser/statement.ts:1259
↓ 1 callersFunctionparseLabeledStatement
()
src/parser/traverser/statement.ts:549
↓ 1 callersFunctionparseLiteral
()
benchmark/sample/expression.ts:537
↓ 1 callersFunctionparseMaybeConditional
(noIn: boolean | null)
benchmark/sample/expression.ts:140
↓ 1 callersFunctionparseMaybeConditional
(noIn: boolean)
src/parser/traverser/expression.ts:156
↓ 1 callersFunctionparseMaybeDecoratorArguments
()
src/parser/traverser/statement.ts:324
↓ 1 callersFunctionparseMaybeImportReflection
* Eat the "module" token from the import reflection proposal. * https://github.com/tc39/proposal-import-reflection
src/parser/traverser/statement.ts:1198
↓ 1 callersFunctionparseModuleExpression
()
src/parser/traverser/expression.ts:1015
↓ 1 callersFunctionparseNew
()
benchmark/sample/expression.ts:636
↓ 1 callersFunctionparseNew
()
src/parser/traverser/expression.ts:709
↓ 1 callersFunctionparseNewArguments
()
benchmark/sample/expression.ts:648
↓ 1 callersFunctionparseNewCallee
()
src/parser/traverser/expression.ts:725
↓ 1 callersFunctionparseObj
(isPattern: boolean, isBlockScope: boolean)
benchmark/sample/expression.ts:674
↓ 1 callersFunctionparseObjPropValue
( isGenerator: boolean, isPattern: boolean, isBlockScope: boolean, objectContextId: number, )
benchmark/sample/expression.ts:812
↓ 1 callersFunctionparseObjPropValue
( isPattern: boolean, isBlockScope: boolean, objectContextId: number, )
src/parser/traverser/expression.ts:880
↓ 1 callersFunctionparseObjectMethod
( isGenerator: boolean, isPattern: boolean, objectContextId: number, )
benchmark/sample/expression.ts:762
↓ 1 callersFunctionparseObjectMethod
(isPattern: boolean, objectContextId: number)
src/parser/traverser/expression.ts:828
↓ 1 callersFunctionparseObjectProperty
(isPattern: boolean, isBlockScope: boolean)
benchmark/sample/expression.ts:784
↓ 1 callersFunctionparseObjectProperty
(isPattern: boolean, isBlockScope: boolean)
src/parser/traverser/expression.ts:846
↓ 1 callersFunctionparseOptionValue
* Parse a raw value from URL by looking at the type of the default value.
website/src/URLHashState.ts:137
↓ 1 callersFunctionparseParenAndDistinguishExpression
(canBeArrow: boolean)
benchmark/sample/expression.ts:548
↓ 1 callersFunctionparseParenAndDistinguishExpression
(canBeArrow: boolean)
src/parser/traverser/expression.ts:625
↓ 1 callersFunctionparseParenItem
()
benchmark/sample/expression.ts:625
↓ 1 callersFunctionparseReturnStatement
()
src/parser/traverser/statement.ts:451
↓ 1 callersFunctionparseStatementContent
(declaration: boolean)
src/parser/traverser/statement.ts:119
↓ 1 callersFunctionparseSubscript
( startPos: number, noCalls: boolean | null, stopState: {stop: boolean}, )
benchmark/sample/expression.ts:266
↓ 1 callersFunctionparseSubscript
(startTokenIndex: number, noCalls: boolean, stopState: StopState)
src/parser/traverser/expression.ts:304
↓ 1 callersFunctionparseSwitchStatement
()
src/parser/traverser/statement.ts:464
↓ 1 callersFunctionparseThrowStatement
()
src/parser/traverser/statement.ts:490
↓ 1 callersFunctionparseTopLevel
()
src/parser/traverser/statement.ts:91
↓ 1 callersFunctionparseTryStatement
()
src/parser/traverser/statement.ts:504
↓ 1 callersFunctionparseVarHead
(isBlockScope: boolean)
src/parser/traverser/statement.ts:637
← previousnext →501–600 of 904, ranked by callers