MCPcopy Create free account

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

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

↓ 4 callersMethoddeclaration
(&self, decl_id: DeclId)
crates/sith_semantic_model/src/symbol_table.rs:59
↓ 4 callersMethoderrors
Returns a list of syntax errors found during parsing.
crates/sith_python_parser/src/lib.rs:253
↓ 4 callersFunctionfoo
(*args)
crates/sith_python_parser/resources/valid/statement/function.py:125
↓ 4 callersFunctiongetGlobalValue
(config: WorkspaceConfiguration, key: string, defaultValue: T)
editors/vscode/src/utils/settings.ts:83
↓ 4 callersFunctionget_python_path_in_venv
Given a path to a `.venv` directory returns the path to the python executable. In Linux the path to the python executable is a symlink, therefore, we
crates/sith_python_utils/src/interpreter.rs:308
↓ 4 callersMethodimport_resolver_config
(&self)
crates/sith_semantic_model/src/indexer.rs:314
↓ 4 callersMethodinterpreter
(&self)
crates/sith_server/src/session/settings.rs:282
↓ 4 callersMethodinto_error
(self)
crates/sith_python_parser/src/error.rs:324
↓ 4 callersMethodis_eof
(self)
crates/sith_python_parser/src/token.rs:279
↓ 4 callersMethodis_import
(&self)
crates/sith_semantic_model/src/declaration.rs:180
↓ 4 callersMethodis_new_logical_line
(self)
crates/sith_python_parser/src/lexer.rs:1549
↓ 4 callersFunctionis_python_module
Checks if the symbol name correspond to the file path in the form `bar/__init__.py` or `foo/bar.py`.
crates/sith_python_utils/src/lib.rs:189
↓ 4 callersMethodis_raw_string
Returns `true` if the token is a raw string.
crates/sith_python_parser/src/token.rs:753
↓ 4 callersMethodis_unresolved
(&self)
crates/sith_semantic_model/src/declaration.rs:150
↓ 4 callersFunctionis_url_unnamed
Check if the [`Url`] is from a file that only exists in memory. When performing LSP operations on in-memory buffers: - Neovim sends the URI "file://
crates/sith_server/src/util.rs:20
↓ 4 callersMethodlen
(&self)
crates/ruff_source_file/src/newlines.rs:323
↓ 4 callersMethodlsp_position
(&self)
crates/sith_server/src/server/api/diagnostics.rs:33
↓ 4 callersMethodmake_mut
(&mut self)
crates/sith_server/src/session/workspace.rs:69
↓ 4 callersMethodnon_stub_path
(&self)
crates/sith_semantic_model/src/declaration.rs:146
↓ 4 callersMethodparse_function_definition
Parses a function definition. The given `start` offset is the start of either of the following: - `def` token - `async` token if it's an asynchronous
crates/sith_python_parser/src/parser/statement.rs:1713
↓ 4 callersMethodparse_generators
Parses a list of comprehension generators. These are the `for` and `async for` clauses in a comprehension, optionally followed by `if` clauses. See:
crates/sith_python_parser/src/parser/expression.rs:1868
↓ 4 callersMethodparse_match_pattern_lhs
Parses a pattern. See: <https://docs.python.org/3/reference/compound_stmts.html#grammar-token-python-grammar-closed_pattern>
crates/sith_python_parser/src/parser/pattern.rs:137
↓ 4 callersMethodparse_name
Parses a name. For an invalid name, the `id` field will be an empty string and the `ctx` field will be [`ContextExpr::Invalid`]. See: <https://docs.
crates/sith_python_parser/src/parser/expression.rs:451
↓ 4 callersMethodparse_simple_expression
Parses every Python expression except unparenthesized tuples, named expressions, and `if` expression. This is a combination of the `disjunction`, `st
crates/sith_python_parser/src/parser/expression.rs:227
↓ 4 callersFunctionpattern_to_expr
Convert the given [`Pattern`] to an [`Expr`]. This is used to convert an invalid use of pattern to their equivalent expression to preserve the struct
crates/sith_python_parser/src/parser/recovery.rs:28
↓ 4 callersMethodradix_run
Consume a sequence of numbers with the given radix, the digits can be decorated with underscores like this: '`1_2_3_4`' == '1234'
crates/sith_python_parser/src/lexer.rs:1162
↓ 4 callersFunctionregisterCommand
( command: string, callback: (...args: any[]) => any, thisArg?: any, )
editors/vscode/src/utils/vscodeapi.ts:4
↓ 4 callersFunctionresolve_python_interpreter
Attempts to find a Python interpreter by searching through various common locations and configuration files, in a prioritized order. This function pe
crates/sith_python_utils/src/interpreter.rs:26
↓ 4 callersMethodsegments
(&self)
crates/sith_python_ast/src/name.rs:216
↓ 4 callersFunctionsize
(x: u32)
crates/ruff_text_size/tests/serde.rs:7
↓ 4 callersMethodskip_bytes
(&mut self, bytes: usize)
crates/sith_python_parser/src/string.rs:67
↓ 4 callersMethodsource_text
(&self)
crates/ruff_source_file/src/lib.rs:191
↓ 4 callersMethodsum
(iter: I)
crates/ruff_text_size/src/size.rs:193
↓ 4 callersMethodsymbol_id
(&self, name: &str)
crates/sith_semantic_model/src/scope.rs:80
↓ 4 callersMethodtruncate
(&mut self, a: usize)
crates/ruff_index/src/vec.rs:47
↓ 4 callersMethodvalidate_assignment_target
Validate that the given expression is a valid assignment target. If the expression is a list or tuple, then validate each element in the list. If it'
crates/sith_python_parser/src/parser/statement.rs:3233
↓ 4 callersMethodvisit_alias
(&mut self, alias: &'a Alias)
crates/sith_python_ast/src/visitor.rs:69
↓ 4 callersMethodvisit_comprehension
(&self, comprehension: &mut Comprehension)
crates/sith_python_ast/src/visitor/transformer.rs:37
↓ 4 callersMethodvisit_f_string_element
(&mut self, f_string_element: &'a FStringElement)
crates/sith_python_ast/src/visitor.rs:102
↓ 4 callersMethodvisit_parameters
(&mut self, parameters: &'b ast::Parameters)
crates/sith_semantic_model/src/symbol_table.rs:863
↓ 4 callersMethodvisit_parameters
(&mut self, parameters: &'a Parameters)
crates/sith_python_ast/src/visitor.rs:60
↓ 4 callersMethodvisit_string_literal
(&mut self, string_literal: &'a StringLiteral)
crates/sith_python_ast/src/visitor.rs:105
↓ 4 callersFunctionwalk_expr
(visitor: &mut V, expr: &'a Expr)
crates/sith_python_ast/src/visitor.rs:334
↓ 4 callersFunctionwalk_pattern
(visitor: &mut V, pattern: &'a Pattern)
crates/sith_python_ast/src/visitor.rs:685
↓ 4 callersMethodwith_prefix
(mut self, prefix: ByteStringPrefix)
crates/sith_python_ast/src/nodes.rs:1902
↓ 4 callersMethodwith_triple_quotes
(mut self)
crates/sith_python_ast/src/nodes.rs:1896
↓ 4 callersMethodyes
(&self)
crates/sith_server/src/server/api/requests/references.rs:123
↓ 3 callersMethod_expand_colspan_rowspan
Given a list of <tr>s, return a list of text rows. Parameters ---------- rows : list of node-like List o
crates/sith_server/resources/test/fixtures/pandas_html.py:471
↓ 3 callersMethodadd_import_result
( &mut self, source_file: &Path, import_name: &str, execution_environment: &Ex
crates/ruff_python_resolver/src/cache.rs:36
↓ 3 callersMethodadd_or_update_file
(&mut self, filepath: PathBuf, source: Source)
crates/sith_semantic_model/src/indexer.rs:510
↓ 3 callersMethodany_file_id
(&self, path: &PathBuf)
crates/sith_semantic_model/src/indexer.rs:130
↓ 3 callersMethodany_path
(&self, file_id: &FileId)
crates/sith_semantic_model/src/indexer.rs:126
↓ 3 callersMethodas_mut_slice
Returns a mutable slice of all the [`FStringPart`]s contained in this value.
crates/sith_python_ast/src/nodes.rs:1216
↓ 3 callersMethodat_compound_stmt
Returns `true` if the current token is the start of a compound statement.
crates/sith_python_parser/src/parser/statement.rs:82
↓ 3 callersMethodbytes
Returns an iterator over the bytes of the concatenated bytes.
crates/sith_python_ast/src/nodes.rs:1791
↓ 3 callersMethodcapacity
(&self)
crates/sith_python_ast/src/name.rs:718
↓ 3 callersMethodclass_bases
(&self, db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:281
↓ 3 callersMethodclose
(&mut self, url: &Url)
crates/sith_server/src/session/workspace.rs:250
↓ 3 callersMethodcontains_file
(&self, path: &PathBuf)
crates/sith_semantic_model/src/indexer.rs:52
↓ 3 callersFunctionconvert_url_to_path
Converts the [`Url`] to a [`PathBuf`] while fixing the path if it's from an in-memory buffer. - For VSCode in-memory files this function appends a ".p
crates/sith_server/src/util.rs:31
↓ 3 callersMethodcurrent_flags
Returns the flags for the current token.
crates/sith_python_parser/src/lexer.rs:124
↓ 3 callersMethodcurrent_range
Returns the range of the current token.
crates/sith_python_parser/src/token_source.rs:46
↓ 3 callersFunctiondeserialize_fixture
(content: &str)
crates/sith_server/src/session/settings.rs:322
↓ 3 callersMethoddict
(db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:126
↓ 3 callersMethodend
(&self)
crates/ruff_source_file/src/newlines.rs:220
↓ 3 callersMethoderror
(self)
crates/sith_python_parser/src/error.rs:45
↓ 3 callersFunctionexecuteCommand
(lsClient: LanguageClient, command: string)
editors/vscode/src/utils/commands.ts:18
↓ 3 callersMethodfind
Find the "implicit" imports within the namespace package at the given path.
crates/ruff_python_resolver/src/implicit_imports.rs:19
↓ 3 callersMethodfind_references
(mut self, suite: &'a Suite)
crates/sith_server/src/server/api/requests/references.rs:369
↓ 3 callersMethodfinish
Consumes `self` and returns the [`SourceFile`].
crates/ruff_source_file/src/lib.rs:130
↓ 3 callersMethodflags
(&self)
crates/sith_python_parser/src/lexer/fstring.rs:30
↓ 3 callersMethodget
(&self, name: &str)
crates/ruff_python_resolver/src/implicit_imports.rs:171
↓ 3 callersFunctiongetConfiguration
( config: string, scope?: ConfigurationScope, )
editors/vscode/src/utils/settings.ts:46
↓ 3 callersFunctionget_completion_candidates_from_scope_and_parents
( db: &'a SymbolTableDb, path: &'a PathBuf, scope: &'a Scope, )
crates/sith_server/src/server/api/requests/completion.rs:551
↓ 3 callersFunctionget_python_doc
( interpreter_path: impl AsRef<Path>, search_term: &str, )
crates/sith_python_utils/src/lib.rs:42
↓ 3 callersMethodindexer_mut
(&mut self)
crates/sith_semantic_model/src/db.rs:37
↓ 3 callersMethodinfer_in_file
(&mut self, new_path: Arc<PathBuf>, f: F)
crates/sith_semantic_model/src/type_inference.rs:691
↓ 3 callersMethodinfer_node
(&mut self, node: &NodeWithParent, nodes: &Nodes)
crates/sith_semantic_model/src/type_inference.rs:735
↓ 3 callersMethodinto_iter
(self)
crates/ruff_index/src/vec.rs:128
↓ 3 callersMethodinto_result
Consumes the [`Parsed`] output and returns a [`Result`] which is [`Ok`] if it has no syntax errors, or [`Err`] containing the first [`ParseError`] enc
crates/sith_python_parser/src/lib.rs:284
↓ 3 callersMethodis_empty
(&self)
crates/ruff_index/src/slice.rs:54
↓ 3 callersMethodis_indexed
(&self, path: &PathBuf)
crates/sith_semantic_model/src/indexer.rs:654
↓ 3 callersMethodis_zero
(&self)
crates/sith_python_ast/src/float.rs:57
↓ 3 callersMethoditer_non_variadic_params
Returns an iterator over all non-variadic parameters included in this [`Parameters`] node. The variadic parameters (`.vararg` and `.kwarg`) can never
crates/sith_python_ast/src/nodes.rs:3184
↓ 3 callersMethodkind
(&self)
crates/ruff_source_file/src/line_index.rs:63
↓ 3 callersMethodkind
(declaration: &Declaration, symbol: &Symbol)
crates/sith_server/src/server/api/requests/document_symbol.rs:169
↓ 3 callersMethodlex_decimal_number
Lex a normal number, that is, no octal, hex or binary number.
crates/sith_python_parser/src/lexer.rs:1047
↓ 3 callersMethodlex_number_radix
Lex a hex/octal/decimal/binary number without a decimal point.
crates/sith_python_parser/src/lexer.rs:1019
↓ 3 callersFunctionlex_valid
(source: &str, mode: Mode, start_offset: TextSize)
crates/sith_python_parser/src/lexer.rs:1750
↓ 3 callersMethodline_range
(&self, line: OneIndexed)
crates/ruff_source_file/src/lib.rs:71
↓ 3 callersMethodmake_ref
(&self)
crates/sith_server/src/session/workspace.rs:63
↓ 3 callersMethodmake_sender
Make a new `ClientSender` for sending messages to the client.
crates/sith_server/src/server/connection.rs:74
↓ 3 callersFunctionmask
(kind: TokenKind)
crates/sith_python_parser/src/token_set.rs:33
↓ 3 callersMethodmodify_with_manual_index
A private function for overriding how we update the line index by default.
crates/sith_server/src/edit/document.rs:116
↓ 3 callersMethodnext_char
(&mut self)
crates/sith_python_parser/src/string.rs:99
↓ 3 callersMethodnext_non_trivia_token
Returns the next non-trivia token without adding it to the token vector.
crates/sith_python_parser/src/token_source.rs:140
↓ 3 callersMethodno
(&self)
crates/sith_server/src/server/api/requests/references.rs:127
↓ 3 callersMethodor
(&self)
crates/sith_python_ast/src/nodes.rs:2207
↓ 3 callersMethodparse_escaped_char
Parse an escaped character, returning the new character.
crates/sith_python_parser/src/string.rs:194
↓ 3 callersMethodparse_expression_with_bitwise_or_precedence
Parses an expression with a minimum precedence of bitwise `or`. This methods actually parses the expression using the `expression` rule of the [Pytho
crates/sith_python_parser/src/parser/expression.rs:417
← previousnext →301–400 of 2,449, ranked by callers