MCPcopy Create free account

hub / github.com/ThakeeNathees/pocketlang / functions

Functions635 in github.com/ThakeeNathees/pocketlang

↓ 131 callersFunctionpkSetSlotNumber
src/core/public.c:795
↓ 91 callersFunctionOPCODE
(PUSH_LOCAL_1)
src/core/vm.c:974
↓ 88 callersFunctionpkSetAttribute
src/core/public.c:837
↓ 86 callersFunctionmatch
Consume the current token if it's expected and lex for the next token and return true otherwise return false.
src/core/compiler.c:1234
↓ 84 callersFunctionnewString
Allocate new string using the cstring [text].
src/core/value.h:592
↓ 78 callersFunctionemitOpcode
Emits an instruction and update stack size (variable stack size opcodes should be handled).
src/core/compiler.c:2513
↓ 72 callersFunctionvmPopTempRef
src/core/vm.c:60
↓ 68 callersFunctionvmPushTempRef
src/core/vm.c:53
↓ 45 callersFunctionpkValidateSlotNumber
src/core/public.c:639
↓ 38 callersFunctionskipNewLines
Will skip multiple new lines.
src/core/compiler.c:1283
↓ 34 callersFunctionstringFormat
src/core/value.c:792
↓ 32 callersFunctionm
(...e)
docs/static/highlight.js/highlight.min.js:44
↓ 32 callersFunctionpkValidateSlotString
src/core/public.c:669
↓ 28 callersFunctionmarkObject
src/core/value.c:67
↓ 28 callersFunctionpkSetRuntimeError
src/core/public.c:569
↓ 27 callersFunctionconsume
Consume the the current token and if it's not [expected] emits error log and continue parsing for more error logs.
src/core/compiler.c:1245
↓ 26 callersFunctionnewStringLength
src/core/value.c:298
↓ 26 callersFunctionpeekChar
Returns the current char of the compiler on.
src/core/compiler.c:807
↓ 26 callersFunctionpkGetSelf
src/core/public.c:581
↓ 24 callersFunctionpkRealloc
src/core/public.c:90
↓ 22 callersFunctionsetNextToken
Initialize the next token as the type.
src/core/compiler.c:1012
↓ 20 callersFunctionemitByte
Emit a single byte and return it's index.
src/core/compiler.c:2496
↓ 20 callersFunctionemitShort
Emit 2 bytes argument as big indian. return it's starting index.
src/core/compiler.c:2506
↓ 20 callersFunctionsyntaxError
Error caused when parsing. The associated token assumed to be last consumed which is [parser->previous].
src/core/compiler.c:618
↓ 19 callersFunctioncompileExpression
Compiles an expression. An expression will result a value on top of the stack.
src/core/compiler.c:3088
↓ 19 callersFunctioneatChar
Advance the compiler by 1 char.
src/core/compiler.c:818
↓ 19 callersFunctionsemanticError
src/core/compiler.c:631
↓ 17 callersFunctionnewList
src/core/value.c:323
↓ 17 callersFunctionp
(...e)
docs/static/highlight.js/highlight.min.js:44
↓ 16 callersFunctionpkReleaseHandle
src/core/public.c:325
↓ 15 callersFunctionlistAppend
src/core/value.h:701
↓ 15 callersFunctionvarTypeName
src/core/value.c:1410
↓ 14 callersFunctionmakeErrToken
Returns an error token from the current position for reporting error.
src/core/compiler.c:1002
↓ 14 callersFunctionmoduleGetStringAt
src/core/value.c:1267
↓ 14 callersFunctionpkCheckArgcRange
src/core/public.c:594
↓ 14 callersFunctionsetNextTwoCharToken
If the current char is [c] eat the char and add token two otherwise eat append token one.
src/core/compiler.c:992
↓ 13 callersFunctionpeek
Returns current token type without lexing a new token.
src/core/compiler.c:1228
↓ 13 callersFunctionpkSetSlotStringLength
src/core/public.c:807
↓ 13 callersFunctiontoBool
src/core/value.c:1812
↓ 12 callersFunctionmarkValue
src/core/value.c:84
↓ 12 callersFunctionpkReserveSlots
src/core/public.c:721
↓ 12 callersFunctionpkSetSlotBool
src/core/public.c:789
↓ 11 callersFunctionmatchChar
If the current char is [c] consume it and advance char by 1 and returns true otherwise returns false.
src/core/compiler.c:984
↓ 11 callersFunctiono
(e,n,t)
docs/static/highlight.js/highlight.min.js:657
↓ 11 callersFunctionpatchJump
Update the jump offset.
src/core/compiler.c:2565
↓ 10 callersFunctiond
(e)
docs/static/highlight.js/highlight.min.js:41
↓ 10 callersFunctiong
(e)
docs/static/highlight.js/highlight.min.js:42
↓ 10 callersFunctionhasMethod
src/core/core.c:1567
↓ 10 callersFunctionmapGet
src/core/value.c:1063
↓ 10 callersFunctionpkNewModule
src/core/public.c:229
↓ 10 callersFunctionpkSetRuntimeErrorFmt
src/core/public.c:574
↓ 10 callersFunctionrestore
(pos)
docs/static/codejar/codejar.js:125
↓ 10 callersFunctionutilHashString
Function implementation, see utils.h for description.
src/core/utils.c:119
↓ 9 callersFunctioncompilerAddVariable
Add a variable and return it's index to the context. Assumes that the variable name is unique and not defined before in the current scope.
src/core/compiler.c:2350
↓ 9 callersMethodexec
(e)
docs/static/highlight.js/highlight.min.js:131
↓ 9 callersFunctionpkGetArgc
src/core/public.c:589
↓ 9 callersFunctionpkRegisterModule
src/core/public.c:240
↓ 9 callersFunctionpkSetSlotString
src/core/public.c:801
↓ 9 callersFunctionutilIsDigit
Function implementation, see utils.h for description.
src/core/utils.c:39
↓ 9 callersFunctionvalidateInteger
Check if [var] is 32 bit integer. If not, it'll set error and return false.
src/core/core.c:79
↓ 9 callersFunctionvarToString
src/core/core.c:177
↓ 9 callersFunctionvmCallMethod
src/core/vm.c:285
↓ 8 callersMethodadd
(e)
docs/static/highlight.js/highlight.min.js:28
↓ 8 callersFunctionf
(e,{joinWith:n})
docs/static/highlight.js/highlight.min.js:50
↓ 8 callersFunctionnewClosure
src/core/value.c:411
↓ 8 callersFunctionpreventDefault
(event)
docs/static/codejar/codejar.js:392
↓ 8 callersFunctionsave
()
docs/static/codejar/codejar.js:88
↓ 7 callersFunctionK
docs/static/highlight.js/highlight.min.js:104
↓ 7 callersFunctionargparse_error
cli/argparse.h:191
↓ 7 callersFunctioninsert
(text)
docs/static/codejar/codejar.js:361
↓ 7 callersFunctionisNumeric
Check if [var] is a numeric value (bool/number) and set [value].
src/core/core.c:43
↓ 7 callersFunctionisObjectHashable
src/core/value.c:1506
↓ 7 callersFunctionlexToken
Lex the next token and set it as the next token.
src/core/compiler.c:1027
↓ 7 callersFunctionmoduleAddString
src/core/value.c:1244
↓ 7 callersFunctionmoduleSetGlobal
src/core/value.c:1277
↓ 7 callersFunctionnewMap
src/core/value.c:336
↓ 7 callersFunctionr
(e,...n)
docs/static/highlight.js/highlight.min.js:16
↓ 7 callersFunctionw
()
docs/static/highlight.js/highlight.min.js:271
↓ 6 callersFunctionH
(e,n)
docs/static/highlight.js/highlight.min.js:105
↓ 6 callersFunctionRGB
(red=None, green=None, blue=None,bg=False)
scripts/run_benchmarks.py:246
↓ 6 callersMethodaddText
(e)
docs/static/highlight.js/highlight.min.js:19
↓ 6 callersFunctionc
()
docs/static/highlight.js/highlight.min.js:186
↓ 6 callersFunctionconsumeEndStatement
Consume semi collon, multiple new lines or peek 'end' keyword.
src/core/compiler.c:1308
↓ 6 callersFunctiongetClass
src/core/core.c:1539
↓ 6 callersMethodignoreMatch
()
docs/static/highlight.js/highlight.min.js:14
↓ 6 callersFunctionmapSet
src/core/value.c:1069
↓ 6 callersFunctionnewFunction
src/core/value.c:365
↓ 6 callersFunctionpkSetSlotNumber
tests/native/dl/pknative.c:350
↓ 6 callersFunctionreport_error
(msg)
scripts/static_check.py:175
↓ 6 callersFunctionv
(e)
docs/static/highlight.js/highlight.min.js:273
↓ 5 callersFunction_
(e)
docs/static/highlight.js/highlight.min.js:48
↓ 5 callersFunctioncompile
src/core/compiler.c:3386
↓ 5 callersFunctioncompileBlockBody
Finish a block body.
src/core/compiler.c:2909
↓ 5 callersFunctiondumpValue
src/core/debug.c:266
↓ 5 callersFunctiongetSelection
()
docs/static/codejar/codejar.js:395
↓ 5 callersFunctiongetVarType
src/core/value.c:1425
↓ 5 callersFunctionisInteger
Check if [var] is a numeric value (bool/number) and set [value].
src/core/core.c:56
↓ 5 callersFunctionlocation
(file, line)
scripts/static_check.py:159
↓ 5 callersFunctionmoduleGetGlobalIndex
src/core/value.c:1298
↓ 5 callersFunctionn
(e)
docs/static/highlight.js/highlight.min.js:6
next →1–100 of 635, ranked by callers