MCPcopy Create free account

hub / github.com/NICUP14/MiniLang / functions

Functions512 in github.com/NICUP14/MiniLang

↓ 162 callersFunctionprint_error
(loc: str, msg: str, parser=None, node=None)
src/Def.py:395
↓ 76 callersFunctioncolor_str
(color: Color, msg: str)
src/Def.py:388
↓ 68 callersMethodadd_arg
(self, arg: str)
src/Snippet.py:46
↓ 54 callersFunctionprint_stdout
(msg: str = '')
src/Def.py:430
↓ 54 callersFunctionrev_type_of
(vtype: VariableType)
src/Def.py:676
↓ 51 callersMethodcurr_token
(self)
src/Parser.py:223
↓ 47 callersFunctioncopy_of
(snippet: Snippet)
src/Snippet.py:143
↓ 45 callersMethodasm
(self)
src/Snippet.py:50
↓ 44 callersMethodmatch_token
(self, kind: TokenKind)
src/Parser.py:233
↓ 44 callersMethodno_more_tokens
(self)
src/Parser.py:217
↓ 40 callersFunctionsdslen
skel/include/sds.h:87
↓ 40 callersFunctionsdslen
tests/aoc-2022/day-2/include/sds.h:87
↓ 40 callersFunctionsdslen
tests/aoc-2022/day-1/include/sds.h:87
↓ 38 callersMethodnext_token
(self)
src/Parser.py:230
↓ 29 callersMethodreg_str
(self)
src/Def.py:372
↓ 29 callersFunctionsdsfree
Free an sds string. No operation is performed if 's' is NULL. */
skel/include/sds.c:165
↓ 29 callersFunctionsdsfree
Free an sds string. No operation is performed if 's' is NULL. */
tests/aoc-2022/day-2/include/sds.c:165
↓ 29 callersFunctionsdsfree
Free an sds string. No operation is performed if 's' is NULL. */
tests/aoc-2022/day-1/include/sds.c:165
↓ 25 callersFunctionglue_statements
(node_list: List[Optional[Node]], in_call: bool = False)
src/Def.py:1411
↓ 21 callersFunctionfull_name_of_var
(name: str, force_local: bool = False, exhaustive_match: bool = True)
src/Def.py:535
↓ 19 callersFunction_find_signature
(fun: Function, arg_types: List[VariableType], check_len: bool = True, check_refs: bool = False, use_gen: bool
src/Def.py:1314
↓ 18 callersFunctionfree_reg
(reg: Register)
src/Def.py:453
↓ 18 callersMethodkind
(self)
src/Def.py:120
↓ 18 callersMethodmeta_kind
(self)
src/Def.py:123
↓ 18 callersMethodnext_line
(self)
src/Parser.py:205
↓ 17 callersFunctionsdscatlen
Append the specified binary-safe string pointed by 't' of 'len' bytes to the * end of the specified sds string 's'. * * After the call, the passed
skel/include/sds.c:398
↓ 17 callersFunctionsdscatlen
Append the specified binary-safe string pointed by 't' of 'len' bytes to the * end of the specified sds string 's'. * * After the call, the passed
tests/aoc-2022/day-2/include/sds.c:398
↓ 17 callersFunctionsdscatlen
Append the specified binary-safe string pointed by 't' of 'len' bytes to the * end of the specified sds string 's'. * * After the call, the passed
tests/aoc-2022/day-1/include/sds.c:398
↓ 16 callersFunctionmodf_of
(kind: VariableKind)
src/Def.py:474
↓ 15 callersFunctionsize_of
(ckind: VariableCompKind)
src/Def.py:1206
↓ 14 callersFunctionalloc_reg
(reg: Register = Register.id_max, opd: Operand = None)
src/Def.py:434
↓ 13 callersFunctionsdsnew
Create a new sds string starting from a null terminated C string. */
skel/include/sds.c:154
↓ 13 callersFunctionsdsnew
Create a new sds string starting from a null terminated C string. */
tests/aoc-2022/day-2/include/sds.c:154
↓ 13 callersFunctionsdsnew
Create a new sds string starting from a null terminated C string. */
tests/aoc-2022/day-1/include/sds.c:154
↓ 13 callersFunctiontype_compatible
(kind: NodeKind, ckind: VariableCompKind, ckind2: VariableCompKind, ref_is_ptr: bool = True)
src/Def.py:893
↓ 12 callersFunctionargs_to_list
(node: Node)
src/Def.py:1281
↓ 12 callersFunctionc_rev_type_of
(vtype: VariableType)
src/backend/c/CDef.py:24
↓ 12 callersFunctiongen_load
(opd: Operand)
src/Gen.py:193
↓ 12 callersFunctionref_of
(vtype: VariableType)
src/Def.py:1383
↓ 12 callersMethodtoken_list_to_tree
(self)
src/Parser.py:256
↓ 12 callersFunctiontype_of_ident
(ident: str)
src/Def.py:747
↓ 11 callersMethodcompound_statement
(self, add_predef: bool = True)
src/Parser.py:1310
↓ 10 callersFunctionbin_snippet
left_opd: src right_opd: dest
src/Gen.py:446
↓ 10 callersFunctiongen_load_ptr
(opd: Operand, vtype: VariableType = default_type)
src/Gen.py:162
↓ 10 callersFunctionto_predeferred
(node: Node)
src/Def.py:1432
↓ 10 callersFunctiontype_of_lit
(kind: NodeKind, name: str = '')
src/Def.py:799
↓ 9 callersMethodcheck_ident
(self, name: str, meta_kind: Optional[VariableMetaKind] = None, use_mkind: bool = False)
src/Parser.py:412
↓ 9 callersMethodcurr_line
(self)
src/Parser.py:198
↓ 9 callersFunctionfree_all_regs
()
src/Def.py:458
↓ 9 callersMethodno_more_lines
(self, check_next_lines: bool = False)
src/Parser.py:194
↓ 9 callersMethodnode_kind_of
(self, kind: TokenKind)
src/Parser.py:268
↓ 9 callersFunctionrev_of
(ckind: VariableCompKind, name: str = None)
src/Def.py:616
↓ 9 callersFunctionsdsMakeRoomFor
Enlarge the free space at the end of the sds string so that the caller * is sure that after calling this function can overwrite up to addlen * bytes
skel/include/sds.c:204
↓ 9 callersFunctionsdsMakeRoomFor
Enlarge the free space at the end of the sds string so that the caller * is sure that after calling this function can overwrite up to addlen * bytes
tests/aoc-2022/day-2/include/sds.c:204
↓ 9 callersFunctionsdsMakeRoomFor
Enlarge the free space at the end of the sds string so that the caller * is sure that after calling this function can overwrite up to addlen * bytes
tests/aoc-2022/day-1/include/sds.c:204
↓ 9 callersFunctionsdssetlen
skel/include/sds.h:130
↓ 9 callersFunctionsdssetlen
tests/aoc-2022/day-2/include/sds.h:130
↓ 9 callersFunctionsdssetlen
tests/aoc-2022/day-1/include/sds.h:130
↓ 8 callersFunctioncurr_scope
()
src/Def.py:502
↓ 8 callersFunctiongen_tree
(node: Node, parent: Optional[Node], curr_label: int)
src/Gen.py:577
↓ 8 callersFunctionsdsHdrSize
skel/include/sds.c:44
↓ 8 callersFunctionsdsHdrSize
tests/aoc-2022/day-2/include/sds.c:44
↓ 8 callersFunctionsdsHdrSize
tests/aoc-2022/day-1/include/sds.c:44
↓ 8 callersFunctionsdsavail
skel/include/sds.h:104
↓ 8 callersFunctionsdsavail
tests/aoc-2022/day-2/include/sds.h:104
↓ 8 callersFunctionsdsavail
tests/aoc-2022/day-1/include/sds.h:104
↓ 8 callersFunctionsdsnewlen
Create a new sds string with the content specified by the 'init' pointer * and 'initlen'. * If NULL is used for 'init' the string is initialized wit
skel/include/sds.c:89
↓ 8 callersFunctionsdsnewlen
Create a new sds string with the content specified by the 'init' pointer * and 'initlen'. * If NULL is used for 'init' the string is initialized wit
tests/aoc-2022/day-2/include/sds.c:89
↓ 8 callersFunctionsdsnewlen
Create a new sds string with the content specified by the 'init' pointer * and 'initlen'. * If NULL is used for 'init' the string is initialized wit
tests/aoc-2022/day-1/include/sds.c:89
↓ 7 callersFunctiongen_widen
(opd: Operand, var_type: VariableType = default_type)
src/Gen.py:284
↓ 7 callersFunctionref_node
(node: Node)
src/Def.py:1402
↓ 7 callersFunctionrev_of
(ckind: VariableCompKind)
src/backend/c/CDef.py:33
↓ 7 callersFunctionsdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
skel/include/sds.c:149
↓ 7 callersFunctionsdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
tests/aoc-2022/day-2/include/sds.c:149
↓ 7 callersFunctionsdsempty
Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
tests/aoc-2022/day-1/include/sds.c:149
↓ 7 callersFunctiontype_of
(sym: str, err=True)
src/Def.py:590
↓ 6 callersFunctionoff_of
(ident: str)
src/Def.py:569
↓ 6 callersMethodref
(self, node: Node)
src/Parser.py:795
↓ 6 callersFunctionsdscatprintf
Append to the sds string 's' a string obtained using printf-alike format * specifier. * * After the call, the modified sds string is no longer vali
skel/include/sds.c:591
↓ 6 callersFunctionsdscatprintf
Append to the sds string 's' a string obtained using printf-alike format * specifier. * * After the call, the modified sds string is no longer vali
tests/aoc-2022/day-2/include/sds.c:591
↓ 6 callersFunctionsdscatprintf
Append to the sds string 's' a string obtained using printf-alike format * specifier. * * After the call, the modified sds string is no longer vali
tests/aoc-2022/day-1/include/sds.c:591
↓ 6 callersFunctionsdsdup
Duplicate an sds string. */
skel/include/sds.c:160
↓ 6 callersFunctionsdsdup
Duplicate an sds string. */
tests/aoc-2022/day-2/include/sds.c:160
↓ 6 callersFunctionsdsdup
Duplicate an sds string. */
tests/aoc-2022/day-1/include/sds.c:160
↓ 6 callersFunctionsdsrange
Turn the string into a smaller (or equal) string containing only the * substring specified by the 'start' and 'end' indexes. * * start and end can
skel/include/sds.c:756
↓ 6 callersFunctionsdsrange
Turn the string into a smaller (or equal) string containing only the * substring specified by the 'start' and 'end' indexes. * * start and end can
tests/aoc-2022/day-2/include/sds.c:756
↓ 6 callersFunctionsdsrange
Turn the string into a smaller (or equal) string containing only the * substring specified by the 'start' and 'end' indexes. * * start and end can
tests/aoc-2022/day-1/include/sds.c:756
↓ 5 callersFunctiongc_allocation_map_get
skel/include/gc.c:245
↓ 5 callersFunctiongc_allocation_map_get
tests/aoc-2022/day-2/include/gc.c:245
↓ 5 callersFunctiongc_allocation_map_get
tests/aoc-2022/day-1/include/gc.c:245
↓ 5 callersFunctiongen_load_addr
(opd: Operand)
src/Gen.py:174
↓ 5 callersFunctionml_walk
(node)
src/backend/ml/MLWalker.py:202
↓ 5 callersFunctionneeds_widen
(ckind: VariableCompKind, ckind2: VariableCompKind)
src/Def.py:1153
↓ 5 callersFunctionrv_ref_of
(vtype: VariableType)
src/Def.py:1387
↓ 5 callersFunctionsdsinclen
skel/include/sds.h:154
↓ 5 callersFunctionsdsinclen
tests/aoc-2022/day-2/include/sds.h:154
↓ 5 callersFunctionsdsinclen
tests/aoc-2022/day-1/include/sds.h:154
↓ 5 callersFunctiontoken_is_op
(kind: TokenKind)
src/Lexer.py:271
↓ 4 callersFunction_c_walk
(node)
src/backend/c/CWalker.py:292
↓ 4 callersMethodarray_elem_declaration
(self, array: Node, elem: Node, idx: int)
src/Parser.py:2383
next →1–100 of 512, ranked by callers