MCPcopy Create free account

hub / github.com/borgo-lang/borgo / functions

Functions520 in github.com/borgo-lang/borgo

↓ 1 callersMethodreturn_value_is_result
(&mut self, expr: &Expr)
compiler/src/codegen.rs:1738
↓ 1 callersFunctionrun
()
compiler/test/runner.ts:229
↓ 1 callersFunctionrun_tests
(input: &str)
compiler/src/main.rs:109
↓ 1 callersMethodscan
(&mut self)
compiler/src/lexer.rs:651
↓ 1 callersMethodscan_actual
(&mut self)
compiler/src/lexer.rs:666
↓ 1 callersMethodscan_char
(&mut self)
compiler/src/lexer.rs:563
↓ 1 callersMethodscan_folder
(&mut self, folder: &str)
compiler/src/fs.rs:27
↓ 1 callersMethodscan_multi_string
(&mut self)
compiler/src/lexer.rs:610
↓ 1 callersMethodscan_number
(&mut self)
compiler/src/lexer.rs:481
↓ 1 callersMethodscan_single_token
(&mut self)
compiler/src/lexer.rs:458
↓ 1 callersMethodscan_slash_comment
(&mut self)
compiler/src/lexer.rs:583
↓ 1 callersMethodscan_string
(&mut self)
compiler/src/lexer.rs:530
↓ 1 callersMethodscan_support_tokens
(&mut self)
compiler/src/lexer.rs:637
↓ 1 callersFunctionsimplify_bool
(b: bool)
compiler/src/exhaustive.rs:655
↓ 1 callersMethodskip_whitespace
(&mut self)
compiler/src/lexer.rs:409
↓ 1 callersFunctionspecialize_row_by_ctor
INVARIANT: (length row == N) ==> (length result == arity + N - 1)
compiler/src/exhaustive.rs:351
↓ 1 callersFunctionsplitBoundsAndFieldsForInterface
(structFields []StructField)
importer/importer.go:632
↓ 1 callersFunctionsplitInFiles
(input: string)
compiler/test/runner.ts:320
↓ 1 callersMethodstmt_assign
(&mut self)
compiler/src/parser.rs:1074
↓ 1 callersMethodstmt_check_expr
(&mut self)
compiler/src/parser.rs:945
↓ 1 callersMethodstmt_defer
(&mut self)
compiler/src/parser.rs:840
↓ 1 callersMethodstmt_loop
(&mut self)
compiler/src/parser.rs:870
↓ 1 callersMethodstmt_rawgo_expr
(&mut self)
compiler/src/parser.rs:961
↓ 1 callersMethodstmt_select
(&mut self)
compiler/src/parser.rs:984
↓ 1 callersMethodstmt_spawn
(&mut self)
compiler/src/parser.rs:855
↓ 1 callersFunctionstringify_bounds
(g: &str, bounds: &[Bound])
compiler/src/type_.rs:407
↓ 1 callersFunctionstrip
(obj: any)
compiler/test/runner.ts:431
↓ 1 callersFunctionstripTypesAndVars
(output: string)
compiler/test/runner.ts:421
↓ 1 callersFunctionstructFieldsToString
(list []StructField)
importer/importer.go:566
↓ 1 callersFunctionsubject_is_matchable
( instance: &infer::Infer, subject_ty: &Type, subject_span: &Span, )
compiler/src/exhaustive.rs:674
↓ 1 callersFunctiontimeout
()
compiler/test/runner.ts:235
↓ 1 callersMethodto_newtype_def
(&self)
compiler/src/ast.rs:249
↓ 1 callersFunctionto_qualified
return true if the expr can be turned into a qualified path ie. foo.bar.baz
compiler/src/infer.rs:3407
↓ 1 callersMethodtype_map
(&self, x: Type, y: Type)
compiler/src/infer.rs:199
↓ 1 callersMethodtype_reference
(&self, typ: Type)
compiler/src/infer.rs:211
↓ 1 callersMethodunary_operator
(&self)
compiler/src/parser.rs:1633
MethodAddVariable
(name string, ty Type)
importer/importer.go:242
MethodBar
()
importer/testpkg/testpkg.go:38
MethodCheck
()
importer/testpkg/testpkg.go:33
MethodGetName
()
importer/testpkg/testpkg.go:48
MethodIsType
()
importer/importer.go:54
MethodIsType
()
importer/importer.go:67
MethodIsType
()
importer/importer.go:110
MethodMethodValue
()
importer/testpkg/testpkg.go:72
FunctionSimple
()
importer/testpkg/testpkg.go:42
MethodString
()
importer/importer.go:69
MethodString
()
importer/importer.go:112
MethodString
()
importer/importer.go:133
MethodString
()
importer/importer.go:259
MethodTakeFn
(f func(rune) bool)
importer/testpkg/testpkg.go:39
MethodUpdateContainer
()
importer/testpkg/testpkg.go:71
FunctionWithChan
(read <-chan int, write chan<- string)
importer/testpkg/testpkg.go:67
FunctionWithFunc
(f func(x int) string)
importer/testpkg/testpkg.go:52
FunctionWithGenerics
(x T, y Y)
importer/testpkg/testpkg.go:56
FunctionWithGenericsConstrained
(x T)
importer/testpkg/testpkg.go:57
FunctionWithLiteralStruct
(s struct{})
importer/testpkg/testpkg.go:69
FunctionWithMap
(m map[int]bool)
importer/testpkg/testpkg.go:54
FunctionWithMultipleReturn
()
importer/testpkg/testpkg.go:61
FunctionWithPointers
(p *Person)
importer/testpkg/testpkg.go:59
FunctionWithSelector
(r io.Reader)
importer/testpkg/testpkg.go:65
FunctionWithVariadic
(v ...any)
importer/testpkg/testpkg.go:63
FunctionWithdata
(a int, b []string)
importer/testpkg/testpkg.go:44
Methodas_method
(&self)
compiler/src/ast.rs:25
Methodcheck
(s: String, pos: Pos)
compiler/src/lexer.rs:465
Functioncompile_wasm
(source: &str, val: JsValue)
wasm/src/lib.rs:28
Methodcurrent_zero_value
(&self)
compiler/src/codegen.rs:1732
Functiondecode
(s: any)
compiler/test/runner.ts:446
Functiondecode
(s: any)
playground/build-examples.ts:88
Methoddiscard
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
Methoddoit
(expr: &Expr, res: &mut Vec<String>)
compiler/src/parser.rs:1617
Methoddummy
AST fields are initially populated with this
compiler/src/type_.rs:45
Methoddummy
()
compiler/src/ast.rs:330
Methoddump
(&self)
compiler/src/infer.rs:81
Methodempty
()
compiler/src/global_state.rs:240
Methodempty
()
compiler/src/type_.rs:449
Methodempty
()
compiler/src/codegen.rs:92
FunctionerrorContains
(msg: string)
compiler/test/runner.ts:87
Methodethereal
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
Methodext
()
compiler/src/ast.rs:1013
Methodfind_expr_at_position
(&self, span: &Span)
compiler/src/ast.rs:655
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
compiler/src/lexer.rs:38
Methodfmt
(&self, f: &mut std::fmt::Formatter)
compiler/src/type_.rs:427
Methodfrom_exhaustive
(errors: Vec<exhaustive::Error>, span: Span)
compiler/src/error.rs:81
Methodfrom_str
(name: &str)
compiler/src/type_.rs:437
Methodget_symbol
(&self, name: &str, span: &Span)
compiler/src/global_state.rs:91
Methodget_type
(&self, sym: &Symbol)
compiler/src/global_state.rs:113
Functioninfer
(expected: string)
compiler/test/runner.ts:109
Methodis_function
(&self)
compiler/src/type_.rs:283
Methodis_tag
(&self, tag_name: &TagName)
compiler/src/exhaustive.rs:39
Functionis_useful
Check if a new row "vector" is useful given previous rows "matrix"
compiler/src/exhaustive.rs:214
Functionlex
()
compiler/src/lexer.rs:708
Methodlex_and_parse_file
(source: &str, file: FileId)
compiler/src/parser.rs:2034
Functionmain
()
importer/importer.go:670
Functionmain
()
compiler/src/main.rs:186
Methodnew
()
compiler/src/global_state.rs:20
Methodnew
(tokens: Vec<Token>, file_id: FileId)
compiler/src/parser.rs:23
Methodnew
(input: &str)
compiler/src/lexer.rs:262
Methodnew
()
compiler/src/codegen.rs:180
Methodnew
(base_path: &str)
compiler/src/fs.rs:17
Methodnew
(fs: Box<dyn crate::fs::FileSystem>)
compiler/src/infer.rs:41
← previousnext →401–500 of 520, ranked by callers