MCPcopy Create free account

hub / github.com/LaBatata101/sith-language-server / functions

Functions2,449 in github.com/LaBatata101/sith-language-server

Methodfrom_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
Methodfrom_source_text
Builds the [`LineIndex`] from the source text of a file.
crates/ruff_source_file/src/line_index.rs:28
Methodfrom_str
(s: &str)
crates/sith_python_parser/src/lib.rs:592
Methodfrom_str
Parse an [`Int`] from a string.
crates/sith_python_ast/src/int.rs:12
Methodfrom_str
(s: &str)
crates/sith_python_ast/src/float.rs:22
Methodfrom_str
(name: &str)
crates/sith_server/src/server.rs:460
Methodfrom_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
Methodfrom_symbol
(name: &str)
crates/sith_semantic_model/src/type_inference.rs:66
Functionfrom_u32_panics_for_u32_max
()
crates/ruff_index/src/idx.rs:30
Functionfrom_usize_panics_for_u32_max
()
crates/ruff_index/src/idx.rs:36
Methodfrom_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
Methodfrom_zero_indexed
Construct a new [`OneIndexed`] from a zero-indexed value
crates/ruff_source_file/src/line_index.rs:297
Functionfstring_single_quote_escape_eol
(eol: &str)
crates/sith_python_parser/src/lexer.rs:2261
Methodfull_end
(&self)
crates/ruff_source_file/src/newlines.rs:214
Methodfull_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
Methodfull_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
Methodfull_range
(&self)
crates/ruff_source_file/src/newlines.rs:226
Functionfunction_parse_error
(src: &str)
crates/sith_python_parser/src/parser/tests/function.rs:40
Functiongenerate_inline_tests
()
crates/sith_python_parser/tests/generate_inline_tests.rs:24
Methodget
(&self, id: SymbolId)
crates/sith_semantic_model/src/symbol.rs:26
Functionget_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
Functionget_current_thread_qos_class
()
crates/sith_server/src/server/schedule/thread/priority.rs:46
Functionget_db
()
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/dependencies.py:17
Functionget_item
(db: Session, id: int)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:84
Functionget_item_by_title
(db: Session, title: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:80
Functionget_items
(db: Session, skip: int = 0, limit: int = 100)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:66
Methodget_mut
(&mut self, id: SymbolId)
crates/sith_semantic_model/src/symbol.rs:30
Methodget_mut
(&mut self, index: DeclId)
crates/sith_semantic_model/src/declaration.rs:43
Methodget_mut
(&mut self, index: I)
crates/ruff_index/src/slice.rs:99
Functionget_password_hash
(password: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/security.py:23
Functionget_test_file
(name: &str)
crates/sith_benchmark/benches/semantic_table_builder.rs:32
Functionget_tokens_only
(source: &str)
crates/sith_python_parser/src/lexer.rs:2181
Functionget_user
(db: Session, user_id: int)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:9
Functionget_user_by_email
(db: Session, email: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:13
Functionget_user_by_name
(db: Session, name: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:17
Functionget_users
(db: Session, skip: int = 0, limit: int = 100)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/db/crud.py:21
Methodglobal
Resolves global settings only.
crates/sith_server/src/session/settings.rs:194
Methodglobal_mut
(&mut self)
crates/sith_semantic_model/src/scope.rs:132
Functiongoto_class_attribute_definition
()
crates/sith_server/src/server/api/tests/goto_definition.rs:117
Functiongoto_definition_across_files
()
crates/sith_server/src/server/api/tests/goto_definition.rs:94
Functiongoto_definition_builtin_typeshed
()
crates/sith_server/src/server/api/tests/goto_definition.rs:77
Functiongoto_definition_same_file
()
crates/sith_server/src/server/api/tests/goto_definition.rs:58
Functiongoto_module_attribute_definition
()
crates/sith_server/src/server/api/tests/goto_definition.rs:143
Methodhas_progressed
(self, p: &Parser)
crates/sith_python_parser/src/parser/progress.rs:22
Methodhas_symbols
(&self)
crates/sith_semantic_model/src/scope.rs:99
Methodhash
(&self, state: &mut H)
crates/sith_python_ast/src/name.rs:650
Methodhash
(&self, state: &mut H)
crates/sith_python_ast/src/nodes.rs:1680
Methodhash
(&self, state: &mut H)
crates/sith_python_ast/src/float.rs:108
Methodhide
()
editors/vscode/src/utils/logger.ts:106
Methodimmediate
Creates a local task that immediately responds with the provided `request`.
crates/sith_server/src/server/schedule/task.rs:80
Functionimport_file_sub_under_containing_folder
()
crates/ruff_python_resolver/src/lib.rs:599
Functionimport_side_by_side_file_root
()
crates/ruff_python_resolver/src/lib.rs:535
Functionimport_side_by_side_file_sub_folder
()
crates/ruff_python_resolver/src/lib.rs:554
Functionimport_side_by_side_file_sub_under_lib_folder
()
crates/ruff_python_resolver/src/lib.rs:618
Functionimport_side_by_side_file_sub_under_src_folder
()
crates/ruff_python_resolver/src/lib.rs:574
Methodin_parenthesized_context
Returns `true` if the iterator is within a parenthesized context.
crates/sith_python_parser/src/lib.rs:524
Methodincludes
Returns `true` if a parameter with the given name included in this [`Parameters`].
crates/sith_python_ast/src/nodes.rs:3226
Functionindentation_try_compare
()
crates/sith_python_parser/src/lexer/indentation.rs:148
Functionindentation_with_eol
(eol: &str)
crates/sith_python_parser/src/lexer.rs:2024
Methodindex
(&self, index: DeclId)
crates/sith_semantic_model/src/declaration.rs:55
Methodindex
(&self, index: NodeId)
crates/sith_python_ast_utils/src/nodes.rs:63
Methodindex
(&self, index: TextRange)
crates/ruff_text_size/src/range.rs:429
Methodindex_content
( source: &str, file_id: FileId, filepath: &Path, resolver_config: ImportResol
crates/sith_semantic_model/src/indexer.rs:361
Methodindex_mut
(&mut self, index: DeclId)
crates/sith_semantic_model/src/declaration.rs:61
Methodindex_mut
(&mut self, index: TextRange)
crates/ruff_text_size/src/range.rs:444
Methodindex_mut
(&mut self, index: I)
crates/ruff_index/src/slice.rs:136
Methodindices
( &self, )
crates/ruff_index/src/slice.rs:65
Functioninline_err
()
crates/sith_python_parser/tests/fixtures.rs:31
Functioninline_ok
()
crates/sith_python_parser/tests/fixtures.rs:26
Functioninline_values
()
crates/lsp-types/src/inline_value.rs:191
Methodinner
(errors: &mut Vec<ParseError>, error: ParseErrorType, range: TextRange)
crates/sith_python_parser/src/parser/mod.rs:408
Methodinsert
( &mut self, file_id: FileId, kind: DeclarationKind, node_id: NodeId,
crates/sith_semantic_model/src/declaration.rs:23
Functioninsert_first_line
()
crates/sith_server/src/edit/replacement.rs:148
Functioninsert_middle_line
()
crates/sith_server/src/edit/replacement.rs:166
Functioninsert_multiple_lines
()
crates/sith_server/src/edit/replacement.rs:184
Methodint
(db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:150
Functionintersect
()
crates/ruff_text_size/tests/main.rs:43
Methodintersect
(self, other: TextRange)
crates/ruff_text_size/src/range.rs:222
Methodinto_any_node
(self)
crates/sith_python_ast/src/node.rs:748
Methodinto_expr
Consumes the [`Parsed`] output and returns the contained [`Expr`].
crates/sith_python_parser/src/lib.rs:355
Methodinto_iter
(self)
crates/ruff_index/src/slice.rs:146
Methodinto_iter
(self)
crates/ruff_python_resolver/src/implicit_imports.rs:195
Methodinto_signature_info
(self)
crates/sith_server/src/server/api/requests/signature_help.rs:393
Methodinvalid
()
crates/sith_python_utils/src/lib.rs:255
Methodinvalid
Creates an invalid string literal with the given range.
crates/sith_python_ast/src/nodes.rs:1635
Functioninvalid_range_deserialization
()
crates/ruff_text_size/tests/serde.rs:64
Functioninvalid_relative_import_side_by_side_file_root
()
crates/ruff_python_resolver/src/lib.rs:790
Functioninvalid_syntax
()
crates/sith_python_parser/tests/fixtures.rs:21
Functionipython_escape_command_line_continuation_eol
(eol: &str)
crates/sith_python_parser/src/lexer.rs:1808
Functionipython_escape_command_line_continuation_with_eol_and_eof
(eol: &str)
crates/sith_python_parser/src/lexer.rs:1828
Methodis_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
Methodis_any_newline
(self)
crates/sith_python_parser/src/token.rs:285
Methodis_any_string
Returns `true` if this is any kind of string token.
crates/sith_python_parser/src/token.rs:57
Methodis_arithmetic
(self)
crates/sith_python_parser/src/token.rs:400
Methodis_at_start_of_line
Returns `true` if `offset` is at the start of a line.
crates/ruff_source_file/src/locator.rs:97
Methodis_bitwise_or_shift
(self)
crates/sith_python_parser/src/token.rs:414
Methodis_cyclically_defined_recursive
( db: &SymbolTableDb, class: ClassType, classes_to_watch: &mut IndexSet<Cl
crates/sith_semantic_model/src/type_inference.rs:311
Methodis_empty
(self)
crates/ruff_text_size/src/range.rs:140
Methodis_except_handler
(&self)
crates/sith_python_ast/src/node.rs:619
Methodis_expression
(&self)
crates/sith_python_ast/src/node.rs:607
← previousnext →1,601–1,700 of 2,449, ranked by callers