MCPcopy Create free account

hub / github.com/ThakeeNathees/pocketlang / functions

Functions635 in github.com/ThakeeNathees/pocketlang

↓ 5 callersFunctionnewFiber
src/core/value.c:442
↓ 5 callersFunctionon
(type, fn)
docs/static/codejar/codejar.js:40
↓ 5 callersFunctionparsePrecedence
src/core/compiler.c:2293
↓ 5 callersFunctionpathAbs
src/libs/std_path.c:218
↓ 5 callersFunctionpkClassAddMethod
tests/native/dl/pknative.c:246
↓ 5 callersFunctionpkGetSelf
tests/native/dl/pknative.c:270
↓ 5 callersFunctionpkNewClass
src/core/public.c:256
↓ 5 callersFunctionpkSetSlotHandle
src/core/public.c:822
↓ 5 callersFunctionpkValidateSlotNumber
tests/native/dl/pknative.c:286
↓ 5 callersFunctionutilIsCharHex
src/core/utils.c:44
↓ 5 callersFunctionvmRegisterModule
src/core/vm.c:66
↓ 5 callersFunctiony
(n,r)
docs/static/highlight.js/highlight.min.js:219
↓ 4 callersFunctionM
(e,n)
docs/static/highlight.js/highlight.min.js:276
↓ 4 callersFunctionN
(e="")
docs/static/highlight.js/highlight.min.js:1053
↓ 4 callersFunction_allocateString
src/core/value.c:289
↓ 4 callersFunction_compileCall
This function is reused between calls and method calls. if the [call_type] is OP_METHOD_CALL the [method] should refer a string in the module's consta
src/core/compiler.c:1766
↓ 4 callersFunction_printRed
FIXME: Refactor this. Maybe move to a module, Rgb values are hardcoded ?! Should check stderr/stdout etc.
src/core/debug.c:17
↓ 4 callersMethodaddKeyword
(e,n)
docs/static/highlight.js/highlight.min.js:38
↓ 4 callersFunctioncolmsg
(msg, color)
scripts/run_benchmarks.py:260
↓ 4 callersFunctioncompilerChangeStack
Change the stack size by the [num], if it's positive, the stack will grow otherwise it'll shrink.
src/core/compiler.c:2424
↓ 4 callersFunctioncompilerEnterBlock
Enters inside a block.
src/core/compiler.c:2418
↓ 4 callersFunctioncompilerExitBlock
Exits a block.
src/core/compiler.c:2466
↓ 4 callersFunctioneatString
src/core/compiler.c:679
↓ 4 callersFunctiongetPkVarTypeName
src/core/value.c:1377
↓ 4 callersFunctiongetRule
src/core/compiler.c:1673
↓ 4 callersFunctioninitializeModule
src/core/core.c:144
↓ 4 callersFunctionisValuesEqual
src/core/value.c:1444
↓ 4 callersFunctionnewModule
src/core/value.c:353
↓ 4 callersFunctionnewUpvalue
src/core/value.c:432
↓ 4 callersMethodopenNode
(e)
docs/static/highlight.js/highlight.min.js:20
↓ 4 callersFunctionpkGetAttribute
src/core/public.c:851
↓ 4 callersFunctionpkValidateSlotInteger
src/core/public.c:653
↓ 4 callersFunctionrecordHistory
()
docs/static/codejar/codejar.js:305
↓ 4 callersFunctions
docs/static/highlight.js/highlight.min.js:17
↓ 4 callersFunctiontoRepr
src/core/value.c:1803
↓ 4 callersFunctiontoString
()
docs/static/codejar/codejar.js:389
↓ 4 callersFunctionutilIsName
Function implementation, see utils.h for description.
src/core/utils.c:34
↓ 4 callersFunctionvalidateNumeric
Check if [var] is bool/number. If not, it'll set error and return false.
src/core/core.c:71
↓ 4 callersFunctionvarEqals
src/core/core.c:1847
↓ 4 callersFunctionvarGetAttrib
src/core/core.c:1964
↓ 4 callersFunctionvarLesser
src/core/core.c:1861
↓ 4 callersFunctionvmEnsureStackSize
src/core/vm.c:552
↓ 4 callersFunctionvmPrepareFiber
src/core/vm.c:177
↓ 3 callersFunctionE
(e,t)
docs/static/highlight.js/highlight.min.js:247
↓ 3 callersFunction_collectMethods
Add all the methods recursively to the lits used for generating a list of attributes for the 'dir()' function.
src/core/core.c:262
↓ 3 callersFunction_mapFindEntry
Find the entry with the [key]. Returns true if found and set [result] to point to the entry, return false otherwise and points [result] to where the e
src/core/value.c:968
↓ 3 callersFunction_newInstance
src/core/public.c:866
↓ 3 callersFunction_reportStackFrame
src/core/debug.c:180
↓ 3 callersFunction_setSlotVector
src/libs/std_term.c:23
↓ 3 callersMethodaddRule
(e,n)
docs/static/highlight.js/highlight.min.js:140
↓ 3 callersFunctionafterCursor
()
docs/static/codejar/codejar.js:178
↓ 3 callersFunctionargparse_usage
cli/argparse.h:457
↓ 3 callersFunctionbeforeCursor
()
docs/static/codejar/codejar.js:170
↓ 3 callersFunctioncheckMaxConstantsReached
Check if the given [index] is greater than or equal to the maximum constants that a module can contain and report an error.
src/core/compiler.c:657
↓ 3 callersMethodcloseNode
(e)
docs/static/highlight.js/highlight.min.js:24
↓ 3 callersFunctioncompileFunction
Compile a function, if it's a literal function after this call a closure of the function will be at the stack top, toplevel functions will be assigned
src/core/compiler.c:2754
↓ 3 callersFunctioncompilerAddConstant
Add a literal constant to module literals and return it's index.
src/core/compiler.c:2410
↓ 3 callersFunctioncompilerPopLocals
Write instruction to pop all the locals at the current [depth] or higher, but it won't change the stack size of locals count because this function is
src/core/compiler.c:2442
↓ 3 callersMethodconsiderAll
()
docs/static/highlight.js/highlight.min.js:140
↓ 3 callersFunctionemitAssignedOp
src/core/compiler.c:2527
↓ 3 callersFunctionemitLoopJump
Jump back to the start of the loop.
src/core/compiler.c:2521
↓ 3 callersFunctionemitPushValue
Emit opcode to push the value of [type] at the [index] in it's array.
src/core/compiler.c:1688
↓ 3 callersFunctionemitStoreGlobal
FIXME: This function is used by the import system, remove this function (and move it to emitStoreName()) after import system refactored. Store the va
src/core/compiler.c:1682
↓ 3 callersFunctionemitStoreValue
Emit opcode to store the stack top value to the named value to the [type] at the [index] in it's array.
src/core/compiler.c:1732
↓ 3 callersFunctioni
(e)
docs/static/highlight.js/highlight.min.js:14
↓ 3 callersFunctionk
(e,n,t={})
docs/static/highlight.js/highlight.min.js:58
↓ 3 callersFunctionmarkVarBuffer
src/core/value.c:89
↓ 3 callersFunctionmatchAssignment
Returns a optional compound assignment.
src/core/compiler.c:1339
↓ 3 callersFunctionmatchLine
Match one or more lines and return true if there any.
src/core/compiler.c:1259
↓ 3 callersFunctionmoduleAddConstant
src/core/value.c:1234
↓ 3 callersFunctionnewClass
src/core/value.c:508
↓ 3 callersFunctionnewMethodBind
src/core/value.c:422
↓ 3 callersFunctionnewRange
src/core/value.c:345
↓ 3 callersFunctionpkFreeVM
tests/native/dl/pknative.c:202
↓ 3 callersFunctionpkGetSlotString
src/core/public.c:753
↓ 3 callersFunctionpkNewConfiguration
src/core/public.c:95
↓ 3 callersFunctionpkNewInstance
src/core/public.c:885
↓ 3 callersFunctionpkNewModule
tests/native/dl/pknative.c:230
↓ 3 callersFunctionpkNewVM
tests/native/dl/pknative.c:198
↓ 3 callersFunctionpkReleaseHandle
tests/native/dl/pknative.c:226
↓ 3 callersFunctionpkRunString
tests/native/dl/pknative.c:254
↓ 3 callersFunctionpkSetSlotStringFmt
src/core/public.c:814
↓ 3 callersFunctionreportError
Internal error report function for lexing and parsing.
src/core/compiler.c:596
↓ 3 callersFunctionte
docs/static/highlight.js/highlight.min.js:302
↓ 3 callersFunctiontryImportPaths
Try all import paths by appending pocketlang supported extensions to the path (ex: path + ".pk", path + ".dll", path + ".so", path + "/_init.pk", ...
src/libs/std_path.c:92
↓ 3 callersFunctionutilCharHexVal
src/core/utils.c:50
↓ 3 callersFunctionutilHashBits
Function implementation, see utils.h for description.
src/core/utils.c:99
↓ 3 callersFunctionutilPowerOf2Ceil
Function implementation, see utils.h for description.
src/core/utils.c:17
↓ 3 callersFunctionvarHashValue
src/core/value.c:955
↓ 3 callersFunctionvarIsType
src/core/core.c:1947
↓ 3 callersFunctionvmCallFunction
src/core/vm.c:333
↓ 3 callersFunctionvmNewHandle
src/core/vm.c:15
↓ 3 callersFunctionvmRealloc
src/core/vm.c:25
↓ 3 callersFunctionvmRunFiber
src/core/vm.c:770
↓ 2 callersFunctionG
(e,n,{key:t})
docs/static/highlight.js/highlight.min.js:107
↓ 2 callersFunction_compileOptionalParanCall
Like lua, we're omitting the paranthese for literals, it'll check for literals that can be passed for no pranthese call (a syntax sugar) and emit the
src/core/compiler.c:1808
↓ 2 callersFunction_mapInsertEntry
Add the key, value pair to the entries array of the map. Returns true if the entry added for the first time and false for replaced value.
src/core/value.c:1023
↓ 2 callersFunction_mapResize
Resize the map's size to the given [capacity].
src/core/value.c:1040
↓ 2 callersFunction_normalizeSliceRange
Given a range. It'll "normalize" the range to slice an object (string or list) set the [start] index [length] and [reversed]. On success it'll return
src/core/core.c:2242
↓ 2 callersFunction_print_sep
()
scripts/run_benchmarks.py:230
← previousnext →101–200 of 635, ranked by callers