MCPcopy Create free account

hub / github.com/StepfenShawn/Cantonese / functions

Functions531 in github.com/StepfenShawn/Cantonese

↓ 1 callersMethodbuild_break_statement
构建break语句
src/parser/ast_builder.rs:621
↓ 1 callersMethodbuild_class_declaration
构建类声明
src/parser/ast_builder.rs:456
↓ 1 callersMethodbuild_command_statement
构建命令语句
src/parser/ast_builder.rs:702
↓ 1 callersMethodbuild_continue_statement
构建continue语句
src/parser/ast_builder.rs:630
↓ 1 callersMethodbuild_delete_statement
构建删除语句
src/parser/ast_builder.rs:682
↓ 1 callersMethodbuild_embedded_code_statement
构建嵌入代码语句
src/parser/ast_builder.rs:985
↓ 1 callersMethodbuild_exit_statement
构建退出语句
src/parser/ast_builder.rs:995
↓ 1 callersMethodbuild_for_each_statement
构建For-each循环语句
src/parser/ast_builder.rs:296
↓ 1 callersMethodbuild_for_statement
构建For循环语句
src/parser/ast_builder.rs:268
↓ 1 callersMethodbuild_function_call_statement
构建函数调用语句
src/parser/ast_builder.rs:756
↓ 1 callersMethodbuild_function_declaration
构建函数声明
src/parser/ast_builder.rs:340
↓ 1 callersMethodbuild_function_type_declaration
构建函数类型声明
src/parser/ast_builder.rs:376
↓ 1 callersMethodbuild_global_statement
构建全局变量声明
src/parser/ast_builder.rs:601
↓ 1 callersMethodbuild_if_statement
构建条件语句
src/parser/ast_builder.rs:223
↓ 1 callersMethodbuild_import_path
构建导入路径
src/parser/ast_builder.rs:519
↓ 1 callersMethodbuild_import_statement
构建导入语句
src/parser/ast_builder.rs:506
↓ 1 callersMethodbuild_list_init_statement
构建list_init语句
src/parser/ast_builder.rs:1292
↓ 1 callersMethodbuild_macro_call_expression
构建宏调用表达式
src/parser/ast_builder.rs:1308
↓ 1 callersMethodbuild_macro_def_statement
构建宏定义语句
src/parser/ast_builder.rs:836
↓ 1 callersMethodbuild_match_statement
构建匹配语句
src/parser/ast_builder.rs:786
↓ 1 callersMethodbuild_method_call_statement
构建方法调用语句
src/parser/ast_builder.rs:718
↓ 1 callersMethodbuild_method_declaration
构建方法声明
src/parser/ast_builder.rs:408
↓ 1 callersMethodbuild_pattern_meta_operation
构建模式中的元操作
src/parser/ast_builder.rs:1357
↓ 1 callersMethodbuild_print_statement
构建打印语句
src/parser/ast_builder.rs:207
↓ 1 callersMethodbuild_program
构建程序
src/parser/ast_builder.rs:51
↓ 1 callersMethodbuild_return_statement
构建返回语句
src/parser/ast_builder.rs:666
↓ 1 callersMethodbuild_term
构建表达式项 (term)
src/parser/ast_builder.rs:1231
↓ 1 callersMethodbuild_throw_statement
构建异常抛出语句
src/parser/ast_builder.rs:552
↓ 1 callersMethodbuild_try_catch_statement
构建try-catch-finally语句
src/parser/ast_builder.rs:564
↓ 1 callersMethodbuild_type_statement
构建类型语句
src/parser/ast_builder.rs:639
↓ 1 callersMethodbuild_while_statement
构建While循环语句
src/parser/ast_builder.rs:320
↓ 1 callersMethodcantonese_css_parser
(self, stmt: list, id: str)
py_cantonese/web_core/can_web_parser.py:88
↓ 1 callersFunctioncantonese_stack_init
()
py_cantonese/can_libs/std/impl.py:189
↓ 1 callersMethodcheck_click
(self, position)
py_cantonese/can_libs/std/game/impl.py:217
↓ 1 callersFunctioncheck_file
检查文件语法是否正确
src/main.rs:103
↓ 1 callersMethodcodegen_binop
生成二元运算符
src/compiler/codegen.rs:459
↓ 1 callersMethodcodegen_build_in_method_or_id
(self, exp: can_ast.IdExp)
py_cantonese/can_compiler/compiler.py:158
↓ 1 callersMethodcodegen_import
生成导入语句
src/compiler/codegen.rs:510
↓ 1 callersMethodcodegen_import_lib
(self, lib_depend: DependTree)
py_cantonese/can_compiler/compiler.py:149
↓ 1 callersMethodcodegen_unop
生成一元运算符
src/compiler/codegen.rs:480
↓ 1 callersMethodcollect_macro_definitions
收集宏定义
src/macros/macro_expander.rs:99
↓ 1 callersMethodcompile
将程序编译为Python代码
src/compiler/codegen.rs:24
↓ 1 callersMethodcontains
检查元变量是否存在
src/macros/meta_var.rs:84
↓ 1 callersFunctionconvert_statement
将dict表示的语句转换为can_ast.Stat对象
py_cantonese/can_ast/can_ast_converter.py:127
↓ 1 callersFunctioncreate_cli
()
py_cantonese/cantonese.py:51
↓ 1 callersMethodcreate_global_string
(self, s: str, name: str)
py_cantonese/llvm_core/can_llvm_build.py:161
↓ 1 callersMethoddiv
(self, right: CanObject<'a>)
py_cantonese/can_vm/src/can_object.rs:84
↓ 1 callersMethoderr_msg
(self, arrow_char="^")
py_cantonese/can_utils/show/infoprinter.py:24
↓ 1 callersFunctionerror_stdout
(ty, info)
py_cantonese/can_error/runtime.py:4
↓ 1 callersMethodexpand_macro
从标记流中展开宏
src/macros/token_matcher.rs:302
↓ 1 callersMethodexpand_program
展开程序
src/macros/macro_expander.rs:85
↓ 1 callersMethodexpand_statement
展开单个语句
src/macros/macro_expander.rs:179
↓ 1 callersMethodexpressions_to_token_stream
将多个表达式转换为TokenStream
src/macros/macro_expander.rs:448
↓ 1 callersMethodextract_string_literal
从字符串中提取字符串字面量的值
src/parser/ast_builder.rs:824
↓ 1 callersFunctionfix_lib_name
(name: str)
py_cantonese/can_libs/__init__.py:52
↓ 1 callersMethodfrom_dict
从字典创建Span对象
py_cantonese/can_ast/can_ast_converter.py:39
↓ 1 callersMethodgen_code
(self, node)
py_cantonese/llvm_core/can_llvm_build.py:181
↓ 1 callersMethodgen_flogic
(self, op: str, lhs, rhs)
py_cantonese/llvm_core/can_llvm_build.py:419
↓ 1 callersMethodgen_ilogic
(self, op: str, lhs, rhs)
py_cantonese/llvm_core/can_llvm_build.py:423
↓ 1 callersFunctiongen_import
(lib_trace: List[IdExp], cls: "Codegen")
py_cantonese/can_compiler/lib_gen_helper.py:8
↓ 1 callersFunctionget_html_file
(name: str)
py_cantonese/web_core/can_web_parser.py:267
↓ 1 callersFunctionget_lib_std_dir
()
py_cantonese/can_sys.py:18
↓ 1 callersMethodget_token
(self)
py_cantonese/web_core/can_web_parser.py:285
↓ 1 callersFunctionget_trace
(tree: DependTree)
py_cantonese/can_utils/depend_tree.py:22
↓ 1 callersMethodget_var
(&self, key: &str)
py_cantonese/can_vm/src/frame.rs:10
↓ 1 callersFunctionhead_init
()
py_cantonese/web_core/can_web_parser.py:194
↓ 1 callersMethodinc_string
(self)
py_cantonese/llvm_core/can_llvm_build.py:97
↓ 1 callersMethodindent
生成缩进
src/compiler/codegen.rs:32
↓ 1 callersMethodis_identifier
判斷標記係唔係一個標識符
src/parser/token_tree.rs:200
↓ 1 callersMethoditer
获取标记流的迭代器
src/parser/token_tree.rs:188
↓ 1 callersFunctionmain
()
py_cantonese/cantonese.py:238
↓ 1 callersMethodmain_ret
(self)
py_cantonese/llvm_core/can_llvm_build.py:105
↓ 1 callersMethodmatch_pattern
匹配标记流与模式
src/macros/token_matcher.rs:180
↓ 1 callersMethodmatch_var
匹配变量
src/macros/pat_matcher.rs:47
↓ 1 callersMethodmatches
判断当前regex是否匹配input
src/macros/pat_matcher.rs:148
↓ 1 callersMethodmerge
合并另一个匹配结果
src/macros/token_matcher.rs:104
↓ 1 callersMethodmul
(self, right: CanObject<'a>)
py_cantonese/can_vm/src/can_object.rs:69
↓ 1 callersFunctionparse_file
解析文件並輸出語法樹
src/main.rs:73
↓ 1 callersMethodparse_macro_body
解析宏主体
src/parser/ast_builder.rs:898
↓ 1 callersMethodparse_macro_definition
解析宏定义
src/macros/macro_expander.rs:127
↓ 1 callersMethodparse_macro_pattern
解析宏模式
src/parser/ast_builder.rs:883
↓ 1 callersMethodprefix_split
专门用于前缀匹配的分割
src/macros/pat_matcher.rs:132
↓ 1 callersFunctionprint_program
(program: &ast::statement::Program, source_path: &str)
src/main.rs:201
↓ 1 callersFunctionprogram_to_py
将程序转换为Python对象
src/python/mod.rs:312
↓ 1 callersMethodrepetition_count
获取重复次数
src/macros/meta_var.rs:50
↓ 1 callersMethodrun
(self, code)
py_cantonese/cantonese.py:207
↓ 1 callersFunctionrun_file
运行粤语程序
src/main.rs:123
↓ 1 callersMethodset_var
(&mut self, key: &'a str, value: CanObject<'a>)
py_cantonese/can_vm/src/frame.rs:17
↓ 1 callersMethodshow_multline
(self)
py_cantonese/can_utils/show/infoprinter.py:33
↓ 1 callersFunctionshow_pretty_ast
(stats)
py_cantonese/cantonese.py:114
↓ 1 callersMethodsplit_input
分割输入序列为多种可能的前缀和后缀
src/macros/pat_matcher.rs:116
↓ 1 callersMethodstart
從字符串創建一個開始位置
src/ast/position.rs:23
↓ 1 callersFunctionstatement_to_py
将语句转换为Python对象
src/python/mod.rs:187
↓ 1 callersMethodstep
(&mut self)
py_cantonese/can_vm/src/machine.rs:21
↓ 1 callersMethodstringz
(string)
py_cantonese/llvm_core/can_llvm_build.py:17
↓ 1 callersFunctionstyle_build
(value: list)
py_cantonese/web_core/can_web_parser.py:223
↓ 1 callersFunctionstyle_def
(id: str, key: str, value: list)
py_cantonese/web_core/can_web_parser.py:215
↓ 1 callersFunctionstyle_exec
(sym: dict)
py_cantonese/web_core/can_web_parser.py:251
↓ 1 callersFunctionsym_init
()
py_cantonese/web_core/can_web_parser.py:169
↓ 1 callersMethodtoken_matches_fragment
检查标记是否匹配片段类型
src/macros/token_matcher.rs:270
← previousnext →101–200 of 531, ranked by callers