MCPcopy Create free account

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

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

↓ 1 callersFunctionget_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 callersMethodget_import_result
( &self, source_file: &Path, import_name: &str, module_descriptor: &ImportModu
crates/ruff_python_resolver/src/cache.rs:54
↓ 1 callersFunctionget_python_platform
()
crates/sith_python_utils/src/lib.rs:33
↓ 1 callersFunctionget_python_search_paths
( interpreter_path: impl AsRef<Path>, )
crates/sith_python_utils/src/lib.rs:106
↓ 1 callersMethodget_python_search_paths
(&self)
crates/ruff_python_resolver/src/cache.rs:75
↓ 1 callersFunctionget_python_version
(interpreter_path: impl AsRef<Path>)
crates/sith_python_utils/src/lib.rs:72
↓ 1 callersFunctionget_system_root_path
(mut base_path: &Path)
crates/sith_python_utils/src/interpreter.rs:296
↓ 1 callersMethodget_typeshed_path
(&self)
crates/ruff_python_resolver/src/cache.rs:83
↓ 1 callersMethodget_typeshed_stdlib_path
(&self)
crates/ruff_python_resolver/src/cache.rs:91
↓ 1 callersMethodget_typeshed_stubs_path
(&self)
crates/ruff_python_resolver/src/cache.rs:99
↓ 1 callersMethodget_typeshed_third_party_package_paths
( &self, )
crates/ruff_python_resolver/src/cache.rs:107
↓ 1 callersMethodglobal
()
crates/sith_semantic_model/src/scope.rs:14
↓ 1 callersFunctiongoto_definition
( snapshot: DocumentSnapshot, params: types::GotoDefinitionParams, )
crates/sith_server/src/server/api/requests/goto_definition.rs:42
↓ 1 callersMethodhandle_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 callersMethodhandle_indentation
(&mut self, indentation: Indentation)
crates/sith_python_parser/src/lexer.rs:274
↓ 1 callersMethodhandle_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 callersMethodhas
Returns `true` if the module is present in the namespace package.
crates/ruff_python_resolver/src/implicit_imports.rs:152
↓ 1 callersMethodhash
(&self, state: &mut H)
crates/sith_server/src/server/api/requests/completion.rs:173
↓ 1 callersFunctionhover
TODO: show variable type when hovering
crates/sith_server/src/server/api/requests/hover.rs:49
↓ 1 callersMethodidentifier
Returns the identifier of the command.
crates/sith_server/src/server.rs:438
↓ 1 callersMethodincoming
An iterator over incoming messages from the client.
crates/sith_server/src/server/connection.rs:81
↓ 1 callersMethodincrement
Increments the value of the token ID.
crates/sith_python_parser/src/parser/progress.rs:8
↓ 1 callersMethodindent
(&mut self, indent: Indentation)
crates/sith_python_parser/src/lexer/indentation.rs:93
↓ 1 callersMethodindex
(mut self)
crates/sith_semantic_model/src/indexer.rs:381
↓ 1 callersMethodindex
(&self)
crates/ruff_source_file/src/lib.rs:183
↓ 1 callersMethodinfer_bin_op
( &mut self, left: &Expr, op: &Operator, right: &Expr, nodes: &Nodes,
crates/sith_semantic_model/src/type_inference.rs:1233
↓ 1 callersMethodinfer_in_scope
(&mut self, path: Arc<PathBuf>, scope_id: ScopeId, func: F)
crates/sith_semantic_model/src/type_inference.rs:716
↓ 1 callersFunctioninfer_literal_expr_type
(db: &SymbolTableDb, literal: &AnyNodeRef)
crates/sith_semantic_model/src/type_inference.rs:620
↓ 1 callersMethodinfer_pattern_match_as_type
( &mut self, node: &NodeWithParent, nodes: &Nodes, )
crates/sith_semantic_model/src/type_inference.rs:1156
↓ 1 callersFunctioninit_messenger
(client_sender: ClientSender)
crates/sith_server/src/message.rs:9
↓ 1 callersFunctioninit_tracing
( sender: ClientSender, log_level: LogLevel, log_file: Option<&std::path::Path>, client: Optio
crates/sith_server/src/trace.rs:84
↓ 1 callersMethodinitialize_finish
Finishes the initialization process with the client, returning an initialized `Connection`.
crates/sith_server/src/server/connection.rs:43
↓ 1 callersMethodinitialize_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 callersMethodinsert
(&mut self, symbol: Symbol)
crates/sith_semantic_model/src/symbol.rs:23
↓ 1 callersMethodinto_syntax
Consumes the [`Parsed`] output and returns the contained syntax node.
crates/sith_python_parser/src/lib.rs:258
↓ 1 callersMethodis_after_equal
(self)
crates/sith_python_parser/src/lexer.rs:1553
↓ 1 callersMethodis_after_newline
(self)
crates/sith_python_parser/src/lexer.rs:1545
↓ 1 callersFunctionis_ascii_identifier_start
(c: char)
crates/sith_python_parser/src/lexer.rs:1590
↓ 1 callersMethodis_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 callersMethodis_class_field
(&self)
crates/sith_semantic_model/src/symbol.rs:80
↓ 1 callersFunctionis_class_or_function_deprecated
(node: &AnyNodeRef)
crates/sith_python_ast_utils/src/lib.rs:185
↓ 1 callersFunctionis_collection_typing
(expr: &Expr)
crates/sith_semantic_model/src/type_inference.rs:1458
↓ 1 callersFunctionis_complex_number
Returns `true` if the given expression is a complex number literal.
crates/sith_python_parser/src/parser/pattern.rs:743
↓ 1 callersMethodis_constructor
(&self)
crates/sith_semantic_model/src/symbol.rs:76
↓ 1 callersMethodis_cyclically_defined
(&self, db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:310
↓ 1 callersMethodis_elif
(self)
crates/sith_python_parser/src/parser/statement.rs:3576
↓ 1 callersMethodis_empty
(&self)
crates/sith_python_ast/src/nodes.rs:862
↓ 1 callersFunctionis_executable
Checks if a file is executable
crates/sith_python_utils/src/interpreter.rs:322
↓ 1 callersMethodis_f_string
Returns `true` if the token is an f-string.
crates/sith_python_parser/src/token.rs:743
↓ 1 callersMethodis_format_enabled
(&self)
crates/sith_server/src/session/settings.rs:274
↓ 1 callersFunctionis_function_overloaded
(node: &AnyNodeRef)
crates/sith_python_ast_utils/src/lib.rs:204
↓ 1 callersMethodis_help
Returns `true` if the escape kind is help i.e., `?` or `??`.
crates/sith_python_ast/src/nodes.rs:3726
↓ 1 callersMethodis_identifier
(&self)
crates/sith_python_parser/src/token.rs:324
↓ 1 callersFunctionis_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 callersMethodis_imported_module
(&self, symbol_name: &str)
crates/sith_semantic_model/src/declaration.rs:224
↓ 1 callersMethodis_instance_parameter
(&self)
crates/sith_semantic_model/src/declaration.rs:192
↓ 1 callersMethodis_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 callersMethodis_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 callersMethodis_magic
Returns `true` if the escape kind is magic i.e., `%` or `%%`.
crates/sith_python_ast/src/nodes.rs:3731
↓ 1 callersMethodis_method
(&self)
crates/sith_semantic_model/src/declaration.rs:200
↓ 1 callersMethodis_module
(&self)
crates/sith_semantic_model/src/symbol.rs:84
↓ 1 callersFunctionis_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 callersFunctionis_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 callersMethodis_neovim
(self)
crates/sith_server/src/session.rs:52
↓ 1 callersMethodis_no
(self)
crates/sith_python_parser/src/parser/pattern.rs:720
↓ 1 callersFunctionis_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 callersMethodis_object
(&self)
crates/sith_semantic_model/src/type_inference.rs:246
↓ 1 callersFunctionis_overload_annotation
(node: &Expr)
crates/sith_python_ast_utils/src/lib.rs:213
↓ 1 callersMethodis_parenthesized
Returns `true` if the with items are parenthesized.
crates/sith_python_parser/src/parser/mod.rs:758
↓ 1 callersFunctionis_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 callersMethodis_private
(&self)
crates/sith_semantic_model/src/symbol.rs:68
↓ 1 callersFunctionis_python_dir_module
(name: &str, path: &Path)
crates/sith_python_utils/src/lib.rs:195
↓ 1 callersFunctionis_quote
(c: char)
crates/sith_python_parser/src/lexer.rs:1586
↓ 1 callersFunctionis_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 callersMethodis_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 callersMethodis_singleton
(self)
crates/sith_python_parser/src/token.rs:389
↓ 1 callersMethodis_starred_expression_allowed
Returns `true` if starred expressions are allowed.
crates/sith_python_parser/src/parser/expression.rs:2545
↓ 1 callersMethodis_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 callersMethodis_triple_quoted_fstring
Returns `true` if the token is a triple-quoted f-string.
crates/sith_python_parser/src/token.rs:748
↓ 1 callersFunctionis_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 callersMethodis_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 callersMethodis_valid
(&self)
crates/sith_python_ast/src/nodes.rs:3772
↓ 1 callersMethodis_yield_expression_allowed
Returns `true` if yield expressions are allowed.
crates/sith_python_parser/src/parser/expression.rs:2551
↓ 1 callersMethoditer
(&self)
crates/sith_semantic_model/src/declaration.rs:47
↓ 1 callersMethodkind_iter
(self)
crates/sith_python_parser/src/parser/mod.rs:1415
↓ 1 callersMethodlabel
(self)
crates/sith_server/src/server.rs:429
↓ 1 callersMethodlast
(mut self)
crates/ruff_source_file/src/newlines.rs:113
↓ 1 callersMethodlen
(self)
crates/ruff_text_size/src/range.rs:131
↓ 1 callersMethodlex_comment
Lex a single comment.
crates/sith_python_parser/src/lexer.rs:1179
↓ 1 callersMethodlex_fstring_middle_or_end
Lex a f-string middle or end token.
crates/sith_python_parser/src/lexer.rs:750
↓ 1 callersMethodlex_fstring_start
Lex a f-string start token.
crates/sith_python_parser/src/lexer.rs:731
↓ 1 callersFunctionlex_invalid
(source: &str, mode: Mode)
crates/sith_python_parser/src/lexer.rs:1765
↓ 1 callersMethodlex_number
Numeric lexing. The feast can start!
crates/sith_python_parser/src/lexer.rs:1002
↓ 1 callersMethodlex_token
(&mut self)
crates/sith_python_parser/src/lexer.rs:158
↓ 1 callersMethodlib_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 callersMethodline_count
(&self)
crates/ruff_source_file/src/lib.rs:89
↓ 1 callersMethodline_end
(&self, line: OneIndexed)
crates/ruff_source_file/src/lib.rs:67
↓ 1 callersMethodline_ending
(&self)
crates/ruff_source_file/src/newlines.rs:238
↓ 1 callersMethodline_index
(&self)
crates/ruff_source_file/src/locator.rs:44
↓ 1 callersMethodline_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
← previousnext →801–900 of 2,449, ranked by callers