ruff/parser/src/snapshots
konsti db04fd4157
Refactor if statement, introduce nodes for elif and else (#22)
The old if layout couldn't differentiate between an else block with a
single if statement and an elif statement. Additionally we getting rid
of the recursion in favor of a single if struct with a vec of elif/else
children. This is accompanied by a big refactoring in ruff which removes
a bunch of TODOs and false negatives.
2023-07-18 13:14:40 +02:00
..
rustpython_parser__context__tests__ann_assign_name.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_attribute.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_for.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_list.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_list_comp.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_name.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_named_expr.snap Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
rustpython_parser__context__tests__assign_set_comp.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_starred.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_subscript.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_tuple.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__assign_with.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__aug_assign_attribute.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__aug_assign_name.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__aug_assign_subscript.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__del_attribute.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__del_name.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__context__tests__del_subscript.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__function__tests__function_kw_only_args.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_kw_only_args_with_defaults.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_no_args.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_no_args_with_ranges.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_and_kw_only_args.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs_and_kwargs.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_args.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_args_with_defaults.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__function_pos_args_with_ranges.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__function__tests__lambda_kw_only_args.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__function__tests__lambda_kw_only_args_with_defaults.snap Fix ArgWithDefault TextRange (#13) 2023-06-20 18:21:09 +02:00
rustpython_parser__function__tests__lambda_no_args.snap New Arguments and Arg/ArgWithDefault AST representation (#59) 2023-06-01 01:15:23 +09:00
rustpython_parser__function__tests__lambda_pos_and_kw_only_args.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__function__tests__lambda_pos_args.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__function__tests__lambda_pos_args_with_defaults.snap Fix ArgWithDefault TextRange (#13) 2023-06-20 18:21:09 +02:00
rustpython_parser__parser__tests__decorator_ranges.snap Fix decorator ranges 2023-07-17 14:49:14 -05:00
rustpython_parser__parser__tests__dict_unpacking.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__generator_expression_argument.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__jupyter_magic.snap Fix Jupyter Magic test snapshot (#29) 2023-07-17 23:06:53 -05:00
rustpython_parser__parser__tests__match.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__match_as_identifier.snap Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
rustpython_parser__parser__tests__parse_bool_op_and.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_bool_op_or.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_class.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__parser__tests__parse_class_generic_types.snap Consolidate tests and add coverage for trailing comma 2023-07-17 14:49:14 -05:00
rustpython_parser__parser__tests__parse_dict_comprehension.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_double_list_comprehension.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_empty.snap Update cspell for compiler 2023-03-16 22:39:09 +09:00
rustpython_parser__parser__tests__parse_f_string.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__parser__tests__parse_function_definition.snap Parse type parameters in function definitions (#96) 2023-07-17 14:49:14 -05:00
rustpython_parser__parser__tests__parse_generator_comprehension.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_if_elif_else.snap Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
rustpython_parser__parser__tests__parse_if_else_generator_comprehension.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_kwargs.snap Fix range of keyword identifier (#14) 2023-06-22 10:00:25 +02:00
rustpython_parser__parser__tests__parse_lambda.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_list_comprehension.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_named_expression_generator_comprehension.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_print_2.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_print_hello.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_string.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__parser__tests__parse_tuples.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__parse_type_declaration.snap Add parsing of type alias statements i.e. the `type` keyword (#97) 2023-07-17 14:49:14 -05:00
rustpython_parser__parser__tests__patma.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__slice.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__star_index.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__try.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__try_star.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__parser__tests__type_as_identifier.snap Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
rustpython_parser__parser__tests__variadic_generics.snap Move `type_param` stubs into LALRPOP definition 2023-07-17 14:49:14 -05:00
rustpython_parser__parser__tests__with_statement.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__backspace_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__bell_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__carriage_return_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__character_tabulation_with_justification_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__delete_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__double_quoted_byte.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__escape_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__escape_char_in_byte_literal.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__escape_octet.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__form_feed_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__fstring_escaped_character.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__fstring_escaped_newline.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__fstring_line_continuation.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__fstring_parse_self_documenting_base.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__fstring_parse_self_documenting_base_more.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__fstring_parse_self_documenting_format.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__fstring_unescaped_newline.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__hts_alias.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_empty_fstring.snap Update cspell for compiler 2023-03-16 22:39:09 +09:00
rustpython_parser__string__tests__parse_f_string_concat_1.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_f_string_concat_2.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_f_string_concat_3.snap specialize ConversionFlag (#42) 2023-05-16 22:52:50 +09:00
rustpython_parser__string__tests__parse_fstring.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__parse_fstring_equals.snap specialize ConversionFlag (#42) 2023-05-16 22:52:50 +09:00
rustpython_parser__string__tests__parse_fstring_nested_spec.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__parse_fstring_not_equals.snap specialize ConversionFlag (#42) 2023-05-16 22:52:50 +09:00
rustpython_parser__string__tests__parse_fstring_not_nested_spec.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__parse_fstring_self_doc_prec_space.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__parse_fstring_self_doc_trailing_space.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__parse_fstring_yield_expr.snap specialize ConversionFlag (#42) 2023-05-16 22:52:50 +09:00
rustpython_parser__string__tests__parse_string_concat.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_string_triple_quotes_with_kind.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_u_f_string_concat_1.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_u_f_string_concat_2.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_u_string_concat_1.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__parse_u_string_concat_2.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__raw_byte_literal_1.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__raw_byte_literal_2.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__raw_fstring.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00
rustpython_parser__string__tests__single_quoted_byte.snap Move `range` from `Attributed` to `Node`s (#22) 2023-05-15 15:08:12 +09:00
rustpython_parser__string__tests__triple_quoted_raw_fstring.snap Add `TextRange` to `Identifier` (#8) 2023-06-20 11:19:27 -04:00