Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LaBatata101/sith-language-server
/ functions
Functions
2,449 in github.com/LaBatata101/sith-language-server
⨍
Functions
2,449
◇
Types & classes
1,017
↳
Endpoints
14
Method
is_f_string
Does the string have an `f` or `F` prefix?
crates/sith_python_ast/src/nodes.rs:4500
Method
is_implicit_concatenated
Returns `true` if the f-string is implicitly concatenated, `false` otherwise.
crates/sith_python_ast/src/nodes.rs:1203
Method
is_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
Method
is_module
(&self)
crates/sith_python_ast/src/node.rs:611
Method
is_node_with_body
(self)
crates/sith_python_ast/src/node.rs:5957
Method
is_non_soft_keyword
(self)
crates/sith_python_parser/src/token.rs:318
Method
is_operator
(self)
crates/sith_python_parser/src/token.rs:329
Method
is_parameter
(&self)
crates/sith_semantic_model/src/declaration.rs:196
Method
is_pattern
(&self)
crates/sith_python_ast/src/node.rs:615
Function
is_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
Method
is_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
Method
is_raw_string
Returns `true` if the current f-string is a raw f-string.
crates/sith_python_parser/src/lexer/fstring.rs:62
Method
is_raw_string
Does the string have an `r` or `R` prefix?
crates/sith_python_ast/src/nodes.rs:4493
Method
is_spilled
(&self)
crates/sith_python_ast/src/name.rs:558
Method
is_statement
(&self)
crates/sith_python_ast/src/node.rs:603
Method
is_thirdparty
(mut self, value: bool)
crates/sith_python_ast_utils/src/nodes.rs:81
Method
is_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
Method
is_u_string
Does the string have a `u` or `U` prefix?
crates/sith_python_ast/src/nodes.rs:4488
Method
is_unary_arithmetic_operator
(self)
crates/sith_python_parser/src/token.rs:433
Method
is_variadic
(self)
crates/sith_python_ast/src/nodes.rs:3132
Method
iter_enumerated
( &self, )
crates/ruff_index/src/slice.rs:72
Method
iter_keys
Returns an `Iterator` over the AST nodes representing the dictionary's keys.
crates/sith_python_ast/src/nodes.rs:823
Method
iter_values
Returns an `Iterator` over the AST nodes representing the dictionary's values.
crates/sith_python_ast/src/nodes.rs:829
Method
iter_with_context
Returns an iterator over all the tokens that provides context.
crates/sith_python_parser/src/lib.rs:373
Method
key
(&self)
crates/sith_python_ast/src/nodes.rs:789
Function
keyword
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:11
Method
keyword
(keyword: impl AsRef<str>)
crates/sith_server/src/server/api/requests/completion.rs:215
Function
keyword_only_parameters
(*, a, b, c)
crates/sith_python_parser/resources/valid/statement/function.py:25
Function
keyword_only_parameters_with_defaults
(*, a, b=20, c=30)
crates/sith_python_parser/resources/valid/statement/function.py:29
Method
keywords
Return an iterator over the metaclass keywords of the class.
crates/sith_python_ast/src/nodes.rs:219
Method
kind
(&self)
crates/sith_semantic_model/src/scope.rs:115
Function
kw_only_args_with_defaults_and_kwargs
(*, a, b=20, c=30, **kwargs)
crates/sith_python_parser/resources/valid/statement/function.py:37
Function
kw_only_args_with_defaults_and_varargs
(*args, a, b=20, c=30)
crates/sith_python_parser/resources/valid/statement/function.py:33
Function
kw_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
Function
language_string
()
crates/lsp-types/src/lib.rs:2828
Method
last_child_in_body
The last child of the last branch, if the node has multiple branches.
crates/sith_python_ast/src/node.rs:6082
Method
last_index
(&self)
crates/ruff_index/src/slice.rs:84
Method
leave_node
(&mut self, node: AnyNodeRef<'ast>)
crates/sith_python_parser/tests/fixtures.rs:322
Function
lex_fstring_error
(source: &str)
crates/sith_python_parser/src/lexer.rs:2423
Function
lex_source_with_offset
(source: &str, start_offset: TextSize)
crates/sith_python_parser/src/lexer.rs:1780
Method
line
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
Method
line_count
Return the number of lines in the source code.
crates/ruff_source_file/src/line_index.rs:127
Method
line_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
Method
line_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
Method
list
(db: &SymbolTableDb)
crates/sith_semantic_model/src/type_inference.rs:122
Method
literals
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
Method
local
Creates a new local task.
crates/sith_server/src/server/schedule/task.rs:71
Function
local_notification_task
( notif: server::Notification, )
crates/sith_server/src/server/api.rs:152
Function
local_request_task
( req: server::Request, )
crates/sith_server/src/server/api.rs:125
Function
local_variable_reference
()
crates/sith_server/src/server/api/tests/references.rs:113
Function
login_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
Method
lookup_symbol
(&self, name: &str, scope_id: ScopeId)
crates/sith_semantic_model/src/indexer.rs:181
Function
main
()
crates/sith_vendored/build.rs:58
Function
main
()
crates/sith_lsp/src/main.rs:5
Function
main
()
crates/ruff_text_size/tests/indexing.rs:4
Function
main
()
crates/ruff_text_size/tests/constructors.rs:13
Method
make_writer
(&'a self)
crates/sith_server/src/trace.rs:79
Function
marked_string
()
crates/lsp-types/src/lib.rs:2818
Function
math
()
crates/ruff_text_size/tests/main.rs:22
Method
max_level_hint
(&self)
crates/sith_server/src/trace.rs:196
Function
max_value
()
crates/ruff_index/src/idx.rs:41
Function
max_value_usize
()
crates/ruff_index/src/idx.rs:48
Method
method
()
crates/sith_python_parser/resources/valid/statement/class.py:15
Method
method_with_default
(self, arg='default')
crates/sith_python_parser/resources/valid/statement/class.py:23
Method
module
(self)
crates/sith_python_ast/src/node.rs:315
Method
module
()
crates/sith_server/src/server/api/requests/completion.rs:53
Function
module_attribute_reference
()
crates/sith_server/src/server/api/tests/references.rs:168
Function
module_file_extension
()
crates/ruff_python_resolver/src/native_module.rs:81
Function
module_name
()
crates/ruff_python_resolver/src/native_module.rs:58
Function
multiple_commas
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:15
Function
multiple_commas_and_recovery
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:19
Function
multiple_statements
()
crates/sith_python_parser/resources/valid/statement/function.py:119
Function
multiple_trailing_commas
()
crates/sith_python_parser/resources/invalid/statements/function_type_parameters.py:17
Method
nan
()
crates/sith_python_ast/src/float.rs:28
Function
nested_namespace_package_1
()
crates/ruff_python_resolver/src/lib.rs:640
Function
nested_namespace_package_2
()
crates/ruff_python_resolver/src/lib.rs:675
Function
nested_namespace_package_3
()
crates/ruff_python_resolver/src/lib.rs:710
Function
nested_namespace_package_4
()
crates/ruff_python_resolver/src/lib.rs:739
Method
nesting
(&self)
crates/sith_python_parser/src/lexer/fstring.rs:34
Method
new
(tag: &'static str)
crates/lsp-types/src/semantic_tokens.rs:45
Method
new
(line: u32, character: u32)
crates/lsp-types/src/lib.rs:259
Method
new
(tag: &'static str)
crates/lsp-types/src/code_action.rs:215
Method
new
(interpreter: impl AsRef<Path>)
crates/sith_python_utils/src/lib.rs:245
Method
new
()
crates/sith_semantic_model/src/symbol_table.rs:43
Method
new
(root: PathBuf, python_host: PythonHost)
crates/sith_semantic_model/src/indexer.rs:243
Method
new
(scope_id: ScopeId, declaration_ids: SymbolDeclarations)
crates/sith_semantic_model/src/symbol.rs:56
Method
new
(root: PathBuf, python_host: PythonHost)
crates/sith_semantic_model/src/db.rs:24
Method
new
(db: &'db SymbolTableDb, scope_id: ScopeId, path: Arc<PathBuf>)
crates/sith_semantic_model/src/type_inference.rs:655
Method
new
( kind: ScopeKind, parent: Option<ScopeId>, symbols: FxHashMap<CompactString, SymbolId
crates/sith_semantic_model/src/scope.rs:42
Method
new
(contents: &'a str)
crates/ruff_source_file/src/locator.rs:18
Method
new
(content: &'src str, index: &'index LineIndex)
crates/ruff_source_file/src/lib.rs:28
Method
new
Creates a non-zero if the given value is not zero.
crates/ruff_source_file/src/line_index.rs:289
Method
new
(text: &'a str, offset: TextSize)
crates/ruff_source_file/src/newlines.rs:203
Method
new
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
Method
new
(tokens: Vec<Token>)
crates/sith_python_parser/src/lib.rs:368
Method
new
(source: Box<str>, flags: AnyStringFlags, offset: TextSize, range: TextRange)
crates/sith_python_parser/src/string.rs:56
Method
new
Creates a new `LexicalError` with the given error type and location.
crates/sith_python_parser/src/error.rs:316
Method
new
(kinds: [TokenKind; N])
crates/sith_python_parser/src/token_set.rs:8
Method
new
Create a new token source for the given lexer.
crates/sith_python_parser/src/token_source.rs:22
Method
new
(kind: TokenKind, range: TextRange, flags: TokenFlags)
crates/sith_python_parser/src/token.rs:30
← previous
next →
1,701–1,800 of 2,449, ranked by callers