Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/borgo-lang/borgo
/ functions
Functions
520 in github.com/borgo-lang/borgo
⨍
Functions
520
◇
Types & classes
109
↓ 2 callers
Method
item_struct
(&mut self)
compiler/src/parser.rs:1642
↓ 2 callers
Function
joinTypes
(types []Type)
importer/importer.go:607
↓ 2 callers
Function
lit_token
(kind: TokenKind)
compiler/src/parser.rs:2067
↓ 2 callers
Method
occurs_in
(&self, var: i32, t: &Type)
compiler/src/infer.rs:1882
↓ 2 callers
Method
optional_ann
(&mut self)
compiler/src/parser.rs:1372
↓ 2 callers
Method
parseBounds
(list *ast.FieldList)
importer/importer.go:365
↓ 2 callers
Method
parse_ann
(&mut self)
compiler/src/parser.rs:1363
↓ 2 callers
Method
parse_file
(&mut self)
compiler/src/parser.rs:1986
↓ 2 callers
Method
parse_type_paren_elems
(&mut self)
compiler/src/parser.rs:1737
↓ 2 callers
Method
peek
(&self)
compiler/src/lexer.rs:303
↓ 2 callers
Method
process_imports
(&mut self, imports: &[PkgImport])
compiler/src/infer.rs:3136
↓ 2 callers
Function
removeReferences
(ty Type)
importer/importer.go:648
↓ 2 callers
Method
reset
(&mut self)
compiler/src/codegen.rs:186
↓ 2 callers
Method
resolve
(&self, name: &str)
compiler/src/infer.rs:165
↓ 2 callers
Function
runShell
(cmd: any)
importer/update-packages.ts:7
↓ 2 callers
Method
scan_ident
(&mut self)
compiler/src/lexer.rs:508
↓ 2 callers
Function
slugify
(text: string)
compiler/test/runner.ts:450
↓ 2 callers
Function
specialize_row_by_anything
INVARIANT: (length row == N) ==> (length result == N-1)
compiler/src/exhaustive.rs:385
↓ 2 callers
Function
specialize_row_by_ctor2
INVARIANT: (length row == N) ==> (length result == arity + N - 1)
compiler/src/exhaustive.rs:321
↓ 2 callers
Method
stmt_let
(&mut self)
compiler/src/parser.rs:793
↓ 2 callers
Method
stmt_loop_flow
(&mut self)
compiler/src/parser.rs:916
↓ 2 callers
Method
stmt_return
(&mut self)
compiler/src/parser.rs:820
↓ 2 callers
Method
stmt_support
(&mut self)
compiler/src/parser.rs:931
↓ 2 callers
Function
stringify_tokens
(tokens: &[Token])
compiler/src/lexer.rs:61
↓ 2 callers
Function
substitute_expr
(expr: Expr, instance: &mut infer::Infer)
compiler/src/substitute.rs:8
↓ 2 callers
Function
substitute_pat
(pat: Pat, instance: &mut infer::Infer)
compiler/src/substitute.rs:442
↓ 2 callers
Method
to_qualified
(&self, enum_name: &str)
compiler/src/ast.rs:229
↓ 2 callers
Function
token_eof
()
compiler/src/parser.rs:2084
↓ 2 callers
Method
type_float
(&self)
compiler/src/infer.rs:221
↓ 2 callers
Method
type_result
(&self, x: Type, y: Type)
compiler/src/infer.rs:207
↓ 2 callers
Method
type_slice
(&self, typ: Type)
compiler/src/infer.rs:195
↓ 2 callers
Method
type_string
(&self)
compiler/src/infer.rs:224
↓ 2 callers
Method
type_tuple2
(&self, x: Type, y: Type)
compiler/src/infer.rs:203
↓ 2 callers
Method
unify
(&mut self, t1: &Type, t2: &Type, span: &Span)
compiler/src/infer.rs:1894
↓ 2 callers
Function
updateError
(err)
playground/wasm-index.js:48
↓ 1 callers
Method
AddMethod
(name string, recv string, isPointer bool, list *ast.FieldList, f *ast.FuncType)
importer/importer.go:195
↓ 1 callers
Method
AddNewType
(name string, t Type, bounds []Bound)
importer/importer.go:220
↓ 1 callers
Method
AddSelector
(field string)
importer/importer.go:99
↓ 1 callers
Method
GroupMethodsByGenerics
()
importer/importer.go:246
↓ 1 callers
Function
SKIP
(what any)
importer/importer.go:21
↓ 1 callers
Method
add_assumption
(&mut self, sym: &Symbol, bound: &Type)
compiler/src/infer.rs:2725
↓ 1 callers
Method
add_optional_error_to_result
Allow users to omit the error type, ie. Result<T> This function will add the error type back -> Result<T, E>
compiler/src/infer.rs:2056
↓ 1 callers
Method
add_package
(&mut self, name: &str, def: StructDefinition, ty: BoundedType)
compiler/src/infer.rs:3185
↓ 1 callers
Method
add_receiver
(&self, generics: &[Generic], ty: &Type)
compiler/src/ast.rs:41
↓ 1 callers
Function
aggregateProject
(emitted_files)
playground/wasm-index.js:73
↓ 1 callers
Method
all_imports
(&self)
compiler/src/global_state.rs:213
↓ 1 callers
Method
allow_external_decls
(&mut self)
compiler/src/infer.rs:3195
↓ 1 callers
Function
appendGoSource
(output: string)
compiler/test/runner.ts:396
↓ 1 callers
Method
as_value
(&self)
compiler/src/codegen.rs:70
↓ 1 callers
Method
as_var_name
(&self)
compiler/src/ast.rs:948
↓ 1 callers
Function
build_project
()
compiler/src/main.rs:17
↓ 1 callers
Function
callGoPlayground
(code)
playground/wasm-index.js:56
↓ 1 callers
Function
callParser
(block: CodeBlock)
compiler/test/runner.ts:204
↓ 1 callers
Method
can_resolve_name
(&mut self, first: Qualified)
compiler/src/infer.rs:3227
↓ 1 callers
Function
change_collection_methods
( fun: &Function, receiver: Option<(String, Type)>, )
compiler/src/codegen.rs:2318
↓ 1 callers
Function
check
(expr: &Expr, instance: &infer::Infer)
compiler/src/exhaustive.rs:447
↓ 1 callers
Function
check_internal
Check
compiler/src/exhaustive.rs:88
↓ 1 callers
Method
check_reserved_name
(&mut self, ident: &str)
compiler/src/infer.rs:2074
↓ 1 callers
Method
collect_imports
(&self, file: &File)
compiler/src/codegen.rs:1853
↓ 1 callers
Method
collect_make_functions
( &mut self, files: &HashMap<FileId, File>, )
compiler/src/codegen.rs:2131
↓ 1 callers
Method
constructor_make_function
( &self, def: &EnumDefinition, name: &str, con: &Constructor, )
compiler/src/codegen.rs:1944
↓ 1 callers
Method
create_make_function
(&mut self, def: &EnumDefinition)
compiler/src/codegen.rs:1585
↓ 1 callers
Method
create_pkg_struct
(&mut self, name: &str, module: &Module)
compiler/src/infer.rs:3147
↓ 1 callers
Method
declare_enum
(&mut self, def: &EnumDefinition, span: &Span)
compiler/src/infer.rs:2265
↓ 1 callers
Method
declare_impl
(&mut self, ann: &TypeAst, generics: &[Generic], items: &[Expr], span: &Span)
compiler/src/infer.rs:2382
↓ 1 callers
Method
declare_newtype
(&mut self, def: &NewtypeDefinition, span: &Span)
compiler/src/infer.rs:2503
↓ 1 callers
Method
declare_struct
(&mut self, def: &StructDefinition, span: &Span)
compiler/src/infer.rs:2346
↓ 1 callers
Method
declare_trait
( &mut self, name: &str, generics: &[Generic], supertraits: &[InterfaceSuperTr
compiler/src/infer.rs:2425
↓ 1 callers
Method
declare_type_alias
(&mut self, def: &TypeAliasDef, span: &Span)
compiler/src/infer.rs:2473
↓ 1 callers
Method
emit_binary
(&mut self, op: &Operator, left: &Expr, right: &Expr)
compiler/src/codegen.rs:1048
↓ 1 callers
Method
emit_collection_method
methods on Slice, Maps and Channels are actually function calls. TODO asdf this could actually incline the rawgo!(..) implementation instead of emitti
compiler/src/codegen.rs:1700
↓ 1 callers
Method
emit_const
(&mut self, ident: &str, expr: &Expr)
compiler/src/codegen.rs:1679
↓ 1 callers
Method
emit_debug
(&mut self, kind: &DebugKind, expr: &Expr, ty: &Type)
compiler/src/codegen.rs:860
↓ 1 callers
Method
emit_defer
(&mut self, expr: &Expr)
compiler/src/codegen.rs:1492
↓ 1 callers
Method
emit_enum
(&self, def: &EnumDefinition)
compiler/src/codegen.rs:1117
↓ 1 callers
Method
emit_if
(&mut self, ctx: &Ctx, cond: &Expr, then: &Expr, els: &Expr)
compiler/src/codegen.rs:1084
↓ 1 callers
Method
emit_impl
( &mut self, self_name: &str, ty: &Type, generics: &[Generic], items:
compiler/src/codegen.rs:1199
↓ 1 callers
Method
emit_index
(&mut self, expr: &Expr, index: &Expr)
compiler/src/codegen.rs:1877
↓ 1 callers
Method
emit_interface
( &self, name: &str, items: &[Expr], supertraits: &[InterfaceSuperTrait],
compiler/src/codegen.rs:1639
↓ 1 callers
Method
emit_let
(&mut self, binding: &Binding, value: &Expr)
compiler/src/codegen.rs:973
↓ 1 callers
Method
emit_literal
(&mut self, lit: &Literal, ty: &Type)
compiler/src/codegen.rs:828
↓ 1 callers
Method
emit_loop
(&mut self, body: &Expr)
compiler/src/codegen.rs:1312
↓ 1 callers
Method
emit_loop_flow
(&mut self, kind: &LoopFlow)
compiler/src/codegen.rs:1424
↓ 1 callers
Method
emit_loop_with_condition
( &mut self, binding: &Binding, expr: &Expr, body: &Expr, )
compiler/src/codegen.rs:1336
↓ 1 callers
Method
emit_match
(&mut self, ctx: &Ctx, subject: &Expr, arms: &[Arm], ty: &Type)
compiler/src/codegen.rs:895
↓ 1 callers
Method
emit_paren
(&mut self, expr: &Expr)
compiler/src/codegen.rs:1470
↓ 1 callers
Method
emit_raw
(&self, text: &str)
compiler/src/codegen.rs:1508
↓ 1 callers
Method
emit_reference
(&mut self, expr: &Expr)
compiler/src/codegen.rs:1632
↓ 1 callers
Method
emit_return
(&mut self, expr: &Expr)
compiler/src/codegen.rs:874
↓ 1 callers
Method
emit_select
(&mut self, arms: &[SelectArm])
compiler/src/codegen.rs:1515
↓ 1 callers
Method
emit_spawn
(&mut self, expr: &Expr)
compiler/src/codegen.rs:1476
↓ 1 callers
Method
emit_struct
(&self, def: &StructDefinition)
compiler/src/codegen.rs:1181
↓ 1 callers
Method
emit_struct_access
(&mut self, expr: &Expr, field: &str)
compiler/src/codegen.rs:1269
↓ 1 callers
Method
emit_struct_call
( &mut self, fields: &[StructField], rest: &Option<Expr>, ty: &Type, )
compiler/src/codegen.rs:1228
↓ 1 callers
Method
emit_try
(&mut self, ctx: &Ctx, expr: &Expr)
compiler/src/codegen.rs:1275
↓ 1 callers
Method
emit_unary
(&mut self, op: &UnOp, expr: &Expr)
compiler/src/codegen.rs:1071
↓ 1 callers
Method
emit_var
(&mut self, value: &str, ty: &Type, generics_instantiated: &[Type])
compiler/src/codegen.rs:944
↓ 1 callers
Method
emit_var_update
(&mut self, value: &Expr, target: &Expr)
compiler/src/codegen.rs:1436
↓ 1 callers
Method
emit_while_loop
(&mut self, expr: &Expr, body: &Expr)
compiler/src/codegen.rs:1398
↓ 1 callers
Method
emit_wrapped_try
(&mut self, ctx: &Ctx, func: &Expr, args: &[Expr])
compiler/src/codegen.rs:1598
← previous
next →
201–300 of 520, ranked by callers