MCPcopy Create free account

hub / github.com/ThakeeNathees/pocketlang / functions

Functions635 in github.com/ThakeeNathees/pocketlang

↓ 1 callersMethodaddSublanguage
(e,n)
docs/static/highlight.js/highlight.min.js:39
↓ 1 callersMethodaddText
(e)
docs/static/highlight.js/highlight.min.js:39
↓ 1 callersFunctionargparse_init
cli/argparse.h:367
↓ 1 callersFunctionargparse_long_opt
cli/argparse.h:328
↓ 1 callersFunctionargparse_options_check
cli/argparse.h:296
↓ 1 callersFunctionargparse_parse
cli/argparse.h:388
↓ 1 callersFunctioncaptureUpvalue
Capture the [local] into an upvalue and return it. If the upvalue already exists on the fiber, it'll return it.
src/core/vm.c:673
↓ 1 callersFunctioncheckImportExists
check if path + ext exists. If not return 0, otherwise path + ext will written to the buffer and return the total length. [path] and [buff] should be
src/libs/std_path.c:70
↓ 1 callersFunctioncheck_fnv1_hash
(sources)
scripts/static_check.py:75
↓ 1 callersFunctioncheck_static
(dirs)
scripts/static_check.py:99
↓ 1 callersFunctioncleanupLibs
Cleanup the modules.
src/libs/libs.c:40
↓ 1 callersFunctioncleanupModuleTerm
src/libs/std_term.c:304
↓ 1 callersMethodcloseAllNodes
()
docs/static/highlight.js/highlight.min.js:31
↓ 1 callersMethodcloseNode
()
docs/static/highlight.js/highlight.min.js:30
↓ 1 callersFunctioncollect_source_files
()
docs/wasm/compile.py:40
↓ 1 callersFunctioncompileClass
Compile a class and return it's index in the module's types buffer.
src/core/compiler.c:2598
↓ 1 callersFunctioncompileForStatement
src/core/compiler.c:3172
↓ 1 callersFunctioncompileFromImport
from module import sym1 [as alias1 [, sym2 [as alias2 ...]]]
src/core/compiler.c:3036
↓ 1 callersFunctioncompileIfStatement
src/core/compiler.c:3092
↓ 1 callersFunctioncompileRegularImport
import module1 [as alias1 [, module2 [as alias2 ...]]
src/core/compiler.c:3003
↓ 1 callersFunctioncompileTopLevelStatement
Compile statements that are only valid at the top level of the module. Such as import statement, function define, and if we're running REPL mode top l
src/core/compiler.c:3351
↓ 1 callersFunctioncompileWhileStatement
src/core/compiler.c:3141
↓ 1 callersFunctioncompilerAddForward
src/core/compiler.c:2394
↓ 1 callersFunctioncompilerInit
src/core/compiler.c:557
↓ 1 callersFunctioncompilerMarkObjects
src/core/compiler.c:3482
↓ 1 callersFunctioncompilerPopFunc
src/core/compiler.c:2487
↓ 1 callersFunctioncompilerSearchName
Will check if the name already defined.
src/core/compiler.c:1484
↓ 1 callersFunctioncreateThemeButton
()
docs/static/main.js:8
↓ 1 callersFunctiondefine_functions
(api_functions)
scripts/generate_native.py:102
↓ 1 callersFunctiondisplay_results
(results)
scripts/run_benchmarks.py:119
↓ 1 callersFunctiondumpGlobalValues
src/core/debug.c:703
↓ 1 callersFunctiondumpStackFrame
src/core/debug.c:720
↓ 1 callersFunctioneatName
Complete lexing an identifier name.
src/core/compiler.c:826
↓ 1 callersFunctionexprName
src/core/compiler.c:1900
↓ 1 callersFunctionfib
(n)
tests/benchmarks/fib/fib.js:1
↓ 1 callersFunctionfib
(n)
tests/benchmarks/fib/fib.rb:2
↓ 1 callersFunctionfib
(n)
tests/benchmarks/fib/fib.py:3
↓ 1 callersMethodfinalize
()
docs/static/highlight.js/highlight.min.js:41
↓ 1 callersFunctionfindBuiltinClass
Find the builtin classes name and returns it's index in the VM's builtin classes array, if not found returns -1.
src/core/compiler.c:1376
↓ 1 callersFunctionfindUpvalue
Search for an upvalue with the given [name] for the current function [func]. If an upvalue found, it'll add the upvalue info to the upvalue infor arra
src/core/compiler.c:1427
↓ 1 callersFunctionflaten
(s)
scripts/generate_native.py:56
↓ 1 callersFunctionfnv1a_hash
(string)
scripts/static_check.py:163
↓ 1 callersFunctiongenerate
()
scripts/amalgamate.py:96
↓ 1 callersFunctiongenerate
()
scripts/generate_native.py:131
↓ 1 callersFunctiongetObjPkVarType
src/core/value.c:1333
↓ 1 callersFunctiongetPkVarObjType
src/core/value.c:1353
↓ 1 callersFunctiongetSuperMethod
src/core/core.c:1593
↓ 1 callersFunctionget_api_functions
()
scripts/generate_native.py:78
↓ 1 callersFunctionget_pocket_binary
()
scripts/run_tests.py:93
↓ 1 callersFunctionget_source
()
scripts/generate_native.py:47
↓ 1 callersFunctionget_time
(result_string)
scripts/run_benchmarks.py:111
↓ 1 callersFunctionh
(e,n,t)
docs/static/highlight.js/highlight.min.js:179
↓ 1 callersFunctionhandleNewLine
(event)
docs/static/codejar/codejar.js:186
↓ 1 callersFunctionhandlePaste
(event)
docs/static/codejar/codejar.js:326
↓ 1 callersFunctionhandleSelfClosingCharacters
(event)
docs/static/codejar/codejar.js:231
↓ 1 callersFunctionhandleTabCharacters
(event)
docs/static/codejar/codejar.js:259
↓ 1 callersFunctionhandleUndoRedo
(event)
docs/static/codejar/codejar.js:281
↓ 1 callersFunctioninit
(editor, opts)
docs/static/codejar/linenumbers.js:22
↓ 1 callersFunctioninit_api
(api_functions)
scripts/generate_native.py:115
↓ 1 callersFunctioninitializeBuiltinFunctions
src/core/core.c:693
↓ 1 callersFunctioninitializeCore
src/core/core.c:138
↓ 1 callersFunctioninitializeCoreModules
src/core/core.c:869
↓ 1 callersFunctioninitializePrimitiveClasses
src/core/core.c:1407
↓ 1 callersFunctionintializePocketVM
Create new pocket VM and set it's configuration.
cli/main.c:45
↓ 1 callersFunctionisPrime
(n)
tests/benchmarks/primes/primes.js:1
↓ 1 callersFunctionisStringEmpty
FIXME: this should be moved to somewhere general. Returns true if the string is empty, used to check if the input line is empty to skip compilation o
src/core/public.c:445
↓ 1 callersFunctionis_prime
(n)
tests/benchmarks/primes/primes.py:3
↓ 1 callersFunctionis_prime
(n)
tests/benchmarks/primes/primes.rb:2
↓ 1 callersFunctionj
(e,n)
docs/static/highlight.js/highlight.min.js:103
↓ 1 callersFunctionlistAdd
src/core/value.c:910
↓ 1 callersFunctionlistClear
src/core/value.c:906
↓ 1 callersFunctionmain
()
scripts/run_tests.py:60
↓ 1 callersFunctionmain
()
scripts/static_check.py:68
↓ 1 callersFunctionmain
()
scripts/run_benchmarks.py:46
↓ 1 callersFunctionmain
()
docs/wasm/compile.py:15
↓ 1 callersFunctionmake_api
(api_functions)
scripts/generate_native.py:121
↓ 1 callersFunctionmapRemoveKey
src/core/value.c:1090
↓ 1 callersFunctionmarkClosureBuffer
src/core/value.c:103
↓ 1 callersFunctionmatchOperatorMethod
Match operator mathod definition. This will match the operator overloading method syntax of ruby.
src/core/compiler.c:2680
↓ 1 callersFunctionmoduleAddFunctionInternal
An internal function to add a function to the given [module].
src/core/core.c:747
↓ 1 callersFunctionmoduleAddMain
src/core/value.c:1310
↓ 1 callersFunctionmoduleGetMainFunction
FIXME: this should be moved to somewhere general along with isStringEmpty(). This function will get the main function from the module to run it in th
src/core/public.c:459
↓ 1 callersFunctionnewCompilerOptions
src/core/compiler.c:3379
↓ 1 callersFunctionnewInstance
src/core/value.c:544
↓ 1 callersFunctionnewModuleInternal
Create a module and add it to the vm's core modules, returns the module.
src/core/core.c:725
↓ 1 callersFunctionparse_definition
(_def)
scripts/generate_native.py:59
↓ 1 callersFunctionparserInit
This should be called once the compiler initialized (to access it's fields).
src/core/compiler.c:523
↓ 1 callersFunctionpatchForward
src/core/compiler.c:2579
↓ 1 callersFunctionpathIsDir
src/libs/std_path.c:202
↓ 1 callersFunctionpeekNextChar
Returns the next char of the compiler on.
src/core/compiler.c:812
↓ 1 callersFunctionpkCallFunction
src/core/public.c:970
↓ 1 callersFunctionpkGetClass
src/core/public.c:1067
↓ 1 callersFunctionpkGetClass
tests/native/dl/pknative.c:374
↓ 1 callersFunctionpkGetSlotBool
src/core/public.c:738
↓ 1 callersFunctionpkGetSlotNativeInstance
tests/native/dl/pknative.c:338
↓ 1 callersFunctionpkGetSlotType
src/core/public.c:732
↓ 1 callersFunctionpkListInsert
src/core/public.c:923
↓ 1 callersFunctionpkNewClass
tests/native/dl/pknative.c:242
↓ 1 callersFunctionpkNewInstance
tests/native/dl/pknative.c:378
↓ 1 callersFunctionpkNewList
src/core/public.c:909
← previousnext →301–400 of 635, ranked by callers