Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LaBatata101/sith-language-server
/ functions
Functions
2,449 in github.com/LaBatata101/sith-language-server
⨍
Functions
2,449
◇
Types & classes
1,017
↳
Endpoints
14
Method
from_source
Create a new token source from the given source code which starts at the given offset.
crates/sith_python_parser/src/token_source.rs:31
Method
from_source_text
Builds the [`LineIndex`] from the source text of a file.
crates/ruff_source_file/src/line_index.rs:28
Method
from_str
(s: &str)
crates/sith_python_parser/src/lib.rs:592
Method
from_str
Parse an [`Int`] from a string.
crates/sith_python_ast/src/int.rs:12
Method
from_str
(s: &str)
crates/sith_python_ast/src/float.rs:22
Method
from_str
(name: &str)
crates/sith_server/src/server.rs:460
Method
from_str_radix
Parse an [`Int`] from a string with a given radix, like `0x95D`. Takes, as input, the numerical portion (`95D`), the parsed base (`16`), and the enti
crates/sith_python_ast/src/int.rs:47
Method
from_symbol
(name: &str)
crates/sith_semantic_model/src/type_inference.rs:66
Function
from_u32_panics_for_u32_max
()
crates/ruff_index/src/idx.rs:30
Function
from_usize_panics_for_u32_max
()
crates/ruff_index/src/idx.rs:36
Method
from_value
Initializes the controller from the serialized initialization options. This fails if `options` are not valid initialization options.
crates/sith_server/src/session/settings.rs:131
Method
from_zero_indexed
Construct a new [`OneIndexed`] from a zero-indexed value
crates/ruff_source_file/src/line_index.rs:297
Function
fstring_single_quote_escape_eol
(eol: &str)
crates/sith_python_parser/src/lexer.rs:2261
Method
full_end
(&self)
crates/ruff_source_file/src/newlines.rs:214
Method
full_line
Returns the text of the `offset`'s line. The line includes the newline characters at the end of the line. ## Examples ``` # use ruff_text_size::{Ra
crates/ruff_source_file/src/locator.rs:222
Method
full_lines
Returns the text of all lines that include `range`. Includes the newline characters of the last line. ## Examples ``` # use ruff_text_size::{Ranged
crates/ruff_source_file/src/locator.rs:383
Method
full_range
(&self)
crates/ruff_source_file/src/newlines.rs:226
Function
function_parse_error
(src: &str)
crates/sith_python_parser/src/parser/tests/function.rs:40
Function
generate_inline_tests
()
crates/sith_python_parser/tests/generate_inline_tests.rs:24
Method
get
(&self, id: SymbolId)
crates/sith_semantic_model/src/symbol.rs:26
Function
get_current_admin_user
(current_user: models.User = Depends(get_current_user))
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/dependencies.py:46
Function
get_current_thread_qos_class
()
crates/sith_server/src/server/schedule/thread/priority.rs:46
Function
get_db
()
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/dependencies.py:17
Function
get_item
(db: Session, id: int)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:84
Function
get_item_by_title
(db: Session, title: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:80
Function
get_items
(db: Session, skip: int = 0, limit: int = 100)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:66
Method
get_mut
(&mut self, id: SymbolId)
crates/sith_semantic_model/src/symbol.rs:30
Method
get_mut
(&mut self, index: DeclId)
crates/sith_semantic_model/src/declaration.rs:43
Method
get_mut
(&mut self, index: I)
crates/ruff_index/src/slice.rs:99
Function
get_password_hash
(password: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/security.py:23
Function
get_test_file
(name: &str)
crates/sith_benchmark/benches/semantic_table_builder.rs:32
Function
get_tokens_only
(source: &str)
crates/sith_python_parser/src/lexer.rs:2181
Function
get_user
(db: Session, user_id: int)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:9
Function
get_user_by_email
(db: Session, email: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:13
Function
get_user_by_name
(db: Session, name: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:17
Function
get_users
(db: Session, skip: int = 0, limit: int = 100)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:21
Method
global
Resolves global settings only.
crates/sith_server/src/session/settings.rs:194
Method
global_mut
(&mut self)
crates/sith_semantic_model/src/scope.rs:132
Function
goto_class_attribute_definition
()
crates/sith_server/src/server/api/tests/goto_definition.rs:117
Function
goto_definition_across_files
()
crates/sith_server/src/server/api/tests/goto_definition.rs:94
Function
goto_definition_builtin_typeshed
()
crates/sith_server/src/server/api/tests/goto_definition.rs:77
Function
goto_definition_same_file
()
crates/sith_server/src/server/api/tests/goto_definition.rs:58
Function
goto_module_attribute_definition
()
crates/sith_server/src/server/api/tests/goto_definition.rs:143
Method
has_progressed
(self, p: &Parser)
crates/sith_python_parser/src/parser/progress.rs:22
Method
has_symbols
(&self)
crates/sith_semantic_model/src/scope.rs:99
Method
hash
(&self, state: &mut H)
crates/sith_python_ast/src/name.rs:650
Method
hash
(&self, state: &mut H)
crates/sith_python_ast/src/nodes.rs:1680
Method
hash
(&self, state: &mut H)
crates/sith_python_ast/src/float.rs:108
Method
hide
()
editors/vscode/src/utils/logger.ts:106
Method
immediate
Creates a local task that immediately responds with the provided `request`.
crates/sith_server/src/server/schedule/task.rs:80
Function
import_file_sub_under_containing_folder
()
crates/ruff_python_resolver/src/lib.rs:599
Function
import_side_by_side_file_root
()
crates/ruff_python_resolver/src/lib.rs:535
Function
import_side_by_side_file_sub_folder
()
crates/ruff_python_resolver/src/lib.rs:554
Function
import_side_by_side_file_sub_under_lib_folder
()
crates/ruff_python_resolver/src/lib.rs:618
Function
import_side_by_side_file_sub_under_src_folder
()
crates/ruff_python_resolver/src/lib.rs:574
Method
in_parenthesized_context
Returns `true` if the iterator is within a parenthesized context.
crates/sith_python_parser/src/lib.rs:524
Method
includes
Returns `true` if a parameter with the given name included in this [`Parameters`].
crates/sith_python_ast/src/nodes.rs:3226
Function
indentation_try_compare
()
crates/sith_python_parser/src/lexer/indentation.rs:148
Function
indentation_with_eol
(eol: &str)
crates/sith_python_parser/src/lexer.rs:2024
Method
index
(&self, index: DeclId)
crates/sith_semantic_model/src/declaration.rs:55
Method
index
(&self, index: NodeId)
crates/sith_python_ast_utils/src/nodes.rs:63
Method
index
(&self, index: TextRange)
crates/ruff_text_size/src/range.rs:429
Method
index_content
( source: &str, file_id: FileId, filepath: &Path, resolver_config: ImportResol
crates/sith_semantic_model/src/indexer.rs:361
Method
index_mut
(&mut self, index: DeclId)
crates/sith_semantic_model/src/declaration.rs:61
Method
index_mut
(&mut self, index: TextRange)
crates/ruff_text_size/src/range.rs:444
Method
index_mut
(&mut self, index: I)
crates/ruff_index/src/slice.rs:136
Method
indices
( &self, )
crates/ruff_index/src/slice.rs:65
Function
inline_err
()
crates/sith_python_parser/tests/fixtures.rs:31
Function
inline_ok
()
crates/sith_python_parser/tests/fixtures.rs:26
Function
inline_values
()
crates/lsp-types/src/inline_value.rs:191
Method
inner
(errors: &mut Vec<ParseError>, error: ParseErrorType, range: TextRange)
crates/sith_python_parser/src/parser/mod.rs:408
Method
insert
( &mut self, file_id: FileId, kind: DeclarationKind, node_id: NodeId,
crates/sith_semantic_model/src/declaration.rs:23
Function
insert_first_line
()
crates/sith_server/src/edit/replacement.rs:148
Function
insert_middle_line
()
crates/sith_server/src/edit/replacement.rs:166
Function
insert_multiple_lines
()
crates/sith_server/src/edit/replacement.rs:184
Method
int
(db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:150
Function
intersect
()
crates/ruff_text_size/tests/main.rs:43
Method
intersect
(self, other: TextRange)
crates/ruff_text_size/src/range.rs:222
Method
into_any_node
(self)
crates/sith_python_ast/src/node.rs:748
Method
into_expr
Consumes the [`Parsed`] output and returns the contained [`Expr`].
crates/sith_python_parser/src/lib.rs:355
Method
into_iter
(self)
crates/ruff_index/src/slice.rs:146
Method
into_iter
(self)
crates/ruff_python_resolver/src/implicit_imports.rs:195
Method
into_signature_info
(self)
crates/sith_server/src/server/api/requests/signature_help.rs:393
Method
invalid
()
crates/sith_python_utils/src/lib.rs:255
Method
invalid
Creates an invalid string literal with the given range.
crates/sith_python_ast/src/nodes.rs:1635
Function
invalid_range_deserialization
()
crates/ruff_text_size/tests/serde.rs:64
Function
invalid_relative_import_side_by_side_file_root
()
crates/ruff_python_resolver/src/lib.rs:790
Function
invalid_syntax
()
crates/sith_python_parser/tests/fixtures.rs:21
Function
ipython_escape_command_line_continuation_eol
(eol: &str)
crates/sith_python_parser/src/lexer.rs:1808
Function
ipython_escape_command_line_continuation_with_eol_and_eof
(eol: &str)
crates/sith_python_parser/src/lexer.rs:1828
Method
is_alternative_branch_with_node
In our AST, only some alternative branches are represented as a node. This has historical reasons, e.g. we added a node for elif/else in if statements
crates/sith_python_ast/src/node.rs:5976
Method
is_any_newline
(self)
crates/sith_python_parser/src/token.rs:285
Method
is_any_string
Returns `true` if this is any kind of string token.
crates/sith_python_parser/src/token.rs:57
Method
is_arithmetic
(self)
crates/sith_python_parser/src/token.rs:400
Method
is_at_start_of_line
Returns `true` if `offset` is at the start of a line.
crates/ruff_source_file/src/locator.rs:97
Method
is_bitwise_or_shift
(self)
crates/sith_python_parser/src/token.rs:414
Method
is_cyclically_defined_recursive
( db: &SymbolTableDb, class: ClassType, classes_to_watch: &mut IndexSet<Cl
crates/sith_semantic_model/src/type_inference.rs:311
Method
is_empty
(self)
crates/ruff_text_size/src/range.rs:140
Method
is_except_handler
(&self)
crates/sith_python_ast/src/node.rs:619
Method
is_expression
(&self)
crates/sith_python_ast/src/node.rs:607
← previous
next →
1,601–1,700 of 2,449, ranked by callers