Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ functions
Functions
31,562 in github.com/astral-sh/ruff
⨍
Functions
31,562
◇
Types & classes
7,116
↳
Endpoints
82
Method
as_if_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1821
Method
as_if_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:761
Method
as_import_from_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1020
Method
as_import_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:983
Method
as_interpolated_string_element_ref
(self)
crates/ruff_python_ast/src/generated.rs:6228
Method
as_interpolation_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2962
Method
as_ipy_escape_command_expr
(&self)
crates/ruff_python_ast/src/generated.rs:2828
Method
as_ipy_escape_command_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2820
Method
as_ipy_escape_command_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:1287
Method
as_ipy_escape_command_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1279
Method
as_keyword
(self)
crates/ruff_python_ast/src/nodes.rs:3710
Function
as_kwarg
Return `Some` if a key is a valid keyword argument name, or `None` otherwise.
crates/ruff_linter/src/rules/flake8_pie/rules/unnecessary_dict_kwargs.rs:211
Method
as_lambda_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1784
Method
as_link
(self)
scripts/conformance.py:193
Method
as_list_comp_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1932
Method
as_list_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2709
Method
as_literal_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2999
Method
as_manager
(cls)
crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/class_definition.py:217
Method
as_markdown
(&self)
crates/ruff_linter/src/source_kind.rs:50
Method
as_match_as
(&self)
crates/ruff_python_ast/src/generated.rs:3361
Method
as_match_as_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3353
Method
as_match_class
(&self)
crates/ruff_python_ast/src/generated.rs:3287
Method
as_match_class_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3279
Method
as_match_mapping
(&self)
crates/ruff_python_ast/src/generated.rs:3250
Method
as_match_mapping_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3242
Method
as_match_or
(&self)
crates/ruff_python_ast/src/generated.rs:3398
Method
as_match_or_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3390
Method
as_match_sequence
(&self)
crates/ruff_python_ast/src/generated.rs:3213
Method
as_match_sequence_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3205
Method
as_match_singleton
(&self)
crates/ruff_python_ast/src/generated.rs:3176
Method
as_match_singleton_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3168
Method
as_match_star
(&self)
crates/ruff_python_ast/src/generated.rs:3324
Method
as_match_star_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3316
Method
as_match_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:835
Method
as_match_value_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3131
Method
as_mod_ref
(self)
crates/ruff_python_ast/src/generated.rs:5947
Method
as_module_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:69
Method
as_name_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2672
Method
as_named_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1673
Method
as_none_literal_expr
(&self)
crates/ruff_python_ast/src/generated.rs:2495
Method
as_none_literal_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2487
Method
as_nonlocal_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:1102
Method
as_nonlocal_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1094
Method
as_number
(expr: &Expr)
crates/ruff_python_ast/src/comparable.rs:2246
Method
as_number_literal_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2413
Method
as_param_spec
(&self)
crates/ruff_python_ast/src/generated.rs:3559
Method
as_param_spec_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3551
Method
as_pass_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:1176
Method
as_pass_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1168
Method
as_pattern_ref
(self)
crates/ruff_python_ast/src/generated.rs:6273
Method
as_print_options
(&self)
crates/ruff_formatter/src/format_element/document.rs:246
Method
as_print_options
(&self)
crates/ruff_python_formatter/src/options.rs:248
Method
as_python
(&self)
crates/ruff_linter/src/source_kind.rs:42
Method
as_raise_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:880
Method
as_raise_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:872
Method
as_result
Returns the [`Parsed`] output as a [`Result`], returning [`Ok`] if it has no syntax errors, or [`Err`] containing the first [`ParseError`] encountered
crates/ruff_python_parser/src/lib.rs:472
Method
as_return_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:473
Method
as_return_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:465
Method
as_set_comp_expr
(&self)
crates/ruff_python_ast/src/generated.rs:1977
Method
as_set_comp_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1969
Method
as_set_expr
(&self)
crates/ruff_python_ast/src/generated.rs:1903
Method
as_set_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1895
Method
as_setting_str
(&self)
crates/ruff_formatter/src/printer/printer_options/mod.rs:147
Method
as_slice_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2783
Method
as_starred_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2635
Method
as_stmt_ref
(self)
crates/ruff_python_ast/src/generated.rs:6022
Method
as_str
(&self)
crates/ruff_formatter/src/source_code.rs:44
Method
as_string
()
python/ruff-ecosystem/ruff_ecosystem/projects.py:139
Method
as_string_literal
(self)
crates/ruff_python_ast/src/expression.rs:251
Method
as_string_literal_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2339
Method
as_subscript_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2598
Method
as_t_string_expr
(&self)
crates/ruff_python_ast/src/generated.rs:2310
Method
as_t_string_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2302
Method
as_try_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:909
Method
as_tuple
(self)
crates/ruff_python_ast/src/python_version.rs:79
Method
as_tuple
(&self)
crates/ruff_python_ast/src/token.rs:49
Method
as_tuple_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2746
Method
as_type
Returns the selected type, including a fallback when the budget was exceeded. Match the outcome directly when completeness or the reason no type was s
crates/ty_python_semantic/src/types/constraints.rs:3357
Method
as_type_alias_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:547
Method
as_type_alias_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:539
Method
as_type_param_ref
(self)
crates/ruff_python_ast/src/generated.rs:6310
Method
as_type_var_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3477
Method
as_type_var_tuple_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:3514
Method
as_unary_op_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:1747
Method
as_virtual
(&self)
crates/ty_server/src/system.rs:54
Method
as_while_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:732
Method
as_while_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:724
Method
as_with_stmt
(&self)
crates/ruff_python_ast/src/generated.rs:806
Method
as_with_stmt_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:798
Method
as_writable
(&self)
crates/ty_server/src/system.rs:280
Method
as_writable
(&self)
crates/ruff_db/src/system/test.rs:186
Method
as_writable
(&self)
crates/ruff_db/src/system/os.rs:195
Method
as_writable
(&self)
crates/ty_wasm/src/lib.rs:1703
Method
as_yield_expr
(&self)
crates/ruff_python_ast/src/generated.rs:2125
Method
as_yield_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2117
Method
as_yield_from_expr
(&self)
crates/ruff_python_ast/src/generated.rs:2162
Method
as_yield_from_expr_mut
(&mut self)
crates/ruff_python_ast/src/generated.rs:2154
Function
ascii_art
r""" Look at this beautiful tree. a / \ b c / \ d e
crates/ruff_python_formatter/resources/test/fixtures/ruff/docstring_tab_indentation.py:61
Function
ascii_carriage_return
()
crates/ruff_source_file/src/line_index.rs:766
Function
ascii_carriage_return_newline
()
crates/ruff_source_file/src/line_index.rs:795
← previous
next →
15,801–15,900 of 31,562, ranked by callers