MCPcopy Create free account

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

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

↓ 2 callersFunctionthread_priority_to_qos_class
(priority: ThreadPriority)
crates/sith_server/src/server/schedule/thread/priority.rs:50
↓ 2 callersMethodto_index
(&self)
crates/ruff_source_file/src/locator.rs:39
↓ 2 callersMethodto_location
( &self, uri: types::Url, text: &str, index: &LineIndex, encoding: Pos
crates/sith_server/src/edit/convert.rs:105
↓ 2 callersMethodto_owned
(&self)
crates/ruff_index/src/slice.rs:164
↓ 2 callersMethodto_text_range
( &self, text: &str, index: &LineIndex, encoding: PositionEncoding, )
crates/sith_server/src/edit/convert.rs:33
↓ 2 callersFunctiontoken_kind_to_cmp_op
Converts a [`TokenKind`] array of size 2 to its correspondent [`CmpOp`].
crates/sith_python_parser/src/parser/helpers.rs:31
↓ 2 callersMethodtrace_level
(self)
crates/sith_server/src/trace.rs:162
↓ 2 callersMethodtry_into_expression
Attempts to convert the [`Parsed<Mod>`] into a [`Parsed<ModExpression>`]. This method checks if the `syntax` field of the output is a [`Mod::Expressi
crates/sith_python_parser/src/lib.rs:319
↓ 2 callersMethodtry_into_module
Attempts to convert the [`Parsed<Mod>`] into a [`Parsed<ModModule>`]. This method checks if the `syntax` field of the output is a [`Mod::Module`]. If
crates/sith_python_parser/src/lib.rs:301
↓ 2 callersFunctiontry_show_message
( message: String, message_type: lsp_types::MessageType, )
crates/sith_server/src/message.rs:19
↓ 2 callersFunctiontyped
Create a `py.typed` file at the given path.
crates/ruff_python_resolver/src/lib.rs:60
↓ 2 callersFunctiontypeshed_root
Determine the root of the `typeshed` directory.
crates/ruff_python_resolver/src/search.rs:195
↓ 2 callersFunctiontypeshed_subdirectory
Determine the current `typeshed` subdirectory.
crates/ruff_python_resolver/src/search.rs:235
↓ 2 callersFunctionutf8_column_offset
Converts a UTF-16 code unit offset for a given line into a UTF-8 column number.
crates/sith_server/src/edit/convert.rs:128
↓ 2 callersFunctionvalidate_ast
Verifies that: the range of the parent node fully encloses all its child nodes the ranges are strictly increasing when traversing the nodes in pre-ord
crates/sith_python_parser/tests/fixtures.rs:270
↓ 2 callersMethodvisit_alias
(&self, alias: &mut Alias)
crates/sith_python_ast/src/visitor/transformer.rs:55
↓ 2 callersMethodvisit_arguments
(&self, arguments: &mut Arguments)
crates/sith_python_ast/src/visitor/transformer.rs:43
↓ 2 callersMethodvisit_bytes_literal
(&mut self, bytes_literal: &'a BytesLiteral)
crates/sith_python_ast/src/visitor.rs:108
↓ 2 callersMethodvisit_cmp_op
(&mut self, cmp_op: &'a CmpOp)
crates/sith_python_ast/src/visitor.rs:48
↓ 2 callersMethodvisit_decorator
(&self, decorator: &mut Decorator)
crates/sith_python_ast/src/visitor/transformer.rs:16
↓ 2 callersMethodvisit_except_handler
(&mut self, except_handler: &'a ExceptHandler)
crates/sith_python_ast/src/visitor.rs:54
↓ 2 callersMethodvisit_expr
(&mut self, expr: &'a Expr)
crates/sith_python_ast/src/visitor/source_order.rs:38
↓ 2 callersMethodvisit_expr
(&mut self, expr: &'b ast::Expr)
crates/sith_server/src/server/api/requests/references.rs:469
↓ 2 callersMethodvisit_f_string
(&mut self, f_string: &'a FString)
crates/sith_python_ast/src/visitor.rs:99
↓ 2 callersMethodvisit_f_string_element
(&self, f_string_element: &mut FStringElement)
crates/sith_python_ast/src/visitor/transformer.rs:88
↓ 2 callersMethodvisit_keyword
(&mut self, keyword: &'a Keyword)
crates/sith_python_ast/src/visitor.rs:66
↓ 2 callersMethodvisit_match_case
(&mut self, match_case: &'a MatchCase)
crates/sith_python_ast/src/visitor.rs:81
↓ 2 callersMethodvisit_operator
(&self, operator: &mut Operator)
crates/sith_python_ast/src/visitor/transformer.rs:28
↓ 2 callersMethodvisit_parameter
(&mut self, parameter: &'b ast::Parameter)
crates/sith_semantic_model/src/symbol_table.rs:890
↓ 2 callersMethodvisit_parameter
(&mut self, parameter: &'b ast::Parameter)
crates/sith_python_ast_utils/src/nodes.rs:226
↓ 2 callersMethodvisit_parameter_with_default
(&mut self, parameter_with_default: &'a ParameterWithDefault)
crates/sith_python_ast/src/visitor/source_order.rs:95
↓ 2 callersMethodvisit_parameters
(&mut self, parameters: &'b ast::Parameters)
crates/sith_python_ast_utils/src/nodes.rs:207
↓ 2 callersMethodvisit_parameters
(&self, parameters: &mut Parameters)
crates/sith_python_ast/src/visitor/transformer.rs:46
↓ 2 callersMethodvisit_pattern
(&mut self, pattern: &'a Pattern)
crates/sith_python_ast/src/visitor/source_order.rs:130
↓ 2 callersMethodvisit_pattern_arguments
(&mut self, pattern_arguments: &'a PatternArguments)
crates/sith_python_ast/src/visitor.rs:87
↓ 2 callersMethodvisit_pattern_keyword
(&mut self, pattern_keyword: &'a PatternKeyword)
crates/sith_python_ast/src/visitor.rs:90
↓ 2 callersMethodvisit_string_literal
(&self, string_literal: &mut StringLiteral)
crates/sith_python_ast/src/visitor/transformer.rs:91
↓ 2 callersMethodvisit_type_param
(&mut self, type_param: &'a TypeParam)
crates/sith_python_ast/src/visitor.rs:78
↓ 2 callersMethodvisit_unary_op
(&mut self, unary_op: &'a UnaryOp)
crates/sith_python_ast/src/visitor.rs:45
↓ 2 callersMethodvisit_with_item
(&mut self, with_item: &'a WithItem)
crates/sith_python_ast/src/visitor.rs:72
↓ 2 callersFunctionwalk_elif_else_clause
( visitor: &mut V, elif_else_clause: &'a ElifElseClause, )
crates/sith_python_ast/src/visitor.rs:119
↓ 2 callersFunctionwalk_elif_else_clause
( visitor: &V, elif_else_clause: &mut ElifElseClause, )
crates/sith_python_ast/src/visitor/transformer.rs:105
↓ 2 callersFunctionwalk_module
(visitor: &mut V, module: &'a Mod)
crates/sith_python_ast/src/visitor/source_order.rs:175
↓ 2 callersMethodwith_in_excluded
Returns a new [`ExpressionContext`] which excludes `in` as part of a comparison expression.
crates/sith_python_parser/src/parser/expression.rs:2535
↓ 2 callersMethodwith_starred_expression_allowed
Returns a new [`ExpressionContext`] which allows starred expression with the given precedence.
crates/sith_python_parser/src/parser/expression.rs:2516
↓ 1 callersMethod__init__
( self, io: FilePath | ReadBuffer[str] | ReadBuffer[bytes], match: str | Pattern,
crates/sith_server/resources/test/fixtures/pandas_html.py:224
↓ 1 callersMethod_build_doc
Return a tree-like object that can be used to iterate over the DOM. Returns ------- node-like The DOM fr
crates/sith_server/resources/test/fixtures/pandas_html.py:415
↓ 1 callersFunction_build_xpath_expr
Build an xpath expression to simulate bs4's ability to pass in kwargs to search for attributes when using the lxml parser. Parameters
crates/sith_server/resources/test/fixtures/pandas_html.py:676
↓ 1 callersFunction_data_to_frame
(**kwargs)
crates/sith_server/resources/test/fixtures/pandas_html.py:852
↓ 1 callersMethod_equals_tag
Return whether an individual DOM node matches a tag Parameters ---------- obj : node-like A DOM node.
crates/sith_server/resources/test/fixtures/pandas_html.py:396
↓ 1 callersFunction_expand_elements
(body)
crates/sith_server/resources/test/fixtures/pandas_html.py:841
↓ 1 callersFunction_get_skiprows
Get an iterator given an integer, slice or container. Parameters ---------- skiprows : int, slice, container The iterator to
crates/sith_server/resources/test/fixtures/pandas_html.py:97
↓ 1 callersMethod_href_getter
Return a href if the DOM node contains a child <a> or None. Parameters ---------- obj : node-like A DOM
crates/sith_server/resources/test/fixtures/pandas_html.py:273
↓ 1 callersFunction_parse
( flavor, io, match, attrs, encoding, displayed_only, extract_links, storage_o
crates/sith_server/resources/test/fixtures/pandas_html.py:952
↓ 1 callersMethod_parse_tables
Return all tables from the parsed DOM. Parameters ---------- document : the DOM from which to parse the table elemen
crates/sith_server/resources/test/fixtures/pandas_html.py:370
↓ 1 callersMethod_parse_tbody_tr
Return the list of tbody row elements from the parsed table element. HTML5 table bodies consist of either 0 or more <tbody> elements
crates/sith_server/resources/test/fixtures/pandas_html.py:336
↓ 1 callersMethod_parse_tfoot_tr
Return the list of tfoot row elements from the parsed table element. Parameters ---------- table : a table element t
crates/sith_server/resources/test/fixtures/pandas_html.py:355
↓ 1 callersMethod_parse_thead_tbody_tfoot
Given a table, return parsed header, body, and foot. Parameters ---------- table_html : node-like Returns
crates/sith_server/resources/test/fixtures/pandas_html.py:426
↓ 1 callersMethod_parse_thead_tr
Return the list of thead row elements from the parsed table element. Parameters ---------- table : a table element t
crates/sith_server/resources/test/fixtures/pandas_html.py:321
↓ 1 callersFunction_parser_dispatch
Choose the parser based on the input flavor. Parameters ---------- flavor : {{"lxml", "html5lib", "bs4"}} or None The type o
crates/sith_server/resources/test/fixtures/pandas_html.py:884
↓ 1 callersFunction_read
Try to read from a url, file or string. Parameters ---------- obj : str, unicode, path object, or file-like object Returns
crates/sith_server/resources/test/fixtures/pandas_html.py:126
↓ 1 callersFunction_remove_whitespace
Replace extra whitespace inside of a string with a single space. Parameters ---------- s : str or unicode The string from wh
crates/sith_server/resources/test/fixtures/pandas_html.py:78
↓ 1 callersMethod_setup_build_doc
(self)
crates/sith_server/resources/test/fixtures/pandas_html.py:651
↓ 1 callersMethod_text_getter
Return the text of an individual DOM node. Parameters ---------- obj : node-like A DOM node. Re
crates/sith_server/resources/test/fixtures/pandas_html.py:289
↓ 1 callersFunction_validate_flavor
(flavor)
crates/sith_server/resources/test/fixtures/pandas_html.py:924
↓ 1 callersMethodadd_python_search_paths
(&mut self, search_paths: Vec<PathBuf>)
crates/ruff_python_resolver/src/cache.rs:71
↓ 1 callersMethodadd_space
(self)
crates/sith_python_parser/src/lexer/indentation.rs:51
↓ 1 callersMethodadd_symbol
(&mut self, name: &str, symbol_id: SymbolId)
crates/sith_semantic_model/src/scope.rs:103
↓ 1 callersMethodadd_tab
(self)
crates/sith_python_parser/src/lexer/indentation.rs:59
↓ 1 callersMethodadd_typshed_stdlib_path
(&mut self, typeshed_stdlib_path: PathBuf)
crates/ruff_python_resolver/src/cache.rs:95
↓ 1 callersMethodadd_typshed_stubs_path
(&mut self, typeshed_stubs_path: PathBuf)
crates/ruff_python_resolver/src/cache.rs:103
↓ 1 callersMethodadd_typshed_third_party_package_paths
( &mut self, packages: FxHashMap<String, Vec<PathBuf>>, )
crates/ruff_python_resolver/src/cache.rs:113
↓ 1 callersMethodallow_trailing_comma
Returns `true` if a trailing comma is allowed in the current context.
crates/sith_python_parser/src/parser/mod.rs:904
↓ 1 callersMethodancestors
(&self, scope_id: ScopeId)
crates/sith_semantic_model/src/scope.rs:156
↓ 1 callersFunctionapply_edit
( requester: &mut Requester, label: &str, edit: types::WorkspaceEdit, )
crates/sith_server/src/server/api/requests/execute_command.rs:95
↓ 1 callersMethodas_augmented_assign_operator
(self)
crates/sith_python_parser/src/token.rs:508
↓ 1 callersMethodas_binary_operator
Returns the binary [`Operator`] that corresponds to the current token, if it's a binary operator, otherwise return [None]. Use [`as_augmented_assign_
crates/sith_python_parser/src/token.rs:486
↓ 1 callersMethodas_bool_operator
(self)
crates/sith_python_parser/src/token.rs:472
↓ 1 callersMethodas_clause
(self)
crates/sith_python_parser/src/parser/statement.rs:3587
↓ 1 callersMethodas_i16
Return the [`Int`] as an i16, if it can be represented as that data type.
crates/sith_python_ast/src/int.rs:100
↓ 1 callersMethodas_i32
Return the [`Int`] as an i32, if it can be represented as that data type.
crates/sith_python_ast/src/int.rs:108
↓ 1 callersMethodas_i64
Return the [`Int`] as an i64, if it can be represented as that data type.
crates/sith_python_ast/src/int.rs:116
↓ 1 callersMethodas_i8
Return the [`Int`] as an i8, if it can be represented as that data type.
crates/sith_python_ast/src/int.rs:92
↓ 1 callersMethodas_mode
(&self)
crates/sith_python_parser/src/lib.rs:608
↓ 1 callersMethodas_mut_slice
(&mut self)
crates/ruff_index/src/vec.rs:57
↓ 1 callersMethodas_slice
(&self)
crates/ruff_index/src/vec.rs:52
↓ 1 callersMethodas_str
(&self)
crates/lsp-types/src/lib.rs:342
↓ 1 callersMethodas_token_kind
(self)
crates/sith_python_parser/src/parser/statement.rs:3580
↓ 1 callersMethodas_u16
Return the [`Int`] as an u16, if it can be represented as that data type.
crates/sith_python_ast/src/int.rs:76
↓ 1 callersMethodas_u32
(self)
crates/sith_python_parser/src/lexer.rs:1567
↓ 1 callersMethodas_u32
Return the [`Int`] as an u32, if it can be represented as that data type.
crates/sith_python_ast/src/int.rs:84
↓ 1 callersMethodas_unary_arithmetic_operator
(self)
crates/sith_python_parser/src/token.rs:444
↓ 1 callersMethodas_unary_operator
(self)
crates/sith_python_parser/src/token.rs:459
↓ 1 callersMethodassert_is_used_on_current_thread
(self)
crates/sith_server/src/server/schedule/thread/priority.rs:30
↓ 1 callersFunctionassert_no_ipython_escape_command
(tokens: &[TestToken])
crates/sith_python_parser/src/lexer.rs:1928
↓ 1 callersMethodast
Returns the AST for the `file_path`, if `file_path` was not indexed returns `None`.
crates/sith_semantic_model/src/indexer.rs:624
↓ 1 callersMethodat_mapping_pattern_start
Returns `true` if the current token is a valid start of a mapping pattern.
crates/sith_python_parser/src/parser/pattern.rs:59
↓ 1 callersMethodat_name_or_keyword
Returns `true` if the parser is at a name or keyword (including soft keyword) token.
crates/sith_python_parser/src/parser/expression.rs:111
↓ 1 callersMethodat_type_param
Checks if the parser is currently positioned at the start of a type parameter.
crates/sith_python_parser/src/parser/statement.rs:99
↓ 1 callersMethodborrow
(&self)
crates/sith_python_ast/src/name.rs:56
← previousnext →601–700 of 2,449, ranked by callers