MCPcopy Create free account

hub / github.com/danja/dogalog / functions

Functions334 in github.com/danja/dogalog

↓ 89 callersMethodcreateElement
()
src/ui/aiChat.js:18
↓ 48 callersFunctionevalNumber
(term, env)
src/prolog/builtins/utils.js:10
↓ 46 callersFunctionparseProgram
(src)
src/prolog/parser.js:8
↓ 40 callersFunctionpeek
()
src/prolog/parser.js:12
↓ 33 callersMethodincrementCycle
* Increment cycle counter and return current value * @param {string} key - Cycle identifier * @param {number} listLength - Length of the cycling
src/scheduler/stateManager.js:26
↓ 32 callersMethodgetCycleIndex
* Get current cycle index for a given key * @param {string} key - Cycle identifier (serialized list) * @returns {number} Current index (0 if not
src/scheduler/stateManager.js:16
↓ 23 callersFunctiongetFriendlyURL
dev-dist/workbox-ca84f546.js:660
↓ 20 callersMethodsetProgram
(clauses)
src/scheduler/scheduler.js:25
↓ 19 callersFunctioneat
(type, value)
src/prolog/parser.js:13
↓ 19 callersMethodonCodeChange
* Handle code change from editor * @param {string} text - Current editor text
src/livecoding/liveEvaluator.js:29
↓ 17 callersFunctionunify
(a, b, env)
src/prolog/unify.js:3
↓ 16 callersMethodevaluate
* Evaluate code immediately * @param {string} text - Code to evaluate
src/livecoding/liveEvaluator.js:40
↓ 16 callersMethodgetLastTrigger
* Get last trigger time for cooldown tracking * @param {string} key - Cooldown identifier * @returns {number|undefined} Last trigger time (undef
src/scheduler/stateManager.js:38
↓ 14 callersMethodstop
()
src/scheduler/scheduler.js:39
↓ 13 callersFunctioncreateAppTemplate
({ examples })
src/ui/template.js:12
↓ 13 callersFunctioncreateControls
({ onStart, onStop, onBpmChange, onSwingChange, onLookaheadChange, links = {}, scheduler })
src/ui/controls.js:22
↓ 13 callersMethodstart
()
src/scheduler/scheduler.js:33
↓ 12 callersMethodmatch
({ url })
dev-dist/workbox-ca84f546.js:625
↓ 11 callersFunctioncreateButton
({ label, id, variant, onClick })
src/ui/components/button.js:14
↓ 11 callersMethodon
* Register event listener * @param {string} event - Event name ('validated' or 'error') * @param {Function} callback - Callback function
src/livecoding/liveEvaluator.js:66
↓ 11 callersFunctionsubstTerm
(term, env)
src/prolog/terms.js:5
↓ 9 callersFunctioncreateSlider
({ label, inputId, valueId, min, max, value, step, onChange, formatValue })
src/ui/components/slider.js:19
↓ 9 callersMethoditerateCallbacks
* Accepts a callback and returns an iterable of matching plugin callbacks, * where each callback is wrapped with the current handler state (i.e
dev-dist/workbox-ca84f546.js:2822
↓ 9 callersMethodscheduleTransition
* Schedule a program transition at the next quantized boundary * @param {Array} newProgram - New program clauses
src/scheduler/transitionManager.js:24
↓ 9 callersFunctionwrap
(value)
dev-dist/workbox-ca84f546.js:1440
↓ 8 callersFunctioncreateBuiltins
()
src/prolog/builtins/index.js:14
↓ 8 callersMethoddelete
* Removes the IndexedDB object store used to keep track of cache expiration * metadata.
dev-dist/workbox-ca84f546.js:1879
↓ 8 callersMethodsetLastTrigger
* Set last trigger time for cooldown tracking * @param {string} key - Cooldown identifier * @param {number} time - Current time in seconds
src/scheduler/stateManager.js:47
↓ 8 callersFunctionvalidatePrologCode
(text)
src/livecoding/codeValidator.js:8
↓ 7 callersMethodemit
* Emit event * @param {string} event - Event name * @param {*} data - Event data
src/tutorial/tutorialManager.js:164
↓ 7 callersMethodnavigateHistory
(direction)
src/ui/repl.js:81
↓ 7 callersFunctionparseExpression
()
src/prolog/parser.js:85
↓ 6 callersMethodextractVariables
(goals)
src/ui/repl.js:204
↓ 6 callersMethodrecordTrigger
* Record a trigger event (alias for setLastTrigger) * @param {string} key - Cooldown identifier * @param {number} time - Current time in seconds
src/scheduler/stateManager.js:56
↓ 6 callersMethodresetState
()
src/scheduler/scheduler.js:27
↓ 6 callersMethodsaveProgress
* Save progress to localStorage
src/tutorial/tutorialManager.js:35
↓ 6 callersMethodwaitUntil
* Adds a promise to the * [extend lifetime promises]{@link https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}
dev-dist/workbox-ca84f546.js:2851
↓ 5 callersFunctionevalList
(term, env)
src/prolog/builtins/utils.js:24
↓ 5 callersFunctionevalTerm
(term, env)
src/prolog/builtins/utils.js:36
↓ 5 callersMethodgetElement
()
src/ui/repl.js:263
↓ 5 callersMethodhasPending
* Check if a transition is pending * @returns {boolean}
src/scheduler/transitionManager.js:68
↓ 5 callersMethodhide
* Hide overlay
src/tutorial/tutorialOverlay.js:210
↓ 5 callersMethodreset
* Reset all state (for explicit user action only)
src/scheduler/stateManager.js:76
↓ 4 callersMethodclear
()
src/ui/repl.js:253
↓ 4 callersFunctionconvertComparison
(node)
src/prolog/parser.js:188
↓ 4 callersMethoddestroy
* Stops running the strategy and immediately resolves any pending * `waitUntil()` promises.
dev-dist/workbox-ca84f546.js:2879
↓ 4 callersMethodexecuteQuery
()
src/ui/repl.js:104
↓ 4 callersMethodhandle
* Perform a request strategy and returns a `Promise` that will resolve with * a `Response`, invoking all relevant plugin callbacks. *
dev-dist/workbox-ca84f546.js:3014
↓ 4 callersFunctionnormalizeHandler
dev-dist/workbox-ca84f546.js:500
↓ 4 callersFunctionresolveGoals
(goals, env, program, ctx, builtins)
src/prolog/resolution.js:4
↓ 4 callersMethodrunCallbacks
* Runs all plugin callbacks matching the given name, in order, passing the * given param object (merged ith the current plugin state) as the on
dev-dist/workbox-ca84f546.js:2806
↓ 4 callersFunctionsetCode
(text)
src/app.js:85
↓ 4 callersMethodshowError
(text)
src/ui/repl.js:232
↓ 4 callersMethodshowResult
(text)
src/ui/repl.js:225
↓ 4 callersFunctiontoRequest
(input)
dev-dist/workbox-ca84f546.js:2433
↓ 4 callersFunctionunlisten
()
dev-dist/workbox-ca84f546.js:1318
↓ 4 callersMethodupdateOfflineState
(isError = false)
src/ui/aiChat.js:95
↓ 3 callersFunction_createCacheName
dev-dist/workbox-ca84f546.js:1199
↓ 3 callersMethodcachePut
* Puts a request/response pair in the cache (and invokes any applicable * plugin callback methods) using the `cacheName` and `plugins` defined
dev-dist/workbox-ca84f546.js:2677
↓ 3 callersMethodcanTrigger
* Check if enough time has passed since last trigger * @param {string} key - Cooldown identifier * @param {number} now - Current time in seconds
src/scheduler/stateManager.js:67
↓ 3 callersFunctionevalExpression
(term, env)
src/prolog/builtins/utils.js:46
↓ 3 callersMethodexpireEntries
* Expires entries for the given cache and given criteria.
dev-dist/workbox-ca84f546.js:1803
↓ 3 callersMethodfetch
* Fetches a given request (and invokes any applicable plugin callback * methods) using the `fetchOptions` (for non-navigation requests) and
dev-dist/workbox-ca84f546.js:2536
↓ 3 callersMethodgetCacheKey
* Checks the list of plugins for the `cacheKeyWillBeUsed` callback, and * executes any of those callbacks found in sequence. The final `Request
dev-dist/workbox-ca84f546.js:2758
↓ 3 callersMethodgetCacheKeyForURL
* Returns the cache key used for storing a given URL. If that URL is * unversioned, like `/index.html', then the cache key will be the original
dev-dist/workbox-ca84f546.js:4045
↓ 3 callersFunctiongetCode
()
src/app.js:81
↓ 3 callersMethodgetCurrentStep
* Get current step index * @returns {number}
src/tutorial/tutorialManager.js:112
↓ 3 callersMethodgetDb
* Returns an open connection to the database. * * @private
dev-dist/workbox-ca84f546.js:1722
↓ 3 callersFunctiongetOrCreatePrecacheController
()
dev-dist/workbox-ca84f546.js:4121
↓ 3 callersFunctionlog
(msg)
src/app.js:74
↓ 3 callersFunctionnodeToTerm
(node)
src/prolog/parser.js:209
↓ 3 callersFunctionnormalizeTerm
(term, env)
src/prolog/builtins/logic.js:56
↓ 3 callersMethodnoteToFreq
(midi)
src/audio/audioEngine.js:23
↓ 3 callersMethodon
* Register event listener * @param {string} event - Event name * @param {Function} callback - Callback function
src/tutorial/tutorialManager.js:137
↓ 3 callersFunctionplaceSliderRow
(components, row)
src/ui/controls.js:37
↓ 3 callersMethodregisterRoute
* Registers a route with the router. * * @param {workbox-routing.Route} route The route to register.
dev-dist/workbox-ca84f546.js:1022
↓ 3 callersMethodsetState
* Update the validation state * @param {string} state - State: 'valid', 'invalid', or 'evaluating' * @param {string} errorMessage - Optional err
src/ui/validationIndicator.js:39
↓ 3 callersMethodshow
* Show overlay
src/tutorial/tutorialOverlay.js:201
↓ 3 callersFunctiontokenize
(src)
src/prolog/tokenizer.js:5
↓ 3 callersFunctionunwrap
dev-dist/workbox-ca84f546.js:1456
↓ 2 callersMethod_getCacheExpiration
* A simple helper method to return a CacheExpiration instance for a given * cache name. * * @param {string} cacheName * @r
dev-dist/workbox-ca84f546.js:2051
↓ 2 callersMethod_getId
* Takes a URL and returns an ID that will be unique in the object store. * * @param {string} url * @return {string} *
dev-dist/workbox-ca84f546.js:1711
↓ 2 callersFunction_nestedGroup
* @param {string} groupTitle * @param {Array<string>} urls * * @private
dev-dist/workbox-ca84f546.js:3490
↓ 2 callersMethod_useDefaultCacheabilityPluginIfNeeded
* This method is complex, as there a number of things to account for: * * The `plugins` array can be set at construction, and/or it migh
dev-dist/workbox-ca84f546.js:3776
↓ 2 callersMethodappendMessage
(text, codeApplied = false)
src/ui/aiChat.js:137
↓ 2 callersMethodcacheMatch
* Matches a request from the cache (and invokes any applicable plugin * callback methods) using the `cacheName`, `matchOptions`, and `plugins`
dev-dist/workbox-ca84f546.js:2632
↓ 2 callersMethodcancelPending
* Cancel any pending transition
src/scheduler/transitionManager.js:56
↓ 2 callersMethodcomplete
* Complete the tutorial
src/tutorial/tutorialManager.js:92
↓ 2 callersMethodcreateHandlerBoundToURL
* Returns a function that looks up `url` in the precache (taking into * account revision information), and returns the corresponding `Response`
dev-dist/workbox-ca84f546.js:4092
↓ 2 callersFunctiondontWaitFor
* A helper function that prevents a promise from being flagged as unused. * * @private
dev-dist/workbox-ca84f546.js:1243
↓ 2 callersMethodemit
* Emit event to all registered listeners * @param {string} event - Event name * @param {*} data - Event data
src/livecoding/liveEvaluator.js:77
↓ 2 callersMethodescapeHtml
(text)
src/ui/repl.js:257
↓ 2 callersMethodexecuteQueryFromText
(queryText)
src/ui/repl.js:98
↓ 2 callersMethodgetLastValidCode
* Get the last successfully validated code * @returns {string}
src/livecoding/liveEvaluator.js:87
↓ 2 callersFunctiongetMethod
(target, prop)
dev-dist/workbox-ca84f546.js:1510
↓ 2 callersMethodhandleAll
* Similar to {@link workbox-strategies.Strategy~handle}, but * instead of just returning a `Promise` that resolves to a `Response` it *
dev-dist/workbox-ca84f546.js:3040
↓ 2 callersMethodhandleNext
* Handle next button click
src/tutorial/tutorialOverlay.js:171
↓ 2 callersMethodhandleRequest
* Apply the routing rules to a FetchEvent object to get a Response from an * appropriate Route's handler. * * @param {Object} opt
dev-dist/workbox-ca84f546.js:794
↓ 2 callersMethodhasCallback
* Returns true if the strategy has at least one plugin with the given * callback. * * @param {string} name The name of the callba
dev-dist/workbox-ca84f546.js:2782
↓ 2 callersMethodinit
()
src/audio/audioEngine.js:7
next →1–100 of 334, ranked by callers