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
↓ 1 callers
Function
get_docs_for_non_stub
( db: &SymbolTableDb, file_id: FileId, node_id: NodeId, identifier: &str, )
crates/sith_server/src/server/api/requests/hover.rs:153
↓ 1 callers
Method
get_import_result
( &self, source_file: &Path, import_name: &str, module_descriptor: &ImportModu
crates/ruff_python_resolver/src/cache.rs:54
↓ 1 callers
Function
get_python_platform
()
crates/sith_python_utils/src/lib.rs:33
↓ 1 callers
Function
get_python_search_paths
( interpreter_path: impl AsRef<Path>, )
crates/sith_python_utils/src/lib.rs:106
↓ 1 callers
Method
get_python_search_paths
(&self)
crates/ruff_python_resolver/src/cache.rs:75
↓ 1 callers
Function
get_python_version
(interpreter_path: impl AsRef<Path>)
crates/sith_python_utils/src/lib.rs:72
↓ 1 callers
Function
get_system_root_path
(mut base_path: &Path)
crates/sith_python_utils/src/interpreter.rs:296
↓ 1 callers
Method
get_typeshed_path
(&self)
crates/ruff_python_resolver/src/cache.rs:83
↓ 1 callers
Method
get_typeshed_stdlib_path
(&self)
crates/ruff_python_resolver/src/cache.rs:91
↓ 1 callers
Method
get_typeshed_stubs_path
(&self)
crates/ruff_python_resolver/src/cache.rs:99
↓ 1 callers
Method
get_typeshed_third_party_package_paths
( &self, )
crates/ruff_python_resolver/src/cache.rs:107
↓ 1 callers
Method
global
()
crates/sith_semantic_model/src/scope.rs:14
↓ 1 callers
Function
goto_definition
( snapshot: DocumentSnapshot, params: types::GotoDefinitionParams, )
crates/sith_server/src/server/api/requests/goto_definition.rs:42
↓ 1 callers
Method
handle_implicitly_concatenated_strings
Handles implicitly concatenated strings. # Panics If the length of `strings` is less than 2.
crates/sith_python_parser/src/parser/expression.rs:1132
↓ 1 callers
Method
handle_indentation
(&mut self, indentation: Indentation)
crates/sith_python_parser/src/lexer.rs:274
↓ 1 callers
Method
handle_shutdown
Check and respond to any incoming shutdown requests; returns`true` if the server should be shutdown.
crates/sith_server/src/server/connection.rs:86
↓ 1 callers
Method
has
Returns `true` if the module is present in the namespace package.
crates/ruff_python_resolver/src/implicit_imports.rs:152
↓ 1 callers
Method
hash
(&self, state: &mut H)
crates/sith_server/src/server/api/requests/completion.rs:173
↓ 1 callers
Function
hover
TODO: show variable type when hovering
crates/sith_server/src/server/api/requests/hover.rs:49
↓ 1 callers
Method
identifier
Returns the identifier of the command.
crates/sith_server/src/server.rs:438
↓ 1 callers
Method
incoming
An iterator over incoming messages from the client.
crates/sith_server/src/server/connection.rs:81
↓ 1 callers
Method
increment
Increments the value of the token ID.
crates/sith_python_parser/src/parser/progress.rs:8
↓ 1 callers
Method
indent
(&mut self, indent: Indentation)
crates/sith_python_parser/src/lexer/indentation.rs:93
↓ 1 callers
Method
index
(mut self)
crates/sith_semantic_model/src/indexer.rs:381
↓ 1 callers
Method
index
(&self)
crates/ruff_source_file/src/lib.rs:183
↓ 1 callers
Method
infer_bin_op
( &mut self, left: &Expr, op: &Operator, right: &Expr, nodes: &Nodes,
crates/sith_semantic_model/src/type_inference.rs:1233
↓ 1 callers
Method
infer_in_scope
(&mut self, path: Arc<PathBuf>, scope_id: ScopeId, func: F)
crates/sith_semantic_model/src/type_inference.rs:716
↓ 1 callers
Function
infer_literal_expr_type
(db: &SymbolTableDb, literal: &AnyNodeRef)
crates/sith_semantic_model/src/type_inference.rs:620
↓ 1 callers
Method
infer_pattern_match_as_type
( &mut self, node: &NodeWithParent, nodes: &Nodes, )
crates/sith_semantic_model/src/type_inference.rs:1156
↓ 1 callers
Function
init_messenger
(client_sender: ClientSender)
crates/sith_server/src/message.rs:9
↓ 1 callers
Function
init_tracing
( sender: ClientSender, log_level: LogLevel, log_file: Option<&std::path::Path>, client: Optio
crates/sith_server/src/trace.rs:84
↓ 1 callers
Method
initialize_finish
Finishes the initialization process with the client, returning an initialized `Connection`.
crates/sith_server/src/server/connection.rs:43
↓ 1 callers
Method
initialize_start
Starts the initialization process with the client by listening for an initialization request. Returns a request ID that should be passed into `initial
crates/sith_server/src/server/connection.rs:34
↓ 1 callers
Method
insert
(&mut self, symbol: Symbol)
crates/sith_semantic_model/src/symbol.rs:23
↓ 1 callers
Method
into_syntax
Consumes the [`Parsed`] output and returns the contained syntax node.
crates/sith_python_parser/src/lib.rs:258
↓ 1 callers
Method
is_after_equal
(self)
crates/sith_python_parser/src/lexer.rs:1553
↓ 1 callers
Method
is_after_newline
(self)
crates/sith_python_parser/src/lexer.rs:1545
↓ 1 callers
Function
is_ascii_identifier_start
(c: char)
crates/sith_python_parser/src/lexer.rs:1590
↓ 1 callers
Method
is_builtin
If the first segment is empty, the `CallPath` represents a "builtin binding". A builtin binding is the binding that a symbol has if it was part of Py
crates/sith_python_ast/src/name.rs:228
↓ 1 callers
Method
is_class_field
(&self)
crates/sith_semantic_model/src/symbol.rs:80
↓ 1 callers
Function
is_class_or_function_deprecated
(node: &AnyNodeRef)
crates/sith_python_ast_utils/src/lib.rs:185
↓ 1 callers
Function
is_collection_typing
(expr: &Expr)
crates/sith_semantic_model/src/type_inference.rs:1458
↓ 1 callers
Function
is_complex_number
Returns `true` if the given expression is a complex number literal.
crates/sith_python_parser/src/parser/pattern.rs:743
↓ 1 callers
Method
is_constructor
(&self)
crates/sith_semantic_model/src/symbol.rs:76
↓ 1 callers
Method
is_cyclically_defined
(&self, db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:310
↓ 1 callers
Method
is_elif
(self)
crates/sith_python_parser/src/parser/statement.rs:3576
↓ 1 callers
Method
is_empty
(&self)
crates/sith_python_ast/src/nodes.rs:862
↓ 1 callers
Function
is_executable
Checks if a file is executable
crates/sith_python_utils/src/interpreter.rs:322
↓ 1 callers
Method
is_f_string
Returns `true` if the token is an f-string.
crates/sith_python_parser/src/token.rs:743
↓ 1 callers
Method
is_format_enabled
(&self)
crates/sith_server/src/session/settings.rs:274
↓ 1 callers
Function
is_function_overloaded
(node: &AnyNodeRef)
crates/sith_python_ast_utils/src/lib.rs:204
↓ 1 callers
Method
is_help
Returns `true` if the escape kind is help i.e., `?` or `??`.
crates/sith_python_ast/src/nodes.rs:3726
↓ 1 callers
Method
is_identifier
(&self)
crates/sith_python_parser/src/token.rs:324
↓ 1 callers
Function
is_identifier_continuation
Checks if the character c is a valid continuation character as described in <https://docs.python.org/3/reference/lexical_analysis.html#identifiers>.
crates/sith_python_parser/src/lexer.rs:1606
↓ 1 callers
Method
is_imported_module
(&self, symbol_name: &str)
crates/sith_semantic_model/src/declaration.rs:224
↓ 1 callers
Method
is_instance_parameter
(&self)
crates/sith_semantic_model/src/declaration.rs:192
↓ 1 callers
Method
is_list
Returns `true` if the parentheses are for a list pattern e.g., `case [a, b]: ...`.
crates/sith_python_parser/src/parser/mod.rs:700
↓ 1 callers
Method
is_list_terminator
Returns `true` if the parser is at a token that terminates the list as per the context. This token could either end the list or is only present for b
crates/sith_python_parser/src/parser/mod.rs:931
↓ 1 callers
Method
is_magic
Returns `true` if the escape kind is magic i.e., `%` or `%%`.
crates/sith_python_ast/src/nodes.rs:3731
↓ 1 callers
Method
is_method
(&self)
crates/sith_semantic_model/src/declaration.rs:200
↓ 1 callers
Method
is_module
(&self)
crates/sith_semantic_model/src/symbol.rs:84
↓ 1 callers
Function
is_native_module_file_extension
Returns `true` if the given file extension is that of a native module.
crates/ruff_python_resolver/src/native_module.rs:8
↓ 1 callers
Function
is_native_module_file_name
Returns `true` if the given file name is that of a native module with the given name.
crates/ruff_python_resolver/src/native_module.rs:27
↓ 1 callers
Method
is_neovim
(self)
crates/sith_server/src/session.rs:52
↓ 1 callers
Method
is_no
(self)
crates/sith_python_parser/src/parser/pattern.rs:720
↓ 1 callers
Function
is_node_valid_for_rename
Check if the thing that is being targeted for a rename is valid. If it is, return its TextRange.
crates/sith_server/src/server/api/requests/prepare_rename.rs:52
↓ 1 callers
Method
is_object
(&self)
crates/sith_semantic_model/src/type_inference.rs:246
↓ 1 callers
Function
is_overload_annotation
(node: &Expr)
crates/sith_python_ast_utils/src/lib.rs:213
↓ 1 callers
Method
is_parenthesized
Returns `true` if the with items are parenthesized.
crates/sith_python_parser/src/parser/mod.rs:758
↓ 1 callers
Function
is_path_dir
Checks if `path` looks like a directory path. Ex) - Unix: /foo/bar/ - Windows: C:\foo\bar\
crates/sith_semantic_model/src/util.rs:13
↓ 1 callers
Method
is_private
(&self)
crates/sith_semantic_model/src/symbol.rs:68
↓ 1 callers
Function
is_python_dir_module
(name: &str, path: &Path)
crates/sith_python_utils/src/lib.rs:195
↓ 1 callers
Function
is_quote
(c: char)
crates/sith_python_parser/src/lexer.rs:1586
↓ 1 callers
Function
is_real_number
Returns `true` if the given expression is a real number literal or a unary addition or subtraction of a real number literal.
crates/sith_python_parser/src/parser/pattern.rs:727
↓ 1 callers
Method
is_right_associative
Returns `true` if the precedence is right-associative i.e., the operations are evaluated from right to left.
crates/sith_python_parser/src/parser/expression.rs:2381
↓ 1 callers
Method
is_singleton
(self)
crates/sith_python_parser/src/token.rs:389
↓ 1 callers
Method
is_starred_expression_allowed
Returns `true` if starred expressions are allowed.
crates/sith_python_parser/src/parser/expression.rs:2545
↓ 1 callers
Method
is_triple_quoted
Returns `true` if the current f-string is a triple-quoted f-string.
crates/sith_python_parser/src/lexer/fstring.rs:67
↓ 1 callers
Method
is_triple_quoted_fstring
Returns `true` if the token is a triple-quoted f-string.
crates/sith_python_parser/src/token.rs:748
↓ 1 callers
Function
is_unicode_identifier_start
Checks if the character c is a valid starting character as described in https://docs.python.org/3/reference/lexical_analysis.html#identifiers
crates/sith_python_parser/src/lexer.rs:1596
↓ 1 callers
Method
is_unresolved_import
If the call path is dot-prefixed, it's an unresolved relative import. Ex) `[".foo", "bar"]` -> `".foo.bar"`
crates/sith_python_ast/src/name.rs:234
↓ 1 callers
Method
is_valid
(&self)
crates/sith_python_ast/src/nodes.rs:3772
↓ 1 callers
Method
is_yield_expression_allowed
Returns `true` if yield expressions are allowed.
crates/sith_python_parser/src/parser/expression.rs:2551
↓ 1 callers
Method
iter
(&self)
crates/sith_semantic_model/src/declaration.rs:47
↓ 1 callers
Method
kind_iter
(self)
crates/sith_python_parser/src/parser/mod.rs:1415
↓ 1 callers
Method
label
(self)
crates/sith_server/src/server.rs:429
↓ 1 callers
Method
last
(mut self)
crates/ruff_source_file/src/newlines.rs:113
↓ 1 callers
Method
len
(self)
crates/ruff_text_size/src/range.rs:131
↓ 1 callers
Method
lex_comment
Lex a single comment.
crates/sith_python_parser/src/lexer.rs:1179
↓ 1 callers
Method
lex_fstring_middle_or_end
Lex a f-string middle or end token.
crates/sith_python_parser/src/lexer.rs:750
↓ 1 callers
Method
lex_fstring_start
Lex a f-string start token.
crates/sith_python_parser/src/lexer.rs:731
↓ 1 callers
Function
lex_invalid
(source: &str, mode: Mode)
crates/sith_python_parser/src/lexer.rs:1765
↓ 1 callers
Method
lex_number
Numeric lexing. The feast can start!
crates/sith_python_parser/src/lexer.rs:1002
↓ 1 callers
Method
lex_token
(&mut self)
crates/sith_python_parser/src/lexer.rs:158
↓ 1 callers
Method
lib_names
Returns the platform-specific library names. These are the candidate names for the top-level subdirectory within a virtual environment that contains t
crates/ruff_python_resolver/src/python_platform.rs:13
↓ 1 callers
Method
line_count
(&self)
crates/ruff_source_file/src/lib.rs:89
↓ 1 callers
Method
line_end
(&self, line: OneIndexed)
crates/ruff_source_file/src/lib.rs:67
↓ 1 callers
Method
line_ending
(&self)
crates/ruff_source_file/src/newlines.rs:238
↓ 1 callers
Method
line_index
(&self)
crates/ruff_source_file/src/locator.rs:44
↓ 1 callers
Method
line_range
Computes the range of this `offset`s line ending before the newline character. The range starts at the beginning of the line and goes up to, but excl
crates/ruff_source_file/src/locator.rs:199
← previous
next →
801–900 of 2,449, ranked by callers