MCPcopy Create free account

hub / github.com/boltlang/Bolt / functions

Functions321 in github.com/boltlang/Bolt

↓ 1 callersMethodunify_type_type_impl
(&mut self, a: &Type, b: &Type, out: &mut Vec<UnifyError>)
crates/boltlang/src/tc/unify.rs:35
↓ 1 callersMethodvirtual_path_metadata
(&self, _path: &SystemVirtualPath)
crates/boltlang/src/system/os.rs:79
↓ 1 callersFunctionvisit
(db: &dyn Db, file: File, visited: &mut HashSet<File>)
crates/boltlang/src/import.rs:33
↓ 1 callersMethodwrite_file_bytes_virtual
(&self, path: &SystemVirtualPath, content: impl AsRef<[u8]>)
crates/boltlang/src/vfs/memory.rs:129
Methodabsolute
(path: impl AsRef<Path>, cwd: impl AsRef<Path>)
crates/boltlang/src/vfs/path.rs:32
Methodadd
(&mut self, constraint: &Constraint)
crates/boltlang/src/tc/solve.rs:55
Methodborrow
(&self)
crates/boltlang/src/vfs/path.rs:167
Methodcan_cast
(kind: SyntaxKind)
crates/boltlang/src/ast.rs:26
Methodcan_cast
(kind: SyntaxKind)
crates/boltlang/src/ast.rs:81
Methodcanonicalize_path
(&self, path: &SystemPath)
crates/boltlang/src/system/test.rs:36
Methodcanonicalize_path
(&self, path: &SystemPath)
crates/boltlang/src/system/memory.rs:36
Methodcanonicalize_path
(&self, path: &SystemPath)
crates/boltlang/src/system/os.rs:54
Methodcanonicalize_path
(&self, path: &SystemPath)
crates/bolt-language-server/src/system.rs:15
Methodcast
(syntax: SyntaxNode)
crates/boltlang/src/ast.rs:18
Methodcurrent_directory
(&self)
crates/boltlang/src/system/test.rs:40
Methodcurrent_directory
(&self)
crates/boltlang/src/system/memory.rs:40
Methodcurrent_directory
(&self)
crates/boltlang/src/system/os.rs:50
Methodcurrent_directory
(&self)
crates/bolt-language-server/src/system.rs:19
Methoddefault
()
crates/boltlang/src/parser/lexer.rs:34
Methoddefault
()
crates/bolt-language-server/src/db.rs:12
Methodderef
(&self)
crates/boltlang/src/vfs/path.rs:161
Methoddiagnostic
(&self, params: DocumentDiagnosticParams)
crates/bolt-language-server/src/main.rs:147
Methoddid_change
(&self, params: ls_types::DidChangeTextDocumentParams)
crates/bolt-language-server/src/main.rs:84
Methoddid_open
(&self, params: ls_types::DidOpenTextDocumentParams)
crates/bolt-language-server/src/main.rs:77
Methoddid_save
(&self, params: ls_types::DidSaveTextDocumentParams)
crates/bolt-language-server/src/main.rs:123
Methoddisplay
(&self)
crates/boltlang/src/vfs/path.rs:15
Methoddrop
(&mut self)
crates/boltlang/src/util.rs:24
Methoddump_envs
(&self)
crates/boltlang/src/tc/infer/core.rs:187
Methodend_offset_of_line
(index: LineIndex, line: usize)
crates/boltlang/src/text.rs:95
Methodeq
(&self, other: &Self)
crates/boltlang/src/parser/lexer.rs:20
Methoderr_recover
Create an error node and consume the next token unless it is in the recovery set. Returns true if recovery kicked in.
crates/boltlang/src/parser/parser.rs:160
Functionfile_not_found
()
crates/boltlang/src/vfs/memory.rs:42
Methodfiles
(&self)
crates/boltlang-cli/src/db.rs:26
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/boltlang/src/diagnostic.rs:28
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/boltlang/src/tc/types.rs:12
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/boltlang/src/tc/infer/core.rs:20
Methodfresh_type_var
(&mut self)
crates/boltlang/src/tc/unify.rs:25
Methodfrom
(value: SystemPathBuf)
crates/boltlang/src/files.rs:280
Methodfrom
(value: SyntaxKind)
crates/boltlang/src/syntax.rs:162
Methodfrom
(value: SyntaxDiagnostic)
crates/boltlang/src/diagnostic.rs:194
Methodfrom
(value: fluent_uri::ParseError)
crates/boltlang/src/error.rs:39
Methodfrom
(tv: TVar)
crates/boltlang/src/tc/types.rs:114
Methodfrom
(value: &Pos)
crates/boltlang/src/parser/lexer.rs:308
Methodfrom
(value: u128)
crates/boltlang/src/vfs/metadata.rs:37
Methodfrom
(value: &'a std::path::Path)
crates/boltlang/src/vfs/path.rs:76
Functionfrom_boltlang_error
(error: boltlang::Error)
crates/bolt-language-server/src/main.rs:220
Methodfrom_index
(u: u32)
crates/boltlang/src/tc/types.rs:129
Methodfrom_std_path_buf
(pb: std::path::PathBuf)
crates/boltlang/src/vfs/path.rs:127
Methodfrom_str
(text: &str)
crates/boltlang/src/text.rs:20
Methodfrom_str
(value: &str)
crates/boltlang/src/vfs/path.rs:11
Methodfun
(left: Type, right: Type)
crates/boltlang/src/tc/types.rs:52
Methodindex
(&self)
crates/boltlang/src/tc/types.rs:125
Methodinitialize
(&self, _: InitializeParams)
crates/bolt-language-server/src/main.rs:42
Methodinitialized
(&self, _: InitializedParams)
crates/bolt-language-server/src/main.rs:73
Methodis_absolute
(&self)
crates/boltlang/src/vfs/path.rs:28
Methodkind
()
crates/boltlang/src/ast.rs:10
Methodkind_from_raw
(raw: rowan::SyntaxKind)
crates/boltlang/src/syntax.rs:171
Methodkind_to_raw
(kind: Self::Kind)
crates/boltlang/src/syntax.rs:175
Functionmain
()
crates/boltlang-cli/src/main.rs:151
Functionmain
()
crates/bolt-language-server/src/main.rs:270
Methodmono
(ty: Type)
crates/boltlang/src/tc/infer/core.rs:38
Methodnew
(cwd: &SystemPath)
crates/boltlang-cli/src/db.rs:13
Methodnew
(writer: &'a mut dyn std::io::Write)
crates/boltlang/src/emit.rs:13
Methodnew
()
crates/boltlang/src/db.rs:147
Methodnew
(msg: impl Into<Cow<'static, str>>)
crates/boltlang/src/util.rs:10
Methodnew
(data: DiagnosticWithFile)
crates/boltlang/src/diagnostic.rs:22
Methodnew
(parent: &SyntaxNode)
crates/boltlang/src/ast.rs:63
Methodnew
()
crates/boltlang/src/tc/unify.rs:19
Methodnew
()
crates/boltlang/src/tc/solve.rs:49
Methodnew
(unbound: TVSet, ty: Type)
crates/boltlang/src/tc/infer/core.rs:34
Methodnew
(pos: u32)
crates/boltlang/src/parser/parser.rs:13
Methodnew
(offset: usize, line: usize, column: usize)
crates/boltlang/src/parser/lexer.rs:28
Methodnew
(lexed: &'lex LexResult, text: &'text str)
crates/boltlang/src/parser/event.rs:64
Methodnew
(kinds: &[SyntaxKind])
crates/boltlang/src/parser/token_set.rs:10
Methodnew
(value: u128)
crates/boltlang/src/vfs/metadata.rs:17
Methodnew
()
crates/boltlang/src/vfs/memory.rs:25
Methodnew
(path: &(impl AsRef<std::path::Path> + ?Sized))
crates/boltlang/src/vfs/path.rs:19
Methodnew
(inner: impl WritableSystem + 'static)
crates/boltlang/src/system/test.rs:14
Methodnew
()
crates/boltlang/src/system/memory.rs:21
Methodnew
(cwd: impl AsRef<SystemPath>)
crates/boltlang/src/system/os.rs:28
Methodnext
(&mut self)
crates/boltlang/src/util.rs:39
Methodnow
()
crates/boltlang/src/vfs/metadata.rs:21
Functionother_error
(error: E)
crates/boltlang/src/vfs/memory.rs:50
Methodpartial_cmp
(&self, other: &Self)
crates/boltlang/src/diagnostic.rs:54
Methodpath_metadata
(&self, path: &SystemPath)
crates/boltlang/src/system/test.rs:44
Methodpath_metadata
(&self, path: &SystemPath)
crates/boltlang/src/system/memory.rs:44
Methodpath_metadata
(&self, path: &SystemPath)
crates/bolt-language-server/src/system.rs:11
Methodpretty
(&self)
crates/boltlang/src/syntax.rs:98
Methodread_to_string
(&self, path: &super::Path)
crates/boltlang/src/vfs/memory.rs:59
Methodread_to_string
(&self, path: &SystemPath)
crates/boltlang/src/system/test.rs:28
Methodread_to_string
(&self, path: &SystemPath)
crates/boltlang/src/system/memory.rs:52
Methodread_to_string
(&self, path: &SystemPath)
crates/boltlang/src/system/os.rs:42
Methodread_virtual_path_to_string
(&self, path: &SystemVirtualPath)
crates/boltlang/src/system/test.rs:32
Methodread_virtual_path_to_string
(&self, _path: &SystemVirtualPath)
crates/boltlang/src/system/memory.rs:56
Methodshutdown
(&self)
crates/bolt-language-server/src/main.rs:206
Methodsignature
(params: impl IntoIterator<Item = Type, IntoIter: DoubleEndedIterator>, ret_ty: Type)
crates/boltlang/src/tc/types.rs:56
Methodsolve
(&mut self, constraints: &[Constraint])
crates/boltlang/src/tc/infer/core.rs:219
Methodsync
Syncs the [`File`]'s state with the state of the file on the system.
crates/boltlang/src/files.rs:166
Methodsync_system_path
Private method providing the implementation for [`Self::sync_path`] and [`Self::sync`] for system paths. Takes in the resolved file handle if any. Ot
crates/boltlang/src/files.rs:190
Methodsystem
(&self)
crates/boltlang-cli/src/db.rs:29
← previousnext →201–300 of 321, ranked by callers