Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boltlang/Bolt
/ functions
Functions
321 in github.com/boltlang/Bolt
⨍
Functions
321
◇
Types & classes
102
↓ 2 callers
Method
offset_from_line_column
Return the offset from a 0-based line and column number.
crates/boltlang/src/text.rs:100
↓ 2 callers
Method
operator
(&self)
crates/boltlang/src/ast.rs:385
↓ 2 callers
Function
parse_block
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:28
↓ 2 callers
Function
parse_expression_statement
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:271
↓ 2 callers
Function
parse_named_function_declaration
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:214
↓ 2 callers
Function
parse_pattern
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:139
↓ 2 callers
Function
parse_prim_type_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:171
↓ 2 callers
Function
parse_variable_declaration
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:248
↓ 2 callers
Method
path_metadata
(&self, path: &SystemPath)
crates/boltlang/src/system/os.rs:58
↓ 2 callers
Function
peek_after_modifiers
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:6
↓ 2 callers
Method
pos
(&self)
crates/boltlang/src/parser/lexer.rs:143
↓ 2 callers
Method
pub_keyword
(&self)
crates/boltlang/src/ast.rs:415
↓ 2 callers
Method
read_to_string
(&self, db: &dyn Db)
crates/boltlang/src/files.rs:145
↓ 2 callers
Method
read_virtual_path_to_string
(&self, _path: &SystemVirtualPath)
crates/boltlang/src/system/os.rs:46
↓ 2 callers
Function
report_diagnostic
(db: &dyn Db, diagnostic: &DbDiagnostic)
crates/boltlang-cli/src/main.rs:134
↓ 2 callers
Method
resolve_virtual
Looks up a file by its virtual `path`. For a non-existing file, creates a new salsa [`File`] ingredient and stores it for future lookups. The operat
crates/boltlang/src/files.rs:84
↓ 2 callers
Method
return_ty
(&self)
crates/boltlang/src/ast.rs:107
↓ 2 callers
Method
source
(&self)
crates/boltlang/src/diagnostic.rs:89
↓ 2 callers
Function
source_text
(db: &dyn Db, file: File)
crates/boltlang/src/text.rs:117
↓ 2 callers
Method
type_signature
(&self )
crates/boltlang/src/ast.rs:506
↓ 2 callers
Method
with_file
(self, file: File)
crates/boltlang/src/diagnostic.rs:139
↓ 1 callers
Method
as_system_path_buf
(&self)
crates/boltlang/src/files.rs:263
↓ 1 callers
Method
as_u128
(self)
crates/boltlang/src/vfs/metadata.rs:30
↓ 1 callers
Method
bump
Consumes a specfic token. Panics if the token does not match the expected kind.
crates/boltlang/src/parser/parser.rs:119
↓ 1 callers
Method
check_type_expression
(&mut self, te: &TypeExpr, ty: &Type, env: TypeEnvId)
crates/boltlang/src/tc/infer/type_expr.rs:10
↓ 1 callers
Method
cmp
(&self, other: &Self)
crates/boltlang/src/diagnostic.rs:48
↓ 1 callers
Method
dedent
(&mut self)
crates/boltlang/src/emit.rs:55
↓ 1 callers
Method
default
()
crates/boltlang/src/system/test.rs:21
↓ 1 callers
Method
diagnostics_for_file
(&self, uri: &Uri)
crates/bolt-language-server/src/main.rs:226
↓ 1 callers
Method
env_has_uni_var
(&self, env: TypeEnvId, tv: &TVar)
crates/boltlang/src/tc/infer/core.rs:152
↓ 1 callers
Method
error
(&mut self, msg: impl Into<String>)
crates/boltlang/src/parser/lexer.rs:139
↓ 1 callers
Method
exec
(&self)
crates/boltlang-cli/src/main.rs:28
↓ 1 callers
Method
file
(&self)
crates/boltlang/src/diagnostic.rs:65
↓ 1 callers
Function
file_time_now
()
crates/boltlang/src/system/common.rs:25
↓ 1 callers
Method
generalize
(&self, ty: Type, env: TypeEnvId)
crates/boltlang/src/tc/infer/core.rs:142
↓ 1 callers
Method
global_env
(&self)
crates/boltlang/src/tc/infer/core.rs:138
↓ 1 callers
Method
has_uni_var
(&self, tv: &TVar)
crates/boltlang/src/tc/types.rs:87
↓ 1 callers
Method
has_uni_var
(&self, tv: &TVar)
crates/boltlang/src/tc/infer/core.rs:42
↓ 1 callers
Function
import_paths
(db: &dyn Db, file: File)
crates/boltlang/src/import.rs:10
↓ 1 callers
Method
indent
(&mut self)
crates/boltlang/src/emit.rs:52
↓ 1 callers
Method
infer_arrow_type_expr
(&mut self, expr: &ArrowTypeExpr, env: TypeEnvId)
crates/boltlang/src/tc/infer/type_expr.rs:20
↓ 1 callers
Method
infer_block_expr
(&mut self, expr: &BlockExpr, env: TypeEnvId)
crates/boltlang/src/tc/infer/expr.rs:90
↓ 1 callers
Method
infer_call_expr
(&mut self, expr: &CallExpr, env: TypeEnvId)
crates/boltlang/src/tc/infer/expr.rs:137
↓ 1 callers
Method
infer_fun_expr
(&mut self, expr: &FunExpr, env: TypeEnvId)
crates/boltlang/src/tc/infer/expr.rs:117
↓ 1 callers
Method
infer_func_decl
(&mut self, node: &FuncDecl, env: TypeEnvId)
crates/boltlang/src/tc/infer/decl.rs:84
↓ 1 callers
Method
infer_lit_expr
(&mut self, expr: &LitExpr, _env: TypeEnvId)
crates/boltlang/src/tc/infer/expr.rs:83
↓ 1 callers
Method
infer_named_expr
(&mut self, expr: &NamedExpr, env: TypeEnvId)
crates/boltlang/src/tc/infer/expr.rs:71
↓ 1 callers
Method
infer_named_pattern
(&mut self, pattern: &NamedPattern, to_insert: TypeEnvId, _env: TypeEnvId)
crates/boltlang/src/tc/infer/pattern.rs:33
↓ 1 callers
Method
infer_named_type_expr
(&mut self, expr: &NamedTypeExpr, env: TypeEnvId)
crates/boltlang/src/tc/infer/type_expr.rs:47
↓ 1 callers
Method
infer_source_file
(&mut self, node: &SourceFile)
crates/boltlang/src/tc/infer/toplevel.rs:25
↓ 1 callers
Method
infer_typed_pattern
(&mut self, pattern: &TypedPattern, to_insert: TypeEnvId, env: TypeEnvId)
crates/boltlang/src/tc/infer/pattern.rs:41
↓ 1 callers
Method
infer_var_decl
(&mut self, decl: &VarDecl, is_toplevel: bool, env: TypeEnvId)
crates/boltlang/src/tc/infer/decl.rs:72
↓ 1 callers
Method
instantiate
(&mut self, scm: &Scheme)
crates/boltlang/src/tc/infer/core.rs:130
↓ 1 callers
Function
intersperse_trivia
(events: I, lexed: &'a LexResult)
crates/boltlang/src/parser/event.rs:142
↓ 1 callers
Function
is_bin_num
(ch: char)
crates/boltlang/src/parser/lexer.rs:60
↓ 1 callers
Function
is_blank
(ch: char)
crates/boltlang/src/emit.rs:23
↓ 1 callers
Function
is_hex_num
(ch: char)
crates/boltlang/src/parser/lexer.rs:72
↓ 1 callers
Function
is_ident_start
(ch: char)
crates/boltlang/src/parser/lexer.rs:52
↓ 1 callers
Function
is_oct_num
(ch: char)
crates/boltlang/src/parser/lexer.rs:64
↓ 1 callers
Method
is_symlink
(self)
crates/boltlang/src/vfs/metadata.rs:74
↓ 1 callers
Method
mut_keyword
(&self)
crates/boltlang/src/ast.rs:205
↓ 1 callers
Method
normalize_diagnostic
(&mut self, diagnostic: Diagnostic)
crates/boltlang/src/tc/unify.rs:78
↓ 1 callers
Method
normalize_path
# Panics Panics if the current working directory variable could not be locked. In classic scenarios, this should never happen.
crates/boltlang/src/vfs/memory.rs:83
↓ 1 callers
Method
nth_at
(&self, n: usize, kind: SyntaxKind)
crates/boltlang/src/parser/parser.rs:101
↓ 1 callers
Function
other_error
(error: E)
crates/boltlang/src/system/os.rs:22
↓ 1 callers
Function
parse_block_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:37
↓ 1 callers
Function
parse_body_element
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:277
↓ 1 callers
Function
parse_call_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:98
↓ 1 callers
Function
parse_literal_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:43
↓ 1 callers
Function
parse_named_pattern
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:124
↓ 1 callers
Function
parse_named_type_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:160
↓ 1 callers
Function
parse_param
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:205
↓ 1 callers
Function
parse_parenthesized_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:57
↓ 1 callers
Function
parse_parenthesized_pattern
(_p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:135
↓ 1 callers
Function
parse_prim_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:84
↓ 1 callers
Function
parse_reference_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:17
↓ 1 callers
Function
parse_return_expression
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:77
↓ 1 callers
Function
parse_source_element
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:286
↓ 1 callers
Function
parse_source_file
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:295
↓ 1 callers
Function
parse_type_ascription
(p: &mut Parser)
crates/boltlang/src/parser/grammar.rs:200
↓ 1 callers
Function
print
(indent: usize, element: SyntaxElement)
crates/boltlang-cli/src/main.rs:111
↓ 1 callers
Function
process_events
( events: I, lexed: &LexResult, text: &str )
crates/boltlang/src/parser/event.rs:37
↓ 1 callers
Method
push_token
(&mut self)
crates/boltlang/src/parser/event.rs:75
↓ 1 callers
Method
read_to_string
(&self, path: &SystemPath)
crates/bolt-language-server/src/system.rs:23
↓ 1 callers
Method
resolve
Looks up a file by its `path`. For a non-existing file, creates a new salsa [`File`] ingredient and stores it for future lookups. The operation alwa
crates/boltlang/src/files.rs:50
↓ 1 callers
Method
rfind_node
(&self)
crates/boltlang/src/ast.rs:43
↓ 1 callers
Method
scan
(&mut self)
crates/boltlang/src/parser/lexer.rs:147
↓ 1 callers
Function
server_error
(code: i64, message: String)
crates/bolt-language-server/src/main.rs:212
↓ 1 callers
Method
severity
(&self)
crates/boltlang/src/diagnostic.rs:85
↓ 1 callers
Function
severity_to_report_kind
(sev: boltlang::Severity)
crates/boltlang-cli/src/main.rs:125
↓ 1 callers
Method
solve
(&mut self)
crates/boltlang/src/tc/solve.rs:87
↓ 1 callers
Method
span
(&self)
crates/boltlang/src/diagnostic.rs:69
↓ 1 callers
Method
start_offset_of_line
(&self, line: usize)
crates/boltlang/src/text.rs:78
↓ 1 callers
Method
substitute
(self, sub: &TVSub)
crates/boltlang/src/tc/types.rs:95
↓ 1 callers
Method
to_input
(&self)
crates/boltlang/src/parser/lexer.rs:272
↓ 1 callers
Function
tokenize
(text: impl Into<String>)
crates/boltlang/src/parser/lexer.rs:320
↓ 1 callers
Method
try_resolve
(&self, db: &dyn Db, path: &SystemPath)
crates/boltlang/src/files.rs:35
↓ 1 callers
Method
uni_vars
(&self)
crates/boltlang/src/tc/types.rs:81
↓ 1 callers
Method
uni_vars_helper
(&self, out: &mut Vec<TVar>)
crates/boltlang/src/tc/types.rs:64
↓ 1 callers
Method
unify_type_type
(&mut self, a: &Type, b: &Type)
crates/boltlang/src/tc/unify.rs:29
← previous
next →
101–200 of 321, ranked by callers