Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coi/coi
/ functions
Functions
390 in github.com/coi/coi
⨍
Functions
390
◇
Types & classes
127
↓ 45 callers
Method
to_webcc
src/ast/view.cc:157
↓ 33 callers
Function
normalize_type
src/analysis/type_checker.cc:340
↓ 29 callers
Function
qualified_name
Generate qualified name with module prefix (e.g., "TurboUI_Button" for module "TurboUI", name "Button")
src/ast/node.h:222
↓ 27 callers
Function
convert_type
src/ast/node.cc:6
↓ 25 callers
Method
to_webcc
src/ast/expressions.cc:527
↓ 22 callers
Method
clear
src/ast/node.h:129
↓ 21 callers
Function
is_compatible_type
src/analysis/type_checker.cc:381
↓ 19 callers
Function
infer_expression_type
src/analysis/type_checker.cc:501
↓ 17 callers
Method
is_handle
src/defs/def_parser.cc:924
↓ 16 callers
Method
lookup_method
src/defs/def_parser.cc:855
↓ 14 callers
Method
clear
src/codegen/json_codegen.cc:27
↓ 14 callers
Method
resolve
Check if a type is component-local and return prefixed name if so
src/ast/node.h:201
↓ 12 callers
Function
collect_types_from_expr
Collect types used in expressions (recursively scan AST)
src/analysis/include_detector.cc:72
↓ 12 callers
Function
make_callback_name
Generate callback name from variable name (e.g., "count" -> "onCountChange")
src/ast/component/to_webcc.cc:15
↓ 11 callers
Method
generate_code
src/ast/view.cc:161
↓ 10 callers
Method
collect_dependencies
src/ast/view.cc:301
↓ 10 callers
Method
lookup
src/codegen/json_codegen.cc:22
↓ 9 callers
Function
generate_view_child
Helper to generate code for a view child node
src/ast/view.cc:312
↓ 8 callers
Function
generate_formatter_block
src/ast/formatter.cc:46
↓ 8 callers
Function
get_executable_dir
Get the directory where the coi executable is located
src/cli/cli.cc:206
↓ 6 callers
Method
collect_member_dependencies
src/ast/node.h:43
↓ 6 callers
Function
extract_map_types
Check if type is a map type (ValueType[KeyType]) and extract key/value types Returns {value_type, key_type} or {"", ""} if not a map
src/analysis/type_checker.cc:50
↓ 6 callers
Function
is_function_value_type
src/analysis/type_checker.cc:43
↓ 6 callers
Function
print_pkg_banner
Print banner for package commands
src/cli/package_manager.cc:233
↓ 6 callers
Function
read_lock_file
src/cli/package_manager.cc:242
↓ 6 callers
Function
to_coi_type
Convert webcc type to Coi type
src/tools/gen_schema.cc:155
↓ 5 callers
Method
fail
(self, msg)
tests/runner/base.py:21
↓ 5 callers
Function
get_base_type
Extract base type from array types (e.g., "Audio[]" -> "Audio")
src/analysis/include_detector.cc:61
↓ 5 callers
Function
is_enum_type
Check if a type is a known enum type
src/analysis/type_checker.cc:254
↓ 5 callers
Method
lookup_type
src/defs/def_parser.cc:901
↓ 5 callers
Function
transform_to_insert_before
Transform append_child calls to insert_before for anchor-based regions Transforms: webcc::dom::append_child(parent_var, el[N]); To: webcc::dom
src/ast/component/to_webcc.cc:23
↓ 4 callers
Function
build_lambda_capture
Build minimal lambda capture: [this] outside loops, [this, var] inside loops.
src/ast/view.cc:125
↓ 4 callers
Function
download_package
src/cli/package_manager.cc:489
↓ 4 callers
Function
expand_inline_template
Helper to expand @inline templates like "${this}.length()" or "$self.is_valid()" or "${0}"
src/ast/expressions.cc:11
↓ 4 callers
Function
generate_object_fields_parse
Generate inline parsing code for all fields of a data type
src/codegen/json_codegen.cc:244
↓ 4 callers
Method
get_method_param_count
Get a method's param count (-1 if unknown)
src/ast/node.h:184
↓ 4 callers
Method
get_namespace_for_type
src/defs/def_parser.cc:1002
↓ 4 callers
Function
indent_code
Indent a multi-line code block
src/ast/component/to_webcc.cc:102
↓ 4 callers
Method
is_nocopy
src/defs/def_parser.cc:952
↓ 4 callers
Function
print_banner
src/cli/cli.cc:31
↓ 4 callers
Method
resolve_alias
src/defs/def_parser.cc:987
↓ 4 callers
Method
run
(self, args)
tests/runner/integration.py:13
↓ 4 callers
Function
write_lock_file
src/cli/package_manager.cc:336
↓ 3 callers
Function
build_forward_args
Helper to build function call args list for forwarding
src/ast/view.cc:32
↓ 3 callers
Function
build_lambda_params_from_types
Helper to build lambda parameter list from callback param types
src/ast/view.cc:19
↓ 3 callers
Method
collect_modifications
src/ast/definitions.cc:43
↓ 3 callers
Method
ensure_build
(self)
tests/runner/base.py:25
↓ 3 callers
Function
exec_command
Execute a command and capture output
src/cli/package_manager.cc:212
↓ 3 callers
Function
expand_inline_template_raw
Helper to expand @inline templates with raw string arguments (for string template embedded expressions)
src/ast/expressions.cc:47
↓ 3 callers
Function
extract_base_type
src/analysis/type_checker.cc:22
↓ 3 callers
Function
fetch_package_info
src/cli/package_manager.cc:376
↓ 3 callers
Function
get_event_mask_name
src/ast/component/emit_events.cc:58
↓ 3 callers
Method
get_method_signature
Get a method's full signature (nullptr if unknown)
src/ast/node.h:190
↓ 3 callers
Method
get_symbol_type
src/ast/node.h:157
↓ 3 callers
Function
has_event_mask
src/ast/component/emit_events.cc:26
↓ 3 callers
Function
is_data_type
Check if a type is a known data type
src/analysis/type_checker.cc:268
↓ 3 callers
Function
is_string_expr
src/ast/formatter.cc:4
↓ 3 callers
Function
normalize_package_name
src/cli/package_manager.cc:17
↓ 3 callers
Method
parse_manifest
(self, filter_name=None)
tests/runner/web_base.py:56
↓ 3 callers
Method
print_step
(self, msg)
tests/runner/base.py:18
↓ 3 callers
Method
set
src/ast/node.h:111
↓ 3 callers
Function
strip_outer_parens
Helper to strip redundant outer parentheses from a condition expression This avoids warnings like: if((x == 1)) -> if(x == 1)
src/codegen/codegen_utils.h:8
↓ 3 callers
Function
to_camel_case
Convert snake_case to camelCase for Coi function names
src/tools/gen_schema.cc:128
↓ 3 callers
Method
to_webcc
src/ast/component/to_webcc.cc:232
↓ 2 callers
Function
build_project
src/cli/cli.cc:503
↓ 2 callers
Method
check_deps
(self)
tests/runner/web_base.py:38
↓ 2 callers
Function
collect_member_refs
Collect member reference names from view children (recursive)
src/ast/view.cc:136
↓ 2 callers
Function
emit_all_event_registrations
src/ast/component/emit_events.cc:154
↓ 2 callers
Function
exec_command_capture
src/cli/cli.cc:69
↓ 2 callers
Function
extract_base_type_name
Extract base type name from array types (e.g., "Ball[]" -> "Ball")
src/analysis/dependency_resolver.cc:56
↓ 2 callers
Function
extract_json_string
Simple JSON value extraction (avoids external dependency)
src/cli/package_manager.cc:63
↓ 2 callers
Function
field_token_symbol_name
src/codegen/json_codegen.cc:116
↓ 2 callers
Function
find_event_spec
src/ast/component/emit_events.cc:14
↓ 2 callers
Function
flatten_string_concat
src/ast/formatter.cc:12
↓ 2 callers
Method
for_loop
Create a context for loop iteration (in_loop = true, clear region pointers)
src/ast/view.h:115
↓ 2 callers
Function
generate_field_token_constants
src/codegen/json_codegen.cc:120
↓ 2 callers
Function
generate_formatter_appends
src/ast/formatter.cc:23
↓ 2 callers
Function
generate_member_function_lambda
Generate a lambda wrapper for a member function reference type: "webcc::function<void(webcc::string)>" method_name: "handleNoopEvent" Returns: "[this]
src/codegen/codegen_utils.h:28
↓ 2 callers
Function
generate_meta_struct
src/codegen/json_codegen.cc:35
↓ 2 callers
Function
generate_prop_update_code
Generate prop assignments for components inside loops (used in sync functions) loop_var_name passed to capture loop iterator in callback lambdas
src/ast/view.cc:660
↓ 2 callers
Function
get_array_element_type
Get element type from array type (e.g., "User[]" -> "User")
src/codegen/json_codegen.cc:98
↓ 2 callers
Method
get_browser
(self, user_browser=None)
tests/runner/web_base.py:43
↓ 2 callers
Method
get_child_nodes
Uniform child access for whole-AST traversals that span statements and expressions (e.g. reactive-mod collection). Override on any node with children
src/ast/node.h:48
↓ 2 callers
Function
get_current_compiler_drop
src/cli/package_manager.cc:192
↓ 2 callers
Function
get_current_compiler_pond
src/cli/package_manager.cc:203
↓ 2 callers
Function
get_current_drop_from_macros
src/cli/cli.cc:51
↓ 2 callers
Function
get_mtimes
Get modification times for all watched files.
scripts/dev_server.py:114
↓ 2 callers
Method
inherits_from
src/defs/def_parser.cc:907
↓ 2 callers
Function
is_array_type
Check if type is an array
src/codegen/json_codegen.cc:93
↓ 2 callers
Method
is_static
src/ast/expressions.cc:623
↓ 2 callers
Function
load_def_schema
src/defs/def_loader.cc:10
↓ 2 callers
Method
lookup_func
src/defs/def_parser.cc:1127
↓ 2 callers
Function
loop_region_uses_dispatcher
Check whether loop-generated code for a specific region registers handlers on a given dispatcher.
src/ast/component/to_webcc.cc:119
↓ 2 callers
Method
match
src/defs/def_parser.cc:212
↓ 2 callers
Function
print_help
src/cli/cli.cc:682
↓ 2 callers
Method
propagate_element_type
src/ast/expressions.cc:1167
↓ 2 callers
Method
register_type
src/codegen/json_codegen.cc:18
↓ 2 callers
Method
run
(self, tests_dir)
tests/runner/unit.py:9
↓ 2 callers
Method
serve_html_with_reload
Inject hot reload script into HTML.
scripts/dev_server.py:64
↓ 2 callers
Method
set_component_symbol_type
src/ast/node.h:141
next →
1–100 of 390, ranked by callers