MCPcopy Create free account

hub / github.com/capy-language/capy / functions

Functions1,368 in github.com/capy-language/capy

↓ 2 callersFunctionget_enum_from_uid
(enum_uid: u32)
crates/hir/src/common/ty.rs:34
↓ 2 callersFunctionget_func_id
( module: &mut dyn Module, pointer_ty: types::Type, mod_dir: &std::path::Path, functions: &mut
crates/codegen/src/compiler/mod.rs:549
↓ 2 callersMethodget_local_func
(&mut self, tfqn: ConcreteGlobalLoc)
crates/codegen/src/compiler/functions.rs:467
↓ 2 callersMethodget_max_int_size
(&self)
crates/hir/src/common/ty.rs:837
↓ 2 callersMethodget_mutability
`deref` allows certain expressions to be mutable only if they are being mutated through a deref
crates/hir_ty/src/globals.rs:730
↓ 2 callersMethodget_or_create_extern_func_id
( &mut self, name: &'static str, params: Vec<AbiParam>, returns: Vec<AbiParam>
crates/codegen/src/compiler/functions.rs:435
↓ 2 callersMethodglobal_exists
(&self, fqn: Fqn)
crates/hir/src/body.rs:35
↓ 2 callersMethodglobal_ty
(&self, fqn: Fqn)
crates/hir/src/body.rs:52
↓ 2 callersMethodhas_definition
(&self, name: Name)
crates/hir/src/index.rs:20
↓ 2 callersMethodinclude_disasm
(self, is_mod: bool)
crates/codegen/src/lib.rs:46
↓ 2 callersFunctionindex
()
crates/hir_ty/src/tests/arrays.rs:397
↓ 2 callersMethodindex
(self, tree: &SyntaxTree)
crates/ast/src/lib.rs:809
↓ 2 callersFunctioninput_snippet
( filename: &str, input: &str, start_line: LineNr, start_col: ColNr, end_line: LineNr,
crates/diagnostics/src/lib.rs:246
↓ 2 callersMethodinsert_into_current_scope
(&mut self, name: Key, local: Local)
crates/hir/src/body.rs:2365
↓ 2 callersMethodinto_diagnostic
(self)
crates/hir_ty/src/globals.rs:54
↓ 2 callersMethodinto_verbosity
(self)
crates/capy/src/main.rs:261
↓ 2 callersMethodis_array
(&self)
crates/hir/src/common/ty.rs:429
↓ 2 callersMethodis_distinct
Note that unlike the other `is_*` functions, this does not get the absolute type
crates/hir/src/common/ty.rs:618
↓ 2 callersMethodis_error
(&self)
crates/hir_ty/src/lib.rs:308
↓ 2 callersMethodis_error
(&self)
crates/hir/src/body.rs:619
↓ 2 callersMethodis_function
(&self)
crates/hir/src/common/ty.rs:444
↓ 2 callersFunctionis_hfa
"A Homogeneous Floating-point Aggregate (HFA) is a Homogeneous Aggregate with a Fundamental Data Type that is a Floating-Point type and at most four u
crates/codegen/src/convert/abi/aarch64.rs:13
↓ 2 callersMethodis_int
(&self)
crates/hir/src/common/ty.rs:609
↓ 2 callersMethodis_nil
todo: should distinct nil's be allowed to transform into optionals?
crates/hir/src/common/ty.rs:459
↓ 2 callersMethodis_pointer_type
(&self)
crates/codegen/src/convert.rs:37
↓ 2 callersMethodis_tagged_union
This returns true if the internal representation of a type is a tagged union This might be false for `?^bool`, because that will get compiled to a nu
crates/hir/src/common/ty.rs:486
↓ 2 callersFunctionlink_to_exec
Returns `None`
crates/codegen/src/lib.rs:166
↓ 2 callersMethodlower_binary_op
(&mut self, binary_op: Option<ast::BinaryOp>)
crates/hir/src/body.rs:1383
↓ 2 callersMethodlower_lambda
(&mut self, lambda: ast::Lambda, allow_extern: bool)
crates/hir/src/body.rs:850
↓ 2 callersMethodmark_old_missing
(&mut self, start_token: usize, expected: ExpectedSyntax)
crates/parser/src/parser.rs:182
↓ 2 callersMethodmark_old_unexpected
( &mut self, found: NodeKind, start_token: usize, end_token: usize, ex
crates/parser/src/parser.rs:163
↓ 2 callersMethodnaive_global_to_ty
( &mut self, naive: NaiveGlobalLoc, file_expr: Option<Idx<hir::Expr>>, total_e
crates/hir_ty/src/globals.rs:4311
↓ 2 callersMethodop
(self, tree: &SyntaxTree)
crates/ast/src/lib.rs:446
↓ 2 callersFunctionoptional_is_some
(builder: &mut FunctionBuilder, option_ty: Intern<Ty>, val: Value)
crates/codegen/src/compiler/mod.rs:1805
↓ 2 callersMethodparse
(mut self, grammar: impl Fn(&mut Self))
crates/parser/src/parser.rs:50
↓ 2 callersFunctionparse_cast
todo: allow ^u64.(foo) to parse correctly
crates/parser/src/grammar/expr.rs:738
↓ 2 callersFunctionparse_decl
(p: &mut Parser, top_level: bool)
crates/parser/src/grammar/stmt.rs:160
↓ 2 callersFunctionparse_directive
(p: &mut Parser)
crates/parser/src/grammar/expr.rs:1243
↓ 2 callersFunctionparse_expr_bp
bp stands for binding power look at online resources for more
crates/parser/src/grammar/expr.rs:59
↓ 2 callersFunctionparse_loop
( p: &mut Parser, label: Option<CompletedMarker>, recovery_set: TokenSet, )
crates/parser/src/grammar/expr.rs:1085
↓ 2 callersFunctionparse_repl_line
(tokens: &Tokens, input: &str)
crates/parser/src/lib.rs:27
↓ 2 callersFunctionparse_stmt
this function would only be called in a REPL or code block
crates/parser/src/grammar/stmt.rs:23
↓ 2 callersMethodpeek
Returns a reference to the first item with no dependencies.
crates/topo/src/lib.rs:155
↓ 2 callersMethodpeek
(&mut self)
crates/parser/src/parser.rs:341
↓ 2 callersMethodpeek_all
Returns a reference to all the items with no open dependencies.
crates/topo/src/lib.rs:173
↓ 2 callersMethodprocess_event
(&mut self, event: Event)
crates/parser/src/sink.rs:75
↓ 2 callersMethodrange_for_stmt
(&self, stmt: Idx<Stmt>)
crates/hir/src/body.rs:3222
↓ 2 callersFunctionreg_component
(cls: &[Class], i: &mut usize, size: usize)
crates/codegen/src/convert/abi/x86_64.rs:169
↓ 2 callersMethodresolve_last_label
Used for `break` and `continue` `must_be_to_a_loop` is used by `continue`
crates/hir/src/body.rs:2266
↓ 2 callersMethodreturn_ty
(self, tree: &SyntaxTree)
crates/ast/src/lib.rs:222
↓ 2 callersFunctionrun_parser_tests
(tests_dir: &str, parsing_fn: fn(&Tokens, &str) -> Parse)
crates/parser/src/tests.rs:27
↓ 2 callersMethodseverity
(&self)
crates/diagnostics/src/lib.rs:166
↓ 2 callersMethodshould_show
(self, is_mod: bool)
crates/codegen/src/lib.rs:38
↓ 2 callersMethodskip_trivia
(&mut self)
crates/parser/src/sink.rs:84
↓ 2 callersFunctionsplit_aggregate
(aggr: Intern<Ty>, cls: &[Class])
crates/codegen/src/convert/abi/x86_64.rs:206
↓ 2 callersFunctionsplit_multi_module_test_data
splits text into multiple modules example: ```text #- main.capy foo :: import "foo.capy"; Foo :: foo.Foo; fun :: () -> Foo { foo : Foo = 0; foo }
crates/test-utils/src/lib.rs:32
↓ 2 callersFunctionstmt_variant_name
(stmt: &Stmt)
crates/hir/src/body.rs:4547
↓ 2 callersMethodstore_array_items
( &mut self, items: impl Iterator<Item = Idx<hir::Expr>>, // this has to be given sinc
crates/codegen/src/compiler/functions.rs:809
↓ 2 callersMethodstore_struct_fields
( &mut self, struct_ty: Intern<Ty>, field_values: &[hir::MemberLiteral], memor
crates/codegen/src/compiler/functions.rs:783
↓ 2 callersMethodsyntax_tree
(&self)
crates/parser/src/lib.rs:38
↓ 2 callersMethodtext
(self, tree: &SyntaxTree)
crates/ast/src/lib.rs:13
↓ 2 callersMethodto_abiparam
(self, ptr_ty: Type)
crates/codegen/src/convert/abi/mod.rs:95
↓ 2 callersMethodto_expected
(self)
crates/hir_ty/src/lib.rs:1188
↓ 2 callersMethodto_sig_and_func_id
( self, module: &mut dyn Module, ptr_ty: types::Type, mod_dir: &std::path::Pat
crates/codegen/src/builtin.rs:44
↓ 2 callersFunctiontokens
( node: Node, tree: &SyntaxTree, )
crates/ast/src/lib.rs:1057
↓ 2 callersMethodtry_named
( &self, f: &mut std::fmt::Formatter, ty: Intern<Ty>, )
crates/hir/src/common/ty.rs:2126
↓ 2 callersFunctionty_to_passmode
(ty: Intern<Ty>)
crates/codegen/src/convert/abi/x86_64_windows.rs:10
↓ 2 callersFunctionty_to_passmode
(ty: Intern<Ty>)
crates/codegen/src/convert/abi/simplified.rs:8
↓ 2 callersMethodunnamed_func_to_local
(&mut self, func_ty: Intern<Ty>, loc: ConcreteLambdaLoc)
crates/codegen/src/compiler/functions.rs:3316
↓ 2 callersMethodvariants
(self, tree: &SyntaxTree)
crates/ast/src/lib.rs:733
↓ 2 callersFunctionwrite_arg
(w: &mut dyn Write, func: &Function, arg: Value)
crates/codegen/src/debug.rs:219
↓ 1 callersMethodabsolute_ty_keep_variants
(&self)
crates/hir/src/common/ty.rs:325
↓ 1 callersFunctionalias_map
Re-implementation of `cranelift::codegen::write::alias_map` because it's private
crates/codegen/src/debug.rs:251
↓ 1 callersMethodall_blocks
(&self)
crates/hir/src/common/locations.rs:34
↓ 1 callersMethodall_files
(&self)
crates/hir/src/body.rs:43
↓ 1 callersMethodargument
(self, tree: &SyntaxTree)
crates/ast/src/lib.rs:618
↓ 1 callersMethodarrow
(&self)
crates/diagnostics/src/lib.rs:188
↓ 1 callersMethodat_eof_ahead
(&mut self, offset: usize)
crates/parser/src/parser.rs:234
↓ 1 callersMethodbuild_fn
( &self, func_cmplr: &mut FunctionCompiler, return_ty: Intern<Ty>, args: &[Par
crates/codegen/src/convert/abi/mod.rs:251
↓ 1 callersFunctioncalc_finals
Calcuates size, alignment, stride, and field offsets of types. If called multiple times, new types will be calculated without discarding old results
crates/codegen/src/convert.rs:86
↓ 1 callersFunctioncalc_layouts
Calcuates size, alignment, stride, and field offsets of types. If called multiple times, new types will be calculated without discarding old results
crates/codegen/src/layout.rs:81
↓ 1 callersFunctioncalc_single
(ty: Intern<Ty>, pointer_bit_width: u32)
crates/codegen/src/layout.rs:112
↓ 1 callersFunctioncalc_single
(ty: Intern<Ty>, ptr_ty: types::Type)
crates/codegen/src/convert.rs:111
↓ 1 callersMethodcan_take
(self, found: &Ty)
crates/hir_ty/src/lib.rs:334
↓ 1 callersFunctioncast_array_to_array
( meta_tys: &mut MetaTyData, module: &mut dyn Module, builder: &mut FunctionBuilder, func_writ
crates/codegen/src/compiler/mod.rs:1429
↓ 1 callersMethodcast_into_memory
( &mut self, val: Option<Value>, cast_from: Intern<Ty>, cast_to: Intern<Ty>,
crates/codegen/src/compiler/functions.rs:3463
↓ 1 callersFunctioncast_struct_to_struct
( meta_tys: &mut MetaTyData, module: &mut dyn Module, builder: &mut FunctionBuilder, func_writ
crates/codegen/src/compiler/mod.rs:1344
↓ 1 callersFunctionchar
()
crates/hir_ty/src/tests/char_and_str.rs:102
↓ 1 callersFunctioncheck_source_file
( input: &str, diagnostics: [(ValidationDiagnosticKind, StdRange<u32>); LEN], )
crates/ast/src/validation.rs:62
↓ 1 callersFunctionclassify_arg
(arg: Intern<Ty>)
crates/codegen/src/convert/abi/aarch64.rs:63
↓ 1 callersFunctionclassify_eight_byte
(ty: Intern<Ty>, classes: &mut [Class; 8], offset: usize)
crates/codegen/src/convert/abi/x86_64.rs:51
↓ 1 callersFunctionclassify_ret
(ret: Intern<Ty>)
crates/codegen/src/convert/abi/aarch64.rs:43
↓ 1 callersMethodclear_expected_syntaxes
(&mut self)
crates/parser/src/parser.rs:277
↓ 1 callersMethodcompile_builtin_global
(&mut self, builtin: BuiltinGlobal)
crates/codegen/src/compiler/functions.rs:3195
↓ 1 callersFunctioncompile_file
(mut config: FinalConfig)
crates/capy/src/main.rs:354
↓ 1 callersMethodcompile_ftc
(&mut self, ftc: FunctionToCompile)
crates/codegen/src/compiler/mod.rs:317
↓ 1 callersMethodcompile_global_binding_data
( &mut self, loc: ConcreteGlobalLoc, )
crates/codegen/src/compiler/functions.rs:294
↓ 1 callersFunctioncompile_jit
( verbosity: Verbosity, entry_point: ConcreteGlobalLoc, mod_dir: &std::path::Path, interner: &
crates/codegen/src/lib.rs:59
↓ 1 callersFunctioncompile_memory_layouts
(compiler: &mut Compiler)
crates/codegen/src/compiler/ty_info.rs:208
↓ 1 callersFunctioncompile_meta_builtins
(compiler: &mut Compiler)
crates/codegen/src/compiler/ty_info.rs:539
← previousnext →301–400 of 1,368, ranked by callers