MCPcopy Create free account
hub / github.com/astral-sh/ruff / as_subscript_expr

Method as_subscript_expr

crates/ruff_python_ast/src/generated.rs:2606–2611  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2604
2605 #[inline]
2606 pub fn as_subscript_expr(&self) -> Option<&crate::ExprSubscript> {
2607 match self {
2608 Self::Subscript(val) => Some(val),
2609 _ => None,
2610 }
2611 }
2612
2613 #[inline]
2614 pub const fn is_starred_expr(&self) -> bool {

Callers 15

match_full_sliceFunction · 0.80
affix_removal_data_exprFunction · 0.80
affix_removal_data_stmtFunction · 0.80
itemgetter_op_tupleFunction · 0.80
custom_typevarMethod · 0.80
unnecessary_type_unionFunction · 0.80
match_mutationFunction · 0.80
from_parameterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected