MCPcopy Create free account

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

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

↓ 1 callersMethodpayload
(self)
crates/sith_server/src/server/api/requests/completion.rs:98
↓ 1 callersMethodpop_response_task
(&mut self, response: lsp_server::Response)
crates/sith_server/src/server/client.rs:158
↓ 1 callersFunctionposition_context
( db: &SymbolTableDb, path: &Arc<PathBuf>, scope_id: ScopeId, tokens: &Tokens, nodes: &'no
crates/sith_server/src/server/api/requests/completion.rs:236
↓ 1 callersMethodprecedence
Returns the [`OperatorPrecedence`] for the given operator token or [None] if the token isn't an operator token.
crates/sith_python_parser/src/parser/expression.rs:2408
↓ 1 callersMethodprefix
(self)
crates/sith_python_parser/src/token.rs:712
↓ 1 callersFunctionprepare_rename
( snapshot: &DocumentSnapshot, params: types::TextDocumentPositionParams, )
crates/sith_server/src/server/api/requests/prepare_rename.rs:30
↓ 1 callersFunctionprint_help
()
crates/sith_lsp/src/main.rs:37
↓ 1 callersMethodpush_declaration_id
(&mut self, decl_id: DeclId)
crates/sith_semantic_model/src/symbol.rs:104
↓ 1 callersMethodpush_source
Add the [`ImportSource`] to the indexer, creating the corresponding [`FileId`] for the stub or non-stub path. If [`ImportSource`] has both stub and no
crates/sith_semantic_model/src/indexer.rs:83
↓ 1 callersMethodpython_platform
(&self)
crates/ruff_python_resolver/src/host.rs:41
↓ 1 callersMethodpython_search_paths
(&self)
crates/sith_semantic_model/src/indexer.rs:596
↓ 1 callersMethodpython_search_paths
(&self)
crates/ruff_python_resolver/src/host.rs:33
↓ 1 callersFunctionquick_fix
( snapshot: &DocumentSnapshot, fixes: Vec<DiagnosticFix>, )
crates/sith_server/src/server/api/requests/code_action.rs:55
↓ 1 callersFunctionreferences
( snapshot: &DocumentSnapshot, params: types::ReferenceParams, )
crates/sith_server/src/server/api/requests/references.rs:53
↓ 1 callersMethodremove_flag
(&mut self, flag: TypeInferFlags)
crates/sith_semantic_model/src/type_inference.rs:673
↓ 1 callersFunctionrename
( snapshot: &DocumentSnapshot, params: &types::RenameParams, )
crates/sith_server/src/server/api/requests/rename.rs:37
↓ 1 callersFunctionrequest
(req: server::Request)
crates/sith_server/src/server/api.rs:30
↓ 1 callersFunctionresolve_import_strict
Resolve an absolute or relative import.
crates/ruff_python_resolver/src/resolver.rs:637
↓ 1 callersMethodresolve_inner_collection_type
(&mut self, expr: &Expr, nodes: &Nodes)
crates/sith_semantic_model/src/type_inference.rs:1008
↓ 1 callersFunctionresolve_relative_import
Resolve a relative import.
crates/ruff_python_resolver/src/resolver.rs:597
↓ 1 callersFunctionresolve_relative_path
(path: impl AsRef<Path>)
crates/sith_semantic_model/src/type_inference.rs:1493
↓ 1 callersMethodresponse
Creates a task to handle a response from the client.
crates/sith_server/src/server/schedule.rs:72
↓ 1 callersMethodreversed_scopes
(&self)
crates/sith_semantic_model/src/scope.rs:148
↓ 1 callersMethodrun
(self)
crates/sith_server/src/server.rs:137
↓ 1 callersFunctionrun_ruff_fix
( ruff_path: impl AsRef<OsStr>, filename: &'a str, content: &str, extra_args: I, )
crates/sith_server/src/util/ruff.rs:141
↓ 1 callersFunctionrun_ruff_format
( ruff_path: impl AsRef<OsStr>, filename: &'a str, content: &str, extra_args: I, )
crates/sith_server/src/util/ruff.rs:121
↓ 1 callersFunctionrun_server
()
crates/sith_lsp/src/main.rs:24
↓ 1 callersFunctionsanitize_doc_string
(string: &str)
crates/sith_python_utils/src/nodes.rs:15
↓ 1 callersMethodscope
(&self, scope_id: ScopeId)
crates/sith_semantic_model/src/symbol_table.rs:51
↓ 1 callersMethodscopes
(&self, file: &PathBuf)
crates/sith_semantic_model/src/db.rs:117
↓ 1 callersMethodserialize
(&self, serializer: S)
crates/lsp-types/src/lib.rs:2537
↓ 1 callersFunctionset_current_thread_qos_class
(class: QoSClass)
crates/sith_server/src/server/schedule/thread/priority.rs:42
↓ 1 callersMethodset_flag
(&mut self, flag: TypeInferFlags)
crates/sith_semantic_model/src/type_inference.rs:664
↓ 1 callersMethodset_interpreter
(&mut self, interpreter: String)
crates/sith_server/src/session/settings.rs:178
↓ 1 callersFunctionsetup_db
(src: &str, root: &Path, path: &Path)
crates/sith_semantic_model/src/type_inference.rs:1512
↓ 1 callersFunctionshould_show_docs
(hover_pos: &HoverPosition)
crates/sith_server/src/server/api/requests/hover.rs:116
↓ 1 callersFunctionsignature_help
( snapshot: &DocumentSnapshot, params: types::SignatureHelpParams, )
crates/sith_server/src/server/api/requests/signature_help.rs:41
↓ 1 callersMethodsignature_str
TODO: show param types
crates/sith_server/src/server/api/requests/signature_help.rs:384
↓ 1 callersMethodskip_char
(&mut self)
crates/sith_python_parser/src/lexer.rs:1660
↓ 1 callersMethodskip_whitespace
(&mut self)
crates/sith_python_parser/src/lexer.rs:323
↓ 1 callersMethodslice
Take the source code between the given [`TextRange`].
crates/ruff_source_file/src/lib.rs:59
↓ 1 callersMethodsnapshot
(&self, url: &Url)
crates/sith_server/src/session/workspace.rs:313
↓ 1 callersMethodsort_text
(&self)
crates/sith_server/src/server/api/requests/completion.rs:231
↓ 1 callersMethodsource
(&self)
crates/sith_python_parser/src/error.rs:24
↓ 1 callersMethodspawn
(&self, priority: ThreadPriority, f: F)
crates/sith_server/src/server/schedule/thread/pool.rs:91
↓ 1 callersMethodstarred_expression_precedence
Returns the [`StarredExpressionPrecedence`] for the context, regardless of whether starred expressions are allowed or not.
crates/sith_python_parser/src/parser/expression.rs:2558
↓ 1 callersFunctionstartServer
( outputChannel: vscode.OutputChannel, traceOutputChannel: vscode.OutputChannel, )
editors/vscode/src/extension.ts:101
↓ 1 callersFunctionstdlib_typeshed_path
Determine the current `typeshed` subdirectory for the standard library.
crates/ruff_python_resolver/src/search.rs:336
↓ 1 callersFunctionstrip_temp_dir
(path: &Path)
crates/sith_server/src/server/api/tests/mod.rs:12
↓ 1 callersMethodstub_file_id
(&self, path: &PathBuf)
crates/sith_semantic_model/src/indexer.rs:140
↓ 1 callersMethodstub_path
(&self, file_id: &FileId)
crates/sith_semantic_model/src/indexer.rs:136
↓ 1 callersMethodsub
(self, offset: TextSize)
crates/ruff_text_size/src/range.rs:517
↓ 1 callersMethodsub_end
(&self, amount: TextSize)
crates/ruff_text_size/src/range.rs:401
↓ 1 callersMethodsub_start
(&self, amount: TextSize)
crates/ruff_text_size/src/range.rs:362
↓ 1 callersFunctionsupported_code_actions
If `action_filter` is `None`, this returns [`SupportedCodeActionKind::all()`]. Otherwise, the list is filtered.
crates/sith_server/src/server/api/requests/code_action.rs:143
↓ 1 callersMethodsymbol_table
(&self)
crates/sith_semantic_model/src/indexer.rs:169
↓ 1 callersMethodtables_iter
(&self)
crates/sith_semantic_model/src/indexer.rs:584
↓ 1 callersMethodtext_len
(self)
crates/ruff_text_size/src/traits.rs:19
↓ 1 callersMethodtext_len
(self)
crates/ruff_text_size/tests/constructors.rs:7
↓ 1 callersFunctionthird_party_typeshed_package_paths
Determine the current `typeshed` subdirectory for a third-party package.
crates/ruff_python_resolver/src/search.rs:323
↓ 1 callersMethodto_byte
(&self)
crates/sith_python_ast/src/nodes.rs:1137
↓ 1 callersMethodto_char
(&self)
crates/sith_python_ast/src/nodes.rs:1143
↓ 1 callersMethodto_kind
Safe conversion to the corresponding [`RecoveryContextKind`] (inverse of [`Self::from_kind`]). Returns `None` if the `RecoveryContext` is empty or ha
crates/sith_python_parser/src/parser/mod.rs:1345
↓ 1 callersMethodto_kind
Returns the LSP code action kind that map to this code action.
crates/sith_server/src/server.rs:396
↓ 1 callersMethodto_source_code
(&self)
crates/ruff_source_file/src/locator.rs:48
↓ 1 callersMethodtoken_len
Returns the length of the current token length. This is to be used after setting the start position of the token using [`Cursor::start_token`].
crates/sith_python_parser/src/lexer/cursor.rs:74
↓ 1 callersMethodtoken_start
(&self)
crates/sith_python_parser/src/lexer.rs:1456
↓ 1 callersMethodtoken_text
(&self)
crates/sith_python_parser/src/lexer.rs:1443
↓ 1 callersMethodtokens
Returns all the tokens for the parsed output.
crates/sith_python_parser/src/lib.rs:248
↓ 1 callersMethodtrace
(...messages: unknown[])
editors/vscode/src/utils/logger.ts:44
↓ 1 callersFunctiontrace_value
()
crates/sith_server/src/trace.rs:212
↓ 1 callersMethodtriple_quotes
Returns the triple quotes for the current f-string if it is a triple-quoted f-string, `None` otherwise.
crates/sith_python_parser/src/lexer/fstring.rs:49
↓ 1 callersMethodtry_double_char_prefix
Try lexing the double character string prefix, updating the token flags accordingly. Returns `true` if it matches.
crates/sith_python_parser/src/lexer.rs:711
↓ 1 callersMethodtry_parse_match_statement
Try parsing a `match` statement. This uses speculative parsing to remove the ambiguity of whether the `match` token is used as a keyword or an identi
crates/sith_python_parser/src/parser/statement.rs:2182
↓ 1 callersMethodtry_parse_parenthesized_with_items
Try parsing with-items coming after an ambiguous `(` token. To understand the ambiguity, consider the following example: ```python with (item1, item
crates/sith_python_parser/src/parser/statement.rs:1983
↓ 1 callersMethodtry_single_char_prefix
Try lexing the single character string prefix, updating the token flags accordingly. Returns `true` if it matches.
crates/sith_python_parser/src/lexer.rs:697
↓ 1 callersMethodtry_start_format_spec
Returns `true` if the context is in a valid position to start format spec i.e., at the same level of nesting as the opening parentheses token. Increme
crates/sith_python_parser/src/lexer/fstring.rs:93
↓ 1 callersFunctiontry_to_find_pyenv_dir
()
crates/sith_python_utils/src/interpreter.rs:96
↓ 1 callersFunctiontry_to_resolve_pipfile_python_venv
(project_root: &Path)
crates/sith_python_utils/src/interpreter.rs:254
↓ 1 callersFunctiontry_to_resolve_poetry_python_venv
(project_root: &Path)
crates/sith_python_utils/src/interpreter.rs:184
↓ 1 callersFunctiontry_to_resolve_python_path
Do a system-wide search for the Python executable. First, it checks in some common installation paths of Python. If the search in those paths fails,
crates/sith_python_utils/src/interpreter.rs:125
↓ 1 callersMethodunderline_whole_symbol
(mut self)
crates/sith_server/src/server/api/tests/mod.rs:37
↓ 1 callersMethodunion
(self, other: ResolvedType)
crates/sith_semantic_model/src/type_inference.rs:516
↓ 1 callersFunctionunzip_typeshed
(path: &Path)
crates/sith_vendored/src/lib.rs:15
↓ 1 callersMethodupdate_ast
(&mut self, document_url: &Url, content: Source)
crates/sith_server/src/session/workspace.rs:209
↓ 1 callersMethodupdate_document
(&mut self, url: &Url, content: Source)
crates/sith_server/src/session.rs:118
↓ 1 callersMethodupdate_version
(&mut self, new_version: DocumentVersion)
crates/sith_server/src/edit/document.rs:101
↓ 1 callersMethodvalidate_annotated_assignment_target
Validate that the given expression is a valid annotated assignment target. Unlike [`Parser::validate_assignment_target`], starred, list and tuple exp
crates/sith_python_parser/src/parser/statement.rs:3250
↓ 1 callersMethodvalidate_arguments
Validate that the given arguments doesn't have any duplicate keyword argument. Report errors for all the duplicate names found.
crates/sith_python_parser/src/parser/expression.rs:2277
↓ 1 callersMethodvalidate_delete_target
Validate that the given expression is a valid delete target. If the expression is a list or tuple, then validate each element in the list. See: <htt
crates/sith_python_parser/src/parser/statement.rs:3274
↓ 1 callersMethodvalidate_parameters
Validate that the given parameters doesn't have any duplicate names. Report errors for all the duplicate names found.
crates/sith_python_parser/src/parser/statement.rs:3289
↓ 1 callersMethodvalue
(&self)
crates/sith_python_ast/src/nodes.rs:793
↓ 1 callersFunctionverify_password
(plain_password: str, hashed_password: str)
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/security.py:19
↓ 1 callersMethodvisit_alias
(&mut self, alias: &'b ast::Alias)
crates/sith_python_ast_utils/src/nodes.rs:183
↓ 1 callersMethodvisit_bool_op
(&self, bool_op: &mut BoolOp)
crates/sith_python_ast/src/visitor/transformer.rs:25
↓ 1 callersMethodvisit_bytes_literal
(&self, bytes_literal: &mut BytesLiteral)
crates/sith_python_ast/src/visitor/transformer.rs:94
↓ 1 callersMethodvisit_cmp_op
(&self, cmp_op: &mut CmpOp)
crates/sith_python_ast/src/visitor/transformer.rs:34
↓ 1 callersMethodvisit_elif_else_clause
(&mut self, elif_else_clause: &'a ElifElseClause)
crates/sith_python_ast/src/visitor.rs:96
↓ 1 callersMethodvisit_elif_else_clause
(&mut self, elif_else_clause: &'a ElifElseClause)
crates/sith_python_ast/src/statement_visitor.rs:16
↓ 1 callersMethodvisit_except_handler
(&mut self, except_handler: &'a ExceptHandler)
crates/sith_python_ast/src/statement_visitor.rs:13
← previousnext →1,001–1,100 of 2,449, ranked by callers