MCPcopy Create free account

hub / github.com/HarmonicLabs/pebble / functions

Functions2,440 in github.com/HarmonicLabs/pebble

↓ 1 callersFunctioncountCases
( t: UPLCTerm )
packages/pebble/src/compiler/__tests__/compiler.enum.test.ts:31
↓ 1 callersFunctioncountCases
Count `Case` nodes in the UPLC term tree.
packages/pebble/src/compiler/__tests__/export.boolCaseLowering.test.ts:35
↓ 1 callersFunctioncountVarUses
Count IRVar(p) references in `body` accurately. Caps at 2 — we * only care about 0/1/many — but ALWAYS walks the whole tree, so we * correctly disti
packages/pebble/src/IR/toUPLC/subRoutines/inlineSingleUseLetBindingsAndReturnRoot.ts:198
↓ 1 callersFunctionctxData
( signers: DataB[] )
packages/pebble/src/compiler/__tests__/compiler.communityBugs.0_3_4.test.ts:77
↓ 1 callersFunctioncurryMem
( uncurried: (...args: any[] ) => any, argsMem: any[], lastCallRest: any[] )
packages/pebble/src/utils/combinators.ts:48
↓ 1 callersMethoddefineAviableConstructorIfValid
* @returns `true` if the constructor was defined successfully * * @returns `false` * if it was already defined in this scope (sha
packages/pebble/src/compiler/AstCompiler/scope/AstScope.ts:330
↓ 1 callersMethoddefineDeferredAccess
* Register a per-name lookup override. Subsequent `getVarAccessIR(name)` * calls in this context (or its descendants) return the IR term produced
packages/pebble/src/compiler/tir/expressions/ToIRTermCtx.ts:115
↓ 1 callersFunctiondefineGenericBuiltinConstrained
( scope: AstScope, astName: string, nTypeParams: number, paramConstraints: ( s
packages/pebble/src/compiler/tir/program/stdScope/populateStdNamespace.ts:447
↓ 1 callersMethoddefineRecursiveVar
* @returns the symbol of the defined recursive variable (for eventual `new IRRecursive( ... )`)
packages/pebble/src/compiler/tir/expressions/ToIRTermCtx.ts:148
↓ 1 callersMethoddefineTypeParam
define a generic type parameter in this scope; returns `false` if shadowed
packages/pebble/src/compiler/AstCompiler/scope/AstScope.ts:378
↓ 1 callersMethoddefineTypeParamConstraint
( name: string, constraint: TypeParamConstraint )
packages/pebble/src/compiler/AstCompiler/scope/AstScope.ts:403
↓ 1 callersFunctiondeterminePrecedence
(kind: Token)
packages/pebble/src/parser/Precedence.ts:41
↓ 1 callersFunctiondetermineReassignedVariablesAndFlowInfos
( stmt: TirStmt )
packages/pebble/src/compiler/TirCompiler/expressify/determineReassignedVariablesAndReturn.ts:175
↓ 1 callersFunctiondiagnosticCategoryToColor
(category: DiagnosticCategory)
packages/pebble/src/diagnostics/DiagnosticCategory.ts:30
↓ 1 callersFunctiondiagnosticCodeToString
(code: DiagnosticCode)
packages/pebble/src/diagnostics/diagnosticMessages.generated.ts:297
↓ 1 callersFunctiondiscoverTestFiles
( target: string | undefined, testPathPattern: RegExp | undefined, cwd: string = process.cwd() )
packages/pebble-cli/src/test/discoverTestFiles.ts:13
↓ 1 callersFunctionecd
TypeScript reference implementation of `ecd` (a.k.a. Euclidean GCD).
packages/pebble/src/compiler/__tests__/export.ecd.test.ts:13
↓ 1 callersMethodelseBranchBlock
()
packages/pebble/src/ast/nodes/statements/IfStmt.ts:24
↓ 1 callersMethodemitErrorIfInvalidAutoSemicolon
()
packages/pebble/src/parser/Parser.ts:3384
↓ 1 callersFunctionensureProperlyForcedBuiltinsAndReturnRoot
( root: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/ensureProperlyForcedBuiltinsAndReturnRoot.ts:26
↓ 1 callersMethodeof
()
packages/pebble/src/tokenizer/Tokenizer.ts:736
↓ 1 callersMethodequals
Tests if this message equals the specified.
packages/pebble/src/diagnostics/DiagnosticMessage.ts:62
↓ 1 callersFunctionevalBudgeted
(term: any)
packages/pebble/src/compiler/__tests__/compiler.sopOptLookupExecution.test.ts:33
↓ 1 callersFunctionexpandFuncsAndReturnRoot
( root: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/expandFuncsAndReturnRoot.ts:26
↓ 1 callersFunctionexpandRangePart
(part: string)
packages/pebble/src/utils/semverSatisfies.ts:112
↓ 1 callersFunctionexpandToken
(tok: string)
packages/pebble/src/utils/semverSatisfies.ts:69
↓ 1 callersFunctionexportPebbleFunction
(opts: CliExportOptions)
packages/pebble-cli/src/export/exportPebbleFunction.ts:7
↓ 1 callersFunctionexpressifyForStmt
( ctx: ExpressifyCtx, stmt: TirForStmt, returnType: TirSoPStructType, bodyStateType: TirSoPStr
packages/pebble/src/compiler/TirCompiler/expressify/expressifyForStmt.ts:131
↓ 1 callersFunctionexpressifyMethodCall
( ctx: ExpressifyCtx, methodCall: TirCallExpr )
packages/pebble/src/compiler/TirCompiler/expressify/expressifyVars.ts:558
↓ 1 callersFunctionexpressifyPropAccess
( ctx: ExpressifyCtx, propAccessExpr: TirPropAccessExpr )
packages/pebble/src/compiler/TirCompiler/expressify/expressifyVars.ts:309
↓ 1 callersFunctionexpressifyVarAssignmentStmt
( ctx: ExpressifyCtx, stmt: TirAssignmentStmt )
packages/pebble/src/compiler/TirCompiler/expressify/expressifyVarAssignmentStmt.ts:8
↓ 1 callersFunctionfilterParamsInplace
( params: symbol[], unusedVars: symbol[] )
packages/pebble/src/IR/toUPLC/subRoutines/removeUnusuedVarsAndReturnRoot/removeUnusuedVarsAndReturnRoot.ts:90
↓ 1 callersFunctionfindAllNoHoisted
( term: IRTerm, predicate: ( elem: IRTerm ) => boolean )
packages/pebble/src/IR/toUPLC/_internal/findAll.ts:22
↓ 1 callersFunctionfindElementIndex
* Binary search to find the exact index of an element * @returns the index of the element if found, -1 otherwise
packages/pebble/src/utils/array/filterSortedStrArrInplace.ts:39
↓ 1 callersFunctionfindFirstDualHeadTailList
* Scan `root` for free `headList(L)`/`tailList(L)` uses where `L` is NOT * shadowed by an enclosing nested IRFunc/IRRecursive within `root`. Returns
packages/pebble/src/IR/toUPLC/subRoutines/introduceCaseForDualHeadTailAndReturnRoot.ts:110
↓ 1 callersFunctionfindHighestRecursiveParent
( term: IRTerm, maxScope: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/handleLetted/findHighestRecursiveParent.ts:8
↓ 1 callersFunctionforceBigUInt
( toForce: CanBeUInteger )
packages/pebble/src/utils/ints.ts:13
↓ 1 callersFunctionformatCEKValue
(val: any)
packages/pebble-cli/src/repl/pebbleRepl.ts:15
↓ 1 callersFunctionformatDiagnosticMessage
( message: DiagnosticMessage, useColors: boolean = false, showContext: boolean = false )
packages/pebble/src/diagnostics/DiagnosticMessage.ts:129
↓ 1 callersFunctionformatTestResults
( resultsByFile: Map<string, TestResult[]>, cwd: string = process.cwd() )
packages/pebble-cli/src/test/formatTestResults.ts:11
↓ 1 callersMethodfromSingleDeconstruct
( name: Identifier, unnamed: SingleDeconstructVarDecl, range: SourceRange | undefined
packages/pebble/src/ast/nodes/statements/declarations/VarDecl/NamedDeconstructVarDecl.ts:29
↓ 1 callersFunctiongetAllTokens
( tn: Tokenizer )
packages/pebble/src/tokenizer/__tests__/tokenizer.simple.const.test.ts:27
↓ 1 callersFunctiongetBodyStateType
( { sop, initState }: BranchStmtSopAndInitState, stmt: TirForStmt )
packages/pebble/src/compiler/TirCompiler/expressify/determineReassignedVariablesAndReturn.ts:399
↓ 1 callersFunctiongetCallStackAt
( n: number = 3, opts: GetCallStackAtOptions = defaultGetCallStackAtOptions )
packages/pebble/src/utils/getCallStackAt/index.ts:58
↓ 1 callersFunctiongetChildren
( term: IRTerm )
packages/pebble/src/IR/tree_utils/getChildren.ts:12
↓ 1 callersFunctiongetConstBool
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/rewriteNativesAppliedToConstantsAndReturnRoot.ts:617
↓ 1 callersFunctiongetDeconstructableType
( type: TirType )
packages/pebble/src/compiler/tir/types/utils/getDeconstructableType.ts:13
↓ 1 callersMethodgetDeferredAccessFactory
( name: string )
packages/pebble/src/compiler/tir/expressions/ToIRTermCtx.ts:68
↓ 1 callersFunctiongetDirectoryPath
* Gets the directory part of a path
packages/pebble/src/compiler/path/getAbsolutePath.ts:6
↓ 1 callersFunctiongetEqUnConstr
()
packages/pebble/src/IR/IRNodes/IRNative/index.ts:347
↓ 1 callersFunctiongetEqVoid
()
packages/pebble/src/IR/IRNodes/IRNative/index.ts:365
↓ 1 callersFunctiongetExpandedIRFunc
( body: IRTerm, params: symbol[] )
packages/pebble/src/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/expandFuncsAndReturnRoot.ts:14
↓ 1 callersMethodgetFilePrefix
( path: string )
packages/pebble/src/compiler/tir/program/TypedProgram.ts:223
↓ 1 callersMethodgetIncrement
()
packages/pebble/src/IR/toUPLC/subRoutines/inlineSingleUseAndReturnRoot/InlineSingleUseCtx.ts:58
↓ 1 callersFunctiongetInternalPath
( path: string )
packages/pebble/src/compiler/path/path.ts:29
↓ 1 callersFunctiongetLinearMapMethods
( kT: TirType, vT: TirType )
packages/pebble/src/compiler/AstCompiler/utils/getPropAccessReturnType.ts:132
↓ 1 callersFunctiongetLinearMapTypeArgs
( map_t: TirType )
packages/pebble/src/compiler/tir/types/utils/getListTypeArg.ts:15
↓ 1 callersFunctiongetListMethods
( elemsType: TirType )
packages/pebble/src/compiler/AstCompiler/utils/getPropAccessReturnType.ts:102
↓ 1 callersMethodgetLocalVariable
* `undefined` means the variable is not in the local context.
packages/pebble/src/compiler/TirCompiler/expressify/ExpressifyCtx.ts:140
↓ 1 callersMethodgetMainOrThrow
()
packages/pebble/src/compiler/tir/program/TypedProgram.ts:211
↓ 1 callersFunctiongetNamedDestructableType
( type: TirType | undefined )
packages/pebble/src/compiler/tir/types/utils/canAssignTo.ts:48
↓ 1 callersFunctiongetNestedDestructsInSingleSopDestructPattern
( pattern: TirNamedDeconstructVarDecl )
packages/pebble/src/compiler/TirCompiler/expressify/expressify.ts:905
↓ 1 callersMethodgetPadBitStream
( n: InByteOffset )
packages/pebble/src/utils/UPLCFlatUtils/index.ts:122
↓ 1 callersFunctiongetPathExtension
(path: string)
packages/pebble/src/compiler/path/getAbsolutePath.ts:25
↓ 1 callersFunctiongetStructPropAccessReturnType
( ctx: AstCompilationCtx, structType: TirStructType, propName: string )
packages/pebble/src/compiler/AstCompiler/utils/getPropAccessReturnType.ts:179
↓ 1 callersFunctiongetUnboundedIRVars
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/handleLetted/groupByScope.ts:65
↓ 1 callersMethodgetUnusedVars
()
packages/pebble/src/IR/toUPLC/subRoutines/removeUnusuedVarsAndReturnRoot/RemoveUnusedVarsCtx.ts:50
↓ 1 callersMethodgetVarAccessDbn
( sym: symbol )
packages/pebble/src/IR/toUPLC/ctx/ToUplcCtx.ts:47
↓ 1 callersFunctiongroupIndependentApplications
* * @returns either an object containing the new root, sorted args and next body * or undefined if grouping wasnt possible (root is the sa
packages/pebble/src/IR/toUPLC/subRoutines/performUplcOptimizationsAndReturnRoot/performUplcOptimizationsAndReturnRoot.ts:121
↓ 1 callersFunctionhandleLettedAsHoistedAndReturnRoot
( letted: IRLetted, lca: IRTerm, sameLettedRefs: IRLetted[], currentRoot: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/handleLetted/index.ts:330
↓ 1 callersFunctionhandleRootRecursiveTerm
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/handleRecursiveTerms.ts:45
↓ 1 callersMethodhasDataEncoding
()
packages/pebble/src/compiler/tir/types/TirAliasType.ts:22
↓ 1 callersFunctionhoistForcedNatives
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/hoistForcedNatives.ts:14
↓ 1 callersFunctionhoistStatementsInplace
( stmts: TopLevelStmt[] )
packages/pebble/src/parser/hoistStatementsInplace.ts:37
↓ 1 callersFunctioni64_high
(value: bigint)
packages/pebble/src/tokenizer/Tokenizer.ts:1533
↓ 1 callersMethodimportPathsFromStmts
( stmts: ImportStmtLike[], requestingPath: string )
packages/pebble/src/compiler/AstCompiler/AstCompiler.ts:1610
↓ 1 callersMethodincludesInternalPath
( path: string )
packages/pebble/src/compiler/AstCompiler/utils/deps/ResolveStackNode.ts:19
↓ 1 callersFunctionincludesNode
( parent: IRTerm, predicate: ( node: IRTerm ) => boolean )
packages/pebble/src/IR/toUPLC/_internal/includesNode.ts:12
↓ 1 callersMethodincrementVarUse
( sym: symbol )
packages/pebble/src/IR/toUPLC/subRoutines/removeUnusuedVarsAndReturnRoot/RemoveUnusedVarsCtx.ts:38
↓ 1 callersMethodinferStructTypeFromConstructorName
( name: string )
packages/pebble/src/compiler/AstCompiler/scope/AstScope.ts:350
↓ 1 callersFunctioninsertUniqueSortedInpalce
* * @returns the position where the element was inserted (or where it was already present)
packages/pebble/src/utils/array/mergeSortedStrArrInplace.ts:28
↓ 1 callersFunctionintArray
(n: number)
packages/pebble/src/compiler/__tests__/bench.listVsArrayAccess.test.ts:74
↓ 1 callersFunctionintList
(n: number)
packages/pebble/src/compiler/__tests__/bench.listLength.test.ts:64
↓ 1 callersFunctionintList
(n: number)
packages/pebble/src/compiler/__tests__/bench.listVsArrayAccess.test.ts:68
↓ 1 callersFunctionintList
( n: number )
packages/pebble/src/compiler/__tests__/bench.headTailVsCase.test.ts:81
↓ 1 callersFunctionintList
(n: number)
packages/pebble/src/compiler/__tests__/bench.chooseListToIRCase.test.ts:109
↓ 1 callersFunctionintroduceCaseForDualHeadTailAndReturnRoot
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/introduceCaseForDualHeadTailAndReturnRoot.ts:55
↓ 1 callersMethodintroduceSopConstrFieldsAsProperties
( sopName: string, destructuredPattern: TirNamedDeconstructVarDecl, )
packages/pebble/src/compiler/TirCompiler/expressify/ExpressifyCtx.ts:225
↓ 1 callersFunctionioHasDiagnostic
( ioApi: any )
packages/pebble/src/compiler/__tests__/compiler.interfaceConstraints.test.ts:23
↓ 1 callersFunctionioHasDiagnostic
( ioApi: any )
packages/pebble/src/compiler/__tests__/compiler.genericInference.test.ts:41
↓ 1 callersFunctionisAlphaOrDecimal
(c: number)
packages/pebble/src/utils/text.ts:257
↓ 1 callersMethodisArrowFuncOrParenExprLookahead
* looks ahead to see if the expression * needs to be parsed as an arrow function or a parenthesized expression * * @returns {boolean}
packages/pebble/src/parser/Parser.ts:4424
↓ 1 callersFunctionisAstNativeTypeExpr
( thing: any )
packages/pebble/src/ast/nodes/types/AstNativeTypeExpr.ts:21
↓ 1 callersFunctionisAstTypeExpr
( obj: any )
packages/pebble/src/ast/nodes/types/AstTypeExpr.ts:10
↓ 1 callersFunctionisBodyStmt
( stmt: any )
packages/pebble/src/ast/nodes/statements/PebbleStmt.ts:175
↓ 1 callersFunctionisDeconstructVarDecl
( node: any )
packages/pebble/src/ast/nodes/statements/declarations/VarDecl/VarDecl.ts:11
↓ 1 callersFunctionisDropList
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/rewriteNativesAppliedToConstantsAndReturnRoot.ts:467
↓ 1 callersFunctionisEqualsZero
( term: IRTerm )
packages/pebble/src/IR/toUPLC/subRoutines/rewriteNativesAppliedToConstantsAndReturnRoot.ts:536
↓ 1 callersFunctionisHexOrDecimal
(c: number)
packages/pebble/src/utils/text.ts:252
↓ 1 callersFunctionisHighSurrogate
(c: number)
packages/pebble/src/utils/text.ts:207
← previousnext →701–800 of 2,440, ranked by callers