MCPcopy Create free account

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

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

Methodis_f_string
Does the string have an `f` or `F` prefix?
crates/sith_python_ast/src/nodes.rs:4500
Methodis_implicit_concatenated
Returns `true` if the f-string is implicitly concatenated, `false` otherwise.
crates/sith_python_ast/src/nodes.rs:1203
Methodis_literal_expr
Returns `true` if the expression is a literal expression. A literal expression is either a string literal, bytes literal, integer, float, complex num
crates/sith_python_ast/src/nodes.rs:636
Methodis_module
(&self)
crates/sith_python_ast/src/node.rs:611
Methodis_node_with_body
(self)
crates/sith_python_ast/src/node.rs:5957
Methodis_non_soft_keyword
(self)
crates/sith_python_parser/src/token.rs:318
Methodis_operator
(self)
crates/sith_python_parser/src/token.rs:329
Methodis_parameter
(&self)
crates/sith_semantic_model/src/declaration.rs:196
Methodis_pattern
(&self)
crates/sith_python_ast/src/node.rs:615
Functionis_python_whitespace
Returns `true` for [whitespace](https://docs.python.org/3/reference/lexical_analysis.html#whitespace-between-tokens) characters.
crates/sith_python_parser/src/lexer.rs:1619
Methodis_raw
Return true if this prefix indicates a "raw f-string", e.g. `rf"{bar}"` or `Rf"{bar}"`
crates/sith_python_ast/src/str_prefix.rs:67
Methodis_raw_string
Returns `true` if the current f-string is a raw f-string.
crates/sith_python_parser/src/lexer/fstring.rs:62
Methodis_raw_string
Does the string have an `r` or `R` prefix?
crates/sith_python_ast/src/nodes.rs:4493
Methodis_spilled
(&self)
crates/sith_python_ast/src/name.rs:558
Methodis_statement
(&self)
crates/sith_python_ast/src/node.rs:603
Methodis_thirdparty
(mut self, value: bool)
crates/sith_python_ast_utils/src/nodes.rs:81
Methodis_triple_quoted_string
Returns `true` if the current token is a triple-quoted string of any kind. # Panics If it isn't a string or any f-string tokens.
crates/sith_python_parser/src/token.rs:51
Methodis_u_string
Does the string have a `u` or `U` prefix?
crates/sith_python_ast/src/nodes.rs:4488
Methodis_unary_arithmetic_operator
(self)
crates/sith_python_parser/src/token.rs:433
Methodis_variadic
(self)
crates/sith_python_ast/src/nodes.rs:3132
Methoditer_enumerated
( &self, )
crates/ruff_index/src/slice.rs:72
Methoditer_keys
Returns an `Iterator` over the AST nodes representing the dictionary's keys.
crates/sith_python_ast/src/nodes.rs:823
Methoditer_values
Returns an `Iterator` over the AST nodes representing the dictionary's values.
crates/sith_python_ast/src/nodes.rs:829
Methoditer_with_context
Returns an iterator over all the tokens that provides context.
crates/sith_python_parser/src/lib.rs:373
Methodkey
(&self)
crates/sith_python_ast/src/nodes.rs:789
Functionkeyword
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:11
Methodkeyword
(keyword: impl AsRef<str>)
crates/sith_server/src/server/api/requests/completion.rs:215
Functionkeyword_only_parameters
(*, a, b, c)
crates/sith_python_parser/resources/valid/statement/function.py:25
Functionkeyword_only_parameters_with_defaults
(*, a, b=20, c=30)
crates/sith_python_parser/resources/valid/statement/function.py:29
Methodkeywords
Return an iterator over the metaclass keywords of the class.
crates/sith_python_ast/src/nodes.rs:219
Methodkind
(&self)
crates/sith_semantic_model/src/scope.rs:115
Functionkw_only_args_with_defaults_and_kwargs
(*, a, b=20, c=30, **kwargs)
crates/sith_python_parser/resources/valid/statement/function.py:37
Functionkw_only_args_with_defaults_and_varargs
(*args, a, b=20, c=30)
crates/sith_python_parser/resources/valid/statement/function.py:33
Functionkw_only_args_with_defaults_and_varargs_and_kwargs
(*args, a, b=20, c=30, **kwargs)
crates/sith_python_parser/resources/valid/statement/function.py:41
Functionlanguage_string
()
crates/lsp-types/src/lib.rs:2828
Methodlast_child_in_body
The last child of the last branch, if the node has multiple branches.
crates/sith_python_ast/src/node.rs:6082
Methodlast_index
(&self)
crates/ruff_index/src/slice.rs:84
Methodleave_node
(&mut self, node: AnyNodeRef<'ast>)
crates/sith_python_parser/tests/fixtures.rs:322
Functionlex_fstring_error
(source: &str)
crates/sith_python_parser/src/lexer.rs:2423
Functionlex_source_with_offset
(source: &str, start_offset: TextSize)
crates/sith_python_parser/src/lexer.rs:1780
Methodline
Returns the text of the `offset`'s line. Excludes the newline characters at the end of the line. ## Examples ``` # use ruff_text_size::{Ranged, Tex
crates/ruff_source_file/src/locator.rs:245
Methodline_count
Return the number of lines in the source code.
crates/ruff_source_file/src/line_index.rs:127
Methodline_end
Returns the [byte offset](TextSize) of the `line`'s end. The offset is the end of the line, up to and including the newline character ending the line
crates/ruff_source_file/src/line_index.rs:180
Methodline_index
Returns the row number for a given offset. ## Examples ``` # use ruff_text_size::TextSize; # use ruff_source_file::{LineIndex, OneIndexed, SourceLoc
crates/ruff_source_file/src/line_index.rs:154
Methodlist
(db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:122
Methodliterals
Returns an iterator over the [`StringLiteral`] parts contained in this value. Note that this doesn't nest into the f-string parts. For example, ```p
crates/sith_python_ast/src/nodes.rs:1243
Methodlocal
Creates a new local task.
crates/sith_server/src/server/schedule/task.rs:71
Functionlocal_notification_task
( notif: server::Notification, )
crates/sith_server/src/server/api.rs:152
Functionlocal_request_task
( req: server::Request, )
crates/sith_server/src/server/api.rs:125
Functionlocal_variable_reference
()
crates/sith_server/src/server/api/tests/references.rs:113
Functionlogin_access_token
(db: Session = Depends(get_db), form_data: OAuth2PasswordRequestForm = Depends())
crates/sith_semantic_model/resources/tests/fixtures/small_project/tim/api/routes/login.py:13
Methodlookup_symbol
(&self, name: &str, scope_id: ScopeId)
crates/sith_semantic_model/src/indexer.rs:181
Functionmain
()
crates/sith_vendored/build.rs:58
Functionmain
()
crates/sith_lsp/src/main.rs:5
Functionmain
()
crates/ruff_text_size/tests/indexing.rs:4
Functionmain
()
crates/ruff_text_size/tests/constructors.rs:13
Methodmake_writer
(&'a self)
crates/sith_server/src/trace.rs:79
Functionmarked_string
()
crates/lsp-types/src/lib.rs:2818
Functionmath
()
crates/ruff_text_size/tests/main.rs:22
Methodmax_level_hint
(&self)
crates/sith_server/src/trace.rs:196
Functionmax_value
()
crates/ruff_index/src/idx.rs:41
Functionmax_value_usize
()
crates/ruff_index/src/idx.rs:48
Methodmethod
()
crates/sith_python_parser/resources/valid/statement/class.py:15
Methodmethod_with_default
(self, arg='default')
crates/sith_python_parser/resources/valid/statement/class.py:23
Methodmodule
(self)
crates/sith_python_ast/src/node.rs:315
Methodmodule
()
crates/sith_server/src/server/api/requests/completion.rs:53
Functionmodule_attribute_reference
()
crates/sith_server/src/server/api/tests/references.rs:168
Functionmodule_file_extension
()
crates/ruff_python_resolver/src/native_module.rs:81
Functionmodule_name
()
crates/ruff_python_resolver/src/native_module.rs:58
Functionmultiple_commas
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:15
Functionmultiple_commas_and_recovery
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:19
Functionmultiple_statements
()
crates/sith_python_parser/resources/valid/statement/function.py:119
Functionmultiple_trailing_commas
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:17
Methodnan
()
crates/sith_python_ast/src/float.rs:28
Functionnested_namespace_package_1
()
crates/ruff_python_resolver/src/lib.rs:640
Functionnested_namespace_package_2
()
crates/ruff_python_resolver/src/lib.rs:675
Functionnested_namespace_package_3
()
crates/ruff_python_resolver/src/lib.rs:710
Functionnested_namespace_package_4
()
crates/ruff_python_resolver/src/lib.rs:739
Methodnesting
(&self)
crates/sith_python_parser/src/lexer/fstring.rs:34
Methodnew
(tag: &'static str)
crates/lsp-types/src/semantic_tokens.rs:45
Methodnew
(line: u32, character: u32)
crates/lsp-types/src/lib.rs:259
Methodnew
(tag: &'static str)
crates/lsp-types/src/code_action.rs:215
Methodnew
(interpreter: impl AsRef<Path>)
crates/sith_python_utils/src/lib.rs:245
Methodnew
()
crates/sith_semantic_model/src/symbol_table.rs:43
Methodnew
(root: PathBuf, python_host: PythonHost)
crates/sith_semantic_model/src/indexer.rs:243
Methodnew
(scope_id: ScopeId, declaration_ids: SymbolDeclarations)
crates/sith_semantic_model/src/symbol.rs:56
Methodnew
(root: PathBuf, python_host: PythonHost)
crates/sith_semantic_model/src/db.rs:24
Methodnew
(db: &'db SymbolTableDb, scope_id: ScopeId, path: Arc<PathBuf>)
crates/sith_semantic_model/src/type_inference.rs:655
Methodnew
( kind: ScopeKind, parent: Option<ScopeId>, symbols: FxHashMap<CompactString, SymbolId
crates/sith_semantic_model/src/scope.rs:42
Methodnew
(contents: &'a str)
crates/ruff_source_file/src/locator.rs:18
Methodnew
(content: &'src str, index: &'index LineIndex)
crates/ruff_source_file/src/lib.rs:28
Methodnew
Creates a non-zero if the given value is not zero.
crates/ruff_source_file/src/line_index.rs:289
Methodnew
(text: &'a str, offset: TextSize)
crates/ruff_source_file/src/newlines.rs:203
Methodnew
Create a new lexer for the given input source which starts at the given offset. If the start offset is greater than 0, the cursor is moved ahead that
crates/sith_python_parser/src/lexer.rs:81
Methodnew
(tokens: Vec<Token>)
crates/sith_python_parser/src/lib.rs:368
Methodnew
(source: Box<str>, flags: AnyStringFlags, offset: TextSize, range: TextRange)
crates/sith_python_parser/src/string.rs:56
Methodnew
Creates a new `LexicalError` with the given error type and location.
crates/sith_python_parser/src/error.rs:316
Methodnew
(kinds: [TokenKind; N])
crates/sith_python_parser/src/token_set.rs:8
Methodnew
Create a new token source for the given lexer.
crates/sith_python_parser/src/token_source.rs:22
Methodnew
(kind: TokenKind, range: TextRange, flags: TokenFlags)
crates/sith_python_parser/src/token.rs:30
← previousnext →1,701–1,800 of 2,449, ranked by callers