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
↓ 1 callers
Method
return_value_is_result
(&mut self, expr: &Expr)
compiler/src/codegen.rs:1738
↓ 1 callers
Function
run
()
compiler/test/runner.ts:229
↓ 1 callers
Function
run_tests
(input: &str)
compiler/src/main.rs:109
↓ 1 callers
Method
scan
(&mut self)
compiler/src/lexer.rs:651
↓ 1 callers
Method
scan_actual
(&mut self)
compiler/src/lexer.rs:666
↓ 1 callers
Method
scan_char
(&mut self)
compiler/src/lexer.rs:563
↓ 1 callers
Method
scan_folder
(&mut self, folder: &str)
compiler/src/fs.rs:27
↓ 1 callers
Method
scan_multi_string
(&mut self)
compiler/src/lexer.rs:610
↓ 1 callers
Method
scan_number
(&mut self)
compiler/src/lexer.rs:481
↓ 1 callers
Method
scan_single_token
(&mut self)
compiler/src/lexer.rs:458
↓ 1 callers
Method
scan_slash_comment
(&mut self)
compiler/src/lexer.rs:583
↓ 1 callers
Method
scan_string
(&mut self)
compiler/src/lexer.rs:530
↓ 1 callers
Method
scan_support_tokens
(&mut self)
compiler/src/lexer.rs:637
↓ 1 callers
Function
simplify_bool
(b: bool)
compiler/src/exhaustive.rs:655
↓ 1 callers
Method
skip_whitespace
(&mut self)
compiler/src/lexer.rs:409
↓ 1 callers
Function
specialize_row_by_ctor
INVARIANT: (length row == N) ==> (length result == arity + N - 1)
compiler/src/exhaustive.rs:351
↓ 1 callers
Function
splitBoundsAndFieldsForInterface
(structFields []StructField)
importer/importer.go:632
↓ 1 callers
Function
splitInFiles
(input: string)
compiler/test/runner.ts:320
↓ 1 callers
Method
stmt_assign
(&mut self)
compiler/src/parser.rs:1074
↓ 1 callers
Method
stmt_check_expr
(&mut self)
compiler/src/parser.rs:945
↓ 1 callers
Method
stmt_defer
(&mut self)
compiler/src/parser.rs:840
↓ 1 callers
Method
stmt_loop
(&mut self)
compiler/src/parser.rs:870
↓ 1 callers
Method
stmt_rawgo_expr
(&mut self)
compiler/src/parser.rs:961
↓ 1 callers
Method
stmt_select
(&mut self)
compiler/src/parser.rs:984
↓ 1 callers
Method
stmt_spawn
(&mut self)
compiler/src/parser.rs:855
↓ 1 callers
Function
stringify_bounds
(g: &str, bounds: &[Bound])
compiler/src/type_.rs:407
↓ 1 callers
Function
strip
(obj: any)
compiler/test/runner.ts:431
↓ 1 callers
Function
stripTypesAndVars
(output: string)
compiler/test/runner.ts:421
↓ 1 callers
Function
structFieldsToString
(list []StructField)
importer/importer.go:566
↓ 1 callers
Function
subject_is_matchable
( instance: &infer::Infer, subject_ty: &Type, subject_span: &Span, )
compiler/src/exhaustive.rs:674
↓ 1 callers
Function
timeout
()
compiler/test/runner.ts:235
↓ 1 callers
Method
to_newtype_def
(&self)
compiler/src/ast.rs:249
↓ 1 callers
Function
to_qualified
return true if the expr can be turned into a qualified path ie. foo.bar.baz
compiler/src/infer.rs:3407
↓ 1 callers
Method
type_map
(&self, x: Type, y: Type)
compiler/src/infer.rs:199
↓ 1 callers
Method
type_reference
(&self, typ: Type)
compiler/src/infer.rs:211
↓ 1 callers
Method
unary_operator
(&self)
compiler/src/parser.rs:1633
Method
AddVariable
(name string, ty Type)
importer/importer.go:242
Method
Bar
()
importer/testpkg/testpkg.go:38
Method
Check
()
importer/testpkg/testpkg.go:33
Method
GetName
()
importer/testpkg/testpkg.go:48
Method
IsType
()
importer/importer.go:54
Method
IsType
()
importer/importer.go:67
Method
IsType
()
importer/importer.go:110
Method
MethodValue
()
importer/testpkg/testpkg.go:72
Function
Simple
()
importer/testpkg/testpkg.go:42
Method
String
()
importer/importer.go:69
Method
String
()
importer/importer.go:112
Method
String
()
importer/importer.go:133
Method
String
()
importer/importer.go:259
Method
TakeFn
(f func(rune) bool)
importer/testpkg/testpkg.go:39
Method
UpdateContainer
()
importer/testpkg/testpkg.go:71
Function
WithChan
(read <-chan int, write chan<- string)
importer/testpkg/testpkg.go:67
Function
WithFunc
(f func(x int) string)
importer/testpkg/testpkg.go:52
Function
WithGenerics
(x T, y Y)
importer/testpkg/testpkg.go:56
Function
WithGenericsConstrained
(x T)
importer/testpkg/testpkg.go:57
Function
WithLiteralStruct
(s struct{})
importer/testpkg/testpkg.go:69
Function
WithMap
(m map[int]bool)
importer/testpkg/testpkg.go:54
Function
WithMultipleReturn
()
importer/testpkg/testpkg.go:61
Function
WithPointers
(p *Person)
importer/testpkg/testpkg.go:59
Function
WithSelector
(r io.Reader)
importer/testpkg/testpkg.go:65
Function
WithVariadic
(v ...any)
importer/testpkg/testpkg.go:63
Function
Withdata
(a int, b []string)
importer/testpkg/testpkg.go:44
Method
as_method
(&self)
compiler/src/ast.rs:25
Method
check
(s: String, pos: Pos)
compiler/src/lexer.rs:465
Function
compile_wasm
(source: &str, val: JsValue)
wasm/src/lib.rs:28
Method
current_zero_value
(&self)
compiler/src/codegen.rs:1732
Function
decode
(s: any)
compiler/test/runner.ts:446
Function
decode
(s: any)
playground/build-examples.ts:88
Method
discard
Magic value used during inference to indicate that this type isn't really relevant. This stops unification and skips constraining other types in certa
compiler/src/type_.rs:52
Method
doit
(expr: &Expr, res: &mut Vec<String>)
compiler/src/parser.rs:1617
Method
dummy
AST fields are initially populated with this
compiler/src/type_.rs:45
Method
dummy
()
compiler/src/ast.rs:330
Method
dump
(&self)
compiler/src/infer.rs:81
Method
empty
()
compiler/src/global_state.rs:240
Method
empty
()
compiler/src/type_.rs:449
Method
empty
()
compiler/src/codegen.rs:92
Function
errorContains
(msg: string)
compiler/test/runner.ts:87
Method
ethereal
Build up a type that doesn't exist in any module. This is useful in certain parts of the compiler where we still need to make up types, but can't prod
compiler/src/type_.rs:37
Method
ext
()
compiler/src/ast.rs:1013
Method
find_expr_at_position
(&self, span: &Span)
compiler/src/ast.rs:655
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
compiler/src/lexer.rs:38
Method
fmt
(&self, f: &mut std::fmt::Formatter)
compiler/src/type_.rs:427
Method
from_exhaustive
(errors: Vec<exhaustive::Error>, span: Span)
compiler/src/error.rs:81
Method
from_str
(name: &str)
compiler/src/type_.rs:437
Method
get_symbol
(&self, name: &str, span: &Span)
compiler/src/global_state.rs:91
Method
get_type
(&self, sym: &Symbol)
compiler/src/global_state.rs:113
Function
infer
(expected: string)
compiler/test/runner.ts:109
Method
is_function
(&self)
compiler/src/type_.rs:283
Method
is_tag
(&self, tag_name: &TagName)
compiler/src/exhaustive.rs:39
Function
is_useful
Check if a new row "vector" is useful given previous rows "matrix"
compiler/src/exhaustive.rs:214
Function
lex
()
compiler/src/lexer.rs:708
Method
lex_and_parse_file
(source: &str, file: FileId)
compiler/src/parser.rs:2034
Function
main
()
importer/importer.go:670
Function
main
()
compiler/src/main.rs:186
Method
new
()
compiler/src/global_state.rs:20
Method
new
(tokens: Vec<Token>, file_id: FileId)
compiler/src/parser.rs:23
Method
new
(input: &str)
compiler/src/lexer.rs:262
Method
new
()
compiler/src/codegen.rs:180
Method
new
(base_path: &str)
compiler/src/fs.rs:17
Method
new
(fs: Box<dyn crate::fs::FileSystem>)
compiler/src/infer.rs:41
← previous
next →
401–500 of 520, ranked by callers