diff --git a/Cargo.toml b/Cargo.toml index 09d9c36347..38cedc5320 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ members = [ [workspace.dependencies] rustpython-ast = { path = "ast", default-features = false } -rustpython-parser-core = { path = "core", default-features = false } +rustpython-parser-core = { path = "core", features = [] } rustpython-literal = { path = "literal" } ahash = "0.7.6" diff --git a/ast/Cargo.toml b/ast/Cargo.toml index e72c150cba..3f4f3903f6 100644 --- a/ast/Cargo.toml +++ b/ast/Cargo.toml @@ -14,6 +14,7 @@ location = ["fold", "rustpython-parser-core/location"] fold = [] unparse = ["rustpython-literal"] visitor = [] +all-nodes-with-ranges = [] [dependencies] rustpython-parser-core = { workspace = true } @@ -21,3 +22,4 @@ rustpython-literal = { workspace = true, optional = true } is-macro = { workspace = true } num-bigint = { workspace = true } +static_assertions = "1.1.0" diff --git a/ast/asdl_rs.py b/ast/asdl_rs.py index 822badc699..a08efd8b27 100755 --- a/ast/asdl_rs.py +++ b/ast/asdl_rs.py @@ -1,6 +1,6 @@ # spell-checker:words dfn dfns -#! /usr/bin/env python +# ! /usr/bin/env python """Generate Rust code from an ASDL description.""" import sys @@ -84,6 +84,7 @@ class TypeInfo: enum_name: Optional[str] has_user_data: Optional[bool] has_attributes: bool + is_simple: bool empty_field: bool children: set boxed: bool @@ -95,6 +96,7 @@ class TypeInfo: self.enum_name = None self.has_user_data = None self.has_attributes = False + self.is_simple = False self.empty_field = False self.children = set() self.boxed = False @@ -104,6 +106,14 @@ class TypeInfo: def __repr__(self): return f"" + def no_cfg(self, typeinfo): + if self.product: + return self.has_attributes + elif self.enum_name: + return typeinfo[self.enum_name].has_attributes + else: + return self.has_attributes + @property def rust_name(self): return rust_type_name(self.name) @@ -124,19 +134,6 @@ class TypeInfo: name = rust_type_name(self.enum_name) + rust_name return name - @property - def rust_suffix(self): - if self.product: - if self.has_attributes: - return "Data" - else: - return "" - else: - if self.has_attributes: - return "Kind" - else: - return "" - def determine_user_data(self, type_info, stack): if self.name in stack: return None @@ -160,7 +157,8 @@ class TypeInfoMixin: return self.type_info[typ].has_user_data def apply_generics(self, typ, *generics): - if self.has_user_data(typ): + needs_generics = not self.type_info[typ].is_simple + if needs_generics: return [f"<{g}>" for g in generics] else: return ["" for g in generics] @@ -208,6 +206,7 @@ class FindUserDataTypesVisitor(asdl.VisitorBase): info = self.type_info[name] if is_simple(sum): info.has_user_data = False + info.is_simple = True else: for t in sum.types: t_info = TypeInfo(t.name) @@ -218,7 +217,7 @@ class FindUserDataTypesVisitor(asdl.VisitorBase): if len(sum.types) > 1: info.boxed = True if sum.attributes: - # attributes means located, which has the `custom: U` field + # attributes means located, which has the `range: R` field info.has_user_data = True info.has_attributes = True @@ -228,7 +227,7 @@ class FindUserDataTypesVisitor(asdl.VisitorBase): def visitProduct(self, product, name): info = self.type_info[name] if product.attributes: - # attributes means located, which has the `custom: U` field + # attributes means located, which has the `range: R` field info.has_user_data = True info.has_attributes = True info.has_expr = product_has_expr(product) @@ -277,10 +276,16 @@ class StructVisitor(EmitVisitor): def emit_attrs(self, depth): self.emit("#[derive(Clone, Debug, PartialEq)]", depth) + def emit_range(self, has_attributes, depth): + if has_attributes: + self.emit("pub range: R,", depth + 1) + else: + self.emit("pub range: crate::ranged::OptionalRange,", depth + 1) + def simple_sum(self, sum, name, depth): rust_name = rust_type_name(name) self.emit_attrs(depth) - self.emit("#[derive(is_macro::Is)]", depth) + self.emit("#[derive(is_macro::Is, Copy, Hash, Eq)]", depth) self.emit(f"pub enum {rust_name} {{", depth) for variant in sum.types: self.emit(f"{variant.name},", depth + 1) @@ -289,20 +294,16 @@ class StructVisitor(EmitVisitor): def sum_with_constructors(self, sum, name, depth): type_info = self.type_info[name] - suffix = type_info.rust_suffix rust_name = rust_type_name(name) # all the attributes right now are for location, so if it has attrs we # can just wrap it in Attributed<> for t in sum.types: - if not t.fields: - continue self.sum_subtype_struct(type_info, t, rust_name, depth) - generics, generics_applied = self.apply_generics(name, "U = ()", "U") self.emit_attrs(depth) self.emit("#[derive(is_macro::Is)]", depth) - self.emit(f"pub enum {rust_name}{suffix}{generics} {{", depth) + self.emit(f"pub enum {rust_name} {{", depth) needs_escape = any(rust_field_name(t.name) in RUST_KEYWORDS for t in sum.types) for t in sum.types: if needs_escape: @@ -310,35 +311,29 @@ class StructVisitor(EmitVisitor): f'#[is(name = "{rust_field_name(t.name)}_{rust_name.lower()}")]', depth + 1, ) - if t.fields: - (t_generics_applied,) = self.apply_generics(t.name, "U") - self.emit( - f"{t.name}({rust_name}{t.name}{t_generics_applied}),", depth + 1 - ) - else: - self.emit(f"{t.name},", depth + 1) + self.emit(f"{t.name}({rust_name}{t.name}),", depth + 1) self.emit("}", depth) - if type_info.has_attributes: - self.emit( - f"pub type {rust_name} = Attributed<{rust_name}{suffix}{generics_applied}, U>;", - depth, - ) self.emit("", depth) def sum_subtype_struct(self, sum_type_info, t, rust_name, depth): self.emit_attrs(depth) - generics, generics_applied = self.apply_generics(t.name, "U = ()", "U") payload_name = f"{rust_name}{t.name}" - self.emit(f"pub struct {payload_name}{generics} {{", depth) + self.emit(f"pub struct {payload_name} {{", depth) + self.emit_range(sum_type_info.has_attributes, depth) for f in t.fields: self.visit(f, sum_type_info, "pub ", depth + 1, t.name) + + assert sum_type_info.has_attributes == self.type_info[t.name].no_cfg( + self.type_info + ) + self.emit("}", depth) self.emit( textwrap.dedent( f""" - impl{generics_applied} From<{payload_name}{generics_applied}> for {rust_name}{sum_type_info.rust_suffix}{generics_applied} {{ - fn from(payload: {payload_name}{generics_applied}) -> Self {{ - {rust_name}{sum_type_info.rust_suffix}::{t.name}(payload) + impl From<{payload_name}> for {rust_name} {{ + fn from(payload: {payload_name}) -> Self {{ + {rust_name}::{t.name}(payload) }} }} """ @@ -346,6 +341,8 @@ class StructVisitor(EmitVisitor): depth, ) + self.emit("", depth) + def visitConstructor(self, cons, parent, depth): if cons.fields: self.emit(f"{cons.name} {{", depth) @@ -358,21 +355,21 @@ class StructVisitor(EmitVisitor): def visitField(self, field, parent, vis, depth, constructor=None): typ = rust_type_name(field.type) field_type = self.type_info.get(field.type) - if field_type and field_type.has_user_data: - typ = f"{typ}" + if field_type and not field_type.is_simple: + typ = f"{typ}" # don't box if we're doing Vec, but do box if we're doing Vec>> if ( - field_type - and field_type.boxed - and (not (parent.product or field.seq) or field.opt) + field_type + and field_type.boxed + and (not (parent.product or field.seq) or field.opt) ): typ = f"Box<{typ}>" if field.opt or ( - # When a dictionary literal contains dictionary unpacking (e.g., `{**d}`), - # the expression to be unpacked goes in `values` with a `None` at the corresponding - # position in `keys`. To handle this, the type of `keys` needs to be `Option>`. - constructor == "Dict" - and field.name == "keys" + # When a dictionary literal contains dictionary unpacking (e.g., `{**d}`), + # the expression to be unpacked goes in `values` with a `None` at the corresponding + # position in `keys`. To handle this, the type of `keys` needs to be `Option>`. + constructor == "Dict" + and field.name == "keys" ): typ = f"Option<{typ}>" if field.seq: @@ -384,28 +381,15 @@ class StructVisitor(EmitVisitor): def visitProduct(self, product, name, depth): type_info = self.type_info[name] - generics, generics_applied = self.apply_generics(name, "U = ()", "U") - data_name = rust_name = rust_type_name(name) - if product.attributes: - data_name = rust_name + "Data" + product_name = rust_type_name(name) self.emit_attrs(depth) - has_expr = product_has_expr(product) - if has_expr: - data_def = f"{data_name}{generics}" - else: - data_def = data_name - self.emit(f"pub struct {data_def} {{", depth) + + self.emit(f"pub struct {product_name} {{", depth) for f in product.fields: self.visit(f, type_info, "pub ", depth + 1) + assert bool(product.attributes) == type_info.no_cfg(self.type_info) + self.emit_range(product.attributes, depth + 1) self.emit("}", depth) - if product.attributes: - # attributes should just be location info - if not has_expr: - generics_applied = "" - self.emit( - f"pub type {rust_name} = Attributed<{data_name}{generics_applied}, U>;", - depth, - ) self.emit("", depth) @@ -414,16 +398,18 @@ class FoldTraitDefVisitor(EmitVisitor): self.emit("pub trait Fold {", depth) self.emit("type TargetU;", depth + 1) self.emit("type Error;", depth + 1) - self.emit( - "fn map_user(&mut self, user: U) -> Result;", - depth + 1, - ) self.emit( """ - fn map_attributed(&mut self, attributed: Attributed) -> Result, Self::Error> { - let custom = self.map_user(attributed.custom)?; - Ok(Attributed { range: attributed.range, custom, node: attributed.node }) - }""", + fn map_user(&mut self, user: U) -> Result; + #[cfg(feature = "all-nodes-with-ranges")] + fn map_user_cfg(&mut self, user: U) -> Result { + self.map_user(user) + } + #[cfg(not(feature = "all-nodes-with-ranges"))] + fn map_user_cfg(&mut self, _user: crate::EmptyRange) -> Result, Self::Error> { + Ok(crate::EmptyRange::default()) + } + """, depth + 1, ) self.emit( @@ -451,15 +437,6 @@ class FoldTraitDefVisitor(EmitVisitor): class FoldImplVisitor(EmitVisitor): def visitModule(self, mod, depth): - self.emit( - "fn fold_attributed + ?Sized, T, MT>(folder: &mut F, node: Attributed, f: impl FnOnce(&mut F, T) -> Result) -> Result, F::Error> {", - depth, - ) - self.emit( - "let node = folder.map_attributed(node)?; Ok(Attributed { custom: node.custom, range: node.range, node: f(folder, node.node)? })", - depth + 1, - ) - self.emit("}", depth) for dfn in mod.dfns: self.visit(dfn, depth) @@ -472,6 +449,7 @@ class FoldImplVisitor(EmitVisitor): name, "T", "U", "F::TargetU" ) enum_name = rust_type_name(name) + simple = is_simple(sum) self.emit(f"impl Foldable for {enum_name}{apply_t} {{", depth) self.emit(f"type Mapped = {enum_name}{apply_u};", depth + 1) @@ -487,25 +465,29 @@ class FoldImplVisitor(EmitVisitor): f"pub fn fold_{name} + ?Sized>(#[allow(unused)] folder: &mut F, node: {enum_name}{apply_u}) -> Result<{enum_name}{apply_target_u}, F::Error> {{", depth, ) - if type_info.has_attributes: - self.emit("fold_attributed(folder, node, |folder, node| {", depth) + + if simple: + self.emit("Ok(node) }", depth + 1) + return self.emit("match node {", depth + 1) for cons in sum.types: - fields_pattern = self.make_pattern( - enum_name, type_info.rust_suffix, cons.name, cons.fields - ) + fields_pattern = self.make_pattern(enum_name, cons.name, cons.fields) self.emit( - f"{fields_pattern[0]} {{ {fields_pattern[1]} }} {fields_pattern[2]} => {{", + f"{fields_pattern[0]} {{ {fields_pattern[1]}}} {fields_pattern[2]} => {{", depth + 2, ) + + map_user_suffix = "" if type_info.has_attributes else "_cfg" + self.emit( + f"let range = folder.map_user{map_user_suffix}(range)?;", depth + 3 + ) + self.gen_construction( fields_pattern[0], cons.fields, fields_pattern[2], depth + 3 ) self.emit("}", depth + 2) self.emit("}", depth + 1) - if type_info.has_attributes: - self.emit("})", depth) self.emit("}", depth) def visitProduct(self, product, name, depth): @@ -529,27 +511,26 @@ class FoldImplVisitor(EmitVisitor): f"pub fn fold_{name} + ?Sized>(#[allow(unused)] folder: &mut F, node: {struct_name}{apply_u}) -> Result<{struct_name}{apply_target_u}, F::Error> {{", depth, ) - if has_attributes: - self.emit("fold_attributed(folder, node, |folder, node| {", depth) - rust_name = struct_name + "Data" - else: - rust_name = struct_name - fields_pattern = self.make_pattern(rust_name, struct_name, None, product.fields) - self.emit(f"let {rust_name} {{ {fields_pattern[1]} }} = node;", depth + 1) - self.gen_construction(rust_name, product.fields, "", depth + 1) - if has_attributes: - self.emit("})", depth) + + fields_pattern = self.make_pattern(struct_name, struct_name, product.fields) + self.emit(f"let {struct_name} {{ {fields_pattern[1]} }} = node;", depth + 1) + + map_user_suffix = "" if has_attributes else "_cfg" + self.emit(f"let range = folder.map_user{map_user_suffix}(range)?;", depth + 3) + + self.gen_construction(struct_name, product.fields, "", depth + 1) + self.emit("}", depth) - def make_pattern(self, rust_name, suffix, fieldname, fields): - if fields: - header = f"{rust_name}{suffix}::{fieldname}({rust_name}{fieldname}" - footer = ")" - else: - header = f"{rust_name}{suffix}::{fieldname}" - footer = "" + def make_pattern(self, rust_name, fieldname: str, fields): + header = f"{rust_name}::{fieldname}({rust_name}{fieldname}" + footer = ")" body = ",".join(rust_field(f.name) for f in fields) + if body: + body += "," + body += "range" + return header, body, footer def gen_construction(self, header, fields, footer, depth): @@ -557,6 +538,8 @@ class FoldImplVisitor(EmitVisitor): for field in fields: name = rust_field(field.name) self.emit(f"{name}: Foldable::fold({name}, folder)?,", depth + 1) + self.emit("range,", depth + 1) + self.emit(f"}}{footer})", depth) @@ -584,7 +567,7 @@ class VisitorTraitDefVisitor(StructVisitor): return rust_type_name(name) def visitModule(self, mod, depth): - self.emit("pub trait Visitor {", depth) + self.emit("pub trait Visitor {", depth) for dfn in mod.dfns: self.visit(dfn, depth + 1) @@ -595,16 +578,14 @@ class VisitorTraitDefVisitor(StructVisitor): def emit_visitor(self, nodename, depth, has_node=True): type_info = self.type_info[nodename] - if has_node: - node_type = type_info.rust_sum_name - node_value = "node" - else: - node_type = "()" - node_value = "()" + node_type = type_info.rust_sum_name + generic, = self.apply_generics(nodename, "R") self.emit( - f"fn visit_{type_info.sum_name}(&mut self, node: {node_type}) {{", depth + f"fn visit_{type_info.sum_name}(&mut self, node: {node_type}{generic}) {{", depth ) - self.emit(f"self.generic_visit_{type_info.sum_name}({node_value})", depth + 1) + if has_node: + self.emit(f"self.generic_visit_{type_info.sum_name}(node)", depth + 1) + self.emit("}", depth) def emit_generic_visitor_signature(self, nodename, depth, has_node=True): @@ -613,8 +594,9 @@ class VisitorTraitDefVisitor(StructVisitor): node_type = type_info.rust_sum_name else: node_type = "()" + generic, = self.apply_generics(nodename, "R") self.emit( - f"fn generic_visit_{type_info.sum_name}(&mut self, node: {node_type}) {{", + f"fn generic_visit_{type_info.sum_name}(&mut self, node: {node_type}{generic}) {{", depth, ) @@ -628,16 +610,15 @@ class VisitorTraitDefVisitor(StructVisitor): def visit_match_for_type(self, nodename, rust_name, type_, depth): self.emit(f"{rust_name}::{type_.name}", depth) - if type_.fields: - self.emit("(data)", depth) - data = "data" - else: - data = "()" - self.emit(f"=> self.visit_{nodename}_{type_.name}({data}),", depth) + self.emit("(data)", depth) + self.emit(f"=> self.visit_{nodename}_{type_.name}(data),", depth) def visit_sum_type(self, name, type_, depth): self.emit_visitor(type_.name, depth, has_node=type_.fields) - self.emit_generic_visitor_signature(type_.name, depth, has_node=type_.fields) + if not type_.fields: + return + + self.emit_generic_visitor_signature(type_.name, depth, has_node=True) for f in type_.fields: fieldname = rust_field(f.name) field_type = self.type_info.get(f.type) @@ -669,15 +650,13 @@ class VisitorTraitDefVisitor(StructVisitor): if not sum.attributes: return - rust_name = enum_name = rust_type_name(name) - if sum.attributes: - rust_name = enum_name + "Kind" + enum_name = rust_type_name(name) self.emit_visitor(name, depth) self.emit_generic_visitor_signature(name, depth) depth += 1 - self.emit("match node.node {", depth) + self.emit("match node {", depth) for t in sum.types: - self.visit_match_for_type(name, rust_name, t, depth + 1) + self.visit_match_for_type(name, enum_name, t, depth + 1) self.emit("}", depth) depth -= 1 self.emit("}", depth) @@ -838,8 +817,6 @@ class TraitImplVisitor(EmitVisitor): def visitProduct(self, product, name, depth): struct_name = rust_type_name(name) - if product.attributes: - struct_name += "Data" self.emit(f"impl NamedNode for ast::located::{struct_name} {{", depth) self.emit(f"const NAME: &'static str = {json.dumps(name)};", depth + 1) @@ -945,6 +922,124 @@ class TraitImplVisitor(EmitVisitor): return f"Node::ast_from_object(_vm, get_node_field(_vm, &_object, {name}, {json.dumps(typename)})?)?" +class RangedDefVisitor(EmitVisitor): + def visitModule(self, mod): + for dfn in mod.dfns: + self.visit(dfn) + + def visitType(self, type, depth=0): + self.visit(type.value, type.name, depth) + + def visitSum(self, sum, name, depth): + info = self.type_info[name] + + if info.is_simple: + return + + sum_match_arms = "" + + for ty in sum.types: + variant_info = self.type_info[ty.name] + sum_match_arms += f" Self::{variant_info.rust_name}(node) => node.range()," + self.emit_ranged_impl(variant_info) + + if not info.no_cfg(self.type_info): + self.emit('#[cfg(feature = "all-nodes-with-ranges")]', 0) + + self.emit(f""" + impl Ranged for crate::{info.rust_sum_name} {{ + fn range(&self) -> TextRange {{ + match self {{ + {sum_match_arms} + }} + }} + }} + """.lstrip(), 0) + + def visitProduct(self, product, name, depth): + info = self.type_info[name] + + self.emit_ranged_impl(info) + + def emit_ranged_impl(self, info): + if not info.no_cfg(self.type_info): + self.emit('#[cfg(feature = "all-nodes-with-ranges")]', 0) + + self.file.write( + f""" + impl Ranged for crate::generic::{info.rust_sum_name}:: {{ + fn range(&self) -> TextRange {{ + self.range + }} + }} + """.strip() + ) + + +class LocatedDefVisitor(EmitVisitor): + def visitModule(self, mod): + for dfn in mod.dfns: + self.visit(dfn) + + def visitType(self, type, depth=0): + self.visit(type.value, type.name, depth) + + def visitSum(self, sum, name, depth): + info = self.type_info[name] + + self.emit_type_alias(info) + + if info.is_simple: + return + + sum_match_arms = "" + + for ty in sum.types: + variant_info = self.type_info[ty.name] + sum_match_arms += f" Self::{variant_info.rust_name}(node) => node.range()," + self.emit_type_alias(variant_info) + self.emit_located_impl(variant_info) + + if not info.no_cfg(self.type_info): + self.emit('#[cfg(feature = "all-nodes-with-ranges")]', 0) + + self.emit(f""" + impl Located for {info.rust_sum_name} {{ + fn range(&self) -> SourceRange {{ + match self {{ + {sum_match_arms} + }} + }} + }} + """.lstrip(), 0) + + def visitProduct(self, product, name, depth): + info = self.type_info[name] + + self.emit_type_alias(info) + self.emit_located_impl(info) + + def emit_type_alias(self, info): + generics = "" if info.is_simple else "::" + + self.emit(f"pub type {info.rust_sum_name} = crate::generic::{info.rust_sum_name}{generics};", 0) + self.emit("", 0) + + def emit_located_impl(self, info): + if not info.no_cfg(self.type_info): + self.emit('#[cfg(feature = "all-nodes-with-ranges")]', 0) + + self.emit( + f""" + impl Located for {info.rust_sum_name} {{ + fn range(&self) -> SourceRange {{ + self.range + }} + }} + """ + , 0) + + class ChainOfVisitors: def __init__(self, *visitors): self.visitors = visitors @@ -956,6 +1051,7 @@ class ChainOfVisitors: def write_ast_def(mod, type_info, f): + f.write("use crate::text_size::TextRange;") StructVisitor(f, type_info).visit(mod) @@ -967,32 +1063,12 @@ def write_visitor_def(mod, type_info, f): VisitorModuleVisitor(f, type_info).visit(mod) -def write_located_def(mod, type_info, f): - f.write( - textwrap.dedent( - """ - use rustpython_parser_core::source_code::SourceRange; +def write_ranged_def(mod, type_info, f): + RangedDefVisitor(f, type_info).visit(mod) - pub type Located = super::generic::Attributed; - """ - ) - ) - for info in type_info.values(): - if info.empty_field: - continue - if info.has_user_data: - generics = "::" - else: - generics = "" - f.write( - f"pub type {info.rust_sum_name} = super::generic::{info.rust_sum_name}{generics};\n" - ) - if info.rust_suffix: - if info.rust_suffix == "Data" and not info.has_expr: - generics = "" - f.write( - f"pub type {info.rust_sum_name}{info.rust_suffix} = super::generic::{info.rust_sum_name}{info.rust_suffix}{generics};\n" - ) + +def write_located_def(mod, type_info, f): + LocatedDefVisitor(f, type_info).visit(mod) def write_ast_mod(mod, type_info, f): @@ -1016,10 +1092,10 @@ def write_ast_mod(mod, type_info, f): def main( - input_filename, - ast_dir, - module_filename, - dump_module=False, + input_filename, + ast_dir, + module_filename, + dump_module=False, ): auto_gen_msg = AUTO_GEN_MESSAGE.format("/".join(Path(__file__).parts[-2:])) mod = asdl.parse(input_filename) @@ -1035,6 +1111,7 @@ def main( for filename, write in [ ("generic", write_ast_def), ("fold", write_fold_def), + ("ranged", write_ranged_def), ("located", write_located_def), ("visitor", write_visitor_def), ]: diff --git a/ast/src/builtin.rs b/ast/src/builtin.rs index 726ed4991c..5811832fd0 100644 --- a/ast/src/builtin.rs +++ b/ast/src/builtin.rs @@ -1,7 +1,6 @@ //! `builtin_types` in asdl.py and Attributed use num_bigint::BigInt; -use rustpython_parser_core::text_size::{TextRange, TextSize}; pub type String = std::string::String; @@ -205,64 +204,6 @@ impl std::fmt::Display for Constant { } } -#[derive(Clone, Debug, PartialEq)] -pub struct Attributed { - pub range: TextRange, - pub custom: U, - pub node: T, -} - -impl Attributed { - /// Returns the node - #[inline] - pub fn node(&self) -> &T { - &self.node - } - - /// Returns the `range` of the node. The range offsets are absolute to the start of the document. - #[inline] - pub const fn range(&self) -> TextRange { - self.range - } - - /// Returns the absolute start position of the node from the beginning of the document. - #[inline] - pub const fn start(&self) -> TextSize { - self.range.start() - } - - /// Returns the absolute position at which the node ends in the source document. - #[inline] - pub const fn end(&self) -> TextSize { - self.range.end() - } -} - -impl Attributed { - /// Creates a new node that spans the position specified by `range`. - pub fn new(range: impl Into, node: impl Into) -> Self { - Self { - range: range.into(), - custom: (), - node: node.into(), - } - } - - /// Consumes self and returns the node. - #[inline] - pub fn into_node(self) -> T { - self.node - } -} - -impl std::ops::Deref for Attributed { - type Target = T; - - fn deref(&self) -> &Self::Target { - &self.node - } -} - #[cfg(test)] mod tests { use super::*; diff --git a/ast/src/gen/fold.rs b/ast/src/gen/fold.rs index b2e1c9ffd6..6d4342dd4b 100644 --- a/ast/src/gen/fold.rs +++ b/ast/src/gen/fold.rs @@ -4,18 +4,18 @@ use crate::fold_helpers::Foldable; pub trait Fold { type TargetU; type Error; - fn map_user(&mut self, user: U) -> Result; - fn map_attributed( + fn map_user(&mut self, user: U) -> Result; + #[cfg(feature = "all-nodes-with-ranges")] + fn map_user_cfg(&mut self, user: U) -> Result { + self.map_user(user) + } + #[cfg(not(feature = "all-nodes-with-ranges"))] + fn map_user_cfg( &mut self, - attributed: Attributed, - ) -> Result, Self::Error> { - let custom = self.map_user(attributed.custom)?; - Ok(Attributed { - range: attributed.range, - custom, - node: attributed.node, - }) + _user: crate::EmptyRange, + ) -> Result, Self::Error> { + Ok(crate::EmptyRange::default()) } fn fold>(&mut self, node: X) -> Result { @@ -84,22 +84,13 @@ pub trait Fold { fn fold_pattern(&mut self, node: Pattern) -> Result, Self::Error> { fold_pattern(self, node) } - fn fold_type_ignore(&mut self, node: TypeIgnore) -> Result { + fn fold_type_ignore( + &mut self, + node: TypeIgnore, + ) -> Result, Self::Error> { fold_type_ignore(self, node) } } -fn fold_attributed + ?Sized, T, MT>( - folder: &mut F, - node: Attributed, - f: impl FnOnce(&mut F, T) -> Result, -) -> Result, F::Error> { - let node = folder.map_attributed(node)?; - Ok(Attributed { - custom: node.custom, - range: node.range, - node: f(folder, node.node)?, - }) -} impl Foldable for Mod { type Mapped = Mod; fn fold + ?Sized>( @@ -114,20 +105,42 @@ pub fn fold_mod + ?Sized>( node: Mod, ) -> Result, F::Error> { match node { - Mod::Module(ModModule { body, type_ignores }) => Ok(Mod::Module(ModModule { - body: Foldable::fold(body, folder)?, - type_ignores: Foldable::fold(type_ignores, folder)?, - })), - Mod::Interactive(ModInteractive { body }) => Ok(Mod::Interactive(ModInteractive { - body: Foldable::fold(body, folder)?, - })), - Mod::Expression(ModExpression { body }) => Ok(Mod::Expression(ModExpression { - body: Foldable::fold(body, folder)?, - })), - Mod::FunctionType(ModFunctionType { argtypes, returns }) => { + Mod::Module(ModModule { + body, + type_ignores, + range, + }) => { + let range = folder.map_user_cfg(range)?; + Ok(Mod::Module(ModModule { + body: Foldable::fold(body, folder)?, + type_ignores: Foldable::fold(type_ignores, folder)?, + range, + })) + } + Mod::Interactive(ModInteractive { body, range }) => { + let range = folder.map_user_cfg(range)?; + Ok(Mod::Interactive(ModInteractive { + body: Foldable::fold(body, folder)?, + range, + })) + } + Mod::Expression(ModExpression { body, range }) => { + let range = folder.map_user_cfg(range)?; + Ok(Mod::Expression(ModExpression { + body: Foldable::fold(body, folder)?, + range, + })) + } + Mod::FunctionType(ModFunctionType { + argtypes, + returns, + range, + }) => { + let range = folder.map_user_cfg(range)?; Ok(Mod::FunctionType(ModFunctionType { argtypes: Foldable::fold(argtypes, folder)?, returns: Foldable::fold(returns, folder)?, + range, })) } } @@ -145,196 +158,330 @@ pub fn fold_stmt + ?Sized>( #[allow(unused)] folder: &mut F, node: Stmt, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| match node { - StmtKind::FunctionDef(StmtFunctionDef { + match node { + Stmt::FunctionDef(StmtFunctionDef { name, args, body, decorator_list, returns, type_comment, - }) => Ok(StmtKind::FunctionDef(StmtFunctionDef { - name: Foldable::fold(name, folder)?, - args: Foldable::fold(args, folder)?, - body: Foldable::fold(body, folder)?, - decorator_list: Foldable::fold(decorator_list, folder)?, - returns: Foldable::fold(returns, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::AsyncFunctionDef(StmtAsyncFunctionDef { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::FunctionDef(StmtFunctionDef { + name: Foldable::fold(name, folder)?, + args: Foldable::fold(args, folder)?, + body: Foldable::fold(body, folder)?, + decorator_list: Foldable::fold(decorator_list, folder)?, + returns: Foldable::fold(returns, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::AsyncFunctionDef(StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment, - }) => Ok(StmtKind::AsyncFunctionDef(StmtAsyncFunctionDef { - name: Foldable::fold(name, folder)?, - args: Foldable::fold(args, folder)?, - body: Foldable::fold(body, folder)?, - decorator_list: Foldable::fold(decorator_list, folder)?, - returns: Foldable::fold(returns, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::ClassDef(StmtClassDef { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::AsyncFunctionDef(StmtAsyncFunctionDef { + name: Foldable::fold(name, folder)?, + args: Foldable::fold(args, folder)?, + body: Foldable::fold(body, folder)?, + decorator_list: Foldable::fold(decorator_list, folder)?, + returns: Foldable::fold(returns, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::ClassDef(StmtClassDef { name, bases, keywords, body, decorator_list, - }) => Ok(StmtKind::ClassDef(StmtClassDef { - name: Foldable::fold(name, folder)?, - bases: Foldable::fold(bases, folder)?, - keywords: Foldable::fold(keywords, folder)?, - body: Foldable::fold(body, folder)?, - decorator_list: Foldable::fold(decorator_list, folder)?, - })), - StmtKind::Return(StmtReturn { value }) => Ok(StmtKind::Return(StmtReturn { - value: Foldable::fold(value, folder)?, - })), - StmtKind::Delete(StmtDelete { targets }) => Ok(StmtKind::Delete(StmtDelete { - targets: Foldable::fold(targets, folder)?, - })), - StmtKind::Assign(StmtAssign { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::ClassDef(StmtClassDef { + name: Foldable::fold(name, folder)?, + bases: Foldable::fold(bases, folder)?, + keywords: Foldable::fold(keywords, folder)?, + body: Foldable::fold(body, folder)?, + decorator_list: Foldable::fold(decorator_list, folder)?, + range, + })) + } + Stmt::Return(StmtReturn { value, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Return(StmtReturn { + value: Foldable::fold(value, folder)?, + range, + })) + } + Stmt::Delete(StmtDelete { targets, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Delete(StmtDelete { + targets: Foldable::fold(targets, folder)?, + range, + })) + } + Stmt::Assign(StmtAssign { targets, value, type_comment, - }) => Ok(StmtKind::Assign(StmtAssign { - targets: Foldable::fold(targets, folder)?, - value: Foldable::fold(value, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::AugAssign(StmtAugAssign { target, op, value }) => { - Ok(StmtKind::AugAssign(StmtAugAssign { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Assign(StmtAssign { + targets: Foldable::fold(targets, folder)?, + value: Foldable::fold(value, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::AugAssign(StmtAugAssign { + target, + op, + value, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::AugAssign(StmtAugAssign { target: Foldable::fold(target, folder)?, op: Foldable::fold(op, folder)?, value: Foldable::fold(value, folder)?, + range, })) } - StmtKind::AnnAssign(StmtAnnAssign { + Stmt::AnnAssign(StmtAnnAssign { target, annotation, value, simple, - }) => Ok(StmtKind::AnnAssign(StmtAnnAssign { - target: Foldable::fold(target, folder)?, - annotation: Foldable::fold(annotation, folder)?, - value: Foldable::fold(value, folder)?, - simple: Foldable::fold(simple, folder)?, - })), - StmtKind::For(StmtFor { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::AnnAssign(StmtAnnAssign { + target: Foldable::fold(target, folder)?, + annotation: Foldable::fold(annotation, folder)?, + value: Foldable::fold(value, folder)?, + simple: Foldable::fold(simple, folder)?, + range, + })) + } + Stmt::For(StmtFor { target, iter, body, orelse, type_comment, - }) => Ok(StmtKind::For(StmtFor { - target: Foldable::fold(target, folder)?, - iter: Foldable::fold(iter, folder)?, - body: Foldable::fold(body, folder)?, - orelse: Foldable::fold(orelse, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::AsyncFor(StmtAsyncFor { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::For(StmtFor { + target: Foldable::fold(target, folder)?, + iter: Foldable::fold(iter, folder)?, + body: Foldable::fold(body, folder)?, + orelse: Foldable::fold(orelse, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::AsyncFor(StmtAsyncFor { target, iter, body, orelse, type_comment, - }) => Ok(StmtKind::AsyncFor(StmtAsyncFor { - target: Foldable::fold(target, folder)?, - iter: Foldable::fold(iter, folder)?, - body: Foldable::fold(body, folder)?, - orelse: Foldable::fold(orelse, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::While(StmtWhile { test, body, orelse }) => Ok(StmtKind::While(StmtWhile { - test: Foldable::fold(test, folder)?, - body: Foldable::fold(body, folder)?, - orelse: Foldable::fold(orelse, folder)?, - })), - StmtKind::If(StmtIf { test, body, orelse }) => Ok(StmtKind::If(StmtIf { - test: Foldable::fold(test, folder)?, - body: Foldable::fold(body, folder)?, - orelse: Foldable::fold(orelse, folder)?, - })), - StmtKind::With(StmtWith { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::AsyncFor(StmtAsyncFor { + target: Foldable::fold(target, folder)?, + iter: Foldable::fold(iter, folder)?, + body: Foldable::fold(body, folder)?, + orelse: Foldable::fold(orelse, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::While(StmtWhile { + test, + body, + orelse, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::While(StmtWhile { + test: Foldable::fold(test, folder)?, + body: Foldable::fold(body, folder)?, + orelse: Foldable::fold(orelse, folder)?, + range, + })) + } + Stmt::If(StmtIf { + test, + body, + orelse, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::If(StmtIf { + test: Foldable::fold(test, folder)?, + body: Foldable::fold(body, folder)?, + orelse: Foldable::fold(orelse, folder)?, + range, + })) + } + Stmt::With(StmtWith { items, body, type_comment, - }) => Ok(StmtKind::With(StmtWith { - items: Foldable::fold(items, folder)?, - body: Foldable::fold(body, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::AsyncWith(StmtAsyncWith { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::With(StmtWith { + items: Foldable::fold(items, folder)?, + body: Foldable::fold(body, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::AsyncWith(StmtAsyncWith { items, body, type_comment, - }) => Ok(StmtKind::AsyncWith(StmtAsyncWith { - items: Foldable::fold(items, folder)?, - body: Foldable::fold(body, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - })), - StmtKind::Match(StmtMatch { subject, cases }) => Ok(StmtKind::Match(StmtMatch { - subject: Foldable::fold(subject, folder)?, - cases: Foldable::fold(cases, folder)?, - })), - StmtKind::Raise(StmtRaise { exc, cause }) => Ok(StmtKind::Raise(StmtRaise { - exc: Foldable::fold(exc, folder)?, - cause: Foldable::fold(cause, folder)?, - })), - StmtKind::Try(StmtTry { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::AsyncWith(StmtAsyncWith { + items: Foldable::fold(items, folder)?, + body: Foldable::fold(body, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, + })) + } + Stmt::Match(StmtMatch { + subject, + cases, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Match(StmtMatch { + subject: Foldable::fold(subject, folder)?, + cases: Foldable::fold(cases, folder)?, + range, + })) + } + Stmt::Raise(StmtRaise { exc, cause, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Raise(StmtRaise { + exc: Foldable::fold(exc, folder)?, + cause: Foldable::fold(cause, folder)?, + range, + })) + } + Stmt::Try(StmtTry { body, handlers, orelse, finalbody, - }) => Ok(StmtKind::Try(StmtTry { - body: Foldable::fold(body, folder)?, - handlers: Foldable::fold(handlers, folder)?, - orelse: Foldable::fold(orelse, folder)?, - finalbody: Foldable::fold(finalbody, folder)?, - })), - StmtKind::TryStar(StmtTryStar { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Try(StmtTry { + body: Foldable::fold(body, folder)?, + handlers: Foldable::fold(handlers, folder)?, + orelse: Foldable::fold(orelse, folder)?, + finalbody: Foldable::fold(finalbody, folder)?, + range, + })) + } + Stmt::TryStar(StmtTryStar { body, handlers, orelse, finalbody, - }) => Ok(StmtKind::TryStar(StmtTryStar { - body: Foldable::fold(body, folder)?, - handlers: Foldable::fold(handlers, folder)?, - orelse: Foldable::fold(orelse, folder)?, - finalbody: Foldable::fold(finalbody, folder)?, - })), - StmtKind::Assert(StmtAssert { test, msg }) => Ok(StmtKind::Assert(StmtAssert { - test: Foldable::fold(test, folder)?, - msg: Foldable::fold(msg, folder)?, - })), - StmtKind::Import(StmtImport { names }) => Ok(StmtKind::Import(StmtImport { - names: Foldable::fold(names, folder)?, - })), - StmtKind::ImportFrom(StmtImportFrom { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::TryStar(StmtTryStar { + body: Foldable::fold(body, folder)?, + handlers: Foldable::fold(handlers, folder)?, + orelse: Foldable::fold(orelse, folder)?, + finalbody: Foldable::fold(finalbody, folder)?, + range, + })) + } + Stmt::Assert(StmtAssert { test, msg, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Assert(StmtAssert { + test: Foldable::fold(test, folder)?, + msg: Foldable::fold(msg, folder)?, + range, + })) + } + Stmt::Import(StmtImport { names, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Import(StmtImport { + names: Foldable::fold(names, folder)?, + range, + })) + } + Stmt::ImportFrom(StmtImportFrom { module, names, level, - }) => Ok(StmtKind::ImportFrom(StmtImportFrom { - module: Foldable::fold(module, folder)?, - names: Foldable::fold(names, folder)?, - level: Foldable::fold(level, folder)?, - })), - StmtKind::Global(StmtGlobal { names }) => Ok(StmtKind::Global(StmtGlobal { - names: Foldable::fold(names, folder)?, - })), - StmtKind::Nonlocal(StmtNonlocal { names }) => Ok(StmtKind::Nonlocal(StmtNonlocal { - names: Foldable::fold(names, folder)?, - })), - StmtKind::Expr(StmtExpr { value }) => Ok(StmtKind::Expr(StmtExpr { - value: Foldable::fold(value, folder)?, - })), - StmtKind::Pass {} => Ok(StmtKind::Pass {}), - StmtKind::Break {} => Ok(StmtKind::Break {}), - StmtKind::Continue {} => Ok(StmtKind::Continue {}), - }) + range, + }) => { + let range = folder.map_user(range)?; + Ok(Stmt::ImportFrom(StmtImportFrom { + module: Foldable::fold(module, folder)?, + names: Foldable::fold(names, folder)?, + level: Foldable::fold(level, folder)?, + range, + })) + } + Stmt::Global(StmtGlobal { names, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Global(StmtGlobal { + names: Foldable::fold(names, folder)?, + range, + })) + } + Stmt::Nonlocal(StmtNonlocal { names, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Nonlocal(StmtNonlocal { + names: Foldable::fold(names, folder)?, + range, + })) + } + Stmt::Expr(StmtExpr { value, range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Expr(StmtExpr { + value: Foldable::fold(value, folder)?, + range, + })) + } + Stmt::Pass(StmtPass { range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Pass(StmtPass { range })) + } + Stmt::Break(StmtBreak { range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Break(StmtBreak { range })) + } + Stmt::Continue(StmtContinue { range }) => { + let range = folder.map_user(range)?; + Ok(Stmt::Continue(StmtContinue { range })) + } + } } impl Foldable for Expr { type Mapped = Expr; @@ -349,146 +496,293 @@ pub fn fold_expr + ?Sized>( #[allow(unused)] folder: &mut F, node: Expr, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| match node { - ExprKind::BoolOp(ExprBoolOp { op, values }) => Ok(ExprKind::BoolOp(ExprBoolOp { - op: Foldable::fold(op, folder)?, - values: Foldable::fold(values, folder)?, - })), - ExprKind::NamedExpr(ExprNamedExpr { target, value }) => { - Ok(ExprKind::NamedExpr(ExprNamedExpr { + match node { + Expr::BoolOp(ExprBoolOp { op, values, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::BoolOp(ExprBoolOp { + op: Foldable::fold(op, folder)?, + values: Foldable::fold(values, folder)?, + range, + })) + } + Expr::NamedExpr(ExprNamedExpr { + target, + value, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::NamedExpr(ExprNamedExpr { target: Foldable::fold(target, folder)?, value: Foldable::fold(value, folder)?, + range, })) } - ExprKind::BinOp(ExprBinOp { left, op, right }) => Ok(ExprKind::BinOp(ExprBinOp { - left: Foldable::fold(left, folder)?, - op: Foldable::fold(op, folder)?, - right: Foldable::fold(right, folder)?, - })), - ExprKind::UnaryOp(ExprUnaryOp { op, operand }) => Ok(ExprKind::UnaryOp(ExprUnaryOp { - op: Foldable::fold(op, folder)?, - operand: Foldable::fold(operand, folder)?, - })), - ExprKind::Lambda(ExprLambda { args, body }) => Ok(ExprKind::Lambda(ExprLambda { - args: Foldable::fold(args, folder)?, - body: Foldable::fold(body, folder)?, - })), - ExprKind::IfExp(ExprIfExp { test, body, orelse }) => Ok(ExprKind::IfExp(ExprIfExp { - test: Foldable::fold(test, folder)?, - body: Foldable::fold(body, folder)?, - orelse: Foldable::fold(orelse, folder)?, - })), - ExprKind::Dict(ExprDict { keys, values }) => Ok(ExprKind::Dict(ExprDict { - keys: Foldable::fold(keys, folder)?, - values: Foldable::fold(values, folder)?, - })), - ExprKind::Set(ExprSet { elts }) => Ok(ExprKind::Set(ExprSet { - elts: Foldable::fold(elts, folder)?, - })), - ExprKind::ListComp(ExprListComp { elt, generators }) => { - Ok(ExprKind::ListComp(ExprListComp { + Expr::BinOp(ExprBinOp { + left, + op, + right, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::BinOp(ExprBinOp { + left: Foldable::fold(left, folder)?, + op: Foldable::fold(op, folder)?, + right: Foldable::fold(right, folder)?, + range, + })) + } + Expr::UnaryOp(ExprUnaryOp { op, operand, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::UnaryOp(ExprUnaryOp { + op: Foldable::fold(op, folder)?, + operand: Foldable::fold(operand, folder)?, + range, + })) + } + Expr::Lambda(ExprLambda { args, body, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Lambda(ExprLambda { + args: Foldable::fold(args, folder)?, + body: Foldable::fold(body, folder)?, + range, + })) + } + Expr::IfExp(ExprIfExp { + test, + body, + orelse, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::IfExp(ExprIfExp { + test: Foldable::fold(test, folder)?, + body: Foldable::fold(body, folder)?, + orelse: Foldable::fold(orelse, folder)?, + range, + })) + } + Expr::Dict(ExprDict { + keys, + values, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::Dict(ExprDict { + keys: Foldable::fold(keys, folder)?, + values: Foldable::fold(values, folder)?, + range, + })) + } + Expr::Set(ExprSet { elts, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Set(ExprSet { + elts: Foldable::fold(elts, folder)?, + range, + })) + } + Expr::ListComp(ExprListComp { + elt, + generators, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::ListComp(ExprListComp { elt: Foldable::fold(elt, folder)?, generators: Foldable::fold(generators, folder)?, + range, })) } - ExprKind::SetComp(ExprSetComp { elt, generators }) => Ok(ExprKind::SetComp(ExprSetComp { - elt: Foldable::fold(elt, folder)?, - generators: Foldable::fold(generators, folder)?, - })), - ExprKind::DictComp(ExprDictComp { + Expr::SetComp(ExprSetComp { + elt, + generators, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::SetComp(ExprSetComp { + elt: Foldable::fold(elt, folder)?, + generators: Foldable::fold(generators, folder)?, + range, + })) + } + Expr::DictComp(ExprDictComp { key, value, generators, - }) => Ok(ExprKind::DictComp(ExprDictComp { - key: Foldable::fold(key, folder)?, - value: Foldable::fold(value, folder)?, - generators: Foldable::fold(generators, folder)?, - })), - ExprKind::GeneratorExp(ExprGeneratorExp { elt, generators }) => { - Ok(ExprKind::GeneratorExp(ExprGeneratorExp { - elt: Foldable::fold(elt, folder)?, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::DictComp(ExprDictComp { + key: Foldable::fold(key, folder)?, + value: Foldable::fold(value, folder)?, generators: Foldable::fold(generators, folder)?, + range, })) } - ExprKind::Await(ExprAwait { value }) => Ok(ExprKind::Await(ExprAwait { - value: Foldable::fold(value, folder)?, - })), - ExprKind::Yield(ExprYield { value }) => Ok(ExprKind::Yield(ExprYield { - value: Foldable::fold(value, folder)?, - })), - ExprKind::YieldFrom(ExprYieldFrom { value }) => Ok(ExprKind::YieldFrom(ExprYieldFrom { - value: Foldable::fold(value, folder)?, - })), - ExprKind::Compare(ExprCompare { + Expr::GeneratorExp(ExprGeneratorExp { + elt, + generators, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::GeneratorExp(ExprGeneratorExp { + elt: Foldable::fold(elt, folder)?, + generators: Foldable::fold(generators, folder)?, + range, + })) + } + Expr::Await(ExprAwait { value, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Await(ExprAwait { + value: Foldable::fold(value, folder)?, + range, + })) + } + Expr::Yield(ExprYield { value, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Yield(ExprYield { + value: Foldable::fold(value, folder)?, + range, + })) + } + Expr::YieldFrom(ExprYieldFrom { value, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::YieldFrom(ExprYieldFrom { + value: Foldable::fold(value, folder)?, + range, + })) + } + Expr::Compare(ExprCompare { left, ops, comparators, - }) => Ok(ExprKind::Compare(ExprCompare { - left: Foldable::fold(left, folder)?, - ops: Foldable::fold(ops, folder)?, - comparators: Foldable::fold(comparators, folder)?, - })), - ExprKind::Call(ExprCall { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::Compare(ExprCompare { + left: Foldable::fold(left, folder)?, + ops: Foldable::fold(ops, folder)?, + comparators: Foldable::fold(comparators, folder)?, + range, + })) + } + Expr::Call(ExprCall { func, args, keywords, - }) => Ok(ExprKind::Call(ExprCall { - func: Foldable::fold(func, folder)?, - args: Foldable::fold(args, folder)?, - keywords: Foldable::fold(keywords, folder)?, - })), - ExprKind::FormattedValue(ExprFormattedValue { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::Call(ExprCall { + func: Foldable::fold(func, folder)?, + args: Foldable::fold(args, folder)?, + keywords: Foldable::fold(keywords, folder)?, + range, + })) + } + Expr::FormattedValue(ExprFormattedValue { value, conversion, format_spec, - }) => Ok(ExprKind::FormattedValue(ExprFormattedValue { - value: Foldable::fold(value, folder)?, - conversion: Foldable::fold(conversion, folder)?, - format_spec: Foldable::fold(format_spec, folder)?, - })), - ExprKind::JoinedStr(ExprJoinedStr { values }) => Ok(ExprKind::JoinedStr(ExprJoinedStr { - values: Foldable::fold(values, folder)?, - })), - ExprKind::Constant(ExprConstant { value, kind }) => Ok(ExprKind::Constant(ExprConstant { - value: Foldable::fold(value, folder)?, - kind: Foldable::fold(kind, folder)?, - })), - ExprKind::Attribute(ExprAttribute { value, attr, ctx }) => { - Ok(ExprKind::Attribute(ExprAttribute { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::FormattedValue(ExprFormattedValue { + value: Foldable::fold(value, folder)?, + conversion: Foldable::fold(conversion, folder)?, + format_spec: Foldable::fold(format_spec, folder)?, + range, + })) + } + Expr::JoinedStr(ExprJoinedStr { values, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::JoinedStr(ExprJoinedStr { + values: Foldable::fold(values, folder)?, + range, + })) + } + Expr::Constant(ExprConstant { value, kind, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Constant(ExprConstant { + value: Foldable::fold(value, folder)?, + kind: Foldable::fold(kind, folder)?, + range, + })) + } + Expr::Attribute(ExprAttribute { + value, + attr, + ctx, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::Attribute(ExprAttribute { value: Foldable::fold(value, folder)?, attr: Foldable::fold(attr, folder)?, ctx: Foldable::fold(ctx, folder)?, + range, })) } - ExprKind::Subscript(ExprSubscript { value, slice, ctx }) => { - Ok(ExprKind::Subscript(ExprSubscript { + Expr::Subscript(ExprSubscript { + value, + slice, + ctx, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::Subscript(ExprSubscript { value: Foldable::fold(value, folder)?, slice: Foldable::fold(slice, folder)?, ctx: Foldable::fold(ctx, folder)?, + range, })) } - ExprKind::Starred(ExprStarred { value, ctx }) => Ok(ExprKind::Starred(ExprStarred { - value: Foldable::fold(value, folder)?, - ctx: Foldable::fold(ctx, folder)?, - })), - ExprKind::Name(ExprName { id, ctx }) => Ok(ExprKind::Name(ExprName { - id: Foldable::fold(id, folder)?, - ctx: Foldable::fold(ctx, folder)?, - })), - ExprKind::List(ExprList { elts, ctx }) => Ok(ExprKind::List(ExprList { - elts: Foldable::fold(elts, folder)?, - ctx: Foldable::fold(ctx, folder)?, - })), - ExprKind::Tuple(ExprTuple { elts, ctx }) => Ok(ExprKind::Tuple(ExprTuple { - elts: Foldable::fold(elts, folder)?, - ctx: Foldable::fold(ctx, folder)?, - })), - ExprKind::Slice(ExprSlice { lower, upper, step }) => Ok(ExprKind::Slice(ExprSlice { - lower: Foldable::fold(lower, folder)?, - upper: Foldable::fold(upper, folder)?, - step: Foldable::fold(step, folder)?, - })), - }) + Expr::Starred(ExprStarred { value, ctx, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Starred(ExprStarred { + value: Foldable::fold(value, folder)?, + ctx: Foldable::fold(ctx, folder)?, + range, + })) + } + Expr::Name(ExprName { id, ctx, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Name(ExprName { + id: Foldable::fold(id, folder)?, + ctx: Foldable::fold(ctx, folder)?, + range, + })) + } + Expr::List(ExprList { elts, ctx, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::List(ExprList { + elts: Foldable::fold(elts, folder)?, + ctx: Foldable::fold(ctx, folder)?, + range, + })) + } + Expr::Tuple(ExprTuple { elts, ctx, range }) => { + let range = folder.map_user(range)?; + Ok(Expr::Tuple(ExprTuple { + elts: Foldable::fold(elts, folder)?, + ctx: Foldable::fold(ctx, folder)?, + range, + })) + } + Expr::Slice(ExprSlice { + lower, + upper, + step, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Expr::Slice(ExprSlice { + lower: Foldable::fold(lower, folder)?, + upper: Foldable::fold(upper, folder)?, + step: Foldable::fold(step, folder)?, + range, + })) + } + } } impl Foldable for ExprContext { type Mapped = ExprContext; @@ -503,11 +797,7 @@ pub fn fold_expr_context + ?Sized>( #[allow(unused)] folder: &mut F, node: ExprContext, ) -> Result { - match node { - ExprContext::Load {} => Ok(ExprContext::Load {}), - ExprContext::Store {} => Ok(ExprContext::Store {}), - ExprContext::Del {} => Ok(ExprContext::Del {}), - } + Ok(node) } impl Foldable for Boolop { type Mapped = Boolop; @@ -522,10 +812,7 @@ pub fn fold_boolop + ?Sized>( #[allow(unused)] folder: &mut F, node: Boolop, ) -> Result { - match node { - Boolop::And {} => Ok(Boolop::And {}), - Boolop::Or {} => Ok(Boolop::Or {}), - } + Ok(node) } impl Foldable for Operator { type Mapped = Operator; @@ -540,21 +827,7 @@ pub fn fold_operator + ?Sized>( #[allow(unused)] folder: &mut F, node: Operator, ) -> Result { - match node { - Operator::Add {} => Ok(Operator::Add {}), - Operator::Sub {} => Ok(Operator::Sub {}), - Operator::Mult {} => Ok(Operator::Mult {}), - Operator::MatMult {} => Ok(Operator::MatMult {}), - Operator::Div {} => Ok(Operator::Div {}), - Operator::Mod {} => Ok(Operator::Mod {}), - Operator::Pow {} => Ok(Operator::Pow {}), - Operator::LShift {} => Ok(Operator::LShift {}), - Operator::RShift {} => Ok(Operator::RShift {}), - Operator::BitOr {} => Ok(Operator::BitOr {}), - Operator::BitXor {} => Ok(Operator::BitXor {}), - Operator::BitAnd {} => Ok(Operator::BitAnd {}), - Operator::FloorDiv {} => Ok(Operator::FloorDiv {}), - } + Ok(node) } impl Foldable for Unaryop { type Mapped = Unaryop; @@ -569,12 +842,7 @@ pub fn fold_unaryop + ?Sized>( #[allow(unused)] folder: &mut F, node: Unaryop, ) -> Result { - match node { - Unaryop::Invert {} => Ok(Unaryop::Invert {}), - Unaryop::Not {} => Ok(Unaryop::Not {}), - Unaryop::UAdd {} => Ok(Unaryop::UAdd {}), - Unaryop::USub {} => Ok(Unaryop::USub {}), - } + Ok(node) } impl Foldable for Cmpop { type Mapped = Cmpop; @@ -589,18 +857,7 @@ pub fn fold_cmpop + ?Sized>( #[allow(unused)] folder: &mut F, node: Cmpop, ) -> Result { - match node { - Cmpop::Eq {} => Ok(Cmpop::Eq {}), - Cmpop::NotEq {} => Ok(Cmpop::NotEq {}), - Cmpop::Lt {} => Ok(Cmpop::Lt {}), - Cmpop::LtE {} => Ok(Cmpop::LtE {}), - Cmpop::Gt {} => Ok(Cmpop::Gt {}), - Cmpop::GtE {} => Ok(Cmpop::GtE {}), - Cmpop::Is {} => Ok(Cmpop::Is {}), - Cmpop::IsNot {} => Ok(Cmpop::IsNot {}), - Cmpop::In {} => Ok(Cmpop::In {}), - Cmpop::NotIn {} => Ok(Cmpop::NotIn {}), - } + Ok(node) } impl Foldable for Comprehension { type Mapped = Comprehension; @@ -620,12 +877,15 @@ pub fn fold_comprehension + ?Sized>( iter, ifs, is_async, + range, } = node; + let range = folder.map_user_cfg(range)?; Ok(Comprehension { target: Foldable::fold(target, folder)?, iter: Foldable::fold(iter, folder)?, ifs: Foldable::fold(ifs, folder)?, is_async: Foldable::fold(is_async, folder)?, + range, }) } impl Foldable for Excepthandler { @@ -641,15 +901,22 @@ pub fn fold_excepthandler + ?Sized>( #[allow(unused)] folder: &mut F, node: Excepthandler, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| match node { - ExcepthandlerKind::ExceptHandler(ExcepthandlerExceptHandler { type_, name, body }) => Ok( - ExcepthandlerKind::ExceptHandler(ExcepthandlerExceptHandler { + match node { + Excepthandler::ExceptHandler(ExcepthandlerExceptHandler { + type_, + name, + body, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Excepthandler::ExceptHandler(ExcepthandlerExceptHandler { type_: Foldable::fold(type_, folder)?, name: Foldable::fold(name, folder)?, body: Foldable::fold(body, folder)?, - }), - ), - }) + range, + })) + } + } } impl Foldable for Arguments { type Mapped = Arguments; @@ -672,7 +939,9 @@ pub fn fold_arguments + ?Sized>( kw_defaults, kwarg, defaults, + range, } = node; + let range = folder.map_user_cfg(range)?; Ok(Arguments { posonlyargs: Foldable::fold(posonlyargs, folder)?, args: Foldable::fold(args, folder)?, @@ -681,6 +950,7 @@ pub fn fold_arguments + ?Sized>( kw_defaults: Foldable::fold(kw_defaults, folder)?, kwarg: Foldable::fold(kwarg, folder)?, defaults: Foldable::fold(defaults, folder)?, + range, }) } impl Foldable for Arg { @@ -696,17 +966,18 @@ pub fn fold_arg + ?Sized>( #[allow(unused)] folder: &mut F, node: Arg, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| { - let ArgData { - arg, - annotation, - type_comment, - } = node; - Ok(ArgData { - arg: Foldable::fold(arg, folder)?, - annotation: Foldable::fold(annotation, folder)?, - type_comment: Foldable::fold(type_comment, folder)?, - }) + let Arg { + arg, + annotation, + type_comment, + range, + } = node; + let range = folder.map_user(range)?; + Ok(Arg { + arg: Foldable::fold(arg, folder)?, + annotation: Foldable::fold(annotation, folder)?, + type_comment: Foldable::fold(type_comment, folder)?, + range, }) } impl Foldable for Keyword { @@ -722,12 +993,12 @@ pub fn fold_keyword + ?Sized>( #[allow(unused)] folder: &mut F, node: Keyword, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| { - let KeywordData { arg, value } = node; - Ok(KeywordData { - arg: Foldable::fold(arg, folder)?, - value: Foldable::fold(value, folder)?, - }) + let Keyword { arg, value, range } = node; + let range = folder.map_user(range)?; + Ok(Keyword { + arg: Foldable::fold(arg, folder)?, + value: Foldable::fold(value, folder)?, + range, }) } impl Foldable for Alias { @@ -743,12 +1014,16 @@ pub fn fold_alias + ?Sized>( #[allow(unused)] folder: &mut F, node: Alias, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| { - let AliasData { name, asname } = node; - Ok(AliasData { - name: Foldable::fold(name, folder)?, - asname: Foldable::fold(asname, folder)?, - }) + let Alias { + name, + asname, + range, + } = node; + let range = folder.map_user(range)?; + Ok(Alias { + name: Foldable::fold(name, folder)?, + asname: Foldable::fold(asname, folder)?, + range, }) } impl Foldable for Withitem { @@ -767,10 +1042,13 @@ pub fn fold_withitem + ?Sized>( let Withitem { context_expr, optional_vars, + range, } = node; + let range = folder.map_user_cfg(range)?; Ok(Withitem { context_expr: Foldable::fold(context_expr, folder)?, optional_vars: Foldable::fold(optional_vars, folder)?, + range, }) } impl Foldable for MatchCase { @@ -790,11 +1068,14 @@ pub fn fold_match_case + ?Sized>( pattern, guard, body, + range, } = node; + let range = folder.map_user_cfg(range)?; Ok(MatchCase { pattern: Foldable::fold(pattern, folder)?, guard: Foldable::fold(guard, folder)?, body: Foldable::fold(body, folder)?, + range, }) } impl Foldable for Pattern { @@ -810,62 +1091,88 @@ pub fn fold_pattern + ?Sized>( #[allow(unused)] folder: &mut F, node: Pattern, ) -> Result, F::Error> { - fold_attributed(folder, node, |folder, node| match node { - PatternKind::MatchValue(PatternMatchValue { value }) => { - Ok(PatternKind::MatchValue(PatternMatchValue { + match node { + Pattern::MatchValue(PatternMatchValue { value, range }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchValue(PatternMatchValue { value: Foldable::fold(value, folder)?, + range, })) } - PatternKind::MatchSingleton(PatternMatchSingleton { value }) => { - Ok(PatternKind::MatchSingleton(PatternMatchSingleton { + Pattern::MatchSingleton(PatternMatchSingleton { value, range }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchSingleton(PatternMatchSingleton { value: Foldable::fold(value, folder)?, + range, })) } - PatternKind::MatchSequence(PatternMatchSequence { patterns }) => { - Ok(PatternKind::MatchSequence(PatternMatchSequence { + Pattern::MatchSequence(PatternMatchSequence { patterns, range }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchSequence(PatternMatchSequence { patterns: Foldable::fold(patterns, folder)?, + range, })) } - PatternKind::MatchMapping(PatternMatchMapping { + Pattern::MatchMapping(PatternMatchMapping { keys, patterns, rest, - }) => Ok(PatternKind::MatchMapping(PatternMatchMapping { - keys: Foldable::fold(keys, folder)?, - patterns: Foldable::fold(patterns, folder)?, - rest: Foldable::fold(rest, folder)?, - })), - PatternKind::MatchClass(PatternMatchClass { + range, + }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchMapping(PatternMatchMapping { + keys: Foldable::fold(keys, folder)?, + patterns: Foldable::fold(patterns, folder)?, + rest: Foldable::fold(rest, folder)?, + range, + })) + } + Pattern::MatchClass(PatternMatchClass { cls, patterns, kwd_attrs, kwd_patterns, - }) => Ok(PatternKind::MatchClass(PatternMatchClass { - cls: Foldable::fold(cls, folder)?, - patterns: Foldable::fold(patterns, folder)?, - kwd_attrs: Foldable::fold(kwd_attrs, folder)?, - kwd_patterns: Foldable::fold(kwd_patterns, folder)?, - })), - PatternKind::MatchStar(PatternMatchStar { name }) => { - Ok(PatternKind::MatchStar(PatternMatchStar { - name: Foldable::fold(name, folder)?, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchClass(PatternMatchClass { + cls: Foldable::fold(cls, folder)?, + patterns: Foldable::fold(patterns, folder)?, + kwd_attrs: Foldable::fold(kwd_attrs, folder)?, + kwd_patterns: Foldable::fold(kwd_patterns, folder)?, + range, })) } - PatternKind::MatchAs(PatternMatchAs { pattern, name }) => { - Ok(PatternKind::MatchAs(PatternMatchAs { + Pattern::MatchStar(PatternMatchStar { name, range }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchStar(PatternMatchStar { + name: Foldable::fold(name, folder)?, + range, + })) + } + Pattern::MatchAs(PatternMatchAs { + pattern, + name, + range, + }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchAs(PatternMatchAs { pattern: Foldable::fold(pattern, folder)?, name: Foldable::fold(name, folder)?, + range, })) } - PatternKind::MatchOr(PatternMatchOr { patterns }) => { - Ok(PatternKind::MatchOr(PatternMatchOr { + Pattern::MatchOr(PatternMatchOr { patterns, range }) => { + let range = folder.map_user(range)?; + Ok(Pattern::MatchOr(PatternMatchOr { patterns: Foldable::fold(patterns, folder)?, + range, })) } - }) + } } -impl Foldable for TypeIgnore { - type Mapped = TypeIgnore; +impl Foldable for TypeIgnore { + type Mapped = TypeIgnore; fn fold + ?Sized>( self, folder: &mut F, @@ -875,13 +1182,15 @@ impl Foldable for TypeIgnore { } pub fn fold_type_ignore + ?Sized>( #[allow(unused)] folder: &mut F, - node: TypeIgnore, -) -> Result { + node: TypeIgnore, +) -> Result, F::Error> { match node { - TypeIgnore::TypeIgnore(TypeIgnoreTypeIgnore { lineno, tag }) => { + TypeIgnore::TypeIgnore(TypeIgnoreTypeIgnore { lineno, tag, range }) => { + let range = folder.map_user_cfg(range)?; Ok(TypeIgnore::TypeIgnore(TypeIgnoreTypeIgnore { lineno: Foldable::fold(lineno, folder)?, tag: Foldable::fold(tag, folder)?, + range, })) } } diff --git a/ast/src/gen/generic.rs b/ast/src/gen/generic.rs index f79eff4bb1..6d819b1605 100644 --- a/ast/src/gen/generic.rs +++ b/ast/src/gen/generic.rs @@ -1,831 +1,918 @@ // File automatically generated by ast/asdl_rs.py. +use crate::text_size::TextRange; #[derive(Clone, Debug, PartialEq)] -pub struct ModModule { - pub body: Vec>, - pub type_ignores: Vec, +pub struct ModModule { + pub range: crate::ranged::OptionalRange, + pub body: Vec>, + pub type_ignores: Vec>, } -impl From> for Mod { - fn from(payload: ModModule) -> Self { +impl From> for Mod { + fn from(payload: ModModule) -> Self { Mod::Module(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ModInteractive { - pub body: Vec>, +pub struct ModInteractive { + pub range: crate::ranged::OptionalRange, + pub body: Vec>, } -impl From> for Mod { - fn from(payload: ModInteractive) -> Self { +impl From> for Mod { + fn from(payload: ModInteractive) -> Self { Mod::Interactive(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ModExpression { - pub body: Box>, +pub struct ModExpression { + pub range: crate::ranged::OptionalRange, + pub body: Box>, } -impl From> for Mod { - fn from(payload: ModExpression) -> Self { +impl From> for Mod { + fn from(payload: ModExpression) -> Self { Mod::Expression(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ModFunctionType { - pub argtypes: Vec>, - pub returns: Box>, +pub struct ModFunctionType { + pub range: crate::ranged::OptionalRange, + pub argtypes: Vec>, + pub returns: Box>, } -impl From> for Mod { - fn from(payload: ModFunctionType) -> Self { +impl From> for Mod { + fn from(payload: ModFunctionType) -> Self { Mod::FunctionType(payload) } } #[derive(Clone, Debug, PartialEq, is_macro::Is)] -pub enum Mod { - Module(ModModule), - Interactive(ModInteractive), - Expression(ModExpression), - FunctionType(ModFunctionType), +pub enum Mod { + Module(ModModule), + Interactive(ModInteractive), + Expression(ModExpression), + FunctionType(ModFunctionType), } #[derive(Clone, Debug, PartialEq)] -pub struct StmtFunctionDef { +pub struct StmtFunctionDef { + pub range: R, pub name: Identifier, - pub args: Box>, - pub body: Vec>, - pub decorator_list: Vec>, - pub returns: Option>>, + pub args: Box>, + pub body: Vec>, + pub decorator_list: Vec>, + pub returns: Option>>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtFunctionDef) -> Self { - StmtKind::FunctionDef(payload) +impl From> for Stmt { + fn from(payload: StmtFunctionDef) -> Self { + Stmt::FunctionDef(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAsyncFunctionDef { +pub struct StmtAsyncFunctionDef { + pub range: R, pub name: Identifier, - pub args: Box>, - pub body: Vec>, - pub decorator_list: Vec>, - pub returns: Option>>, + pub args: Box>, + pub body: Vec>, + pub decorator_list: Vec>, + pub returns: Option>>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtAsyncFunctionDef) -> Self { - StmtKind::AsyncFunctionDef(payload) +impl From> for Stmt { + fn from(payload: StmtAsyncFunctionDef) -> Self { + Stmt::AsyncFunctionDef(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtClassDef { +pub struct StmtClassDef { + pub range: R, pub name: Identifier, - pub bases: Vec>, - pub keywords: Vec>, - pub body: Vec>, - pub decorator_list: Vec>, + pub bases: Vec>, + pub keywords: Vec>, + pub body: Vec>, + pub decorator_list: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtClassDef) -> Self { - StmtKind::ClassDef(payload) +impl From> for Stmt { + fn from(payload: StmtClassDef) -> Self { + Stmt::ClassDef(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtReturn { - pub value: Option>>, +pub struct StmtReturn { + pub range: R, + pub value: Option>>, } -impl From> for StmtKind { - fn from(payload: StmtReturn) -> Self { - StmtKind::Return(payload) +impl From> for Stmt { + fn from(payload: StmtReturn) -> Self { + Stmt::Return(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtDelete { - pub targets: Vec>, +pub struct StmtDelete { + pub range: R, + pub targets: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtDelete) -> Self { - StmtKind::Delete(payload) +impl From> for Stmt { + fn from(payload: StmtDelete) -> Self { + Stmt::Delete(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAssign { - pub targets: Vec>, - pub value: Box>, +pub struct StmtAssign { + pub range: R, + pub targets: Vec>, + pub value: Box>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtAssign) -> Self { - StmtKind::Assign(payload) +impl From> for Stmt { + fn from(payload: StmtAssign) -> Self { + Stmt::Assign(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAugAssign { - pub target: Box>, +pub struct StmtAugAssign { + pub range: R, + pub target: Box>, pub op: Operator, - pub value: Box>, + pub value: Box>, } -impl From> for StmtKind { - fn from(payload: StmtAugAssign) -> Self { - StmtKind::AugAssign(payload) +impl From> for Stmt { + fn from(payload: StmtAugAssign) -> Self { + Stmt::AugAssign(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAnnAssign { - pub target: Box>, - pub annotation: Box>, - pub value: Option>>, +pub struct StmtAnnAssign { + pub range: R, + pub target: Box>, + pub annotation: Box>, + pub value: Option>>, pub simple: bool, } -impl From> for StmtKind { - fn from(payload: StmtAnnAssign) -> Self { - StmtKind::AnnAssign(payload) +impl From> for Stmt { + fn from(payload: StmtAnnAssign) -> Self { + Stmt::AnnAssign(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtFor { - pub target: Box>, - pub iter: Box>, - pub body: Vec>, - pub orelse: Vec>, +pub struct StmtFor { + pub range: R, + pub target: Box>, + pub iter: Box>, + pub body: Vec>, + pub orelse: Vec>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtFor) -> Self { - StmtKind::For(payload) +impl From> for Stmt { + fn from(payload: StmtFor) -> Self { + Stmt::For(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAsyncFor { - pub target: Box>, - pub iter: Box>, - pub body: Vec>, - pub orelse: Vec>, +pub struct StmtAsyncFor { + pub range: R, + pub target: Box>, + pub iter: Box>, + pub body: Vec>, + pub orelse: Vec>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtAsyncFor) -> Self { - StmtKind::AsyncFor(payload) +impl From> for Stmt { + fn from(payload: StmtAsyncFor) -> Self { + Stmt::AsyncFor(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtWhile { - pub test: Box>, - pub body: Vec>, - pub orelse: Vec>, +pub struct StmtWhile { + pub range: R, + pub test: Box>, + pub body: Vec>, + pub orelse: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtWhile) -> Self { - StmtKind::While(payload) +impl From> for Stmt { + fn from(payload: StmtWhile) -> Self { + Stmt::While(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtIf { - pub test: Box>, - pub body: Vec>, - pub orelse: Vec>, +pub struct StmtIf { + pub range: R, + pub test: Box>, + pub body: Vec>, + pub orelse: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtIf) -> Self { - StmtKind::If(payload) +impl From> for Stmt { + fn from(payload: StmtIf) -> Self { + Stmt::If(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtWith { - pub items: Vec>, - pub body: Vec>, +pub struct StmtWith { + pub range: R, + pub items: Vec>, + pub body: Vec>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtWith) -> Self { - StmtKind::With(payload) +impl From> for Stmt { + fn from(payload: StmtWith) -> Self { + Stmt::With(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAsyncWith { - pub items: Vec>, - pub body: Vec>, +pub struct StmtAsyncWith { + pub range: R, + pub items: Vec>, + pub body: Vec>, pub type_comment: Option, } -impl From> for StmtKind { - fn from(payload: StmtAsyncWith) -> Self { - StmtKind::AsyncWith(payload) +impl From> for Stmt { + fn from(payload: StmtAsyncWith) -> Self { + Stmt::AsyncWith(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtMatch { - pub subject: Box>, - pub cases: Vec>, +pub struct StmtMatch { + pub range: R, + pub subject: Box>, + pub cases: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtMatch) -> Self { - StmtKind::Match(payload) +impl From> for Stmt { + fn from(payload: StmtMatch) -> Self { + Stmt::Match(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtRaise { - pub exc: Option>>, - pub cause: Option>>, +pub struct StmtRaise { + pub range: R, + pub exc: Option>>, + pub cause: Option>>, } -impl From> for StmtKind { - fn from(payload: StmtRaise) -> Self { - StmtKind::Raise(payload) +impl From> for Stmt { + fn from(payload: StmtRaise) -> Self { + Stmt::Raise(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtTry { - pub body: Vec>, - pub handlers: Vec>, - pub orelse: Vec>, - pub finalbody: Vec>, +pub struct StmtTry { + pub range: R, + pub body: Vec>, + pub handlers: Vec>, + pub orelse: Vec>, + pub finalbody: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtTry) -> Self { - StmtKind::Try(payload) +impl From> for Stmt { + fn from(payload: StmtTry) -> Self { + Stmt::Try(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtTryStar { - pub body: Vec>, - pub handlers: Vec>, - pub orelse: Vec>, - pub finalbody: Vec>, +pub struct StmtTryStar { + pub range: R, + pub body: Vec>, + pub handlers: Vec>, + pub orelse: Vec>, + pub finalbody: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtTryStar) -> Self { - StmtKind::TryStar(payload) +impl From> for Stmt { + fn from(payload: StmtTryStar) -> Self { + Stmt::TryStar(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtAssert { - pub test: Box>, - pub msg: Option>>, +pub struct StmtAssert { + pub range: R, + pub test: Box>, + pub msg: Option>>, } -impl From> for StmtKind { - fn from(payload: StmtAssert) -> Self { - StmtKind::Assert(payload) +impl From> for Stmt { + fn from(payload: StmtAssert) -> Self { + Stmt::Assert(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtImport { - pub names: Vec>, +pub struct StmtImport { + pub range: R, + pub names: Vec>, } -impl From> for StmtKind { - fn from(payload: StmtImport) -> Self { - StmtKind::Import(payload) +impl From> for Stmt { + fn from(payload: StmtImport) -> Self { + Stmt::Import(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtImportFrom { +pub struct StmtImportFrom { + pub range: R, pub module: Option, - pub names: Vec>, + pub names: Vec>, pub level: Option, } -impl From> for StmtKind { - fn from(payload: StmtImportFrom) -> Self { - StmtKind::ImportFrom(payload) +impl From> for Stmt { + fn from(payload: StmtImportFrom) -> Self { + Stmt::ImportFrom(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtGlobal { +pub struct StmtGlobal { + pub range: R, pub names: Vec, } -impl From for StmtKind { - fn from(payload: StmtGlobal) -> Self { - StmtKind::Global(payload) +impl From> for Stmt { + fn from(payload: StmtGlobal) -> Self { + Stmt::Global(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtNonlocal { +pub struct StmtNonlocal { + pub range: R, pub names: Vec, } -impl From for StmtKind { - fn from(payload: StmtNonlocal) -> Self { - StmtKind::Nonlocal(payload) +impl From> for Stmt { + fn from(payload: StmtNonlocal) -> Self { + Stmt::Nonlocal(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct StmtExpr { - pub value: Box>, +pub struct StmtExpr { + pub range: R, + pub value: Box>, } -impl From> for StmtKind { - fn from(payload: StmtExpr) -> Self { - StmtKind::Expr(payload) +impl From> for Stmt { + fn from(payload: StmtExpr) -> Self { + Stmt::Expr(payload) + } +} + +#[derive(Clone, Debug, PartialEq)] +pub struct StmtPass { + pub range: R, +} + +impl From> for Stmt { + fn from(payload: StmtPass) -> Self { + Stmt::Pass(payload) + } +} + +#[derive(Clone, Debug, PartialEq)] +pub struct StmtBreak { + pub range: R, +} + +impl From> for Stmt { + fn from(payload: StmtBreak) -> Self { + Stmt::Break(payload) + } +} + +#[derive(Clone, Debug, PartialEq)] +pub struct StmtContinue { + pub range: R, +} + +impl From> for Stmt { + fn from(payload: StmtContinue) -> Self { + Stmt::Continue(payload) } } #[derive(Clone, Debug, PartialEq, is_macro::Is)] -pub enum StmtKind { +pub enum Stmt { #[is(name = "function_def_stmt")] - FunctionDef(StmtFunctionDef), + FunctionDef(StmtFunctionDef), #[is(name = "async_function_def_stmt")] - AsyncFunctionDef(StmtAsyncFunctionDef), + AsyncFunctionDef(StmtAsyncFunctionDef), #[is(name = "class_def_stmt")] - ClassDef(StmtClassDef), + ClassDef(StmtClassDef), #[is(name = "return_stmt")] - Return(StmtReturn), + Return(StmtReturn), #[is(name = "delete_stmt")] - Delete(StmtDelete), + Delete(StmtDelete), #[is(name = "assign_stmt")] - Assign(StmtAssign), + Assign(StmtAssign), #[is(name = "aug_assign_stmt")] - AugAssign(StmtAugAssign), + AugAssign(StmtAugAssign), #[is(name = "ann_assign_stmt")] - AnnAssign(StmtAnnAssign), + AnnAssign(StmtAnnAssign), #[is(name = "for_stmt")] - For(StmtFor), + For(StmtFor), #[is(name = "async_for_stmt")] - AsyncFor(StmtAsyncFor), + AsyncFor(StmtAsyncFor), #[is(name = "while_stmt")] - While(StmtWhile), + While(StmtWhile), #[is(name = "if_stmt")] - If(StmtIf), + If(StmtIf), #[is(name = "with_stmt")] - With(StmtWith), + With(StmtWith), #[is(name = "async_with_stmt")] - AsyncWith(StmtAsyncWith), + AsyncWith(StmtAsyncWith), #[is(name = "match_stmt")] - Match(StmtMatch), + Match(StmtMatch), #[is(name = "raise_stmt")] - Raise(StmtRaise), + Raise(StmtRaise), #[is(name = "try_stmt")] - Try(StmtTry), + Try(StmtTry), #[is(name = "try_star_stmt")] - TryStar(StmtTryStar), + TryStar(StmtTryStar), #[is(name = "assert_stmt")] - Assert(StmtAssert), + Assert(StmtAssert), #[is(name = "import_stmt")] - Import(StmtImport), + Import(StmtImport), #[is(name = "import_from_stmt")] - ImportFrom(StmtImportFrom), + ImportFrom(StmtImportFrom), #[is(name = "global_stmt")] - Global(StmtGlobal), + Global(StmtGlobal), #[is(name = "nonlocal_stmt")] - Nonlocal(StmtNonlocal), + Nonlocal(StmtNonlocal), #[is(name = "expr_stmt")] - Expr(StmtExpr), + Expr(StmtExpr), #[is(name = "pass_stmt")] - Pass, + Pass(StmtPass), #[is(name = "break_stmt")] - Break, + Break(StmtBreak), #[is(name = "continue_stmt")] - Continue, + Continue(StmtContinue), } -pub type Stmt = Attributed, U>; #[derive(Clone, Debug, PartialEq)] -pub struct ExprBoolOp { +pub struct ExprBoolOp { + pub range: R, pub op: Boolop, - pub values: Vec>, + pub values: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprBoolOp) -> Self { - ExprKind::BoolOp(payload) +impl From> for Expr { + fn from(payload: ExprBoolOp) -> Self { + Expr::BoolOp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprNamedExpr { - pub target: Box>, - pub value: Box>, +pub struct ExprNamedExpr { + pub range: R, + pub target: Box>, + pub value: Box>, } -impl From> for ExprKind { - fn from(payload: ExprNamedExpr) -> Self { - ExprKind::NamedExpr(payload) +impl From> for Expr { + fn from(payload: ExprNamedExpr) -> Self { + Expr::NamedExpr(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprBinOp { - pub left: Box>, +pub struct ExprBinOp { + pub range: R, + pub left: Box>, pub op: Operator, - pub right: Box>, + pub right: Box>, } -impl From> for ExprKind { - fn from(payload: ExprBinOp) -> Self { - ExprKind::BinOp(payload) +impl From> for Expr { + fn from(payload: ExprBinOp) -> Self { + Expr::BinOp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprUnaryOp { +pub struct ExprUnaryOp { + pub range: R, pub op: Unaryop, - pub operand: Box>, + pub operand: Box>, } -impl From> for ExprKind { - fn from(payload: ExprUnaryOp) -> Self { - ExprKind::UnaryOp(payload) +impl From> for Expr { + fn from(payload: ExprUnaryOp) -> Self { + Expr::UnaryOp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprLambda { - pub args: Box>, - pub body: Box>, +pub struct ExprLambda { + pub range: R, + pub args: Box>, + pub body: Box>, } -impl From> for ExprKind { - fn from(payload: ExprLambda) -> Self { - ExprKind::Lambda(payload) +impl From> for Expr { + fn from(payload: ExprLambda) -> Self { + Expr::Lambda(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprIfExp { - pub test: Box>, - pub body: Box>, - pub orelse: Box>, +pub struct ExprIfExp { + pub range: R, + pub test: Box>, + pub body: Box>, + pub orelse: Box>, } -impl From> for ExprKind { - fn from(payload: ExprIfExp) -> Self { - ExprKind::IfExp(payload) +impl From> for Expr { + fn from(payload: ExprIfExp) -> Self { + Expr::IfExp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprDict { - pub keys: Vec>>, - pub values: Vec>, +pub struct ExprDict { + pub range: R, + pub keys: Vec>>, + pub values: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprDict) -> Self { - ExprKind::Dict(payload) +impl From> for Expr { + fn from(payload: ExprDict) -> Self { + Expr::Dict(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprSet { - pub elts: Vec>, +pub struct ExprSet { + pub range: R, + pub elts: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprSet) -> Self { - ExprKind::Set(payload) +impl From> for Expr { + fn from(payload: ExprSet) -> Self { + Expr::Set(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprListComp { - pub elt: Box>, - pub generators: Vec>, +pub struct ExprListComp { + pub range: R, + pub elt: Box>, + pub generators: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprListComp) -> Self { - ExprKind::ListComp(payload) +impl From> for Expr { + fn from(payload: ExprListComp) -> Self { + Expr::ListComp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprSetComp { - pub elt: Box>, - pub generators: Vec>, +pub struct ExprSetComp { + pub range: R, + pub elt: Box>, + pub generators: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprSetComp) -> Self { - ExprKind::SetComp(payload) +impl From> for Expr { + fn from(payload: ExprSetComp) -> Self { + Expr::SetComp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprDictComp { - pub key: Box>, - pub value: Box>, - pub generators: Vec>, +pub struct ExprDictComp { + pub range: R, + pub key: Box>, + pub value: Box>, + pub generators: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprDictComp) -> Self { - ExprKind::DictComp(payload) +impl From> for Expr { + fn from(payload: ExprDictComp) -> Self { + Expr::DictComp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprGeneratorExp { - pub elt: Box>, - pub generators: Vec>, +pub struct ExprGeneratorExp { + pub range: R, + pub elt: Box>, + pub generators: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprGeneratorExp) -> Self { - ExprKind::GeneratorExp(payload) +impl From> for Expr { + fn from(payload: ExprGeneratorExp) -> Self { + Expr::GeneratorExp(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprAwait { - pub value: Box>, +pub struct ExprAwait { + pub range: R, + pub value: Box>, } -impl From> for ExprKind { - fn from(payload: ExprAwait) -> Self { - ExprKind::Await(payload) +impl From> for Expr { + fn from(payload: ExprAwait) -> Self { + Expr::Await(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprYield { - pub value: Option>>, +pub struct ExprYield { + pub range: R, + pub value: Option>>, } -impl From> for ExprKind { - fn from(payload: ExprYield) -> Self { - ExprKind::Yield(payload) +impl From> for Expr { + fn from(payload: ExprYield) -> Self { + Expr::Yield(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprYieldFrom { - pub value: Box>, +pub struct ExprYieldFrom { + pub range: R, + pub value: Box>, } -impl From> for ExprKind { - fn from(payload: ExprYieldFrom) -> Self { - ExprKind::YieldFrom(payload) +impl From> for Expr { + fn from(payload: ExprYieldFrom) -> Self { + Expr::YieldFrom(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprCompare { - pub left: Box>, +pub struct ExprCompare { + pub range: R, + pub left: Box>, pub ops: Vec, - pub comparators: Vec>, + pub comparators: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprCompare) -> Self { - ExprKind::Compare(payload) +impl From> for Expr { + fn from(payload: ExprCompare) -> Self { + Expr::Compare(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprCall { - pub func: Box>, - pub args: Vec>, - pub keywords: Vec>, +pub struct ExprCall { + pub range: R, + pub func: Box>, + pub args: Vec>, + pub keywords: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprCall) -> Self { - ExprKind::Call(payload) +impl From> for Expr { + fn from(payload: ExprCall) -> Self { + Expr::Call(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprFormattedValue { - pub value: Box>, +pub struct ExprFormattedValue { + pub range: R, + pub value: Box>, pub conversion: Int, - pub format_spec: Option>>, + pub format_spec: Option>>, } -impl From> for ExprKind { - fn from(payload: ExprFormattedValue) -> Self { - ExprKind::FormattedValue(payload) +impl From> for Expr { + fn from(payload: ExprFormattedValue) -> Self { + Expr::FormattedValue(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprJoinedStr { - pub values: Vec>, +pub struct ExprJoinedStr { + pub range: R, + pub values: Vec>, } -impl From> for ExprKind { - fn from(payload: ExprJoinedStr) -> Self { - ExprKind::JoinedStr(payload) +impl From> for Expr { + fn from(payload: ExprJoinedStr) -> Self { + Expr::JoinedStr(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprConstant { +pub struct ExprConstant { + pub range: R, pub value: Constant, pub kind: Option, } -impl From for ExprKind { - fn from(payload: ExprConstant) -> Self { - ExprKind::Constant(payload) +impl From> for Expr { + fn from(payload: ExprConstant) -> Self { + Expr::Constant(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprAttribute { - pub value: Box>, +pub struct ExprAttribute { + pub range: R, + pub value: Box>, pub attr: Identifier, pub ctx: ExprContext, } -impl From> for ExprKind { - fn from(payload: ExprAttribute) -> Self { - ExprKind::Attribute(payload) +impl From> for Expr { + fn from(payload: ExprAttribute) -> Self { + Expr::Attribute(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprSubscript { - pub value: Box>, - pub slice: Box>, +pub struct ExprSubscript { + pub range: R, + pub value: Box>, + pub slice: Box>, pub ctx: ExprContext, } -impl From> for ExprKind { - fn from(payload: ExprSubscript) -> Self { - ExprKind::Subscript(payload) +impl From> for Expr { + fn from(payload: ExprSubscript) -> Self { + Expr::Subscript(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprStarred { - pub value: Box>, +pub struct ExprStarred { + pub range: R, + pub value: Box>, pub ctx: ExprContext, } -impl From> for ExprKind { - fn from(payload: ExprStarred) -> Self { - ExprKind::Starred(payload) +impl From> for Expr { + fn from(payload: ExprStarred) -> Self { + Expr::Starred(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprName { +pub struct ExprName { + pub range: R, pub id: Identifier, pub ctx: ExprContext, } -impl From for ExprKind { - fn from(payload: ExprName) -> Self { - ExprKind::Name(payload) +impl From> for Expr { + fn from(payload: ExprName) -> Self { + Expr::Name(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprList { - pub elts: Vec>, +pub struct ExprList { + pub range: R, + pub elts: Vec>, pub ctx: ExprContext, } -impl From> for ExprKind { - fn from(payload: ExprList) -> Self { - ExprKind::List(payload) +impl From> for Expr { + fn from(payload: ExprList) -> Self { + Expr::List(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprTuple { - pub elts: Vec>, +pub struct ExprTuple { + pub range: R, + pub elts: Vec>, pub ctx: ExprContext, } -impl From> for ExprKind { - fn from(payload: ExprTuple) -> Self { - ExprKind::Tuple(payload) +impl From> for Expr { + fn from(payload: ExprTuple) -> Self { + Expr::Tuple(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct ExprSlice { - pub lower: Option>>, - pub upper: Option>>, - pub step: Option>>, +pub struct ExprSlice { + pub range: R, + pub lower: Option>>, + pub upper: Option>>, + pub step: Option>>, } -impl From> for ExprKind { - fn from(payload: ExprSlice) -> Self { - ExprKind::Slice(payload) +impl From> for Expr { + fn from(payload: ExprSlice) -> Self { + Expr::Slice(payload) } } #[derive(Clone, Debug, PartialEq, is_macro::Is)] -pub enum ExprKind { +pub enum Expr { #[is(name = "bool_op_expr")] - BoolOp(ExprBoolOp), + BoolOp(ExprBoolOp), #[is(name = "named_expr_expr")] - NamedExpr(ExprNamedExpr), + NamedExpr(ExprNamedExpr), #[is(name = "bin_op_expr")] - BinOp(ExprBinOp), + BinOp(ExprBinOp), #[is(name = "unary_op_expr")] - UnaryOp(ExprUnaryOp), + UnaryOp(ExprUnaryOp), #[is(name = "lambda_expr")] - Lambda(ExprLambda), + Lambda(ExprLambda), #[is(name = "if_exp_expr")] - IfExp(ExprIfExp), + IfExp(ExprIfExp), #[is(name = "dict_expr")] - Dict(ExprDict), + Dict(ExprDict), #[is(name = "set_expr")] - Set(ExprSet), + Set(ExprSet), #[is(name = "list_comp_expr")] - ListComp(ExprListComp), + ListComp(ExprListComp), #[is(name = "set_comp_expr")] - SetComp(ExprSetComp), + SetComp(ExprSetComp), #[is(name = "dict_comp_expr")] - DictComp(ExprDictComp), + DictComp(ExprDictComp), #[is(name = "generator_exp_expr")] - GeneratorExp(ExprGeneratorExp), + GeneratorExp(ExprGeneratorExp), #[is(name = "await_expr")] - Await(ExprAwait), + Await(ExprAwait), #[is(name = "yield_expr")] - Yield(ExprYield), + Yield(ExprYield), #[is(name = "yield_from_expr")] - YieldFrom(ExprYieldFrom), + YieldFrom(ExprYieldFrom), #[is(name = "compare_expr")] - Compare(ExprCompare), + Compare(ExprCompare), #[is(name = "call_expr")] - Call(ExprCall), + Call(ExprCall), #[is(name = "formatted_value_expr")] - FormattedValue(ExprFormattedValue), + FormattedValue(ExprFormattedValue), #[is(name = "joined_str_expr")] - JoinedStr(ExprJoinedStr), + JoinedStr(ExprJoinedStr), #[is(name = "constant_expr")] - Constant(ExprConstant), + Constant(ExprConstant), #[is(name = "attribute_expr")] - Attribute(ExprAttribute), + Attribute(ExprAttribute), #[is(name = "subscript_expr")] - Subscript(ExprSubscript), + Subscript(ExprSubscript), #[is(name = "starred_expr")] - Starred(ExprStarred), + Starred(ExprStarred), #[is(name = "name_expr")] - Name(ExprName), + Name(ExprName), #[is(name = "list_expr")] - List(ExprList), + List(ExprList), #[is(name = "tuple_expr")] - Tuple(ExprTuple), + Tuple(ExprTuple), #[is(name = "slice_expr")] - Slice(ExprSlice), + Slice(ExprSlice), } -pub type Expr = Attributed, U>; -#[derive(Clone, Debug, PartialEq, is_macro::Is)] +#[derive(Clone, Debug, PartialEq, is_macro::Is, Copy, Hash, Eq)] pub enum ExprContext { Load, Store, Del, } -#[derive(Clone, Debug, PartialEq, is_macro::Is)] +#[derive(Clone, Debug, PartialEq, is_macro::Is, Copy, Hash, Eq)] pub enum Boolop { And, Or, } -#[derive(Clone, Debug, PartialEq, is_macro::Is)] +#[derive(Clone, Debug, PartialEq, is_macro::Is, Copy, Hash, Eq)] pub enum Operator { Add, Sub, @@ -842,7 +929,7 @@ pub enum Operator { FloorDiv, } -#[derive(Clone, Debug, PartialEq, is_macro::Is)] +#[derive(Clone, Debug, PartialEq, is_macro::Is, Copy, Hash, Eq)] pub enum Unaryop { Invert, Not, @@ -850,7 +937,7 @@ pub enum Unaryop { USub, } -#[derive(Clone, Debug, PartialEq, is_macro::Is)] +#[derive(Clone, Debug, PartialEq, is_macro::Is, Copy, Hash, Eq)] pub enum Cmpop { Eq, NotEq, @@ -865,198 +952,210 @@ pub enum Cmpop { } #[derive(Clone, Debug, PartialEq)] -pub struct Comprehension { - pub target: Expr, - pub iter: Expr, - pub ifs: Vec>, +pub struct Comprehension { + pub target: Expr, + pub iter: Expr, + pub ifs: Vec>, pub is_async: bool, + pub range: crate::ranged::OptionalRange, } #[derive(Clone, Debug, PartialEq)] -pub struct ExcepthandlerExceptHandler { - pub type_: Option>>, +pub struct ExcepthandlerExceptHandler { + pub range: R, + pub type_: Option>>, pub name: Option, - pub body: Vec>, + pub body: Vec>, } -impl From> for ExcepthandlerKind { - fn from(payload: ExcepthandlerExceptHandler) -> Self { - ExcepthandlerKind::ExceptHandler(payload) +impl From> for Excepthandler { + fn from(payload: ExcepthandlerExceptHandler) -> Self { + Excepthandler::ExceptHandler(payload) } } #[derive(Clone, Debug, PartialEq, is_macro::Is)] -pub enum ExcepthandlerKind { - ExceptHandler(ExcepthandlerExceptHandler), -} -pub type Excepthandler = Attributed, U>; - -#[derive(Clone, Debug, PartialEq)] -pub struct Arguments { - pub posonlyargs: Vec>, - pub args: Vec>, - pub vararg: Option>>, - pub kwonlyargs: Vec>, - pub kw_defaults: Vec>, - pub kwarg: Option>>, - pub defaults: Vec>, +pub enum Excepthandler { + ExceptHandler(ExcepthandlerExceptHandler), } #[derive(Clone, Debug, PartialEq)] -pub struct ArgData { +pub struct Arguments { + pub posonlyargs: Vec>, + pub args: Vec>, + pub vararg: Option>>, + pub kwonlyargs: Vec>, + pub kw_defaults: Vec>, + pub kwarg: Option>>, + pub defaults: Vec>, + pub range: crate::ranged::OptionalRange, +} + +#[derive(Clone, Debug, PartialEq)] +pub struct Arg { pub arg: Identifier, - pub annotation: Option>>, + pub annotation: Option>>, pub type_comment: Option, + pub range: R, } -pub type Arg = Attributed, U>; #[derive(Clone, Debug, PartialEq)] -pub struct KeywordData { +pub struct Keyword { pub arg: Option, - pub value: Expr, + pub value: Expr, + pub range: R, } -pub type Keyword = Attributed, U>; #[derive(Clone, Debug, PartialEq)] -pub struct AliasData { +pub struct Alias { pub name: Identifier, pub asname: Option, -} -pub type Alias = Attributed; - -#[derive(Clone, Debug, PartialEq)] -pub struct Withitem { - pub context_expr: Expr, - pub optional_vars: Option>>, + pub range: R, } #[derive(Clone, Debug, PartialEq)] -pub struct MatchCase { - pub pattern: Pattern, - pub guard: Option>>, - pub body: Vec>, +pub struct Withitem { + pub context_expr: Expr, + pub optional_vars: Option>>, + pub range: crate::ranged::OptionalRange, } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchValue { - pub value: Box>, +pub struct MatchCase { + pub pattern: Pattern, + pub guard: Option>>, + pub body: Vec>, + pub range: crate::ranged::OptionalRange, } -impl From> for PatternKind { - fn from(payload: PatternMatchValue) -> Self { - PatternKind::MatchValue(payload) +#[derive(Clone, Debug, PartialEq)] +pub struct PatternMatchValue { + pub range: R, + pub value: Box>, +} + +impl From> for Pattern { + fn from(payload: PatternMatchValue) -> Self { + Pattern::MatchValue(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchSingleton { +pub struct PatternMatchSingleton { + pub range: R, pub value: Constant, } -impl From for PatternKind { - fn from(payload: PatternMatchSingleton) -> Self { - PatternKind::MatchSingleton(payload) +impl From> for Pattern { + fn from(payload: PatternMatchSingleton) -> Self { + Pattern::MatchSingleton(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchSequence { - pub patterns: Vec>, +pub struct PatternMatchSequence { + pub range: R, + pub patterns: Vec>, } -impl From> for PatternKind { - fn from(payload: PatternMatchSequence) -> Self { - PatternKind::MatchSequence(payload) +impl From> for Pattern { + fn from(payload: PatternMatchSequence) -> Self { + Pattern::MatchSequence(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchMapping { - pub keys: Vec>, - pub patterns: Vec>, +pub struct PatternMatchMapping { + pub range: R, + pub keys: Vec>, + pub patterns: Vec>, pub rest: Option, } -impl From> for PatternKind { - fn from(payload: PatternMatchMapping) -> Self { - PatternKind::MatchMapping(payload) +impl From> for Pattern { + fn from(payload: PatternMatchMapping) -> Self { + Pattern::MatchMapping(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchClass { - pub cls: Box>, - pub patterns: Vec>, +pub struct PatternMatchClass { + pub range: R, + pub cls: Box>, + pub patterns: Vec>, pub kwd_attrs: Vec, - pub kwd_patterns: Vec>, + pub kwd_patterns: Vec>, } -impl From> for PatternKind { - fn from(payload: PatternMatchClass) -> Self { - PatternKind::MatchClass(payload) +impl From> for Pattern { + fn from(payload: PatternMatchClass) -> Self { + Pattern::MatchClass(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchStar { +pub struct PatternMatchStar { + pub range: R, pub name: Option, } -impl From for PatternKind { - fn from(payload: PatternMatchStar) -> Self { - PatternKind::MatchStar(payload) +impl From> for Pattern { + fn from(payload: PatternMatchStar) -> Self { + Pattern::MatchStar(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchAs { - pub pattern: Option>>, +pub struct PatternMatchAs { + pub range: R, + pub pattern: Option>>, pub name: Option, } -impl From> for PatternKind { - fn from(payload: PatternMatchAs) -> Self { - PatternKind::MatchAs(payload) +impl From> for Pattern { + fn from(payload: PatternMatchAs) -> Self { + Pattern::MatchAs(payload) } } #[derive(Clone, Debug, PartialEq)] -pub struct PatternMatchOr { - pub patterns: Vec>, +pub struct PatternMatchOr { + pub range: R, + pub patterns: Vec>, } -impl From> for PatternKind { - fn from(payload: PatternMatchOr) -> Self { - PatternKind::MatchOr(payload) +impl From> for Pattern { + fn from(payload: PatternMatchOr) -> Self { + Pattern::MatchOr(payload) } } #[derive(Clone, Debug, PartialEq, is_macro::Is)] -pub enum PatternKind { - MatchValue(PatternMatchValue), - MatchSingleton(PatternMatchSingleton), - MatchSequence(PatternMatchSequence), - MatchMapping(PatternMatchMapping), - MatchClass(PatternMatchClass), - MatchStar(PatternMatchStar), - MatchAs(PatternMatchAs), - MatchOr(PatternMatchOr), +pub enum Pattern { + MatchValue(PatternMatchValue), + MatchSingleton(PatternMatchSingleton), + MatchSequence(PatternMatchSequence), + MatchMapping(PatternMatchMapping), + MatchClass(PatternMatchClass), + MatchStar(PatternMatchStar), + MatchAs(PatternMatchAs), + MatchOr(PatternMatchOr), } -pub type Pattern = Attributed, U>; #[derive(Clone, Debug, PartialEq)] -pub struct TypeIgnoreTypeIgnore { +pub struct TypeIgnoreTypeIgnore { + pub range: crate::ranged::OptionalRange, pub lineno: Int, pub tag: String, } -impl From for TypeIgnore { - fn from(payload: TypeIgnoreTypeIgnore) -> Self { +impl From> for TypeIgnore { + fn from(payload: TypeIgnoreTypeIgnore) -> Self { TypeIgnore::TypeIgnore(payload) } } #[derive(Clone, Debug, PartialEq, is_macro::Is)] -pub enum TypeIgnore { - TypeIgnore(TypeIgnoreTypeIgnore), +pub enum TypeIgnore { + TypeIgnore(TypeIgnoreTypeIgnore), } diff --git a/ast/src/gen/located.rs b/ast/src/gen/located.rs index 0e71a3c81d..32f01e7ae1 100644 --- a/ast/src/gen/located.rs +++ b/ast/src/gen/located.rs @@ -1,95 +1,753 @@ // File automatically generated by ast/asdl_rs.py. -use rustpython_parser_core::source_code::SourceRange; +pub type Mod = crate::generic::Mod; -pub type Located = super::generic::Attributed; -pub type Mod = super::generic::Mod; -pub type ModModule = super::generic::ModModule; -pub type ModInteractive = super::generic::ModInteractive; -pub type ModExpression = super::generic::ModExpression; -pub type ModFunctionType = super::generic::ModFunctionType; -pub type Stmt = super::generic::Stmt; -pub type StmtKind = super::generic::StmtKind; -pub type StmtFunctionDef = super::generic::StmtFunctionDef; -pub type StmtAsyncFunctionDef = super::generic::StmtAsyncFunctionDef; -pub type StmtClassDef = super::generic::StmtClassDef; -pub type StmtReturn = super::generic::StmtReturn; -pub type StmtDelete = super::generic::StmtDelete; -pub type StmtAssign = super::generic::StmtAssign; -pub type StmtAugAssign = super::generic::StmtAugAssign; -pub type StmtAnnAssign = super::generic::StmtAnnAssign; -pub type StmtFor = super::generic::StmtFor; -pub type StmtAsyncFor = super::generic::StmtAsyncFor; -pub type StmtWhile = super::generic::StmtWhile; -pub type StmtIf = super::generic::StmtIf; -pub type StmtWith = super::generic::StmtWith; -pub type StmtAsyncWith = super::generic::StmtAsyncWith; -pub type StmtMatch = super::generic::StmtMatch; -pub type StmtRaise = super::generic::StmtRaise; -pub type StmtTry = super::generic::StmtTry; -pub type StmtTryStar = super::generic::StmtTryStar; -pub type StmtAssert = super::generic::StmtAssert; -pub type StmtImport = super::generic::StmtImport; -pub type StmtImportFrom = super::generic::StmtImportFrom; -pub type StmtGlobal = super::generic::StmtGlobal; -pub type StmtNonlocal = super::generic::StmtNonlocal; -pub type StmtExpr = super::generic::StmtExpr; -pub type Expr = super::generic::Expr; -pub type ExprKind = super::generic::ExprKind; -pub type ExprBoolOp = super::generic::ExprBoolOp; -pub type ExprNamedExpr = super::generic::ExprNamedExpr; -pub type ExprBinOp = super::generic::ExprBinOp; -pub type ExprUnaryOp = super::generic::ExprUnaryOp; -pub type ExprLambda = super::generic::ExprLambda; -pub type ExprIfExp = super::generic::ExprIfExp; -pub type ExprDict = super::generic::ExprDict; -pub type ExprSet = super::generic::ExprSet; -pub type ExprListComp = super::generic::ExprListComp; -pub type ExprSetComp = super::generic::ExprSetComp; -pub type ExprDictComp = super::generic::ExprDictComp; -pub type ExprGeneratorExp = super::generic::ExprGeneratorExp; -pub type ExprAwait = super::generic::ExprAwait; -pub type ExprYield = super::generic::ExprYield; -pub type ExprYieldFrom = super::generic::ExprYieldFrom; -pub type ExprCompare = super::generic::ExprCompare; -pub type ExprCall = super::generic::ExprCall; -pub type ExprFormattedValue = super::generic::ExprFormattedValue; -pub type ExprJoinedStr = super::generic::ExprJoinedStr; -pub type ExprConstant = super::generic::ExprConstant; -pub type ExprAttribute = super::generic::ExprAttribute; -pub type ExprSubscript = super::generic::ExprSubscript; -pub type ExprStarred = super::generic::ExprStarred; -pub type ExprName = super::generic::ExprName; -pub type ExprList = super::generic::ExprList; -pub type ExprTuple = super::generic::ExprTuple; -pub type ExprSlice = super::generic::ExprSlice; -pub type ExprContext = super::generic::ExprContext; -pub type Boolop = super::generic::Boolop; -pub type Operator = super::generic::Operator; -pub type Unaryop = super::generic::Unaryop; -pub type Cmpop = super::generic::Cmpop; -pub type Comprehension = super::generic::Comprehension; -pub type Excepthandler = super::generic::Excepthandler; -pub type ExcepthandlerKind = super::generic::ExcepthandlerKind; -pub type ExcepthandlerExceptHandler = super::generic::ExcepthandlerExceptHandler; -pub type Arguments = super::generic::Arguments; -pub type Arg = super::generic::Arg; -pub type ArgData = super::generic::ArgData; -pub type Keyword = super::generic::Keyword; -pub type KeywordData = super::generic::KeywordData; -pub type Alias = super::generic::Alias; -pub type AliasData = super::generic::AliasData; -pub type Withitem = super::generic::Withitem; -pub type MatchCase = super::generic::MatchCase; -pub type Pattern = super::generic::Pattern; -pub type PatternKind = super::generic::PatternKind; -pub type PatternMatchValue = super::generic::PatternMatchValue; -pub type PatternMatchSingleton = super::generic::PatternMatchSingleton; -pub type PatternMatchSequence = super::generic::PatternMatchSequence; -pub type PatternMatchMapping = super::generic::PatternMatchMapping; -pub type PatternMatchClass = super::generic::PatternMatchClass; -pub type PatternMatchStar = super::generic::PatternMatchStar; -pub type PatternMatchAs = super::generic::PatternMatchAs; -pub type PatternMatchOr = super::generic::PatternMatchOr; -pub type TypeIgnore = super::generic::TypeIgnore; -pub type TypeIgnoreTypeIgnore = super::generic::TypeIgnoreTypeIgnore; +pub type ModModule = crate::generic::ModModule; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for ModModule { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ModInteractive = crate::generic::ModInteractive; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for ModInteractive { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ModExpression = crate::generic::ModExpression; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for ModExpression { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ModFunctionType = crate::generic::ModFunctionType; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for ModFunctionType { + fn range(&self) -> SourceRange { + self.range + } +} + +#[cfg(feature = "all-nodes-with-ranges")] +impl Located for Mod { + fn range(&self) -> SourceRange { + match self { + Self::Module(node) => node.range(), + Self::Interactive(node) => node.range(), + Self::Expression(node) => node.range(), + Self::FunctionType(node) => node.range(), + } + } +} + +pub type Stmt = crate::generic::Stmt; + +pub type StmtFunctionDef = crate::generic::StmtFunctionDef; + +impl Located for StmtFunctionDef { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAsyncFunctionDef = crate::generic::StmtAsyncFunctionDef; + +impl Located for StmtAsyncFunctionDef { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtClassDef = crate::generic::StmtClassDef; + +impl Located for StmtClassDef { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtReturn = crate::generic::StmtReturn; + +impl Located for StmtReturn { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtDelete = crate::generic::StmtDelete; + +impl Located for StmtDelete { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAssign = crate::generic::StmtAssign; + +impl Located for StmtAssign { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAugAssign = crate::generic::StmtAugAssign; + +impl Located for StmtAugAssign { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAnnAssign = crate::generic::StmtAnnAssign; + +impl Located for StmtAnnAssign { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtFor = crate::generic::StmtFor; + +impl Located for StmtFor { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAsyncFor = crate::generic::StmtAsyncFor; + +impl Located for StmtAsyncFor { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtWhile = crate::generic::StmtWhile; + +impl Located for StmtWhile { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtIf = crate::generic::StmtIf; + +impl Located for StmtIf { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtWith = crate::generic::StmtWith; + +impl Located for StmtWith { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAsyncWith = crate::generic::StmtAsyncWith; + +impl Located for StmtAsyncWith { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtMatch = crate::generic::StmtMatch; + +impl Located for StmtMatch { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtRaise = crate::generic::StmtRaise; + +impl Located for StmtRaise { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtTry = crate::generic::StmtTry; + +impl Located for StmtTry { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtTryStar = crate::generic::StmtTryStar; + +impl Located for StmtTryStar { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtAssert = crate::generic::StmtAssert; + +impl Located for StmtAssert { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtImport = crate::generic::StmtImport; + +impl Located for StmtImport { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtImportFrom = crate::generic::StmtImportFrom; + +impl Located for StmtImportFrom { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtGlobal = crate::generic::StmtGlobal; + +impl Located for StmtGlobal { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtNonlocal = crate::generic::StmtNonlocal; + +impl Located for StmtNonlocal { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtExpr = crate::generic::StmtExpr; + +impl Located for StmtExpr { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtPass = crate::generic::StmtPass; + +impl Located for StmtPass { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtBreak = crate::generic::StmtBreak; + +impl Located for StmtBreak { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type StmtContinue = crate::generic::StmtContinue; + +impl Located for StmtContinue { + fn range(&self) -> SourceRange { + self.range + } +} + +impl Located for Stmt { + fn range(&self) -> SourceRange { + match self { + Self::FunctionDef(node) => node.range(), + Self::AsyncFunctionDef(node) => node.range(), + Self::ClassDef(node) => node.range(), + Self::Return(node) => node.range(), + Self::Delete(node) => node.range(), + Self::Assign(node) => node.range(), + Self::AugAssign(node) => node.range(), + Self::AnnAssign(node) => node.range(), + Self::For(node) => node.range(), + Self::AsyncFor(node) => node.range(), + Self::While(node) => node.range(), + Self::If(node) => node.range(), + Self::With(node) => node.range(), + Self::AsyncWith(node) => node.range(), + Self::Match(node) => node.range(), + Self::Raise(node) => node.range(), + Self::Try(node) => node.range(), + Self::TryStar(node) => node.range(), + Self::Assert(node) => node.range(), + Self::Import(node) => node.range(), + Self::ImportFrom(node) => node.range(), + Self::Global(node) => node.range(), + Self::Nonlocal(node) => node.range(), + Self::Expr(node) => node.range(), + Self::Pass(node) => node.range(), + Self::Break(node) => node.range(), + Self::Continue(node) => node.range(), + } + } +} + +pub type Expr = crate::generic::Expr; + +pub type ExprBoolOp = crate::generic::ExprBoolOp; + +impl Located for ExprBoolOp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprNamedExpr = crate::generic::ExprNamedExpr; + +impl Located for ExprNamedExpr { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprBinOp = crate::generic::ExprBinOp; + +impl Located for ExprBinOp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprUnaryOp = crate::generic::ExprUnaryOp; + +impl Located for ExprUnaryOp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprLambda = crate::generic::ExprLambda; + +impl Located for ExprLambda { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprIfExp = crate::generic::ExprIfExp; + +impl Located for ExprIfExp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprDict = crate::generic::ExprDict; + +impl Located for ExprDict { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprSet = crate::generic::ExprSet; + +impl Located for ExprSet { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprListComp = crate::generic::ExprListComp; + +impl Located for ExprListComp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprSetComp = crate::generic::ExprSetComp; + +impl Located for ExprSetComp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprDictComp = crate::generic::ExprDictComp; + +impl Located for ExprDictComp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprGeneratorExp = crate::generic::ExprGeneratorExp; + +impl Located for ExprGeneratorExp { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprAwait = crate::generic::ExprAwait; + +impl Located for ExprAwait { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprYield = crate::generic::ExprYield; + +impl Located for ExprYield { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprYieldFrom = crate::generic::ExprYieldFrom; + +impl Located for ExprYieldFrom { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprCompare = crate::generic::ExprCompare; + +impl Located for ExprCompare { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprCall = crate::generic::ExprCall; + +impl Located for ExprCall { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprFormattedValue = crate::generic::ExprFormattedValue; + +impl Located for ExprFormattedValue { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprJoinedStr = crate::generic::ExprJoinedStr; + +impl Located for ExprJoinedStr { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprConstant = crate::generic::ExprConstant; + +impl Located for ExprConstant { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprAttribute = crate::generic::ExprAttribute; + +impl Located for ExprAttribute { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprSubscript = crate::generic::ExprSubscript; + +impl Located for ExprSubscript { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprStarred = crate::generic::ExprStarred; + +impl Located for ExprStarred { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprName = crate::generic::ExprName; + +impl Located for ExprName { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprList = crate::generic::ExprList; + +impl Located for ExprList { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprTuple = crate::generic::ExprTuple; + +impl Located for ExprTuple { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type ExprSlice = crate::generic::ExprSlice; + +impl Located for ExprSlice { + fn range(&self) -> SourceRange { + self.range + } +} + +impl Located for Expr { + fn range(&self) -> SourceRange { + match self { + Self::BoolOp(node) => node.range(), + Self::NamedExpr(node) => node.range(), + Self::BinOp(node) => node.range(), + Self::UnaryOp(node) => node.range(), + Self::Lambda(node) => node.range(), + Self::IfExp(node) => node.range(), + Self::Dict(node) => node.range(), + Self::Set(node) => node.range(), + Self::ListComp(node) => node.range(), + Self::SetComp(node) => node.range(), + Self::DictComp(node) => node.range(), + Self::GeneratorExp(node) => node.range(), + Self::Await(node) => node.range(), + Self::Yield(node) => node.range(), + Self::YieldFrom(node) => node.range(), + Self::Compare(node) => node.range(), + Self::Call(node) => node.range(), + Self::FormattedValue(node) => node.range(), + Self::JoinedStr(node) => node.range(), + Self::Constant(node) => node.range(), + Self::Attribute(node) => node.range(), + Self::Subscript(node) => node.range(), + Self::Starred(node) => node.range(), + Self::Name(node) => node.range(), + Self::List(node) => node.range(), + Self::Tuple(node) => node.range(), + Self::Slice(node) => node.range(), + } + } +} + +pub type ExprContext = crate::generic::ExprContext; + +pub type Boolop = crate::generic::Boolop; + +pub type Operator = crate::generic::Operator; + +pub type Unaryop = crate::generic::Unaryop; + +pub type Cmpop = crate::generic::Cmpop; + +pub type Comprehension = crate::generic::Comprehension; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for Comprehension { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type Excepthandler = crate::generic::Excepthandler; + +pub type ExcepthandlerExceptHandler = crate::generic::ExcepthandlerExceptHandler; + +impl Located for ExcepthandlerExceptHandler { + fn range(&self) -> SourceRange { + self.range + } +} + +impl Located for Excepthandler { + fn range(&self) -> SourceRange { + match self { + Self::ExceptHandler(node) => node.range(), + } + } +} + +pub type Arguments = crate::generic::Arguments; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for Arguments { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type Arg = crate::generic::Arg; + +impl Located for Arg { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type Keyword = crate::generic::Keyword; + +impl Located for Keyword { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type Alias = crate::generic::Alias; + +impl Located for Alias { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type Withitem = crate::generic::Withitem; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for Withitem { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type MatchCase = crate::generic::MatchCase; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for MatchCase { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type Pattern = crate::generic::Pattern; + +pub type PatternMatchValue = crate::generic::PatternMatchValue; + +impl Located for PatternMatchValue { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchSingleton = crate::generic::PatternMatchSingleton; + +impl Located for PatternMatchSingleton { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchSequence = crate::generic::PatternMatchSequence; + +impl Located for PatternMatchSequence { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchMapping = crate::generic::PatternMatchMapping; + +impl Located for PatternMatchMapping { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchClass = crate::generic::PatternMatchClass; + +impl Located for PatternMatchClass { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchStar = crate::generic::PatternMatchStar; + +impl Located for PatternMatchStar { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchAs = crate::generic::PatternMatchAs; + +impl Located for PatternMatchAs { + fn range(&self) -> SourceRange { + self.range + } +} + +pub type PatternMatchOr = crate::generic::PatternMatchOr; + +impl Located for PatternMatchOr { + fn range(&self) -> SourceRange { + self.range + } +} + +impl Located for Pattern { + fn range(&self) -> SourceRange { + match self { + Self::MatchValue(node) => node.range(), + Self::MatchSingleton(node) => node.range(), + Self::MatchSequence(node) => node.range(), + Self::MatchMapping(node) => node.range(), + Self::MatchClass(node) => node.range(), + Self::MatchStar(node) => node.range(), + Self::MatchAs(node) => node.range(), + Self::MatchOr(node) => node.range(), + } + } +} + +pub type TypeIgnore = crate::generic::TypeIgnore; + +pub type TypeIgnoreTypeIgnore = crate::generic::TypeIgnoreTypeIgnore; + +#[cfg(feature = "all-nodes-with-ranges")] + +impl Located for TypeIgnoreTypeIgnore { + fn range(&self) -> SourceRange { + self.range + } +} + +#[cfg(feature = "all-nodes-with-ranges")] +impl Located for TypeIgnore { + fn range(&self) -> SourceRange { + match self { + Self::TypeIgnore(node) => node.range(), + } + } +} diff --git a/ast/src/gen/ranged.rs b/ast/src/gen/ranged.rs new file mode 100644 index 0000000000..f74f9aadda --- /dev/null +++ b/ast/src/gen/ranged.rs @@ -0,0 +1,497 @@ +// File automatically generated by ast/asdl_rs.py. + +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::ModModule { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::ModInteractive { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::ModExpression { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::ModFunctionType { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::Mod { + fn range(&self) -> TextRange { + match self { + Self::Module(node) => node.range(), + Self::Interactive(node) => node.range(), + Self::Expression(node) => node.range(), + Self::FunctionType(node) => node.range(), + } + } +} + +impl Ranged for crate::generic::StmtFunctionDef { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAsyncFunctionDef { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtClassDef { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtReturn { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtDelete { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAssign { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAugAssign { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAnnAssign { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtFor { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAsyncFor { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtWhile { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtIf { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtWith { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAsyncWith { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtMatch { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtRaise { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtTry { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtTryStar { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtAssert { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtImport { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtImportFrom { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtGlobal { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtNonlocal { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtExpr { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtPass { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtBreak { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::StmtContinue { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::Stmt { + fn range(&self) -> TextRange { + match self { + Self::FunctionDef(node) => node.range(), + Self::AsyncFunctionDef(node) => node.range(), + Self::ClassDef(node) => node.range(), + Self::Return(node) => node.range(), + Self::Delete(node) => node.range(), + Self::Assign(node) => node.range(), + Self::AugAssign(node) => node.range(), + Self::AnnAssign(node) => node.range(), + Self::For(node) => node.range(), + Self::AsyncFor(node) => node.range(), + Self::While(node) => node.range(), + Self::If(node) => node.range(), + Self::With(node) => node.range(), + Self::AsyncWith(node) => node.range(), + Self::Match(node) => node.range(), + Self::Raise(node) => node.range(), + Self::Try(node) => node.range(), + Self::TryStar(node) => node.range(), + Self::Assert(node) => node.range(), + Self::Import(node) => node.range(), + Self::ImportFrom(node) => node.range(), + Self::Global(node) => node.range(), + Self::Nonlocal(node) => node.range(), + Self::Expr(node) => node.range(), + Self::Pass(node) => node.range(), + Self::Break(node) => node.range(), + Self::Continue(node) => node.range(), + } + } +} + +impl Ranged for crate::generic::ExprBoolOp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprNamedExpr { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprBinOp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprUnaryOp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprLambda { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprIfExp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprDict { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprSet { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprListComp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprSetComp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprDictComp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprGeneratorExp { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprAwait { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprYield { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprYieldFrom { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprCompare { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprCall { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprFormattedValue { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprJoinedStr { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprConstant { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprAttribute { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprSubscript { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprStarred { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprName { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprList { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprTuple { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExprSlice { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::Expr { + fn range(&self) -> TextRange { + match self { + Self::BoolOp(node) => node.range(), + Self::NamedExpr(node) => node.range(), + Self::BinOp(node) => node.range(), + Self::UnaryOp(node) => node.range(), + Self::Lambda(node) => node.range(), + Self::IfExp(node) => node.range(), + Self::Dict(node) => node.range(), + Self::Set(node) => node.range(), + Self::ListComp(node) => node.range(), + Self::SetComp(node) => node.range(), + Self::DictComp(node) => node.range(), + Self::GeneratorExp(node) => node.range(), + Self::Await(node) => node.range(), + Self::Yield(node) => node.range(), + Self::YieldFrom(node) => node.range(), + Self::Compare(node) => node.range(), + Self::Call(node) => node.range(), + Self::FormattedValue(node) => node.range(), + Self::JoinedStr(node) => node.range(), + Self::Constant(node) => node.range(), + Self::Attribute(node) => node.range(), + Self::Subscript(node) => node.range(), + Self::Starred(node) => node.range(), + Self::Name(node) => node.range(), + Self::List(node) => node.range(), + Self::Tuple(node) => node.range(), + Self::Slice(node) => node.range(), + } + } +} + +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::Comprehension { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::ExcepthandlerExceptHandler { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::Excepthandler { + fn range(&self) -> TextRange { + match self { + Self::ExceptHandler(node) => node.range(), + } + } +} + +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::Arguments { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::Arg { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::Keyword { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::Alias { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::Withitem { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::MatchCase { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchValue { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchSingleton { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchSequence { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchMapping { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchClass { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchStar { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchAs { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::generic::PatternMatchOr { + fn range(&self) -> TextRange { + self.range + } +} +impl Ranged for crate::Pattern { + fn range(&self) -> TextRange { + match self { + Self::MatchValue(node) => node.range(), + Self::MatchSingleton(node) => node.range(), + Self::MatchSequence(node) => node.range(), + Self::MatchMapping(node) => node.range(), + Self::MatchClass(node) => node.range(), + Self::MatchStar(node) => node.range(), + Self::MatchAs(node) => node.range(), + Self::MatchOr(node) => node.range(), + } + } +} + +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::generic::TypeIgnoreTypeIgnore { + fn range(&self) -> TextRange { + self.range + } +} +#[cfg(feature = "all-nodes-with-ranges")] +impl Ranged for crate::TypeIgnore { + fn range(&self) -> TextRange { + match self { + Self::TypeIgnore(node) => node.range(), + } + } +} diff --git a/ast/src/gen/visitor.rs b/ast/src/gen/visitor.rs index 55a740dab1..0cb020c868 100644 --- a/ast/src/gen/visitor.rs +++ b/ast/src/gen/visitor.rs @@ -1,45 +1,45 @@ // File automatically generated by ast/asdl_rs.py. #[allow(unused_variables, non_snake_case)] -pub trait Visitor { - fn visit_stmt(&mut self, node: Stmt) { +pub trait Visitor { + fn visit_stmt(&mut self, node: Stmt) { self.generic_visit_stmt(node) } - fn generic_visit_stmt(&mut self, node: Stmt) { - match node.node { - StmtKind::FunctionDef(data) => self.visit_stmt_FunctionDef(data), - StmtKind::AsyncFunctionDef(data) => self.visit_stmt_AsyncFunctionDef(data), - StmtKind::ClassDef(data) => self.visit_stmt_ClassDef(data), - StmtKind::Return(data) => self.visit_stmt_Return(data), - StmtKind::Delete(data) => self.visit_stmt_Delete(data), - StmtKind::Assign(data) => self.visit_stmt_Assign(data), - StmtKind::AugAssign(data) => self.visit_stmt_AugAssign(data), - StmtKind::AnnAssign(data) => self.visit_stmt_AnnAssign(data), - StmtKind::For(data) => self.visit_stmt_For(data), - StmtKind::AsyncFor(data) => self.visit_stmt_AsyncFor(data), - StmtKind::While(data) => self.visit_stmt_While(data), - StmtKind::If(data) => self.visit_stmt_If(data), - StmtKind::With(data) => self.visit_stmt_With(data), - StmtKind::AsyncWith(data) => self.visit_stmt_AsyncWith(data), - StmtKind::Match(data) => self.visit_stmt_Match(data), - StmtKind::Raise(data) => self.visit_stmt_Raise(data), - StmtKind::Try(data) => self.visit_stmt_Try(data), - StmtKind::TryStar(data) => self.visit_stmt_TryStar(data), - StmtKind::Assert(data) => self.visit_stmt_Assert(data), - StmtKind::Import(data) => self.visit_stmt_Import(data), - StmtKind::ImportFrom(data) => self.visit_stmt_ImportFrom(data), - StmtKind::Global(data) => self.visit_stmt_Global(data), - StmtKind::Nonlocal(data) => self.visit_stmt_Nonlocal(data), - StmtKind::Expr(data) => self.visit_stmt_Expr(data), - StmtKind::Pass => self.visit_stmt_Pass(()), - StmtKind::Break => self.visit_stmt_Break(()), - StmtKind::Continue => self.visit_stmt_Continue(()), + fn generic_visit_stmt(&mut self, node: Stmt) { + match node { + Stmt::FunctionDef(data) => self.visit_stmt_FunctionDef(data), + Stmt::AsyncFunctionDef(data) => self.visit_stmt_AsyncFunctionDef(data), + Stmt::ClassDef(data) => self.visit_stmt_ClassDef(data), + Stmt::Return(data) => self.visit_stmt_Return(data), + Stmt::Delete(data) => self.visit_stmt_Delete(data), + Stmt::Assign(data) => self.visit_stmt_Assign(data), + Stmt::AugAssign(data) => self.visit_stmt_AugAssign(data), + Stmt::AnnAssign(data) => self.visit_stmt_AnnAssign(data), + Stmt::For(data) => self.visit_stmt_For(data), + Stmt::AsyncFor(data) => self.visit_stmt_AsyncFor(data), + Stmt::While(data) => self.visit_stmt_While(data), + Stmt::If(data) => self.visit_stmt_If(data), + Stmt::With(data) => self.visit_stmt_With(data), + Stmt::AsyncWith(data) => self.visit_stmt_AsyncWith(data), + Stmt::Match(data) => self.visit_stmt_Match(data), + Stmt::Raise(data) => self.visit_stmt_Raise(data), + Stmt::Try(data) => self.visit_stmt_Try(data), + Stmt::TryStar(data) => self.visit_stmt_TryStar(data), + Stmt::Assert(data) => self.visit_stmt_Assert(data), + Stmt::Import(data) => self.visit_stmt_Import(data), + Stmt::ImportFrom(data) => self.visit_stmt_ImportFrom(data), + Stmt::Global(data) => self.visit_stmt_Global(data), + Stmt::Nonlocal(data) => self.visit_stmt_Nonlocal(data), + Stmt::Expr(data) => self.visit_stmt_Expr(data), + Stmt::Pass(data) => self.visit_stmt_Pass(data), + Stmt::Break(data) => self.visit_stmt_Break(data), + Stmt::Continue(data) => self.visit_stmt_Continue(data), } } - fn visit_stmt_FunctionDef(&mut self, node: StmtFunctionDef) { + fn visit_stmt_FunctionDef(&mut self, node: StmtFunctionDef) { self.generic_visit_stmt_FunctionDef(node) } - fn generic_visit_stmt_FunctionDef(&mut self, node: StmtFunctionDef) { + fn generic_visit_stmt_FunctionDef(&mut self, node: StmtFunctionDef) { { let value = node.args; self.visit_arguments(*value); @@ -54,10 +54,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_AsyncFunctionDef(&mut self, node: StmtAsyncFunctionDef) { + fn visit_stmt_AsyncFunctionDef(&mut self, node: StmtAsyncFunctionDef) { self.generic_visit_stmt_AsyncFunctionDef(node) } - fn generic_visit_stmt_AsyncFunctionDef(&mut self, node: StmtAsyncFunctionDef) { + fn generic_visit_stmt_AsyncFunctionDef(&mut self, node: StmtAsyncFunctionDef) { { let value = node.args; self.visit_arguments(*value); @@ -72,10 +72,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_ClassDef(&mut self, node: StmtClassDef) { + fn visit_stmt_ClassDef(&mut self, node: StmtClassDef) { self.generic_visit_stmt_ClassDef(node) } - fn generic_visit_stmt_ClassDef(&mut self, node: StmtClassDef) { + fn generic_visit_stmt_ClassDef(&mut self, node: StmtClassDef) { for value in node.bases { self.visit_expr(value); } @@ -89,26 +89,26 @@ pub trait Visitor { self.visit_expr(value); } } - fn visit_stmt_Return(&mut self, node: StmtReturn) { + fn visit_stmt_Return(&mut self, node: StmtReturn) { self.generic_visit_stmt_Return(node) } - fn generic_visit_stmt_Return(&mut self, node: StmtReturn) { + fn generic_visit_stmt_Return(&mut self, node: StmtReturn) { if let Some(value) = node.value { self.visit_expr(*value); } } - fn visit_stmt_Delete(&mut self, node: StmtDelete) { + fn visit_stmt_Delete(&mut self, node: StmtDelete) { self.generic_visit_stmt_Delete(node) } - fn generic_visit_stmt_Delete(&mut self, node: StmtDelete) { + fn generic_visit_stmt_Delete(&mut self, node: StmtDelete) { for value in node.targets { self.visit_expr(value); } } - fn visit_stmt_Assign(&mut self, node: StmtAssign) { + fn visit_stmt_Assign(&mut self, node: StmtAssign) { self.generic_visit_stmt_Assign(node) } - fn generic_visit_stmt_Assign(&mut self, node: StmtAssign) { + fn generic_visit_stmt_Assign(&mut self, node: StmtAssign) { for value in node.targets { self.visit_expr(value); } @@ -117,10 +117,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_AugAssign(&mut self, node: StmtAugAssign) { + fn visit_stmt_AugAssign(&mut self, node: StmtAugAssign) { self.generic_visit_stmt_AugAssign(node) } - fn generic_visit_stmt_AugAssign(&mut self, node: StmtAugAssign) { + fn generic_visit_stmt_AugAssign(&mut self, node: StmtAugAssign) { { let value = node.target; self.visit_expr(*value); @@ -130,10 +130,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_AnnAssign(&mut self, node: StmtAnnAssign) { + fn visit_stmt_AnnAssign(&mut self, node: StmtAnnAssign) { self.generic_visit_stmt_AnnAssign(node) } - fn generic_visit_stmt_AnnAssign(&mut self, node: StmtAnnAssign) { + fn generic_visit_stmt_AnnAssign(&mut self, node: StmtAnnAssign) { { let value = node.target; self.visit_expr(*value); @@ -146,10 +146,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_For(&mut self, node: StmtFor) { + fn visit_stmt_For(&mut self, node: StmtFor) { self.generic_visit_stmt_For(node) } - fn generic_visit_stmt_For(&mut self, node: StmtFor) { + fn generic_visit_stmt_For(&mut self, node: StmtFor) { { let value = node.target; self.visit_expr(*value); @@ -165,10 +165,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_AsyncFor(&mut self, node: StmtAsyncFor) { + fn visit_stmt_AsyncFor(&mut self, node: StmtAsyncFor) { self.generic_visit_stmt_AsyncFor(node) } - fn generic_visit_stmt_AsyncFor(&mut self, node: StmtAsyncFor) { + fn generic_visit_stmt_AsyncFor(&mut self, node: StmtAsyncFor) { { let value = node.target; self.visit_expr(*value); @@ -184,10 +184,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_While(&mut self, node: StmtWhile) { + fn visit_stmt_While(&mut self, node: StmtWhile) { self.generic_visit_stmt_While(node) } - fn generic_visit_stmt_While(&mut self, node: StmtWhile) { + fn generic_visit_stmt_While(&mut self, node: StmtWhile) { { let value = node.test; self.visit_expr(*value); @@ -199,10 +199,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_If(&mut self, node: StmtIf) { + fn visit_stmt_If(&mut self, node: StmtIf) { self.generic_visit_stmt_If(node) } - fn generic_visit_stmt_If(&mut self, node: StmtIf) { + fn generic_visit_stmt_If(&mut self, node: StmtIf) { { let value = node.test; self.visit_expr(*value); @@ -214,10 +214,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_With(&mut self, node: StmtWith) { + fn visit_stmt_With(&mut self, node: StmtWith) { self.generic_visit_stmt_With(node) } - fn generic_visit_stmt_With(&mut self, node: StmtWith) { + fn generic_visit_stmt_With(&mut self, node: StmtWith) { for value in node.items { self.visit_withitem(value); } @@ -225,10 +225,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_AsyncWith(&mut self, node: StmtAsyncWith) { + fn visit_stmt_AsyncWith(&mut self, node: StmtAsyncWith) { self.generic_visit_stmt_AsyncWith(node) } - fn generic_visit_stmt_AsyncWith(&mut self, node: StmtAsyncWith) { + fn generic_visit_stmt_AsyncWith(&mut self, node: StmtAsyncWith) { for value in node.items { self.visit_withitem(value); } @@ -236,10 +236,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_Match(&mut self, node: StmtMatch) { + fn visit_stmt_Match(&mut self, node: StmtMatch) { self.generic_visit_stmt_Match(node) } - fn generic_visit_stmt_Match(&mut self, node: StmtMatch) { + fn generic_visit_stmt_Match(&mut self, node: StmtMatch) { { let value = node.subject; self.visit_expr(*value); @@ -248,10 +248,10 @@ pub trait Visitor { self.visit_match_case(value); } } - fn visit_stmt_Raise(&mut self, node: StmtRaise) { + fn visit_stmt_Raise(&mut self, node: StmtRaise) { self.generic_visit_stmt_Raise(node) } - fn generic_visit_stmt_Raise(&mut self, node: StmtRaise) { + fn generic_visit_stmt_Raise(&mut self, node: StmtRaise) { if let Some(value) = node.exc { self.visit_expr(*value); } @@ -259,10 +259,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_Try(&mut self, node: StmtTry) { + fn visit_stmt_Try(&mut self, node: StmtTry) { self.generic_visit_stmt_Try(node) } - fn generic_visit_stmt_Try(&mut self, node: StmtTry) { + fn generic_visit_stmt_Try(&mut self, node: StmtTry) { for value in node.body { self.visit_stmt(value); } @@ -276,10 +276,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_TryStar(&mut self, node: StmtTryStar) { + fn visit_stmt_TryStar(&mut self, node: StmtTryStar) { self.generic_visit_stmt_TryStar(node) } - fn generic_visit_stmt_TryStar(&mut self, node: StmtTryStar) { + fn generic_visit_stmt_TryStar(&mut self, node: StmtTryStar) { for value in node.body { self.visit_stmt(value); } @@ -293,10 +293,10 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_stmt_Assert(&mut self, node: StmtAssert) { + fn visit_stmt_Assert(&mut self, node: StmtAssert) { self.generic_visit_stmt_Assert(node) } - fn generic_visit_stmt_Assert(&mut self, node: StmtAssert) { + fn generic_visit_stmt_Assert(&mut self, node: StmtAssert) { { let value = node.test; self.visit_expr(*value); @@ -305,97 +305,88 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_stmt_Import(&mut self, node: StmtImport) { + fn visit_stmt_Import(&mut self, node: StmtImport) { self.generic_visit_stmt_Import(node) } - fn generic_visit_stmt_Import(&mut self, node: StmtImport) { + fn generic_visit_stmt_Import(&mut self, node: StmtImport) { for value in node.names { self.visit_alias(value); } } - fn visit_stmt_ImportFrom(&mut self, node: StmtImportFrom) { + fn visit_stmt_ImportFrom(&mut self, node: StmtImportFrom) { self.generic_visit_stmt_ImportFrom(node) } - fn generic_visit_stmt_ImportFrom(&mut self, node: StmtImportFrom) { + fn generic_visit_stmt_ImportFrom(&mut self, node: StmtImportFrom) { for value in node.names { self.visit_alias(value); } } - fn visit_stmt_Global(&mut self, node: StmtGlobal) { + fn visit_stmt_Global(&mut self, node: StmtGlobal) { self.generic_visit_stmt_Global(node) } - fn generic_visit_stmt_Global(&mut self, node: StmtGlobal) {} - fn visit_stmt_Nonlocal(&mut self, node: StmtNonlocal) { + fn generic_visit_stmt_Global(&mut self, node: StmtGlobal) {} + fn visit_stmt_Nonlocal(&mut self, node: StmtNonlocal) { self.generic_visit_stmt_Nonlocal(node) } - fn generic_visit_stmt_Nonlocal(&mut self, node: StmtNonlocal) {} - fn visit_stmt_Expr(&mut self, node: StmtExpr) { + fn generic_visit_stmt_Nonlocal(&mut self, node: StmtNonlocal) {} + fn visit_stmt_Expr(&mut self, node: StmtExpr) { self.generic_visit_stmt_Expr(node) } - fn generic_visit_stmt_Expr(&mut self, node: StmtExpr) { + fn generic_visit_stmt_Expr(&mut self, node: StmtExpr) { { let value = node.value; self.visit_expr(*value); } } - fn visit_stmt_Pass(&mut self, node: ()) { - self.generic_visit_stmt_Pass(()) - } - fn generic_visit_stmt_Pass(&mut self, node: ()) {} - fn visit_stmt_Break(&mut self, node: ()) { - self.generic_visit_stmt_Break(()) - } - fn generic_visit_stmt_Break(&mut self, node: ()) {} - fn visit_stmt_Continue(&mut self, node: ()) { - self.generic_visit_stmt_Continue(()) - } - fn generic_visit_stmt_Continue(&mut self, node: ()) {} - fn visit_expr(&mut self, node: Expr) { + fn visit_stmt_Pass(&mut self, node: StmtPass) {} + fn visit_stmt_Break(&mut self, node: StmtBreak) {} + fn visit_stmt_Continue(&mut self, node: StmtContinue) {} + fn visit_expr(&mut self, node: Expr) { self.generic_visit_expr(node) } - fn generic_visit_expr(&mut self, node: Expr) { - match node.node { - ExprKind::BoolOp(data) => self.visit_expr_BoolOp(data), - ExprKind::NamedExpr(data) => self.visit_expr_NamedExpr(data), - ExprKind::BinOp(data) => self.visit_expr_BinOp(data), - ExprKind::UnaryOp(data) => self.visit_expr_UnaryOp(data), - ExprKind::Lambda(data) => self.visit_expr_Lambda(data), - ExprKind::IfExp(data) => self.visit_expr_IfExp(data), - ExprKind::Dict(data) => self.visit_expr_Dict(data), - ExprKind::Set(data) => self.visit_expr_Set(data), - ExprKind::ListComp(data) => self.visit_expr_ListComp(data), - ExprKind::SetComp(data) => self.visit_expr_SetComp(data), - ExprKind::DictComp(data) => self.visit_expr_DictComp(data), - ExprKind::GeneratorExp(data) => self.visit_expr_GeneratorExp(data), - ExprKind::Await(data) => self.visit_expr_Await(data), - ExprKind::Yield(data) => self.visit_expr_Yield(data), - ExprKind::YieldFrom(data) => self.visit_expr_YieldFrom(data), - ExprKind::Compare(data) => self.visit_expr_Compare(data), - ExprKind::Call(data) => self.visit_expr_Call(data), - ExprKind::FormattedValue(data) => self.visit_expr_FormattedValue(data), - ExprKind::JoinedStr(data) => self.visit_expr_JoinedStr(data), - ExprKind::Constant(data) => self.visit_expr_Constant(data), - ExprKind::Attribute(data) => self.visit_expr_Attribute(data), - ExprKind::Subscript(data) => self.visit_expr_Subscript(data), - ExprKind::Starred(data) => self.visit_expr_Starred(data), - ExprKind::Name(data) => self.visit_expr_Name(data), - ExprKind::List(data) => self.visit_expr_List(data), - ExprKind::Tuple(data) => self.visit_expr_Tuple(data), - ExprKind::Slice(data) => self.visit_expr_Slice(data), + fn generic_visit_expr(&mut self, node: Expr) { + match node { + Expr::BoolOp(data) => self.visit_expr_BoolOp(data), + Expr::NamedExpr(data) => self.visit_expr_NamedExpr(data), + Expr::BinOp(data) => self.visit_expr_BinOp(data), + Expr::UnaryOp(data) => self.visit_expr_UnaryOp(data), + Expr::Lambda(data) => self.visit_expr_Lambda(data), + Expr::IfExp(data) => self.visit_expr_IfExp(data), + Expr::Dict(data) => self.visit_expr_Dict(data), + Expr::Set(data) => self.visit_expr_Set(data), + Expr::ListComp(data) => self.visit_expr_ListComp(data), + Expr::SetComp(data) => self.visit_expr_SetComp(data), + Expr::DictComp(data) => self.visit_expr_DictComp(data), + Expr::GeneratorExp(data) => self.visit_expr_GeneratorExp(data), + Expr::Await(data) => self.visit_expr_Await(data), + Expr::Yield(data) => self.visit_expr_Yield(data), + Expr::YieldFrom(data) => self.visit_expr_YieldFrom(data), + Expr::Compare(data) => self.visit_expr_Compare(data), + Expr::Call(data) => self.visit_expr_Call(data), + Expr::FormattedValue(data) => self.visit_expr_FormattedValue(data), + Expr::JoinedStr(data) => self.visit_expr_JoinedStr(data), + Expr::Constant(data) => self.visit_expr_Constant(data), + Expr::Attribute(data) => self.visit_expr_Attribute(data), + Expr::Subscript(data) => self.visit_expr_Subscript(data), + Expr::Starred(data) => self.visit_expr_Starred(data), + Expr::Name(data) => self.visit_expr_Name(data), + Expr::List(data) => self.visit_expr_List(data), + Expr::Tuple(data) => self.visit_expr_Tuple(data), + Expr::Slice(data) => self.visit_expr_Slice(data), } } - fn visit_expr_BoolOp(&mut self, node: ExprBoolOp) { + fn visit_expr_BoolOp(&mut self, node: ExprBoolOp) { self.generic_visit_expr_BoolOp(node) } - fn generic_visit_expr_BoolOp(&mut self, node: ExprBoolOp) { + fn generic_visit_expr_BoolOp(&mut self, node: ExprBoolOp) { for value in node.values { self.visit_expr(value); } } - fn visit_expr_NamedExpr(&mut self, node: ExprNamedExpr) { + fn visit_expr_NamedExpr(&mut self, node: ExprNamedExpr) { self.generic_visit_expr_NamedExpr(node) } - fn generic_visit_expr_NamedExpr(&mut self, node: ExprNamedExpr) { + fn generic_visit_expr_NamedExpr(&mut self, node: ExprNamedExpr) { { let value = node.target; self.visit_expr(*value); @@ -405,10 +396,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_expr_BinOp(&mut self, node: ExprBinOp) { + fn visit_expr_BinOp(&mut self, node: ExprBinOp) { self.generic_visit_expr_BinOp(node) } - fn generic_visit_expr_BinOp(&mut self, node: ExprBinOp) { + fn generic_visit_expr_BinOp(&mut self, node: ExprBinOp) { { let value = node.left; self.visit_expr(*value); @@ -418,19 +409,19 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_expr_UnaryOp(&mut self, node: ExprUnaryOp) { + fn visit_expr_UnaryOp(&mut self, node: ExprUnaryOp) { self.generic_visit_expr_UnaryOp(node) } - fn generic_visit_expr_UnaryOp(&mut self, node: ExprUnaryOp) { + fn generic_visit_expr_UnaryOp(&mut self, node: ExprUnaryOp) { { let value = node.operand; self.visit_expr(*value); } } - fn visit_expr_Lambda(&mut self, node: ExprLambda) { + fn visit_expr_Lambda(&mut self, node: ExprLambda) { self.generic_visit_expr_Lambda(node) } - fn generic_visit_expr_Lambda(&mut self, node: ExprLambda) { + fn generic_visit_expr_Lambda(&mut self, node: ExprLambda) { { let value = node.args; self.visit_arguments(*value); @@ -440,10 +431,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_expr_IfExp(&mut self, node: ExprIfExp) { + fn visit_expr_IfExp(&mut self, node: ExprIfExp) { self.generic_visit_expr_IfExp(node) } - fn generic_visit_expr_IfExp(&mut self, node: ExprIfExp) { + fn generic_visit_expr_IfExp(&mut self, node: ExprIfExp) { { let value = node.test; self.visit_expr(*value); @@ -457,10 +448,10 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_expr_Dict(&mut self, node: ExprDict) { + fn visit_expr_Dict(&mut self, node: ExprDict) { self.generic_visit_expr_Dict(node) } - fn generic_visit_expr_Dict(&mut self, node: ExprDict) { + fn generic_visit_expr_Dict(&mut self, node: ExprDict) { for value in node.keys.into_iter().flatten() { self.visit_expr(value); } @@ -468,18 +459,18 @@ pub trait Visitor { self.visit_expr(value); } } - fn visit_expr_Set(&mut self, node: ExprSet) { + fn visit_expr_Set(&mut self, node: ExprSet) { self.generic_visit_expr_Set(node) } - fn generic_visit_expr_Set(&mut self, node: ExprSet) { + fn generic_visit_expr_Set(&mut self, node: ExprSet) { for value in node.elts { self.visit_expr(value); } } - fn visit_expr_ListComp(&mut self, node: ExprListComp) { + fn visit_expr_ListComp(&mut self, node: ExprListComp) { self.generic_visit_expr_ListComp(node) } - fn generic_visit_expr_ListComp(&mut self, node: ExprListComp) { + fn generic_visit_expr_ListComp(&mut self, node: ExprListComp) { { let value = node.elt; self.visit_expr(*value); @@ -488,10 +479,10 @@ pub trait Visitor { self.visit_comprehension(value); } } - fn visit_expr_SetComp(&mut self, node: ExprSetComp) { + fn visit_expr_SetComp(&mut self, node: ExprSetComp) { self.generic_visit_expr_SetComp(node) } - fn generic_visit_expr_SetComp(&mut self, node: ExprSetComp) { + fn generic_visit_expr_SetComp(&mut self, node: ExprSetComp) { { let value = node.elt; self.visit_expr(*value); @@ -500,10 +491,10 @@ pub trait Visitor { self.visit_comprehension(value); } } - fn visit_expr_DictComp(&mut self, node: ExprDictComp) { + fn visit_expr_DictComp(&mut self, node: ExprDictComp) { self.generic_visit_expr_DictComp(node) } - fn generic_visit_expr_DictComp(&mut self, node: ExprDictComp) { + fn generic_visit_expr_DictComp(&mut self, node: ExprDictComp) { { let value = node.key; self.visit_expr(*value); @@ -516,10 +507,10 @@ pub trait Visitor { self.visit_comprehension(value); } } - fn visit_expr_GeneratorExp(&mut self, node: ExprGeneratorExp) { + fn visit_expr_GeneratorExp(&mut self, node: ExprGeneratorExp) { self.generic_visit_expr_GeneratorExp(node) } - fn generic_visit_expr_GeneratorExp(&mut self, node: ExprGeneratorExp) { + fn generic_visit_expr_GeneratorExp(&mut self, node: ExprGeneratorExp) { { let value = node.elt; self.visit_expr(*value); @@ -528,36 +519,36 @@ pub trait Visitor { self.visit_comprehension(value); } } - fn visit_expr_Await(&mut self, node: ExprAwait) { + fn visit_expr_Await(&mut self, node: ExprAwait) { self.generic_visit_expr_Await(node) } - fn generic_visit_expr_Await(&mut self, node: ExprAwait) { + fn generic_visit_expr_Await(&mut self, node: ExprAwait) { { let value = node.value; self.visit_expr(*value); } } - fn visit_expr_Yield(&mut self, node: ExprYield) { + fn visit_expr_Yield(&mut self, node: ExprYield) { self.generic_visit_expr_Yield(node) } - fn generic_visit_expr_Yield(&mut self, node: ExprYield) { + fn generic_visit_expr_Yield(&mut self, node: ExprYield) { if let Some(value) = node.value { self.visit_expr(*value); } } - fn visit_expr_YieldFrom(&mut self, node: ExprYieldFrom) { + fn visit_expr_YieldFrom(&mut self, node: ExprYieldFrom) { self.generic_visit_expr_YieldFrom(node) } - fn generic_visit_expr_YieldFrom(&mut self, node: ExprYieldFrom) { + fn generic_visit_expr_YieldFrom(&mut self, node: ExprYieldFrom) { { let value = node.value; self.visit_expr(*value); } } - fn visit_expr_Compare(&mut self, node: ExprCompare) { + fn visit_expr_Compare(&mut self, node: ExprCompare) { self.generic_visit_expr_Compare(node) } - fn generic_visit_expr_Compare(&mut self, node: ExprCompare) { + fn generic_visit_expr_Compare(&mut self, node: ExprCompare) { { let value = node.left; self.visit_expr(*value); @@ -566,10 +557,10 @@ pub trait Visitor { self.visit_expr(value); } } - fn visit_expr_Call(&mut self, node: ExprCall) { + fn visit_expr_Call(&mut self, node: ExprCall) { self.generic_visit_expr_Call(node) } - fn generic_visit_expr_Call(&mut self, node: ExprCall) { + fn generic_visit_expr_Call(&mut self, node: ExprCall) { { let value = node.func; self.visit_expr(*value); @@ -581,10 +572,10 @@ pub trait Visitor { self.visit_keyword(value); } } - fn visit_expr_FormattedValue(&mut self, node: ExprFormattedValue) { + fn visit_expr_FormattedValue(&mut self, node: ExprFormattedValue) { self.generic_visit_expr_FormattedValue(node) } - fn generic_visit_expr_FormattedValue(&mut self, node: ExprFormattedValue) { + fn generic_visit_expr_FormattedValue(&mut self, node: ExprFormattedValue) { { let value = node.value; self.visit_expr(*value); @@ -593,31 +584,31 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_expr_JoinedStr(&mut self, node: ExprJoinedStr) { + fn visit_expr_JoinedStr(&mut self, node: ExprJoinedStr) { self.generic_visit_expr_JoinedStr(node) } - fn generic_visit_expr_JoinedStr(&mut self, node: ExprJoinedStr) { + fn generic_visit_expr_JoinedStr(&mut self, node: ExprJoinedStr) { for value in node.values { self.visit_expr(value); } } - fn visit_expr_Constant(&mut self, node: ExprConstant) { + fn visit_expr_Constant(&mut self, node: ExprConstant) { self.generic_visit_expr_Constant(node) } - fn generic_visit_expr_Constant(&mut self, node: ExprConstant) {} - fn visit_expr_Attribute(&mut self, node: ExprAttribute) { + fn generic_visit_expr_Constant(&mut self, node: ExprConstant) {} + fn visit_expr_Attribute(&mut self, node: ExprAttribute) { self.generic_visit_expr_Attribute(node) } - fn generic_visit_expr_Attribute(&mut self, node: ExprAttribute) { + fn generic_visit_expr_Attribute(&mut self, node: ExprAttribute) { { let value = node.value; self.visit_expr(*value); } } - fn visit_expr_Subscript(&mut self, node: ExprSubscript) { + fn visit_expr_Subscript(&mut self, node: ExprSubscript) { self.generic_visit_expr_Subscript(node) } - fn generic_visit_expr_Subscript(&mut self, node: ExprSubscript) { + fn generic_visit_expr_Subscript(&mut self, node: ExprSubscript) { { let value = node.value; self.visit_expr(*value); @@ -627,39 +618,39 @@ pub trait Visitor { self.visit_expr(*value); } } - fn visit_expr_Starred(&mut self, node: ExprStarred) { + fn visit_expr_Starred(&mut self, node: ExprStarred) { self.generic_visit_expr_Starred(node) } - fn generic_visit_expr_Starred(&mut self, node: ExprStarred) { + fn generic_visit_expr_Starred(&mut self, node: ExprStarred) { { let value = node.value; self.visit_expr(*value); } } - fn visit_expr_Name(&mut self, node: ExprName) { + fn visit_expr_Name(&mut self, node: ExprName) { self.generic_visit_expr_Name(node) } - fn generic_visit_expr_Name(&mut self, node: ExprName) {} - fn visit_expr_List(&mut self, node: ExprList) { + fn generic_visit_expr_Name(&mut self, node: ExprName) {} + fn visit_expr_List(&mut self, node: ExprList) { self.generic_visit_expr_List(node) } - fn generic_visit_expr_List(&mut self, node: ExprList) { + fn generic_visit_expr_List(&mut self, node: ExprList) { for value in node.elts { self.visit_expr(value); } } - fn visit_expr_Tuple(&mut self, node: ExprTuple) { + fn visit_expr_Tuple(&mut self, node: ExprTuple) { self.generic_visit_expr_Tuple(node) } - fn generic_visit_expr_Tuple(&mut self, node: ExprTuple) { + fn generic_visit_expr_Tuple(&mut self, node: ExprTuple) { for value in node.elts { self.visit_expr(value); } } - fn visit_expr_Slice(&mut self, node: ExprSlice) { + fn visit_expr_Slice(&mut self, node: ExprSlice) { self.generic_visit_expr_Slice(node) } - fn generic_visit_expr_Slice(&mut self, node: ExprSlice) { + fn generic_visit_expr_Slice(&mut self, node: ExprSlice) { if let Some(value) = node.lower { self.visit_expr(*value); } @@ -690,22 +681,22 @@ pub trait Visitor { self.generic_visit_cmpop(node) } fn generic_visit_cmpop(&mut self, node: Cmpop) {} - fn visit_comprehension(&mut self, node: Comprehension) { + fn visit_comprehension(&mut self, node: Comprehension) { self.generic_visit_comprehension(node) } - fn generic_visit_comprehension(&mut self, node: Comprehension) {} - fn visit_excepthandler(&mut self, node: Excepthandler) { + fn generic_visit_comprehension(&mut self, node: Comprehension) {} + fn visit_excepthandler(&mut self, node: Excepthandler) { self.generic_visit_excepthandler(node) } - fn generic_visit_excepthandler(&mut self, node: Excepthandler) { - match node.node { - ExcepthandlerKind::ExceptHandler(data) => self.visit_excepthandler_ExceptHandler(data), + fn generic_visit_excepthandler(&mut self, node: Excepthandler) { + match node { + Excepthandler::ExceptHandler(data) => self.visit_excepthandler_ExceptHandler(data), } } - fn visit_excepthandler_ExceptHandler(&mut self, node: ExcepthandlerExceptHandler) { + fn visit_excepthandler_ExceptHandler(&mut self, node: ExcepthandlerExceptHandler) { self.generic_visit_excepthandler_ExceptHandler(node) } - fn generic_visit_excepthandler_ExceptHandler(&mut self, node: ExcepthandlerExceptHandler) { + fn generic_visit_excepthandler_ExceptHandler(&mut self, node: ExcepthandlerExceptHandler) { if let Some(value) = node.type_ { self.visit_expr(*value); } @@ -713,70 +704,70 @@ pub trait Visitor { self.visit_stmt(value); } } - fn visit_arguments(&mut self, node: Arguments) { + fn visit_arguments(&mut self, node: Arguments) { self.generic_visit_arguments(node) } - fn generic_visit_arguments(&mut self, node: Arguments) {} - fn visit_arg(&mut self, node: Arg) { + fn generic_visit_arguments(&mut self, node: Arguments) {} + fn visit_arg(&mut self, node: Arg) { self.generic_visit_arg(node) } - fn generic_visit_arg(&mut self, node: Arg) {} - fn visit_keyword(&mut self, node: Keyword) { + fn generic_visit_arg(&mut self, node: Arg) {} + fn visit_keyword(&mut self, node: Keyword) { self.generic_visit_keyword(node) } - fn generic_visit_keyword(&mut self, node: Keyword) {} - fn visit_alias(&mut self, node: Alias) { + fn generic_visit_keyword(&mut self, node: Keyword) {} + fn visit_alias(&mut self, node: Alias) { self.generic_visit_alias(node) } - fn generic_visit_alias(&mut self, node: Alias) {} - fn visit_withitem(&mut self, node: Withitem) { + fn generic_visit_alias(&mut self, node: Alias) {} + fn visit_withitem(&mut self, node: Withitem) { self.generic_visit_withitem(node) } - fn generic_visit_withitem(&mut self, node: Withitem) {} - fn visit_match_case(&mut self, node: MatchCase) { + fn generic_visit_withitem(&mut self, node: Withitem) {} + fn visit_match_case(&mut self, node: MatchCase) { self.generic_visit_match_case(node) } - fn generic_visit_match_case(&mut self, node: MatchCase) {} - fn visit_pattern(&mut self, node: Pattern) { + fn generic_visit_match_case(&mut self, node: MatchCase) {} + fn visit_pattern(&mut self, node: Pattern) { self.generic_visit_pattern(node) } - fn generic_visit_pattern(&mut self, node: Pattern) { - match node.node { - PatternKind::MatchValue(data) => self.visit_pattern_MatchValue(data), - PatternKind::MatchSingleton(data) => self.visit_pattern_MatchSingleton(data), - PatternKind::MatchSequence(data) => self.visit_pattern_MatchSequence(data), - PatternKind::MatchMapping(data) => self.visit_pattern_MatchMapping(data), - PatternKind::MatchClass(data) => self.visit_pattern_MatchClass(data), - PatternKind::MatchStar(data) => self.visit_pattern_MatchStar(data), - PatternKind::MatchAs(data) => self.visit_pattern_MatchAs(data), - PatternKind::MatchOr(data) => self.visit_pattern_MatchOr(data), + fn generic_visit_pattern(&mut self, node: Pattern) { + match node { + Pattern::MatchValue(data) => self.visit_pattern_MatchValue(data), + Pattern::MatchSingleton(data) => self.visit_pattern_MatchSingleton(data), + Pattern::MatchSequence(data) => self.visit_pattern_MatchSequence(data), + Pattern::MatchMapping(data) => self.visit_pattern_MatchMapping(data), + Pattern::MatchClass(data) => self.visit_pattern_MatchClass(data), + Pattern::MatchStar(data) => self.visit_pattern_MatchStar(data), + Pattern::MatchAs(data) => self.visit_pattern_MatchAs(data), + Pattern::MatchOr(data) => self.visit_pattern_MatchOr(data), } } - fn visit_pattern_MatchValue(&mut self, node: PatternMatchValue) { + fn visit_pattern_MatchValue(&mut self, node: PatternMatchValue) { self.generic_visit_pattern_MatchValue(node) } - fn generic_visit_pattern_MatchValue(&mut self, node: PatternMatchValue) { + fn generic_visit_pattern_MatchValue(&mut self, node: PatternMatchValue) { { let value = node.value; self.visit_expr(*value); } } - fn visit_pattern_MatchSingleton(&mut self, node: PatternMatchSingleton) { + fn visit_pattern_MatchSingleton(&mut self, node: PatternMatchSingleton) { self.generic_visit_pattern_MatchSingleton(node) } - fn generic_visit_pattern_MatchSingleton(&mut self, node: PatternMatchSingleton) {} - fn visit_pattern_MatchSequence(&mut self, node: PatternMatchSequence) { + fn generic_visit_pattern_MatchSingleton(&mut self, node: PatternMatchSingleton) {} + fn visit_pattern_MatchSequence(&mut self, node: PatternMatchSequence) { self.generic_visit_pattern_MatchSequence(node) } - fn generic_visit_pattern_MatchSequence(&mut self, node: PatternMatchSequence) { + fn generic_visit_pattern_MatchSequence(&mut self, node: PatternMatchSequence) { for value in node.patterns { self.visit_pattern(value); } } - fn visit_pattern_MatchMapping(&mut self, node: PatternMatchMapping) { + fn visit_pattern_MatchMapping(&mut self, node: PatternMatchMapping) { self.generic_visit_pattern_MatchMapping(node) } - fn generic_visit_pattern_MatchMapping(&mut self, node: PatternMatchMapping) { + fn generic_visit_pattern_MatchMapping(&mut self, node: PatternMatchMapping) { for value in node.keys { self.visit_expr(value); } @@ -784,10 +775,10 @@ pub trait Visitor { self.visit_pattern(value); } } - fn visit_pattern_MatchClass(&mut self, node: PatternMatchClass) { + fn visit_pattern_MatchClass(&mut self, node: PatternMatchClass) { self.generic_visit_pattern_MatchClass(node) } - fn generic_visit_pattern_MatchClass(&mut self, node: PatternMatchClass) { + fn generic_visit_pattern_MatchClass(&mut self, node: PatternMatchClass) { { let value = node.cls; self.visit_expr(*value); @@ -799,22 +790,22 @@ pub trait Visitor { self.visit_pattern(value); } } - fn visit_pattern_MatchStar(&mut self, node: PatternMatchStar) { + fn visit_pattern_MatchStar(&mut self, node: PatternMatchStar) { self.generic_visit_pattern_MatchStar(node) } - fn generic_visit_pattern_MatchStar(&mut self, node: PatternMatchStar) {} - fn visit_pattern_MatchAs(&mut self, node: PatternMatchAs) { + fn generic_visit_pattern_MatchStar(&mut self, node: PatternMatchStar) {} + fn visit_pattern_MatchAs(&mut self, node: PatternMatchAs) { self.generic_visit_pattern_MatchAs(node) } - fn generic_visit_pattern_MatchAs(&mut self, node: PatternMatchAs) { + fn generic_visit_pattern_MatchAs(&mut self, node: PatternMatchAs) { if let Some(value) = node.pattern { self.visit_pattern(*value); } } - fn visit_pattern_MatchOr(&mut self, node: PatternMatchOr) { + fn visit_pattern_MatchOr(&mut self, node: PatternMatchOr) { self.generic_visit_pattern_MatchOr(node) } - fn generic_visit_pattern_MatchOr(&mut self, node: PatternMatchOr) { + fn generic_visit_pattern_MatchOr(&mut self, node: PatternMatchOr) { for value in node.patterns { self.visit_pattern(value); } diff --git a/ast/src/impls.rs b/ast/src/impls.rs index db85612626..a8cb34010f 100644 --- a/ast/src/impls.rs +++ b/ast/src/impls.rs @@ -1,19 +1,17 @@ -use crate::{Constant, ExprKind}; +use crate::{Constant, Excepthandler, Expr, Pattern, Stmt}; -impl ExprKind { +impl Expr { /// Returns a short name for the node suitable for use in error messages. pub fn python_name(&self) -> &'static str { match self { - ExprKind::BoolOp { .. } | ExprKind::BinOp { .. } | ExprKind::UnaryOp { .. } => { - "operator" - } - ExprKind::Subscript { .. } => "subscript", - ExprKind::Await { .. } => "await expression", - ExprKind::Yield { .. } | ExprKind::YieldFrom { .. } => "yield expression", - ExprKind::Compare { .. } => "comparison", - ExprKind::Attribute { .. } => "attribute", - ExprKind::Call { .. } => "function call", - ExprKind::Constant(crate::ExprConstant { value, .. }) => match value { + Expr::BoolOp { .. } | Expr::BinOp { .. } | Expr::UnaryOp { .. } => "operator", + Expr::Subscript { .. } => "subscript", + Expr::Await { .. } => "await expression", + Expr::Yield { .. } | Expr::YieldFrom { .. } => "yield expression", + Expr::Compare { .. } => "comparison", + Expr::Attribute { .. } => "attribute", + Expr::Call { .. } => "function call", + Expr::Constant(crate::ExprConstant { value, .. }) => match value { Constant::Str(_) | Constant::Int(_) | Constant::Float(_) @@ -30,31 +28,37 @@ impl ExprKind { Constant::None => "None", Constant::Ellipsis => "ellipsis", }, - ExprKind::List { .. } => "list", - ExprKind::Tuple { .. } => "tuple", - ExprKind::Dict { .. } => "dict display", - ExprKind::Set { .. } => "set display", - ExprKind::ListComp { .. } => "list comprehension", - ExprKind::DictComp { .. } => "dict comprehension", - ExprKind::SetComp { .. } => "set comprehension", - ExprKind::GeneratorExp { .. } => "generator expression", - ExprKind::Starred { .. } => "starred", - ExprKind::Slice { .. } => "slice", - ExprKind::JoinedStr(crate::ExprJoinedStr { values }) => { - if values - .iter() - .any(|e| matches!(e.node, ExprKind::JoinedStr { .. })) - { + Expr::List { .. } => "list", + Expr::Tuple { .. } => "tuple", + Expr::Dict { .. } => "dict display", + Expr::Set { .. } => "set display", + Expr::ListComp { .. } => "list comprehension", + Expr::DictComp { .. } => "dict comprehension", + Expr::SetComp { .. } => "set comprehension", + Expr::GeneratorExp { .. } => "generator expression", + Expr::Starred { .. } => "starred", + Expr::Slice { .. } => "slice", + Expr::JoinedStr(crate::ExprJoinedStr { values, .. }) => { + if values.iter().any(|e| e.is_joined_str_expr()) { "f-string expression" } else { "literal" } } - ExprKind::FormattedValue { .. } => "f-string expression", - ExprKind::Name { .. } => "name", - ExprKind::Lambda { .. } => "lambda", - ExprKind::IfExp { .. } => "conditional expression", - ExprKind::NamedExpr { .. } => "named expression", + Expr::FormattedValue { .. } => "f-string expression", + Expr::Name { .. } => "name", + Expr::Lambda { .. } => "lambda", + Expr::IfExp { .. } => "conditional expression", + Expr::NamedExpr { .. } => "named expression", } } } + +#[cfg(target_arch = "x86_64")] +static_assertions::assert_eq_size!(Expr, [u8; 72]); +#[cfg(target_arch = "x86_64")] +static_assertions::assert_eq_size!(Stmt, [u8; 136]); +#[cfg(target_arch = "x86_64")] +static_assertions::assert_eq_size!(Pattern, [u8; 96]); +#[cfg(target_arch = "x86_64")] +static_assertions::assert_eq_size!(Excepthandler, [u8; 64]); diff --git a/ast/src/lib.rs b/ast/src/lib.rs index fbc12bd077..34890404b1 100644 --- a/ast/src/lib.rs +++ b/ast/src/lib.rs @@ -8,6 +8,7 @@ mod generic { include!("gen/generic.rs"); } mod impls; +mod ranged; #[cfg(feature = "location")] mod source_locator; #[cfg(feature = "unparse")] @@ -15,13 +16,13 @@ mod unparse; pub use builtin::*; pub use generic::*; +pub use ranged::{EmptyRange, OptionalRange, Ranged, Suite}; pub use rustpython_parser_core::{text_size, ConversionFlag}; -pub type Suite = Vec>; - #[cfg(feature = "fold")] pub mod fold { use super::generic::*; + include!("gen/fold.rs"); } @@ -33,9 +34,7 @@ mod visitor { } #[cfg(feature = "location")] -pub mod located { - include!("gen/located.rs"); -} +pub mod located; #[cfg(feature = "location")] pub use rustpython_parser_core::source_code; diff --git a/ast/src/located.rs b/ast/src/located.rs new file mode 100644 index 0000000000..4987dc57b1 --- /dev/null +++ b/ast/src/located.rs @@ -0,0 +1,19 @@ +#![allow(clippy::derive_partial_eq_without_eq)] +use crate::source_code::{SourceLocation, SourceRange}; + +pub trait Located { + fn range(&self) -> SourceRange; + + fn location(&self) -> SourceLocation { + self.range().start + } + + fn end_location(&self) -> Option { + self.range().end + } +} + +pub type Suite = Vec; + +pub use crate::builtin::*; +include!("gen/located.rs"); diff --git a/ast/src/optimizer.rs b/ast/src/optimizer.rs index aae93ca8ff..f87173483d 100644 --- a/ast/src/optimizer.rs +++ b/ast/src/optimizer.rs @@ -20,35 +20,29 @@ impl crate::fold::Fold for ConstantOptimizer { Ok(user) } fn fold_expr(&mut self, node: crate::Expr) -> Result, Self::Error> { - match node.node { - crate::ExprKind::Tuple(crate::ExprTuple { elts, ctx }) => { + match node { + crate::Expr::Tuple(crate::ExprTuple { elts, ctx, range }) => { let elts = elts .into_iter() .map(|x| self.fold_expr(x)) .collect::, _>>()?; - let expr = if elts - .iter() - .all(|e| matches!(e.node, crate::ExprKind::Constant { .. })) - { + let expr = if elts.iter().all(|e| e.is_constant_expr()) { let tuple = elts .into_iter() - .map(|e| match e.node { - crate::ExprKind::Constant(crate::ExprConstant { value, .. }) => value, + .map(|e| match e { + crate::Expr::Constant(crate::ExprConstant { value, .. }) => value, _ => unreachable!(), }) .collect(); - crate::ExprKind::Constant(crate::ExprConstant { + crate::Expr::Constant(crate::ExprConstant { value: Constant::Tuple(tuple), kind: None, + range, }) } else { - crate::ExprKind::Tuple(crate::ExprTuple { elts, ctx }) + crate::Expr::Tuple(crate::ExprTuple { elts, ctx, range }) }; - Ok(crate::Expr { - node: expr, - custom: node.custom, - range: node.range, - }) + Ok(expr) } _ => crate::fold::fold_expr(self, node), } @@ -66,95 +60,68 @@ mod tests { use crate::{fold::Fold, *}; let range = TextRange::default(); - #[allow(clippy::let_unit_value)] - let custom = (); - let ast = Attributed { + let ast = ExprTuple { + ctx: ExprContext::Load, + elts: vec![ + ExprConstant { + value: BigInt::from(1).into(), + kind: None, + range, + } + .into(), + ExprConstant { + value: BigInt::from(2).into(), + kind: None, + range, + } + .into(), + ExprTuple { + ctx: ExprContext::Load, + elts: vec![ + ExprConstant { + value: BigInt::from(3).into(), + kind: None, + range, + } + .into(), + ExprConstant { + value: BigInt::from(4).into(), + kind: None, + range, + } + .into(), + ExprConstant { + value: BigInt::from(5).into(), + kind: None, + range, + } + .into(), + ], + range, + } + .into(), + ], range, - custom, - node: ExprTuple { - ctx: ExprContext::Load, - elts: vec![ - Attributed { - range, - custom, - node: ExprConstant { - value: BigInt::from(1).into(), - kind: None, - } - .into(), - }, - Attributed { - range, - custom, - node: ExprConstant { - value: BigInt::from(2).into(), - kind: None, - } - .into(), - }, - Attributed { - range, - custom, - node: ExprTuple { - ctx: ExprContext::Load, - elts: vec![ - Attributed { - range, - custom, - node: ExprConstant { - value: BigInt::from(3).into(), - kind: None, - } - .into(), - }, - Attributed { - range, - custom, - node: ExprConstant { - value: BigInt::from(4).into(), - kind: None, - } - .into(), - }, - Attributed { - range, - custom, - node: ExprConstant { - value: BigInt::from(5).into(), - kind: None, - } - .into(), - }, - ], - } - .into(), - }, - ], - } - .into(), }; let new_ast = ConstantOptimizer::new() - .fold_expr(ast) + .fold_expr(ast.into()) .unwrap_or_else(|e| match e {}); assert_eq!( new_ast, - Attributed { + ExprConstant { + value: Constant::Tuple(vec![ + BigInt::from(1).into(), + BigInt::from(2).into(), + Constant::Tuple(vec![ + BigInt::from(3).into(), + BigInt::from(4).into(), + BigInt::from(5).into(), + ]) + ]), + kind: None, range, - custom, - node: ExprConstant { - value: Constant::Tuple(vec![ - BigInt::from(1).into(), - BigInt::from(2).into(), - Constant::Tuple(vec![ - BigInt::from(3).into(), - BigInt::from(4).into(), - BigInt::from(5).into(), - ]) - ]), - kind: None - } - .into(), } + .into(), ); } } diff --git a/ast/src/ranged.rs b/ast/src/ranged.rs new file mode 100644 index 0000000000..14f2a43e23 --- /dev/null +++ b/ast/src/ranged.rs @@ -0,0 +1,62 @@ +use crate::text_size::{TextRange, TextSize}; +use std::fmt::{Debug, Display, Formatter}; +use std::marker::PhantomData; + +pub use crate::builtin::*; +use crate::Stmt; + +pub trait Ranged { + fn range(&self) -> TextRange; + + fn start(&self) -> TextSize { + self.range().start() + } + + fn end(&self) -> TextSize { + self.range().end() + } +} + +pub type Suite = Vec>; + +#[cfg(feature = "all-nodes-with-ranges")] +pub type OptionalRange = R; + +#[cfg(not(feature = "all-nodes-with-ranges"))] +pub type OptionalRange = EmptyRange; + +#[derive(Eq, PartialEq, Hash, Copy, Clone)] +pub struct EmptyRange { + phantom: PhantomData, +} + +impl EmptyRange { + #[inline(always)] + pub fn new(_start: TextSize, _end: TextSize) -> Self { + Self { + phantom: PhantomData, + } + } +} + +impl Display for EmptyRange { + fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + f.write_str("()") + } +} + +impl Debug for EmptyRange { + fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { + Display::fmt(self, f) + } +} + +impl Default for EmptyRange { + fn default() -> Self { + EmptyRange { + phantom: PhantomData, + } + } +} + +include!("gen/ranged.rs"); diff --git a/ast/src/source_locator.rs b/ast/src/source_locator.rs index a754a6132d..ebacd899d9 100644 --- a/ast/src/source_locator.rs +++ b/ast/src/source_locator.rs @@ -1,39 +1,15 @@ -use crate::builtin::Attributed; -use rustpython_parser_core::source_code::{SourceLocation, SourceLocator, SourceRange}; +use rustpython_parser_core::{ + source_code::{SourceLocator, SourceRange}, + text_size::TextRange, +}; -impl crate::fold::Fold<()> for SourceLocator<'_> { +impl crate::fold::Fold for SourceLocator<'_> { type TargetU = SourceRange; type Error = std::convert::Infallible; - #[cold] - fn map_user(&mut self, _user: ()) -> Result { - unreachable!("implemented map_attributed"); - } - - fn map_attributed( - &mut self, - node: Attributed, - ) -> Result, Self::Error> { - let start = self.locate(node.range.start()); - let end = self.locate(node.range.end()); - Ok(Attributed { - range: node.range, - custom: (start..end).into(), - node: node.node, - }) - } -} - -impl Attributed { - /// Returns the absolute start position of the node from the beginning of the document. - #[inline] - pub const fn location(&self) -> SourceLocation { - self.custom.start - } - - /// Returns the absolute position at which the node ends in the source document. - #[inline] - pub const fn end_location(&self) -> Option { - self.custom.end + fn map_user(&mut self, user: TextRange) -> Result { + let start = self.locate(user.start()); + let end = self.locate(user.end()); + Ok((start..end).into()) } } diff --git a/ast/src/unparse.rs b/ast/src/unparse.rs index 6ce567aa86..b68be60097 100644 --- a/ast/src/unparse.rs +++ b/ast/src/unparse.rs @@ -1,7 +1,5 @@ use crate::ConversionFlag; -use crate::{ - Arg, Arguments, Boolop, Cmpop, Comprehension, Constant, Expr, ExprKind, Identifier, Operator, -}; +use crate::{Arg, Arguments, Boolop, Cmpop, Comprehension, Constant, Expr, Identifier, Operator}; use std::fmt; mod precedence { @@ -73,8 +71,12 @@ impl<'a> Unparser<'a> { ret }}; } - match &ast.node { - ExprKind::BoolOp(crate::ExprBoolOp { op, values }) => { + match &ast { + Expr::BoolOp(crate::ExprBoolOp { + op, + values, + range: _range, + }) => { let (op, prec) = op_prec!(bin, op, Boolop, And("and", AND), Or("or", OR)); group_if!(prec, { let mut first = true; @@ -84,14 +86,23 @@ impl<'a> Unparser<'a> { } }) } - ExprKind::NamedExpr(crate::ExprNamedExpr { target, value }) => { + Expr::NamedExpr(crate::ExprNamedExpr { + target, + value, + range: _range, + }) => { group_if!(precedence::TUPLE, { self.unparse_expr(target, precedence::ATOM)?; self.p(" := ")?; self.unparse_expr(value, precedence::ATOM)?; }) } - ExprKind::BinOp(crate::ExprBinOp { left, op, right }) => { + Expr::BinOp(crate::ExprBinOp { + left, + op, + right, + range: _range, + }) => { let right_associative = matches!(op, Operator::Pow); let (op, prec) = op_prec!( bin, @@ -117,7 +128,11 @@ impl<'a> Unparser<'a> { self.unparse_expr(right, prec + !right_associative as u8)?; }) } - ExprKind::UnaryOp(crate::ExprUnaryOp { op, operand }) => { + Expr::UnaryOp(crate::ExprUnaryOp { + op, + operand, + range: _range, + }) => { let (op, prec) = op_prec!( un, op, @@ -132,7 +147,11 @@ impl<'a> Unparser<'a> { self.unparse_expr(operand, prec)?; }) } - ExprKind::Lambda(crate::ExprLambda { args, body }) => { + Expr::Lambda(crate::ExprLambda { + args, + body, + range: _range, + }) => { group_if!(precedence::TEST, { let pos = args.args.len() + args.posonlyargs.len(); self.p(if pos > 0 { "lambda " } else { "lambda" })?; @@ -140,7 +159,12 @@ impl<'a> Unparser<'a> { write!(self, ": {}", **body)?; }) } - ExprKind::IfExp(crate::ExprIfExp { test, body, orelse }) => { + Expr::IfExp(crate::ExprIfExp { + test, + body, + orelse, + range: _range, + }) => { group_if!(precedence::TEST, { self.unparse_expr(body, precedence::TEST + 1)?; self.p(" if ")?; @@ -149,7 +173,11 @@ impl<'a> Unparser<'a> { self.unparse_expr(orelse, precedence::TEST)?; }) } - ExprKind::Dict(crate::ExprDict { keys, values }) => { + Expr::Dict(crate::ExprDict { + keys, + values, + range: _range, + }) => { self.p("{")?; let mut first = true; let (packed, unpacked) = values.split_at(keys.len()); @@ -167,7 +195,10 @@ impl<'a> Unparser<'a> { } self.p("}")?; } - ExprKind::Set(crate::ExprSet { elts }) => { + Expr::Set(crate::ExprSet { + elts, + range: _range, + }) => { self.p("{")?; let mut first = true; for v in elts { @@ -176,22 +207,31 @@ impl<'a> Unparser<'a> { } self.p("}")?; } - ExprKind::ListComp(crate::ExprListComp { elt, generators }) => { + Expr::ListComp(crate::ExprListComp { + elt, + generators, + range: _range, + }) => { self.p("[")?; self.unparse_expr(elt, precedence::TEST)?; self.unparse_comp(generators)?; self.p("]")?; } - ExprKind::SetComp(crate::ExprSetComp { elt, generators }) => { + Expr::SetComp(crate::ExprSetComp { + elt, + generators, + range: _range, + }) => { self.p("{")?; self.unparse_expr(elt, precedence::TEST)?; self.unparse_comp(generators)?; self.p("}")?; } - ExprKind::DictComp(crate::ExprDictComp { + Expr::DictComp(crate::ExprDictComp { key, value, generators, + range: _range, }) => { self.p("{")?; self.unparse_expr(key, precedence::TEST)?; @@ -200,32 +240,46 @@ impl<'a> Unparser<'a> { self.unparse_comp(generators)?; self.p("}")?; } - ExprKind::GeneratorExp(crate::ExprGeneratorExp { elt, generators }) => { + Expr::GeneratorExp(crate::ExprGeneratorExp { + elt, + generators, + range: _range, + }) => { self.p("(")?; self.unparse_expr(elt, precedence::TEST)?; self.unparse_comp(generators)?; self.p(")")?; } - ExprKind::Await(crate::ExprAwait { value }) => { + Expr::Await(crate::ExprAwait { + value, + range: _range, + }) => { group_if!(precedence::AWAIT, { self.p("await ")?; self.unparse_expr(value, precedence::ATOM)?; }) } - ExprKind::Yield(crate::ExprYield { value }) => { + Expr::Yield(crate::ExprYield { + value, + range: _range, + }) => { if let Some(value) = value { write!(self, "(yield {})", **value)?; } else { self.p("(yield)")?; } } - ExprKind::YieldFrom(crate::ExprYieldFrom { value }) => { + Expr::YieldFrom(crate::ExprYieldFrom { + value, + range: _range, + }) => { write!(self, "(yield from {})", **value)?; } - ExprKind::Compare(crate::ExprCompare { + Expr::Compare(crate::ExprCompare { left, ops, comparators, + range: _range, }) => { group_if!(precedence::CMP, { let new_lvl = precedence::CMP + 1; @@ -248,18 +302,20 @@ impl<'a> Unparser<'a> { } }) } - ExprKind::Call(crate::ExprCall { + Expr::Call(crate::ExprCall { func, args, keywords, + range: _range, }) => { self.unparse_expr(func, precedence::ATOM)?; self.p("(")?; if let ( - [Expr { - node: ExprKind::GeneratorExp(crate::ExprGeneratorExp { elt, generators }), - .. - }], + [Expr::GeneratorExp(crate::ExprGeneratorExp { + elt, + generators, + range: _range, + })], [], ) = (&**args, &**keywords) { @@ -274,26 +330,32 @@ impl<'a> Unparser<'a> { } for kw in keywords { self.p_delim(&mut first, ", ")?; - if let Some(arg) = &kw.node.arg { + if let Some(arg) = &kw.arg { self.p_id(arg)?; self.p("=")?; } else { self.p("**")?; } - self.unparse_expr(&kw.node.value, precedence::TEST)?; + self.unparse_expr(&kw.value, precedence::TEST)?; } } self.p(")")?; } - ExprKind::FormattedValue(crate::ExprFormattedValue { + Expr::FormattedValue(crate::ExprFormattedValue { value, conversion, format_spec, + range: _range, }) => self.unparse_formatted(value, conversion.to_u32(), format_spec.as_deref())?, - ExprKind::JoinedStr(crate::ExprJoinedStr { values }) => { - self.unparse_joined_str(values, false)? - } - ExprKind::Constant(crate::ExprConstant { value, kind }) => { + Expr::JoinedStr(crate::ExprJoinedStr { + values, + range: _range, + }) => self.unparse_joined_str(values, false)?, + Expr::Constant(crate::ExprConstant { + value, + kind, + range: _range, + }) => { if let Some(kind) = kind { self.p(kind)?; } @@ -309,12 +371,12 @@ impl<'a> Unparser<'a> { _ => fmt::Display::fmt(value, &mut self.f)?, } } - ExprKind::Attribute(crate::ExprAttribute { value, attr, .. }) => { + Expr::Attribute(crate::ExprAttribute { value, attr, .. }) => { self.unparse_expr(value, precedence::ATOM)?; - let period = if let ExprKind::Constant(crate::ExprConstant { + let period = if let Expr::Constant(crate::ExprConstant { value: Constant::Int(_), .. - }) = &value.node + }) = value.as_ref() { " ." } else { @@ -323,14 +385,11 @@ impl<'a> Unparser<'a> { self.p(period)?; self.p_id(attr)?; } - ExprKind::Subscript(crate::ExprSubscript { value, slice, .. }) => { + Expr::Subscript(crate::ExprSubscript { value, slice, .. }) => { self.unparse_expr(value, precedence::ATOM)?; let mut lvl = precedence::TUPLE; - if let ExprKind::Tuple(crate::ExprTuple { elts, .. }) = &slice.node { - if elts - .iter() - .any(|expr| matches!(expr.node, ExprKind::Starred { .. })) - { + if let Expr::Tuple(crate::ExprTuple { elts, .. }) = slice.as_ref() { + if elts.iter().any(|expr| expr.is_starred_expr()) { lvl += 1 } } @@ -338,12 +397,12 @@ impl<'a> Unparser<'a> { self.unparse_expr(slice, lvl)?; self.p("]")?; } - ExprKind::Starred(crate::ExprStarred { value, .. }) => { + Expr::Starred(crate::ExprStarred { value, .. }) => { self.p("*")?; self.unparse_expr(value, precedence::EXPR)?; } - ExprKind::Name(crate::ExprName { id, .. }) => self.p_id(id)?, - ExprKind::List(crate::ExprList { elts, .. }) => { + Expr::Name(crate::ExprName { id, .. }) => self.p_id(id)?, + Expr::List(crate::ExprList { elts, .. }) => { self.p("[")?; let mut first = true; for elt in elts { @@ -352,7 +411,7 @@ impl<'a> Unparser<'a> { } self.p("]")?; } - ExprKind::Tuple(crate::ExprTuple { elts, .. }) => { + Expr::Tuple(crate::ExprTuple { elts, .. }) => { if elts.is_empty() { self.p("()")?; } else { @@ -366,7 +425,12 @@ impl<'a> Unparser<'a> { }) } } - ExprKind::Slice(crate::ExprSlice { lower, upper, step }) => { + Expr::Slice(crate::ExprSlice { + lower, + upper, + step, + range: _range, + }) => { if let Some(lower) = lower { self.unparse_expr(lower, precedence::TEST)?; } @@ -420,8 +484,8 @@ impl<'a> Unparser<'a> { Ok(()) } fn unparse_arg(&mut self, arg: &Arg) -> fmt::Result { - self.p_id(&arg.node.arg)?; - if let Some(ann) = &arg.node.annotation { + self.p_id(&arg.arg)?; + if let Some(ann) = &arg.annotation { write!(self, ": {}", **ann)?; } Ok(()) @@ -487,21 +551,23 @@ impl<'a> Unparser<'a> { } fn unparse_fstring_elem(&mut self, expr: &Expr, is_spec: bool) -> fmt::Result { - match &expr.node { - ExprKind::Constant(crate::ExprConstant { value, .. }) => { + match &expr { + Expr::Constant(crate::ExprConstant { value, .. }) => { if let Constant::Str(s) = value { self.unparse_fstring_str(s) } else { unreachable!() } } - ExprKind::JoinedStr(crate::ExprJoinedStr { values }) => { - self.unparse_joined_str(values, is_spec) - } - ExprKind::FormattedValue(crate::ExprFormattedValue { + Expr::JoinedStr(crate::ExprJoinedStr { + values, + range: _range, + }) => self.unparse_joined_str(values, is_spec), + Expr::FormattedValue(crate::ExprFormattedValue { value, conversion, format_spec, + range: _range, }) => self.unparse_formatted(value, conversion.to_u32(), format_spec.as_deref()), _ => unreachable!(), } diff --git a/core/Cargo.toml b/core/Cargo.toml index ec4d87a7e8..35e876d412 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -16,4 +16,4 @@ serde = { version = "1.0.133", optional = true, default-features = false, featur [features] default = [] -location = ["ruff_source_location"] +location = ["dep:ruff_source_location"] diff --git a/core/src/source_code.rs b/core/src/source_code.rs index 4440fd8215..8080da4684 100644 --- a/core/src/source_code.rs +++ b/core/src/source_code.rs @@ -3,7 +3,7 @@ pub use ruff_source_location::*; pub type LineNumber = OneIndexed; -#[derive(Debug)] +#[derive(Debug, Copy, Clone)] pub struct SourceRange { pub start: SourceLocation, pub end: Option, diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 31de28cc2b..1a8b7328b3 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -10,8 +10,9 @@ edition = "2021" [features] default = ["location"] -location = ["rustpython-ast/location"] +location = ["rustpython-ast/location", "rustpython-parser-core/location"] serde = ["dep:serde", "rustpython-parser-core/serde"] +all-nodes-with-ranges = ["rustpython-ast/all-nodes-with-ranges"] [build-dependencies] anyhow = { workspace = true } @@ -37,4 +38,4 @@ rustc-hash = "1.1.0" serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] } [dev-dependencies] -insta = { workspace = true } +insta = { workspace = true } \ No newline at end of file diff --git a/parser/src/context.rs b/parser/src/context.rs index c1b1cbf16c..65734d2505 100644 --- a/parser/src/context.rs +++ b/parser/src/context.rs @@ -1,49 +1,48 @@ -use crate::ast::{self, Expr, ExprContext, ExprKind}; +use crate::ast::{self, Expr, ExprContext}; pub(crate) fn set_context(expr: Expr, ctx: ExprContext) -> Expr { - match expr.node { - ExprKind::Name(ast::ExprName { id, .. }) => Expr { - node: ast::ExprName { id, ctx }.into(), - ..expr - }, - ExprKind::Tuple(ast::ExprTuple { elts, .. }) => Expr { - node: ast::ExprTuple { - elts: elts - .into_iter() - .map(|elt| set_context(elt, ctx.clone())) - .collect(), - ctx, - } - .into(), - ..expr - }, - ExprKind::List(ast::ExprList { elts, .. }) => Expr { - node: ast::ExprList { - elts: elts - .into_iter() - .map(|elt| set_context(elt, ctx.clone())) - .collect(), - ctx, - } - .into(), - ..expr - }, - ExprKind::Attribute(ast::ExprAttribute { value, attr, .. }) => Expr { - node: ast::ExprAttribute { value, attr, ctx }.into(), - ..expr - }, - ExprKind::Subscript(ast::ExprSubscript { value, slice, .. }) => Expr { - node: ast::ExprSubscript { value, slice, ctx }.into(), - ..expr - }, - ExprKind::Starred(ast::ExprStarred { value, .. }) => Expr { - node: ast::ExprStarred { - value: Box::new(set_context(*value, ctx.clone())), - ctx, - } - .into(), - ..expr - }, + match expr { + Expr::Name(ast::ExprName { id, range, .. }) => ast::ExprName { id, ctx, range }.into(), + Expr::Tuple(ast::ExprTuple { elts, range, .. }) => ast::ExprTuple { + elts: elts.into_iter().map(|elt| set_context(elt, ctx)).collect(), + range, + ctx, + } + .into(), + + Expr::List(ast::ExprList { elts, range, .. }) => ast::ExprList { + elts: elts.into_iter().map(|elt| set_context(elt, ctx)).collect(), + range, + ctx, + } + .into(), + Expr::Attribute(ast::ExprAttribute { + value, attr, range, .. + }) => ast::ExprAttribute { + value, + attr, + range, + ctx, + } + .into(), + Expr::Subscript(ast::ExprSubscript { + value, + slice, + range, + .. + }) => ast::ExprSubscript { + value, + slice, + range, + ctx, + } + .into(), + Expr::Starred(ast::ExprStarred { value, range, .. }) => ast::ExprStarred { + value: Box::new(set_context(*value, ctx)), + range, + ctx, + } + .into(), _ => expr, } } @@ -67,6 +66,7 @@ mod tests { } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_assign_list() { let source = "[x, y] = (1, 2, 3)"; let parse_ast = parse_program(source, "").unwrap(); @@ -102,6 +102,7 @@ mod tests { } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_assign_list_comp() { let source = "x = [y for y in (1, 2, 3)]"; let parse_ast = parse_program(source, "").unwrap(); @@ -109,6 +110,7 @@ mod tests { } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_assign_set_comp() { let source = "x = {y for y in (1, 2, 3)}"; let parse_ast = parse_program(source, "").unwrap(); @@ -116,6 +118,7 @@ mod tests { } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_assign_with() { let source = "with 1 as x: pass"; let parse_ast = parse_program(source, "").unwrap(); diff --git a/parser/src/function.rs b/parser/src/function.rs index 7151a45d65..d3f24f8a67 100644 --- a/parser/src/function.rs +++ b/parser/src/function.rs @@ -1,11 +1,13 @@ // Contains functions that perform validation and parsing of arguments and parameters. // Checks apply both to functions and to lambdas. +use crate::text_size::TextRange; use crate::{ ast, lexer::{LexicalError, LexicalErrorType}, text_size::TextSize, }; use rustc_hash::FxHashSet; +use rustpython_ast::Ranged; pub(crate) struct ArgumentList { pub args: Vec, @@ -19,7 +21,7 @@ type ParameterDef = (ast::Arg, Option); pub(crate) fn validate_arguments( arguments: ast::Arguments, ) -> Result { - let mut all_args: Vec<&ast::Attributed> = vec![]; + let mut all_args: Vec<&ast::Arg> = vec![]; all_args.extend(arguments.posonlyargs.iter()); all_args.extend(arguments.args.iter()); @@ -116,13 +118,11 @@ pub(crate) fn parse_args(func_args: Vec) -> Result { // Positional arguments mustn't follow keyword arguments. @@ -148,8 +148,8 @@ pub(crate) fn parse_args(func_args: Vec) -> Result bool { - matches!(exp.node, ast::ExprKind::Starred { .. }) +const fn is_starred(exp: &ast::Expr) -> bool { + exp.is_starred_expr() } #[cfg(test)] @@ -157,6 +157,7 @@ mod tests { use super::*; use crate::parser::{parse_program, ParseErrorType}; + #[cfg(not(feature = "all-nodes-with-ranges"))] macro_rules! function_and_lambda { ($($name:ident: $code:expr,)*) => { $( @@ -169,6 +170,7 @@ mod tests { } } + #[cfg(not(feature = "all-nodes-with-ranges"))] function_and_lambda! { test_function_no_args: "def f(): pass", test_function_pos_args: "def f(a, b, c): pass", diff --git a/parser/src/parser.rs b/parser/src/parser.rs index b479d3daaa..90f267f022 100644 --- a/parser/src/parser.rs +++ b/parser/src/parser.rs @@ -23,7 +23,9 @@ use crate::{ use itertools::Itertools; use std::iter; +use crate::text_size::TextRange; pub(super) use lalrpop_util::ParseError as LalrpopError; +use rustpython_ast::OptionalRange; /// Parse a full Python program usually consisting of multiple lines. /// @@ -95,7 +97,7 @@ pub fn parse_expression_starts_at( offset: TextSize, ) -> Result { parse_starts_at(source, Mode::Expression, path, offset).map(|top| match top { - ast::Mod::Expression(ast::ModExpression { body }) => *body, + ast::Mod::Expression(ast::ModExpression { body, .. }) => *body, _ => unreachable!(), }) } @@ -318,6 +320,11 @@ impl ParseErrorType { } } +#[inline(always)] +pub(super) fn optional_range(start: TextSize, end: TextSize) -> OptionalRange { + OptionalRange::::new(start, end) +} + #[cfg(test)] mod tests { use super::*; @@ -371,6 +378,7 @@ mod tests { } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_lambda() { let source = "lambda x, y: x * y"; // lambda(x, y): x * y"; let parse_ast = parse_program(source, "").unwrap(); @@ -385,6 +393,7 @@ mod tests { } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_class() { let source = "\ class Foo(A, B): @@ -397,6 +406,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_dict_comprehension() { let source = "{x1: x2 for y in z}"; let parse_ast = parse_expression(source, "").unwrap(); @@ -404,6 +414,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_list_comprehension() { let source = "[x for y in z]"; let parse_ast = parse_expression(source, "").unwrap(); @@ -411,6 +422,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_double_list_comprehension() { let source = "[x for y, y2 in z for a in b if a < 5 if a > 10]"; let parse_ast = parse_expression(source, "").unwrap(); @@ -418,6 +430,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_generator_comprehension() { let source = "(x for y in z)"; let parse_ast = parse_expression(source, "").unwrap(); @@ -425,6 +438,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_named_expression_generator_comprehension() { let source = "(x := y + 1 for y in z)"; let parse_ast = parse_expression(source, "").unwrap(); @@ -432,6 +446,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_parse_if_else_generator_comprehension() { let source = "(x if y else y for y in z)"; let parse_ast = parse_expression(source, "").unwrap(); @@ -460,6 +475,7 @@ class Foo(A, B): } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_with_statement() { let source = "\ with 0: pass @@ -529,6 +545,7 @@ array[3:5, *indexes_to_select] } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_generator_expression_argument() { let source = r#"' '.join( sql @@ -588,6 +605,7 @@ except* OSError as e: } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_match_as_identifier() { let parse_ast = parse_program( r#" @@ -620,6 +638,7 @@ print(match(12)) } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_patma() { let source = r#"# Cases sampled from Lib/test/test_patma.py @@ -791,6 +810,7 @@ match w := x,: } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_match() { let parse_ast = parse_program( r#" @@ -821,6 +841,7 @@ match x: } #[test] + #[cfg(not(feature = "all-nodes-with-ranges"))] fn test_variadic_generics() { let parse_ast = parse_program( r#" diff --git a/parser/src/python.lalrpop b/parser/src/python.lalrpop index a72c88ec9b..8953ad5467 100644 --- a/parser/src/python.lalrpop +++ b/parser/src/python.lalrpop @@ -4,13 +4,13 @@ // See also: https://greentreesnakes.readthedocs.io/en/latest/nodes.html#keyword use crate::{ - ast, + ast::{self as ast, Ranged}, lexer::{LexicalError, LexicalErrorType}, function::{ArgumentList, parse_args, parse_params, validate_arguments}, context::set_context, string::parse_strings, token::{self, StringKind}, - text_size::TextSize, + text_size::TextSize, parser::optional_range }; use num_bigint::BigInt; @@ -20,9 +20,9 @@ grammar; // For each public entry point, a full parse table is generated. // By having only a single pub function, we reduce this to one. pub Top: ast::Mod = { - StartModule => ast::ModModule { body, type_ignores: vec![] }.into(), - StartInteractive => ast::ModInteractive { body }.into(), - StartExpression ("\n")* => ast::ModExpression { body: Box::new(body) }.into(), + StartModule => ast::ModModule { body, type_ignores: vec![], range: optional_range(start, end) }.into(), + StartInteractive => ast::ModInteractive { body, range: optional_range(start, end) }.into(), + StartExpression ("\n")* => ast::ModExpression { body: Box::new(body), range: optional_range(start, end) }.into() }; Program: ast::Suite = { @@ -68,20 +68,14 @@ SmallStatement: ast::Stmt = { PassStatement: ast::Stmt = { "pass" => { - ast::Stmt::new( - location.. - end_location, - ast::StmtKind::Pass, - ) + ast::Stmt::Pass(ast::StmtPass { range: (location..end_location).into() }) }, }; DelStatement: ast::Stmt = { "del" => { - ast::Stmt::new( - location.. - end_location, - ast::StmtDelete { targets: targets.into_iter().map(|expr| set_context(expr, ast::ExprContext::Del)).collect() } + ast::Stmt::Delete( + ast::StmtDelete { targets: targets.into_iter().map(|expr| set_context(expr, ast::ExprContext::Del)).collect(), range: (location..end_location).into() } ) }, }; @@ -90,10 +84,8 @@ ExpressionStatement: ast::Stmt = { => { // Just an expression, no assignment: if suffix.is_empty() { - ast::Stmt::new( - location.. - end_location, - ast::StmtExpr { value: Box::new(expression) } + ast::Stmt::Expr( + ast::StmtExpr { value: Box::new(expression), range: (location..end_location).into() } ) } else { let mut targets = vec![set_context(expression, ast::ExprContext::Store)]; @@ -105,34 +97,30 @@ ExpressionStatement: ast::Stmt = { let value = Box::new(values.into_iter().next().unwrap()); - ast::Stmt::new( - location.. - end_location, - ast::StmtAssign { targets, value, type_comment: None } + ast::Stmt::Assign( + ast::StmtAssign { targets, value, type_comment: None, range: (location..end_location).into() } ) } }, => { - ast::Stmt::new( - location.. - end_location, + ast::Stmt::AugAssign( ast::StmtAugAssign { target: Box::new(set_context(target, ast::ExprContext::Store)), op, - value: Box::new(rhs) + value: Box::new(rhs), + range: (location..end_location).into() }, ) }, > ":" > => { - let simple = matches!(target.node, ast::ExprKind::Name { .. }); - ast::Stmt::new( - location.. - end_location, + let simple = target.is_name_expr(); + ast::Stmt::AnnAssign( ast::StmtAnnAssign { target: Box::new(set_context(target, ast::ExprContext::Store)), annotation: Box::new(annotation), value: rhs.map(Box::new), simple, + range: (location..end_location).into() }, ) }, @@ -186,31 +174,20 @@ AugAssign: ast::Operator = { FlowStatement: ast::Stmt = { "break" => { - ast::Stmt::new( - location.. - end_location, - ast::StmtKind::Break, - ) + + ast::Stmt::Break(ast::StmtBreak { range: (location..end_location).into() }) }, "continue" => { - ast::Stmt::new( - location.. - end_location, - ast::StmtKind::Continue, - ) + ast::Stmt::Continue(ast::StmtContinue { range: (location..end_location).into() }) }, "return" => { - ast::Stmt::new( - location.. - end_location, - ast::StmtReturn { value: value.map(Box::new) } + ast::Stmt::Return( + ast::StmtReturn { value: value.map(Box::new), range: (location..end_location).into() } ) }, => { - ast::Stmt::new( - location.. - end_location, - ast::StmtExpr { value: Box::new(expression) } + ast::Stmt::Expr( + ast::StmtExpr { value: Box::new(expression), range: (location..end_location).into() } ) }, RaiseStatement, @@ -218,38 +195,31 @@ FlowStatement: ast::Stmt = { RaiseStatement: ast::Stmt = { "raise" => { - ast::Stmt::new( - location.. - end_location, - ast::StmtRaise { exc: None, cause: None } + ast::Stmt::Raise( + ast::StmtRaise { exc: None, cause: None, range: (location..end_location).into() } ) }, "raise" > )?> => { - ast::Stmt::new( - location.. - end_location, - ast::StmtRaise { exc: Some(Box::new(t)), cause: c.map(|x| Box::new(x.1)) } + ast::Stmt::Raise( + ast::StmtRaise { exc: Some(Box::new(t)), cause: c.map(|x| Box::new(x.1)), range: (location..end_location).into() } ) }, }; ImportStatement: ast::Stmt = { "import" >> => { - ast::Stmt::new( - location.. - end_location, - ast::StmtImport { names } + ast::Stmt::Import( + ast::StmtImport { names, range: (location..end_location).into() } ) }, "from" "import" => { let (level, module) = source; - ast::Stmt::new( - location.. - end_location, + ast::Stmt::ImportFrom( ast::StmtImportFrom { level, module, - names + names, + range: (location..end_location).into() }, ) }, @@ -274,14 +244,14 @@ ImportAsNames: Vec = { "(" >> ","? ")" => i, "*" => { // Star import all - vec![ast::Alias::new(location..end_location, ast::AliasData { name: ast::Identifier::new("*"), asname: None })] + vec![ast::Alias { name: ast::Identifier::new("*"), asname: None, range: (location..end_location).into() }] }, }; #[inline] ImportAsAlias: ast::Alias = { - => ast::Alias::new(location..end_location, ast::AliasData { name, asname: a.map(|a| a.1) }), + => ast::Alias { name, asname: a.map(|a| a.1), range: (location..end_location).into() }, } // A name like abc or abc.def.ghi @@ -299,32 +269,27 @@ DottedName: ast::Identifier = { GlobalStatement: ast::Stmt = { "global" > => { - ast::Stmt::new( - location.. - end_location, - ast::StmtGlobal { names } + ast::Stmt::Global( + ast::StmtGlobal { names, range: (location..end_location).into() } ) }, }; NonlocalStatement: ast::Stmt = { "nonlocal" > => { - ast::Stmt::new( - location.. - end_location, - ast::StmtNonlocal { names } + ast::Stmt::Nonlocal( + ast::StmtNonlocal { names, range: (location..end_location).into() } ) }, }; AssertStatement: ast::Stmt = { "assert" > )?> => { - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Assert( ast::StmtAssert { test: Box::new(test), - msg: msg.map(|e| Box::new(e.1)) + msg: msg.map(|e| Box::new(e.1)), + range: (location..end_location).into() } ) }, @@ -350,12 +315,11 @@ MatchStatement: ast::Stmt = { .last() .unwrap() .end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Match( ast::StmtMatch { subject: Box::new(subject), - cases + cases, + range: (location..end_location).into() } ) }, @@ -367,12 +331,11 @@ MatchStatement: ast::Stmt = { .last() .unwrap() .end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Match( ast::StmtMatch { subject: Box::new(subject), - cases + cases, + range: (location..end_location).into() } ) }, @@ -386,30 +349,29 @@ MatchStatement: ast::Stmt = { .end(); let mut subjects = subjects; subjects.insert(0, subject); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Match( ast::StmtMatch { - subject: Box::new(ast::Expr::new( - location.. - end_location, + subject: Box::new(ast::Expr::Tuple( ast::ExprTuple { elts: subjects, ctx: ast::ExprContext::Load, + range: (location..end_location).into() }, )), - cases + cases, + range: (location..end_location).into() } ) } } MatchCase: ast::MatchCase = { - "case" ":" => { + "case" ":" => { ast::MatchCase { pattern, guard: guard.map(Box::new), - body + body, + range: optional_range(start, end) } }, } @@ -421,21 +383,19 @@ Guard: ast::Expr = { } Patterns: ast::Pattern = { - "," => ast::Pattern::new( - location.. - end_location, + "," => ast::Pattern::MatchSequence( ast::PatternMatchSequence { - patterns: vec![pattern] + patterns: vec![pattern], + range: (location..end_location).into() }, ), "," > ","? => { let mut patterns = patterns; patterns.insert(0, pattern); - ast::Pattern::new( - location.. - end_location, + ast::Pattern::MatchSequence( ast::PatternMatchSequence { - patterns + patterns, + range: (location..end_location).into() }, ) }, @@ -455,12 +415,11 @@ AsPattern: ast::Pattern = { location, })? } else { - Ok(ast::Pattern::new( - location.. - end_location, + Ok(ast::Pattern::MatchAs( ast::PatternMatchAs { pattern: Some(Box::new(pattern)), name: Some(name), + range: (location..end_location).into() }, )) } @@ -472,168 +431,142 @@ OrPattern: ast::Pattern = { )+> => { let mut patterns = patterns; patterns.insert(0, pattern); - ast::Pattern::new( - location.. - end_location, - ast::PatternMatchOr { patterns } + ast::Pattern::MatchOr( + ast::PatternMatchOr { patterns, range: (location..end_location).into() } ) } } ClosedPattern: ast::Pattern = { - => ast::Pattern::new( - location.. - end_location, - node, - ), - => ast::Pattern::new( - location.. - end_location, - node, - ), - => ast::Pattern::new( - location.. - end_location, - node, - ), - => ast::Pattern::new( - location.. - end_location, - node, - ), - => ast::Pattern::new( - location.. - end_location, - node, - ), - => ast::Pattern::new( - location.. - end_location, - node, - ), - => ast::Pattern::new( - location.. - end_location, - node, - ), + => node, + => node, + => node, + => node, + => node, + => node, + => node, } -SequencePattern: ast::PatternKind = { +SequencePattern: ast::Pattern = { // A single-item tuple is a special case: it's a group pattern, _not_ a sequence pattern. - "(" ")" => pattern.node, + "(" ")" => pattern, "(" ")" => ast::PatternMatchSequence { patterns: vec![], + range: (location..end_location).into() }.into(), "(" "," > ")" => { let mut patterns = patterns; patterns.insert(0, pattern); ast::PatternMatchSequence { - patterns + patterns, + range: (location..end_location).into() }.into() }, "[" > "]" => ast::PatternMatchSequence { - patterns + patterns, + range: (location..end_location).into() }.into(), } -StarPattern: ast::PatternKind = { +StarPattern: ast::Pattern = { "*" => ast::PatternMatchStar { - name: if name.as_str() == "_" { None } else { Some(name) } + name: if name.as_str() == "_" { None } else { Some(name) }, + range: (location..end_location).into() }.into(), } ConstantAtom: ast::Expr = { - => ast::Expr::new( - location.. - end_location, - ast::ExprConstant { value, kind: None } + => ast::Expr::Constant( + ast::ExprConstant { value, kind: None, range: (location..end_location).into() } ), } ConstantExpr: ast::Expr = { ConstantAtom, - "-" => ast::Expr::new( - location.. - end_location, + "-" => ast::Expr::UnaryOp( ast::ExprUnaryOp { op: ast::Unaryop::USub, - operand: Box::new(operand) + operand: Box::new(operand), + range: (location..end_location).into() } ), } AddOpExpr: ast::Expr = { - => ast::Expr::new( - location.. - end_location, + => ast::Expr::BinOp( ast::ExprBinOp { left: Box::new(left), op, right: Box::new(right), + range: (location..end_location).into() } ), } -LiteralPattern: ast::PatternKind = { - "None" => ast::PatternMatchSingleton { - value: ast::Constant::None +LiteralPattern: ast::Pattern = { + "None" => ast::PatternMatchSingleton { + value: ast::Constant::None, + range: (location..end_location).into() }.into(), - "True" => ast::PatternMatchSingleton { - value: true.into() + "True" => ast::PatternMatchSingleton { + value: true.into(), + range: (location..end_location).into() }.into(), - "False" => ast::PatternMatchSingleton { - value: false.into() + "False" => ast::PatternMatchSingleton { + value: false.into(), + range: (location..end_location).into() }.into(), => ast::PatternMatchValue { - value: Box::new(value) + value: Box::new(value), + range: (location..end_location).into() }.into(), - => ast::PatternMatchValue { - value: Box::new(value) + => ast::PatternMatchValue { + value: Box::new(value), + range: (location..end_location).into() }.into(), - =>? Ok(ast::PatternMatchValue { - value: Box::new(parse_strings(s)?) + =>? Ok(ast::PatternMatchValue { + value: Box::new(parse_strings(s)?), + range: (location..end_location).into() }.into()), } -CapturePattern: ast::PatternKind = { +CapturePattern: ast::Pattern = { => ast::PatternMatchAs { pattern: None, - name: if name.as_str() == "_" { None } else { Some(name) } + name: if name.as_str() == "_" { None } else { Some(name) }, + range: (location..end_location).into() }.into(), } MatchName: ast::Expr = { - => ast::Expr::new( - location.. - end_location, - ast::ExprName { id: name, ctx: ast::ExprContext::Load }, + => ast::Expr::Name( + ast::ExprName { id: name, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ), } MatchNameOrAttr: ast::Expr = { - "." => ast::Expr::new( - location.. - end_location, + "." => ast::Expr::Attribute( ast::ExprAttribute { value: Box::new(name), attr, ctx: ast::ExprContext::Load, + range: (location..end_location).into() }, ), - "." => ast::Expr::new( - location.. - end_location, + "." => ast::Expr::Attribute( ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load, + range: (location..end_location).into() }, ) } -ValuePattern: ast::PatternKind = { - => ast::PatternMatchValue { - value: Box::new(e) +ValuePattern: ast::Pattern = { + => ast::PatternMatchValue { + value: Box::new(e), + range: (location..end_location).into() }.into(), } @@ -641,28 +574,25 @@ MappingKey: ast::Expr = { ConstantExpr, AddOpExpr, MatchNameOrAttr, - "None" => ast::Expr::new( - location.. - end_location, + "None" => ast::Expr::Constant( ast::ExprConstant { value: ast::Constant::None, kind: None, + range: (location..end_location).into() }, ), - "True" => ast::Expr::new( - location.. - end_location, + "True" => ast::Expr::Constant( ast::ExprConstant { value: true.into(), kind: None, + range: (location..end_location).into() }, ), - "False" => ast::Expr::new( - location.. - end_location, + "False" => ast::Expr::Constant( ast::ExprConstant { value: false.into(), kind: None, + range: (location..end_location).into() }, ), =>? Ok(parse_strings(s)?), @@ -672,12 +602,13 @@ MatchMappingEntry: (ast::Expr, ast::Pattern) = { ":" => (k, v), }; -MappingPattern: ast::PatternKind = { +MappingPattern: ast::Pattern = { "{" "}" => { return ast::PatternMatchMapping { keys: vec![], patterns: vec![], rest: None, + range: (location..end_location).into() }.into(); }, "{" > ","? "}" => { @@ -688,6 +619,7 @@ MappingPattern: ast::PatternKind = { keys, patterns, rest: None, + range: (location..end_location).into() }.into(); }, "{" "**" ","? "}" => { @@ -695,6 +627,7 @@ MappingPattern: ast::PatternKind = { keys: vec![], patterns: vec![], rest: Some(rest), + range: (location..end_location).into() }.into(); }, "{" > "," "**" ","? "}" => { @@ -705,6 +638,7 @@ MappingPattern: ast::PatternKind = { keys, patterns, rest: Some(rest), + range: (location..end_location).into() }.into(); }, } @@ -713,7 +647,7 @@ MatchKeywordEntry: (ast::Identifier, ast::Pattern) = { "=" => (k, v), }; -ClassPattern: ast::PatternKind = { +ClassPattern: ast::Pattern = { "(" > "," > ","? ")" => { let (kwd_attrs, kwd_patterns) = kwds .into_iter() @@ -723,6 +657,7 @@ ClassPattern: ast::PatternKind = { patterns, kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() }, "(" > ","? ")" => { @@ -731,6 +666,7 @@ ClassPattern: ast::PatternKind = { patterns, kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() }, "(" > ","? ")" => { @@ -742,6 +678,7 @@ ClassPattern: ast::PatternKind = { patterns: vec![], kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() }, "(" ")" => { @@ -750,6 +687,7 @@ ClassPattern: ast::PatternKind = { patterns: vec![], kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() }, "(" > "," > ","? ")" => { @@ -761,6 +699,7 @@ ClassPattern: ast::PatternKind = { patterns, kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() }, "(" > ","? ")" => { @@ -769,6 +708,7 @@ ClassPattern: ast::PatternKind = { patterns, kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() }, "(" > ","? ")" => { @@ -780,6 +720,7 @@ ClassPattern: ast::PatternKind = { patterns: vec![], kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() }, "(" ")" => { @@ -788,6 +729,7 @@ ClassPattern: ast::PatternKind = { patterns: vec![], kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() }, } @@ -804,18 +746,14 @@ IfStatement: ast::Stmt = { .end(); // handle elif: for i in s2.into_iter().rev() { - let x = ast::Stmt::new( - i.0.. - end_location, - ast::StmtIf { test: Box::new(i.2), body: i.4, orelse: last } + let x = ast::Stmt::If( + ast::StmtIf { test: Box::new(i.2), body: i.4, orelse: last, range: (i.0..end_location).into() } ); last = vec![x]; } - ast::Stmt::new( - location.. - end_location, - ast::StmtIf { test: Box::new(test), body, orelse: last } + ast::Stmt::If( + ast::StmtIf { test: Box::new(test), body, orelse: last, range: (location..end_location).into() } ) }, }; @@ -828,13 +766,12 @@ WhileStatement: ast::Stmt = { .or_else(|| body.last()) .unwrap() .end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::While( ast::StmtWhile { test: Box::new(test), body, - orelse + orelse, + range: (location..end_location).into() }, ) }, @@ -851,12 +788,11 @@ ForStatement: ast::Stmt = { let target = Box::new(set_context(target, ast::ExprContext::Store)); let iter = Box::new(iter); let type_comment = None; - let node: ast::StmtKind = if is_async.is_some() { - ast::StmtAsyncFor { target, iter, body, orelse, type_comment }.into() + if is_async.is_some() { + ast::Stmt::AsyncFor(ast::StmtAsyncFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() }) } else { - ast::StmtFor { target, iter, body, orelse, type_comment }.into() - }; - ast::Stmt::new(location..end_location, node) + ast::Stmt::For(ast::StmtFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() }) + } }, }; @@ -870,14 +806,13 @@ TryStatement: ast::Stmt = { .or_else(|| orelse.last().map(|last| last.end())) .or_else(|| handlers.last().map(|last| last.end())) .unwrap(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Try( ast::StmtTry { body, handlers, orelse, finalbody, + range: (location..end_location).into() }, ) }, @@ -890,14 +825,13 @@ TryStatement: ast::Stmt = { .map(|last| last.end()) .or_else(|| handlers.last().map(|last| last.end())) .unwrap(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::TryStar( ast::StmtTryStar { body, handlers, orelse, finalbody, + range: (location..end_location).into() }, ) }, @@ -906,14 +840,13 @@ TryStatement: ast::Stmt = { let orelse = vec![]; let finalbody = finally.2; let end_location = finalbody.last().unwrap().end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Try( ast::StmtTry { body, handlers, orelse, finalbody, + range: (location..end_location).into() }, ) }, @@ -922,25 +855,23 @@ TryStatement: ast::Stmt = { ExceptStarClause: ast::Excepthandler = { "except" "*" > ":" => { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: Some(Box::new(typ)), name: None, body, + range: (location..end_location).into() }, ) }, "except" "*" "as" Identifier)> ":" => { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: Some(Box::new(x.0)), name: Some(x.2), body, + range: (location..end_location).into() }, ) }, @@ -950,25 +881,23 @@ ExceptStarClause: ast::Excepthandler = { ExceptClause: ast::Excepthandler = { "except" ?> ":" => { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: typ.map(Box::new), name: None, body, + range: (location..end_location).into() }, ) }, "except" "as" Identifier)> ":" => { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: Some(Box::new(x.0)), name: Some(x.2), body, + range: (location..end_location).into() }, ) }, @@ -978,12 +907,11 @@ WithStatement: ast::Stmt = { "with" ":" => { let end_location = body.last().unwrap().end(); let type_comment = None; - let node: ast::StmtKind = if is_async.is_some() { - ast::StmtAsyncWith { items, body, type_comment }.into() + if is_async.is_some() { + ast::StmtAsyncWith { items, body, type_comment, range: (location..end_location).into() }.into() } else { - ast::StmtWith { items, body, type_comment }.into() - }; - ast::Stmt::new(location..end_location, node) + ast::StmtWith { items, body, type_comment, range: (location..end_location).into() }.into() + } }, }; @@ -1000,16 +928,16 @@ WithItems: Vec = { #[inline] WithItemsNoAs: Vec = { - >> => { - <>.into_iter().map(|context_expr| ast::Withitem { context_expr, optional_vars: None }).collect() + >> => { + all.into_iter().map(|context_expr| ast::Withitem { context_expr, optional_vars: None, range: optional_range(location, end_location) }).collect() }, } WithItem: ast::Withitem = { - > if Goal != "as" => ast::Withitem { context_expr: <>, optional_vars: None }, - > "as" > => { + > if Goal != "as" => ast::Withitem { context_expr, optional_vars: None, range: optional_range(location, end_location) }, + > "as" > => { let optional_vars = Some(Box::new(set_context(vars, ast::ExprContext::Store))); - ast::Withitem { context_expr, optional_vars } + ast::Withitem { context_expr, optional_vars, range: optional_range(location, end_location) } }, }; @@ -1019,17 +947,16 @@ FuncDef: ast::Stmt = { let returns = r.map(|x| Box::new(x.1)); let end_location = body.last().unwrap().end(); let type_comment = None; - let node: ast::StmtKind = if is_async.is_some() { - ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment }.into() + if is_async.is_some() { + ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment, range: (location..end_location).into() }.into() } else { - ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_comment }.into() - }; - ast::Stmt::new(location..end_location, node) + ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_comment, range: (location..end_location).into() }.into() + } }, }; Parameters: ast::Arguments = { - "(" )?> ")" =>? { + "(" )?> ")" =>? { let args = validate_arguments( a.unwrap_or_else(|| ast::Arguments { posonlyargs: vec![], @@ -1038,7 +965,8 @@ Parameters: ast::Arguments = { kwonlyargs: vec![], kw_defaults: vec![], kwarg: None, - defaults: vec![] + defaults: vec![], + range: optional_range(location, end_location) }) )?; @@ -1049,7 +977,7 @@ Parameters: ast::Arguments = { // Note that this is a macro which is used once for function defs, and // once for lambda defs. ParameterList: ast::Arguments = { - > )?> ","? =>? { + > )?> ","? =>? { let (posonlyargs, args, defaults) = parse_params(param1)?; // Now gather rest of parameters: @@ -1063,9 +991,10 @@ ParameterList: ast::Arguments = { kwarg, defaults, kw_defaults, + range: optional_range(location, end_location) }) }, - > )> ","? =>? { + > )> ","? =>? { let (posonlyargs, args, defaults) = parse_params(param1)?; // Now gather rest of parameters: @@ -1082,9 +1011,10 @@ ParameterList: ast::Arguments = { kwarg, defaults, kw_defaults, + range: optional_range(location, end_location) }) }, - > ","? => { + > ","? => { let (vararg, kwonlyargs, kw_defaults, kwarg) = params; ast::Arguments { posonlyargs: vec![], @@ -1094,9 +1024,10 @@ ParameterList: ast::Arguments = { kwarg, defaults: vec![], kw_defaults, + range: optional_range(location, end_location) } }, - > ","? => { + > ","? => { ast::Arguments { posonlyargs: vec![], args: vec![], @@ -1105,6 +1036,7 @@ ParameterList: ast::Arguments = { kwarg, defaults: vec![], kw_defaults: vec![], + range: optional_range(location, end_location) } }, }; @@ -1126,24 +1058,20 @@ ParameterDef: (ast::Arg, Option) = { }; UntypedParameter: ast::Arg = { - => ast::Arg::new( - location.. - end_location, - ast::ArgData { arg, annotation: None, type_comment: None }, - ), + => ast::Arg { arg, annotation: None, type_comment: None, range: (location..end_location).into() }, }; TypedParameter: ast::Arg = { )?> => { let annotation = a.map(|x| Box::new(x.1)); - ast::Arg::new(location..end_location, ast::ArgData { arg, annotation, type_comment: None }) + ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() } }, }; StarTypedParameter: ast::Arg = { => { let annotation = a.map(|x| Box::new(x.1)); - ast::Arg::new(location..end_location, ast::ArgData { arg, annotation, type_comment: None }) + ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() } }, }; @@ -1193,15 +1121,14 @@ ClassDef: ast::Stmt = { None => (vec![], vec![]), }; let end_location = body.last().unwrap().end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::ClassDef( ast::StmtClassDef { name, bases, keywords, body, decorator_list, + range: (location..end_location).into() }, ) }, @@ -1215,26 +1142,21 @@ Decorator: ast::Expr = { }; YieldExpr: ast::Expr = { - "yield" => ast::Expr::new( - location.. - end_location, - ast::ExprYield { value: value.map(Box::new) } + "yield" => ast::Expr::Yield( + ast::ExprYield { value: value.map(Box::new), range: (location..end_location).into() } ), - "yield" "from" > => ast::Expr::new( - location.. - end_location, - ast::ExprYieldFrom { value: Box::new(e) } + "yield" "from" > => ast::Expr::YieldFrom( + ast::ExprYieldFrom { value: Box::new(e), range: (location..end_location).into() } ), }; Test: ast::Expr = { - > "if" > "else" > => ast::Expr::new( - location.. - end_location, + > "if" > "else" > => ast::Expr::IfExp( ast::ExprIfExp { test: Box::new(test), body: Box::new(body), orelse: Box::new(orelse), + range: (location..end_location).into() } ), OrTest, @@ -1248,15 +1170,12 @@ NamedExpressionTest: ast::Expr = { NamedExpression: ast::Expr = { ":=" > => { - ast::Expr::new( - location.. - value.end(), + ast::Expr::NamedExpr( ast::ExprNamedExpr { - target: Box::new(ast::Expr::new( - location.. - end_location, - ast::ExprName { id, ctx: ast::ExprContext::Store }, + target: Box::new(ast::Expr::Name( + ast::ExprName { id, ctx: ast::ExprContext::Store, range: (location..end_location).into() }, )), + range: (location..value.end()).into(), value: Box::new(value), } ) @@ -1274,17 +1193,17 @@ LambdaDef: ast::Expr = { kwonlyargs: vec![], kw_defaults: vec![], kwarg: None, - defaults: vec![] + defaults: vec![], + range: optional_range(location, end_location) } } ))?; - Ok(ast::Expr::new( - location.. - end_location, + Ok(ast::Expr::Lambda( ast::ExprLambda { args: Box::new(p), - body: Box::new(body) + body: Box::new(body), + range: (location..end_location).into() } )) } @@ -1294,10 +1213,8 @@ OrTest: ast::Expr = { > )+> => { let mut values = vec![e1]; values.extend(e2.into_iter().map(|e| e.1)); - ast::Expr::new( - location.. - end_location, - ast::ExprBoolOp { op: ast::Boolop::Or, values } + ast::Expr::BoolOp( + ast::ExprBoolOp { op: ast::Boolop::Or, values, range: (location..end_location).into() } ) }, AndTest, @@ -1307,20 +1224,16 @@ AndTest: ast::Expr = { > )+> => { let mut values = vec![e1]; values.extend(e2.into_iter().map(|e| e.1)); - ast::Expr::new( - location.. - end_location, - ast::ExprBoolOp { op: ast::Boolop::And, values } + ast::Expr::BoolOp( + ast::ExprBoolOp { op: ast::Boolop::And, values, range: (location..end_location).into() } ) }, NotTest, }; NotTest: ast::Expr = { - "not" > => ast::Expr::new( - location.. - end_location, - ast::ExprUnaryOp { operand: Box::new(e), op: ast::Unaryop::Not } + "not" > => ast::Expr::UnaryOp( + ast::ExprUnaryOp { operand: Box::new(e), op: ast::Unaryop::Not, range: (location..end_location).into() } ), Comparison, }; @@ -1328,10 +1241,8 @@ NotTest: ast::Expr = { Comparison: ast::Expr = { > )+> => { let (ops, comparators) = comparisons.into_iter().unzip(); - ast::Expr::new( - location.. - end_location, - ast::ExprCompare { left: Box::new(left), ops, comparators } + ast::Expr::Compare( + ast::ExprCompare { left: Box::new(left), ops, comparators, range: (location..end_location).into() } ) }, Expression, @@ -1351,37 +1262,29 @@ CompOp: ast::Cmpop = { }; Expression: ast::Expr = { - > "|" > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitOr, right: Box::new(e2) } + > "|" > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitOr, right: Box::new(e2), range: (location..end_location).into() } ), XorExpression, }; XorExpression: ast::Expr = { - > "^" > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitXor, right: Box::new(e2) } + > "^" > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitXor, right: Box::new(e2), range: (location..end_location).into() } ), AndExpression, }; AndExpression: ast::Expr = { - > "&" > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitAnd, right: Box::new(e2) } + > "&" > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitAnd, right: Box::new(e2), range: (location..end_location).into() } ), ShiftExpression, }; ShiftExpression: ast::Expr = { - > > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op, right: Box::new(e2) } + > > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op, right: Box::new(e2), range: (location..end_location).into() } ), ArithmeticExpression, }; @@ -1392,10 +1295,8 @@ ShiftOp: ast::Operator = { }; ArithmeticExpression: ast::Expr = { - > > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b) } + > > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b), range: (location..end_location).into() } ), Term, }; @@ -1406,10 +1307,8 @@ AddOp: ast::Operator = { }; Term: ast::Expr = { - > > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b) } + > > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b), range: (location..end_location).into() } ), Factor, }; @@ -1423,10 +1322,8 @@ MulOp: ast::Operator = { }; Factor: ast::Expr = { - > => ast::Expr::new( - location.. - end_location, - ast::ExprUnaryOp { operand: Box::new(e), op } + > => ast::Expr::UnaryOp( + ast::ExprUnaryOp { operand: Box::new(e), op, range: (location..end_location).into() } ), Power, }; @@ -1438,20 +1335,16 @@ UnaryOp: ast::Unaryop = { }; Power: ast::Expr = { - > "**" > => ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e), op: ast::Operator::Pow, right: Box::new(b) } + > "**" > => ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e), op: ast::Operator::Pow, right: Box::new(b), range: (location..end_location).into() } ), AtomExpr, }; AtomExpr: ast::Expr = { "await" > => { - ast::Expr::new( - location.. - end_location, - ast::ExprAwait { value: Box::new(atom) } + ast::Expr::Await( + ast::ExprAwait { value: Box::new(atom), range: (location..end_location).into() } ) }, AtomExpr2, @@ -1460,21 +1353,15 @@ AtomExpr: ast::Expr = { AtomExpr2: ast::Expr = { Atom, > "(" ")" => { - ast::Expr::new( - location.. - end_location, - ast::ExprCall { func: Box::new(f), args: a.args, keywords: a.keywords } + ast::Expr::Call( + ast::ExprCall { func: Box::new(f), args: a.args, keywords: a.keywords, range: (location..end_location).into() } ) }, - > "[" "]" => ast::Expr::new( - location.. - end_location, - ast::ExprSubscript { value: Box::new(e), slice: Box::new(s), ctx: ast::ExprContext::Load } + > "[" "]" => ast::Expr::Subscript( + ast::ExprSubscript { value: Box::new(e), slice: Box::new(s), ctx: ast::ExprContext::Load, range: (location..end_location).into() } ), - > "." => ast::Expr::new( - location.. - end_location, - ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load } + > "." => ast::Expr::Attribute( + ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ), }; @@ -1488,10 +1375,8 @@ SubscriptList: ast::Expr = { dims.push(x.1) } - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts: dims, ctx: ast::ExprContext::Load }, + ast::Expr::Tuple( + ast::ExprTuple { elts: dims, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ) } } @@ -1503,10 +1388,8 @@ Subscript: ast::Expr = { let lower = e1.map(Box::new); let upper = e2.map(Box::new); let step = e3.flatten().map(Box::new); - ast::Expr::new( - location.. - end_location, - ast::ExprSlice { lower, upper, step } + ast::Expr::Slice( + ast::ExprSlice { lower, upper, step, range: (location..end_location).into() } ) } }; @@ -1517,45 +1400,35 @@ SliceOp: Option = { Atom: ast::Expr = { =>? Ok(parse_strings(s)?), - => ast::Expr::new( - location.. - end_location, - ast::ExprConstant { value, kind: None } + => ast::Expr::Constant( + ast::ExprConstant { value, kind: None, range: (location..end_location).into() } ), - => ast::Expr::new( - location.. - end_location, - ast::ExprName { id: name, ctx: ast::ExprContext::Load } + => ast::Expr::Name( + ast::ExprName { id: name, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ), "[" "]" => { let elts = e.unwrap_or_default(); - ast::Expr::new( - location.. - end_location, - ast::ExprList { elts, ctx: ast::ExprContext::Load } + ast::Expr::List( + ast::ExprList { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) }, "[" "]" => { - ast::Expr::new( - location.. - end_location, - ast::ExprListComp { elt: Box::new(elt), generators } + ast::Expr::ListComp( + ast::ExprListComp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) }, "(" >> ")" if Goal != "no-withitems" => { if elts.len() == 1 && trailing_comma.is_none() { elts.into_iter().next().unwrap() } else { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } }, "(" >> ",")?> )*> ")" =>? { if left.is_none() && right.is_empty() && trailing_comma.is_none() { - if matches!(mid.node, ast::ExprKind::Starred { .. }) { + if mid.is_starred_expr() { Err(LexicalError{ error: LexicalErrorType::OtherError("cannot use starred expression here".to_string()), location: mid.start(), @@ -1564,24 +1437,18 @@ Atom: ast::Expr = { Ok(mid) } else { let elts = left.into_iter().flatten().chain([mid]).chain(right).collect(); - Ok(ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load }, + Ok(ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, )) } }, - "(" ")" => ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts: Vec::new(), ctx: ast::ExprContext::Load } + "(" ")" => ast::Expr::Tuple( + ast::ExprTuple { elts: Vec::new(), ctx: ast::ExprContext::Load, range: (location..end_location).into() } ), "(" ")" => e, "(" ")" => { - ast::Expr::new( - location.. - end_location, - ast::ExprGeneratorExp { elt: Box::new(elt), generators } + ast::Expr::GeneratorExp( + ast::ExprGeneratorExp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) }, "(" "**" > ")" =>? { @@ -1596,39 +1463,32 @@ Atom: ast::Expr = { .into_iter() .map(|(k, v)| (k.map(|x| *x), v)) .unzip(); - ast::Expr::new( - location.. - end_location, - ast::ExprDict { keys, values } + ast::Expr::Dict( + ast::ExprDict { keys, values, range: (location..end_location).into() } ) }, "{" "}" => { - ast::Expr::new( - location.. - end_location, + ast::Expr::DictComp( ast::ExprDictComp { key: Box::new(e1.0), value: Box::new(e1.1), generators, + range: (location..end_location).into() } ) }, - "{" "}" => ast::Expr::new( - location.. - end_location, - ast::ExprSet { elts } + "{" "}" => ast::Expr::Set( + ast::ExprSet { elts, range: (location..end_location).into() } ), "{" "}" => { - ast::Expr::new( - location.. - end_location, - ast::ExprSetComp { elt: Box::new(elt), generators } + ast::Expr::SetComp( + ast::ExprSetComp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) }, - "True" => ast::Expr::new(location..end_location, ast::ExprConstant { value: true.into(), kind: None }), - "False" => ast::Expr::new(location..end_location, ast::ExprConstant { value: false.into(), kind: None }), - "None" => ast::Expr::new(location..end_location, ast::ExprConstant { value: ast::Constant::None, kind: None }), - "..." => ast::Expr::new(location..end_location, ast::ExprConstant { value: ast::Constant::Ellipsis, kind: None }), + "True" => ast::Expr::Constant(ast::ExprConstant { value: true.into(), kind: None, range: (location..end_location).into() }), + "False" => ast::Expr::Constant(ast::ExprConstant { value: false.into(), kind: None, range: (location..end_location).into() }), + "None" => ast::Expr::Constant(ast::ExprConstant { value: ast::Constant::None, kind: None, range: (location..end_location).into() }), + "..." => ast::Expr::Constant(ast::ExprConstant { value: ast::Constant::Ellipsis, kind: None, range: (location..end_location).into() }), }; ListLiteralValues: Vec = { @@ -1679,10 +1539,8 @@ GenericList: ast::Expr = { if elts.len() == 1 && trailing_comma.is_none() { elts.into_iter().next().unwrap() } else { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } } @@ -1690,10 +1548,8 @@ GenericList: ast::Expr = { // Test StarExpr: ast::Expr = { - "*" > => ast::Expr::new( - location.. - end_location, - ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load }, + "*" > => ast::Expr::Starred( + ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ) }; @@ -1708,6 +1564,7 @@ SingleForComprehension: ast::Comprehension = { iter, ifs, is_async, + range: optional_range(location, end_location) } } }; @@ -1725,11 +1582,11 @@ ArgumentList: ArgumentList = { FunctionArgument: (Option<(TextSize, TextSize, Option)>, ast::Expr) = { => { let expr = match c { - Some(c) => ast::Expr::new( - location..end_location, + Some(c) => ast::Expr::GeneratorExp( ast::ExprGeneratorExp { elt: Box::new(e), generators: c, + range: (location..end_location).into() } ), None => e, @@ -1738,10 +1595,8 @@ FunctionArgument: (Option<(TextSize, TextSize, Option)>, ast::E }, "=" > => (Some((location, end_location, Some(i))), e), "*" > => { - let expr = ast::Expr::new( - location.. - end_location, - ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load }, + let expr = ast::Expr::Starred( + ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ); (None, expr) }, diff --git a/parser/src/python.rs b/parser/src/python.rs index fe34e857b0..71b4c2bb6d 100644 --- a/parser/src/python.rs +++ b/parser/src/python.rs @@ -1,13 +1,13 @@ // auto-generated: "lalrpop 0.20.0" -// sha3: 94b68331f7fbb668c2e962084095e319cfff9ba09cd78a361c735e7e60c57497 +// sha3: 2a588ed2309b95ae978a172dc2a1234d79c6f56440b66bd964f4818b3e021e00 use crate::{ - ast, + ast::{self as ast, Ranged}, lexer::{LexicalError, LexicalErrorType}, function::{ArgumentList, parse_args, parse_params, validate_arguments}, context::set_context, string::parse_strings, token::{self, StringKind}, - text_size::TextSize, + text_size::TextSize, parser::optional_range }; use num_bigint::BigInt; #[allow(unused_extern_crates)] @@ -22,13 +22,13 @@ extern crate alloc; mod __parse__Top { use crate::{ - ast, + ast::{self as ast, Ranged}, lexer::{LexicalError, LexicalErrorType}, function::{ArgumentList, parse_args, parse_params, validate_arguments}, context::set_context, string::parse_strings, token::{self, StringKind}, - text_size::TextSize, + text_size::TextSize, parser::optional_range }; use num_bigint::BigInt; #[allow(unused_extern_crates)] @@ -103,49 +103,48 @@ mod __parse__Top { Variant59(ast::Operator), Variant60(ArgumentList), Variant61(ast::Stmt), - Variant62(ast::PatternKind), - Variant63(Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>), - Variant64(Vec), - Variant65(Vec), - Variant66(core::option::Option>), - Variant67(ast::Cmpop), - Variant68(ast::Constant), - Variant69((Option>, ast::Expr)), - Variant70((ast::Expr, ast::Expr)), - Variant71(Vec<(Option>, ast::Expr)>), - Variant72(core::option::Option>, ast::Expr)>>), - Variant73(ast::Identifier), - Variant74(ast::Excepthandler), - Variant75(alloc::vec::Vec), - Variant76(ast::Suite), - Variant77(alloc::vec::Vec), - Variant78(core::option::Option<(Option<(TextSize, TextSize, Option)>, ast::Expr)>), - Variant79(ast::Alias), - Variant80(Vec), - Variant81(ast::Int), - Variant82(alloc::vec::Vec), - Variant83((Option, Option)), - Variant84(Option>), - Variant85(ast::MatchCase), - Variant86(alloc::vec::Vec), - Variant87((ast::Identifier, ast::Pattern)), - Variant88((ast::Expr, ast::Pattern)), - Variant89(Vec), - Variant90(Vec<(ast::Identifier, ast::Pattern)>), - Variant91(Vec<(ast::Expr, ast::Pattern)>), - Variant92(Vec<(ast::Arg, Option)>), - Variant93((ast::Arg, Option)), - Variant94((Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>)), - Variant95((Option>, Vec, Vec, Option>)), - Variant96(core::option::Option), - Variant97(ast::Comprehension), - Variant98(alloc::vec::Vec), - Variant99(Option), - Variant100(core::option::Option>), - Variant101(ast::Arg), - Variant102(core::option::Option), - Variant103(ast::Mod), - Variant104(ast::Unaryop), + Variant62(Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>), + Variant63(Vec), + Variant64(Vec), + Variant65(core::option::Option>), + Variant66(ast::Cmpop), + Variant67(ast::Constant), + Variant68((Option>, ast::Expr)), + Variant69((ast::Expr, ast::Expr)), + Variant70(Vec<(Option>, ast::Expr)>), + Variant71(core::option::Option>, ast::Expr)>>), + Variant72(ast::Identifier), + Variant73(ast::Excepthandler), + Variant74(alloc::vec::Vec), + Variant75(ast::Suite), + Variant76(alloc::vec::Vec), + Variant77(core::option::Option<(Option<(TextSize, TextSize, Option)>, ast::Expr)>), + Variant78(ast::Alias), + Variant79(Vec), + Variant80(ast::Int), + Variant81(alloc::vec::Vec), + Variant82((Option, Option)), + Variant83(Option>), + Variant84(ast::MatchCase), + Variant85(alloc::vec::Vec), + Variant86((ast::Identifier, ast::Pattern)), + Variant87((ast::Expr, ast::Pattern)), + Variant88(Vec), + Variant89(Vec<(ast::Identifier, ast::Pattern)>), + Variant90(Vec<(ast::Expr, ast::Pattern)>), + Variant91(Vec<(ast::Arg, Option)>), + Variant92((ast::Arg, Option)), + Variant93((Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>)), + Variant94((Option>, Vec, Vec, Option>)), + Variant95(core::option::Option), + Variant96(ast::Comprehension), + Variant97(alloc::vec::Vec), + Variant98(Option), + Variant99(core::option::Option>), + Variant100(ast::Arg), + Variant101(core::option::Option), + Variant102(ast::Mod), + Variant103(ast::Unaryop), } const __ACTION: &[i16] = &[ // State 0 @@ -13757,16 +13756,16 @@ mod __parse__Top { __reduce75(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 76 => { - // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1152); + // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1202); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1152::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1202::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13774,15 +13773,15 @@ mod __parse__Top { (5, 42) } 77 => { - // ("," ParameterListStarArgs) = ",", "*", ",", KwargParameter => ActionFn(1153); + // ("," ParameterListStarArgs) = ",", "*", ",", KwargParameter => ActionFn(1203); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1153::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1203::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13790,17 +13789,17 @@ mod __parse__Top { (4, 42) } 78 => { - // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1154); + // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1204); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1154::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1204::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13808,16 +13807,16 @@ mod __parse__Top { (6, 42) } 79 => { - // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1155); + // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1205); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1155::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1205::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13825,14 +13824,14 @@ mod __parse__Top { (5, 42) } 80 => { - // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter => ActionFn(1156); + // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter => ActionFn(1206); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1156::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1206::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13840,13 +13839,13 @@ mod __parse__Top { (3, 42) } 81 => { - // ("," ParameterListStarArgs) = ",", "*" => ActionFn(1157); + // ("," ParameterListStarArgs) = ",", "*" => ActionFn(1207); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1157::<>(__sym0, __sym1) { + let __nt = match super::__action1207::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13854,15 +13853,15 @@ mod __parse__Top { (2, 42) } 82 => { - // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1158); + // ("," ParameterListStarArgs) = ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1208); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1158::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1208::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13870,14 +13869,14 @@ mod __parse__Top { (4, 42) } 83 => { - // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+ => ActionFn(1159); + // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+ => ActionFn(1209); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1159::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1209::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13885,16 +13884,16 @@ mod __parse__Top { (3, 42) } 84 => { - // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1176); + // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1226); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1176::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1226::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13902,15 +13901,15 @@ mod __parse__Top { (5, 43) } 85 => { - // ("," ParameterListStarArgs)? = ",", "*", ",", KwargParameter => ActionFn(1177); + // ("," ParameterListStarArgs)? = ",", "*", ",", KwargParameter => ActionFn(1227); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1177::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1227::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13918,17 +13917,17 @@ mod __parse__Top { (4, 43) } 86 => { - // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1178); + // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1228); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1178::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1228::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13936,16 +13935,16 @@ mod __parse__Top { (6, 43) } 87 => { - // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1179); + // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1229); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1179::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1229::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13953,14 +13952,14 @@ mod __parse__Top { (5, 43) } 88 => { - // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter => ActionFn(1180); + // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter => ActionFn(1230); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1180::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1230::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13968,13 +13967,13 @@ mod __parse__Top { (3, 43) } 89 => { - // ("," ParameterListStarArgs)? = ",", "*" => ActionFn(1181); + // ("," ParameterListStarArgs)? = ",", "*" => ActionFn(1231); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1181::<>(__sym0, __sym1) { + let __nt = match super::__action1231::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13982,15 +13981,15 @@ mod __parse__Top { (2, 43) } 90 => { - // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1182); + // ("," ParameterListStarArgs)? = ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1232); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1182::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1232::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -13998,14 +13997,14 @@ mod __parse__Top { (4, 43) } 91 => { - // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+ => ActionFn(1183); + // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+ => ActionFn(1233); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1183::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1233::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14016,16 +14015,16 @@ mod __parse__Top { __reduce92(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 93 => { - // ("," ParameterListStarArgs) = ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1212); + // ("," ParameterListStarArgs) = ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1262); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1212::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1262::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14033,15 +14032,15 @@ mod __parse__Top { (5, 44) } 94 => { - // ("," ParameterListStarArgs) = ",", "*", ",", KwargParameter => ActionFn(1213); + // ("," ParameterListStarArgs) = ",", "*", ",", KwargParameter => ActionFn(1263); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1213::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1263::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14049,17 +14048,17 @@ mod __parse__Top { (4, 44) } 95 => { - // ("," ParameterListStarArgs) = ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1214); + // ("," ParameterListStarArgs) = ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1264); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1214::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1264::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14067,16 +14066,16 @@ mod __parse__Top { (6, 44) } 96 => { - // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1215); + // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1265); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1215::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1265::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14084,14 +14083,14 @@ mod __parse__Top { (5, 44) } 97 => { - // ("," ParameterListStarArgs) = ",", "*", UntypedParameter => ActionFn(1216); + // ("," ParameterListStarArgs) = ",", "*", UntypedParameter => ActionFn(1266); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1216::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1266::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14099,13 +14098,13 @@ mod __parse__Top { (3, 44) } 98 => { - // ("," ParameterListStarArgs) = ",", "*" => ActionFn(1217); + // ("," ParameterListStarArgs) = ",", "*" => ActionFn(1267); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1217::<>(__sym0, __sym1) { + let __nt = match super::__action1267::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14113,15 +14112,15 @@ mod __parse__Top { (2, 44) } 99 => { - // ("," ParameterListStarArgs) = ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1218); + // ("," ParameterListStarArgs) = ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1268); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1218::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1268::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14129,14 +14128,14 @@ mod __parse__Top { (4, 44) } 100 => { - // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+ => ActionFn(1219); + // ("," ParameterListStarArgs) = ",", "*", ("," ParameterDef)+ => ActionFn(1269); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1219::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1269::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14144,16 +14143,16 @@ mod __parse__Top { (3, 44) } 101 => { - // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1236); + // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1286); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1236::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1286::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14161,15 +14160,15 @@ mod __parse__Top { (5, 45) } 102 => { - // ("," ParameterListStarArgs)? = ",", "*", ",", KwargParameter => ActionFn(1237); + // ("," ParameterListStarArgs)? = ",", "*", ",", KwargParameter => ActionFn(1287); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1237::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1287::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14177,17 +14176,17 @@ mod __parse__Top { (4, 45) } 103 => { - // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1238); + // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1288); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1238::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1288::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14195,16 +14194,16 @@ mod __parse__Top { (6, 45) } 104 => { - // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1239); + // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1289); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1239::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1289::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14212,14 +14211,14 @@ mod __parse__Top { (5, 45) } 105 => { - // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter => ActionFn(1240); + // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter => ActionFn(1290); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1240::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1290::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14227,13 +14226,13 @@ mod __parse__Top { (3, 45) } 106 => { - // ("," ParameterListStarArgs)? = ",", "*" => ActionFn(1241); + // ("," ParameterListStarArgs)? = ",", "*" => ActionFn(1291); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1241::<>(__sym0, __sym1) { + let __nt = match super::__action1291::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14241,15 +14240,15 @@ mod __parse__Top { (2, 45) } 107 => { - // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1242); + // ("," ParameterListStarArgs)? = ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1292); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant101(__symbols); + let __sym2 = __pop_Variant100(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1242::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1292::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14257,14 +14256,14 @@ mod __parse__Top { (4, 45) } 108 => { - // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+ => ActionFn(1243); + // ("," ParameterListStarArgs)? = ",", "*", ("," ParameterDef)+ => ActionFn(1293); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1243::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1293::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14638,11 +14637,11 @@ mod __parse__Top { __reduce230(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 231 => { - // ArgumentList = FunctionArgument => ActionFn(1430); + // ArgumentList = FunctionArgument => ActionFn(1480); let __sym0 = __pop_Variant42(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1430::<>(__sym0) { + let __nt = match super::__action1480::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14650,10 +14649,10 @@ mod __parse__Top { (1, 120) } 232 => { - // ArgumentList = => ActionFn(1431); + // ArgumentList = => ActionFn(1481); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = match super::__action1431::<>(&__start, &__end) { + let __nt = match super::__action1481::<>(&__start, &__end) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14661,13 +14660,13 @@ mod __parse__Top { (0, 120) } 233 => { - // ArgumentList = ( ",")+, FunctionArgument => ActionFn(1432); + // ArgumentList = ( ",")+, FunctionArgument => ActionFn(1482); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant42(__symbols); let __sym0 = __pop_Variant43(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1432::<>(__sym0, __sym1) { + let __nt = match super::__action1482::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14675,11 +14674,11 @@ mod __parse__Top { (2, 120) } 234 => { - // ArgumentList = ( ",")+ => ActionFn(1433); + // ArgumentList = ( ",")+ => ActionFn(1483); let __sym0 = __pop_Variant43(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1433::<>(__sym0) { + let __nt = match super::__action1483::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14699,14 +14698,14 @@ mod __parse__Top { __reduce238(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 239 => { - // AsPattern = OrPattern, "as", Identifier => ActionFn(891); + // AsPattern = OrPattern, "as", Identifier => ActionFn(917); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action891::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action917::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14741,11 +14740,11 @@ mod __parse__Top { __reduce248(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 249 => { - // Atom<"all"> = (@L string @R)+ => ActionFn(893); + // Atom<"all"> = (@L string @R)+ => ActionFn(919); let __sym0 = __pop_Variant51(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action893::<>(__sym0) { + let __nt = match super::__action919::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14780,7 +14779,7 @@ mod __parse__Top { __reduce258(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 259 => { - // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ",", ")" => ActionFn(1356); + // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ",", ")" => ActionFn(1406); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); @@ -14790,7 +14789,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1356::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1406::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14798,7 +14797,7 @@ mod __parse__Top { (6, 129) } 260 => { - // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ",", ")" => ActionFn(1357); + // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ",", ")" => ActionFn(1407); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -14809,7 +14808,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1357::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1407::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14817,7 +14816,7 @@ mod __parse__Top { (7, 129) } 261 => { - // Atom<"all"> = "(", NamedOrStarExpr, ",", ")" => ActionFn(1358); + // Atom<"all"> = "(", NamedOrStarExpr, ",", ")" => ActionFn(1408); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -14825,7 +14824,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1358::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1408::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14833,7 +14832,7 @@ mod __parse__Top { (4, 129) } 262 => { - // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1359); + // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1409); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -14844,7 +14843,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1359::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1409::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14852,7 +14851,7 @@ mod __parse__Top { (7, 129) } 263 => { - // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1360); + // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1410); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -14864,7 +14863,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1360::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1410::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14872,7 +14871,7 @@ mod __parse__Top { (8, 129) } 264 => { - // Atom<"all"> = "(", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1361); + // Atom<"all"> = "(", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1411); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -14881,7 +14880,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1361::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1411::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14889,7 +14888,7 @@ mod __parse__Top { (5, 129) } 265 => { - // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ")" => ActionFn(1362); + // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ")" => ActionFn(1412); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant9(__symbols); @@ -14898,7 +14897,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1362::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1412::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14906,7 +14905,7 @@ mod __parse__Top { (5, 129) } 266 => { - // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ")" => ActionFn(1363); + // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ")" => ActionFn(1413); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant9(__symbols); @@ -14916,7 +14915,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1363::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1413::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14924,14 +14923,14 @@ mod __parse__Top { (6, 129) } 267 => { - // Atom<"all"> = "(", NamedOrStarExpr, ")" => ActionFn(1364); + // Atom<"all"> = "(", NamedOrStarExpr, ")" => ActionFn(1414); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1364::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1414::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14939,7 +14938,7 @@ mod __parse__Top { (3, 129) } 268 => { - // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1365); + // Atom<"all"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1415); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant10(__symbols); @@ -14949,7 +14948,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1365::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1415::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14957,7 +14956,7 @@ mod __parse__Top { (6, 129) } 269 => { - // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1366); + // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1416); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant10(__symbols); @@ -14968,7 +14967,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1366::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1416::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -14976,7 +14975,7 @@ mod __parse__Top { (7, 129) } 270 => { - // Atom<"all"> = "(", NamedOrStarExpr, ("," )+, ")" => ActionFn(1367); + // Atom<"all"> = "(", NamedOrStarExpr, ("," )+, ")" => ActionFn(1417); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant10(__symbols); @@ -14984,7 +14983,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1367::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1417::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15001,7 +15000,7 @@ mod __parse__Top { __reduce273(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 274 => { - // Atom<"all"> = "(", "**", Expression<"all">, ")" => ActionFn(906); + // Atom<"all"> = "(", "**", Expression<"all">, ")" => ActionFn(932); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); @@ -15009,7 +15008,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action906::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action932::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15044,11 +15043,11 @@ mod __parse__Top { __reduce283(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 284 => { - // Atom<"no-withitems"> = (@L string @R)+ => ActionFn(915); + // Atom<"no-withitems"> = (@L string @R)+ => ActionFn(941); let __sym0 = __pop_Variant51(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action915::<>(__sym0) { + let __nt = match super::__action941::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15071,7 +15070,7 @@ mod __parse__Top { __reduce289(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 290 => { - // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ",", ")" => ActionFn(1368); + // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ",", ")" => ActionFn(1418); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); @@ -15081,7 +15080,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1368::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1418::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15089,7 +15088,7 @@ mod __parse__Top { (6, 130) } 291 => { - // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ",", ")" => ActionFn(1369); + // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ",", ")" => ActionFn(1419); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -15100,7 +15099,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1369::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1419::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15108,7 +15107,7 @@ mod __parse__Top { (7, 130) } 292 => { - // Atom<"no-withitems"> = "(", NamedOrStarExpr, ",", ")" => ActionFn(1370); + // Atom<"no-withitems"> = "(", NamedOrStarExpr, ",", ")" => ActionFn(1420); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -15116,7 +15115,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1370::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1420::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15124,7 +15123,7 @@ mod __parse__Top { (4, 130) } 293 => { - // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1371); + // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1421); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -15135,7 +15134,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1371::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1421::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15143,7 +15142,7 @@ mod __parse__Top { (7, 130) } 294 => { - // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1372); + // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1422); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -15155,7 +15154,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1372::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1422::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15163,7 +15162,7 @@ mod __parse__Top { (8, 130) } 295 => { - // Atom<"no-withitems"> = "(", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1373); + // Atom<"no-withitems"> = "(", NamedOrStarExpr, ("," )+, ",", ")" => ActionFn(1423); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -15172,7 +15171,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1373::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1423::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15180,7 +15179,7 @@ mod __parse__Top { (5, 130) } 296 => { - // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ")" => ActionFn(1374); + // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ")" => ActionFn(1424); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant9(__symbols); @@ -15189,7 +15188,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1374::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1424::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15197,7 +15196,7 @@ mod __parse__Top { (5, 130) } 297 => { - // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ")" => ActionFn(1375); + // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ")" => ActionFn(1425); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant9(__symbols); @@ -15207,7 +15206,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1375::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1425::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15215,14 +15214,14 @@ mod __parse__Top { (6, 130) } 298 => { - // Atom<"no-withitems"> = "(", NamedOrStarExpr, ")" => ActionFn(1376); + // Atom<"no-withitems"> = "(", NamedOrStarExpr, ")" => ActionFn(1426); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1376::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1426::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15230,7 +15229,7 @@ mod __parse__Top { (3, 130) } 299 => { - // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1377); + // Atom<"no-withitems"> = "(", Test<"all">, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1427); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant10(__symbols); @@ -15240,7 +15239,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1377::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1427::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15248,7 +15247,7 @@ mod __parse__Top { (6, 130) } 300 => { - // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1378); + // Atom<"no-withitems"> = "(", Test<"all">, ("," Test<"all">)+, ",", NamedOrStarExpr, ("," )+, ")" => ActionFn(1428); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant10(__symbols); @@ -15259,7 +15258,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1378::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1428::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15267,7 +15266,7 @@ mod __parse__Top { (7, 130) } 301 => { - // Atom<"no-withitems"> = "(", NamedOrStarExpr, ("," )+, ")" => ActionFn(1379); + // Atom<"no-withitems"> = "(", NamedOrStarExpr, ("," )+, ")" => ActionFn(1429); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant10(__symbols); @@ -15275,7 +15274,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1379::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1429::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -15292,7 +15291,7 @@ mod __parse__Top { __reduce304(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 305 => { - // Atom<"no-withitems"> = "(", "**", Expression<"all">, ")" => ActionFn(926); + // Atom<"no-withitems"> = "(", "**", Expression<"all">, ")" => ActionFn(952); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); @@ -15300,7 +15299,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action926::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action952::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16067,7 +16066,7 @@ mod __parse__Top { __reduce558(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 559 => { - // LambdaDef = "lambda", ParameterList, ":", Test<"all"> => ActionFn(1828); + // LambdaDef = "lambda", ParameterList, ":", Test<"all"> => ActionFn(1878); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -16075,7 +16074,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1828::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1878::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16083,14 +16082,14 @@ mod __parse__Top { (4, 200) } 560 => { - // LambdaDef = "lambda", ":", Test<"all"> => ActionFn(1829); + // LambdaDef = "lambda", ":", Test<"all"> => ActionFn(1879); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1829::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1879::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16131,15 +16130,15 @@ mod __parse__Top { __reduce571(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 572 => { - // LiteralPattern = (@L string @R)+ => ActionFn(1015); + // LiteralPattern = (@L string @R)+ => ActionFn(1037); let __sym0 = __pop_Variant51(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1015::<>(__sym0) { + let __nt = match super::__action1037::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 203) } 573 => { @@ -16161,11 +16160,11 @@ mod __parse__Top { __reduce578(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 579 => { - // MappingKey = (@L string @R)+ => ActionFn(1019); + // MappingKey = (@L string @R)+ => ActionFn(1041); let __sym0 = __pop_Variant51(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1019::<>(__sym0) { + let __nt = match super::__action1041::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16455,18 +16454,18 @@ mod __parse__Top { __reduce673(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 674 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1588); + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1638); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1588::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1638::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16474,19 +16473,19 @@ mod __parse__Top { (7, 240) } 675 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1589); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1639); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1589::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1639::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16494,20 +16493,20 @@ mod __parse__Top { (8, 240) } 676 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1590); + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1640); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1590::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1640::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16515,21 +16514,21 @@ mod __parse__Top { (9, 240) } 677 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1591); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1641); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1591::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1641::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16537,21 +16536,21 @@ mod __parse__Top { (10, 240) } 678 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1592); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1642); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1592::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1642::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16559,22 +16558,22 @@ mod __parse__Top { (10, 240) } 679 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1593); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1643); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1593::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1643::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16582,17 +16581,17 @@ mod __parse__Top { (11, 240) } 680 => { - // ParameterList = ParameterDef, ",", "*", ",", KwargParameter, "," => ActionFn(1594); + // ParameterList = ParameterDef, ",", "*", ",", KwargParameter, "," => ActionFn(1644); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1594::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1644::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16600,18 +16599,18 @@ mod __parse__Top { (6, 240) } 681 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1595); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1645); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1595::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1645::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16619,19 +16618,19 @@ mod __parse__Top { (7, 240) } 682 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1596); + // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1646); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1596::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1646::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16639,20 +16638,20 @@ mod __parse__Top { (8, 240) } 683 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1597); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1647); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1597::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1647::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16660,20 +16659,20 @@ mod __parse__Top { (9, 240) } 684 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1598); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1648); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1598::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1648::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16681,10 +16680,10 @@ mod __parse__Top { (9, 240) } 685 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1599); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1649); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -16692,10 +16691,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1599::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1649::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16703,19 +16702,19 @@ mod __parse__Top { (10, 240) } 686 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1600); + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1650); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1600::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1650::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16723,20 +16722,20 @@ mod __parse__Top { (8, 240) } 687 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1601); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1651); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1601::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1651::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16744,21 +16743,21 @@ mod __parse__Top { (9, 240) } 688 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1602); + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1652); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1602::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1652::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16766,22 +16765,22 @@ mod __parse__Top { (10, 240) } 689 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1603); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1653); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1603::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1653::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16789,22 +16788,22 @@ mod __parse__Top { (11, 240) } 690 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1604); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1654); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1604::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1654::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16812,23 +16811,23 @@ mod __parse__Top { (11, 240) } 691 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1605); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1655); assert!(__symbols.len() >= 12); let __sym11 = __pop_Variant0(__symbols); - let __sym10 = __pop_Variant84(__symbols); + let __sym10 = __pop_Variant83(__symbols); let __sym9 = __pop_Variant0(__symbols); let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym11.2; - let __nt = match super::__action1605::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10, __sym11) { + let __nt = match super::__action1655::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10, __sym11) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16836,18 +16835,18 @@ mod __parse__Top { (12, 240) } 692 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1606); + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1656); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1606::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1656::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16855,19 +16854,19 @@ mod __parse__Top { (7, 240) } 693 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1607); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1657); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1607::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1657::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16875,20 +16874,20 @@ mod __parse__Top { (8, 240) } 694 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1608); + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1658); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1608::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1658::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16896,10 +16895,10 @@ mod __parse__Top { (9, 240) } 695 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1609); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1659); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -16907,10 +16906,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1609::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1659::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16918,10 +16917,10 @@ mod __parse__Top { (10, 240) } 696 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1610); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1660); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -16929,10 +16928,10 @@ mod __parse__Top { let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1610::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1660::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16940,10 +16939,10 @@ mod __parse__Top { (10, 240) } 697 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1611); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1661); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -16952,10 +16951,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1611::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1661::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16963,16 +16962,16 @@ mod __parse__Top { (11, 240) } 698 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, "," => ActionFn(1612); + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, "," => ActionFn(1662); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1612::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1662::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16980,17 +16979,17 @@ mod __parse__Top { (5, 240) } 699 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, "," => ActionFn(1613); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, "," => ActionFn(1663); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1613::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1663::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -16998,18 +16997,18 @@ mod __parse__Top { (6, 240) } 700 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, "," => ActionFn(1614); + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, "," => ActionFn(1664); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1614::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1664::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17017,19 +17016,19 @@ mod __parse__Top { (7, 240) } 701 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, "," => ActionFn(1615); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, "," => ActionFn(1665); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1615::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1665::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17037,19 +17036,19 @@ mod __parse__Top { (8, 240) } 702 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, "," => ActionFn(1616); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, "," => ActionFn(1666); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1616::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1666::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17057,20 +17056,20 @@ mod __parse__Top { (8, 240) } 703 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, "," => ActionFn(1617); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, "," => ActionFn(1667); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1617::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1667::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17078,15 +17077,15 @@ mod __parse__Top { (9, 240) } 704 => { - // ParameterList = ParameterDef, ",", "*", "," => ActionFn(1618); + // ParameterList = ParameterDef, ",", "*", "," => ActionFn(1668); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1618::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1668::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17094,16 +17093,16 @@ mod __parse__Top { (4, 240) } 705 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", "," => ActionFn(1619); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", "," => ActionFn(1669); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1619::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1669::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17111,17 +17110,17 @@ mod __parse__Top { (5, 240) } 706 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", "," => ActionFn(1620); + // ParameterList = ParameterDef, ",", "/", ",", "*", "," => ActionFn(1670); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1620::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1670::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17129,7 +17128,7 @@ mod __parse__Top { (6, 240) } 707 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", "," => ActionFn(1621); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", "," => ActionFn(1671); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -17137,10 +17136,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1621::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1671::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17148,7 +17147,7 @@ mod __parse__Top { (7, 240) } 708 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1622); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1672); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -17156,10 +17155,10 @@ mod __parse__Top { let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1622::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1672::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17167,7 +17166,7 @@ mod __parse__Top { (7, 240) } 709 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1623); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1673); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -17176,10 +17175,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1623::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1673::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17187,17 +17186,17 @@ mod __parse__Top { (8, 240) } 710 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1624); + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1674); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1624::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1674::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17205,18 +17204,18 @@ mod __parse__Top { (6, 240) } 711 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1625); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1675); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1625::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1675::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17224,19 +17223,19 @@ mod __parse__Top { (7, 240) } 712 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1626); + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1676); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1626::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1676::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17244,20 +17243,20 @@ mod __parse__Top { (8, 240) } 713 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1627); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1677); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1627::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1677::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17265,20 +17264,20 @@ mod __parse__Top { (9, 240) } 714 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1628); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1678); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1628::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1678::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17286,21 +17285,21 @@ mod __parse__Top { (9, 240) } 715 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1629); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1679); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1629::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1679::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17308,16 +17307,16 @@ mod __parse__Top { (10, 240) } 716 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, "," => ActionFn(1630); + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, "," => ActionFn(1680); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1630::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1680::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17325,17 +17324,17 @@ mod __parse__Top { (5, 240) } 717 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1631); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1681); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1631::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1681::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17343,7 +17342,7 @@ mod __parse__Top { (6, 240) } 718 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1632); + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1682); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); @@ -17351,10 +17350,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1632::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1682::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17362,7 +17361,7 @@ mod __parse__Top { (7, 240) } 719 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1633); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1683); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); @@ -17371,10 +17370,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1633::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1683::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17382,7 +17381,7 @@ mod __parse__Top { (8, 240) } 720 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1634); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1684); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); @@ -17391,10 +17390,10 @@ mod __parse__Top { let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1634::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1684::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17402,7 +17401,7 @@ mod __parse__Top { (8, 240) } 721 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1635); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1685); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); @@ -17412,10 +17411,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1635::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1685::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17423,13 +17422,13 @@ mod __parse__Top { (9, 240) } 722 => { - // ParameterList = ParameterDef, "," => ActionFn(1636); + // ParameterList = ParameterDef, "," => ActionFn(1686); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1636::<>(__sym0, __sym1) { + let __nt = match super::__action1686::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17437,14 +17436,14 @@ mod __parse__Top { (2, 240) } 723 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, "," => ActionFn(1637); + // ParameterList = ParameterDef, ("," ParameterDef)+, "," => ActionFn(1687); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1637::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1687::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17452,15 +17451,15 @@ mod __parse__Top { (3, 240) } 724 => { - // ParameterList = ParameterDef, ",", "/", "," => ActionFn(1638); + // ParameterList = ParameterDef, ",", "/", "," => ActionFn(1688); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1638::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1688::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17468,16 +17467,16 @@ mod __parse__Top { (4, 240) } 725 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", "," => ActionFn(1639); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", "," => ActionFn(1689); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1639::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1689::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17485,16 +17484,16 @@ mod __parse__Top { (5, 240) } 726 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, "," => ActionFn(1640); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, "," => ActionFn(1690); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1640::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1690::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17502,17 +17501,17 @@ mod __parse__Top { (5, 240) } 727 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, "," => ActionFn(1641); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, "," => ActionFn(1691); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1641::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1691::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17520,17 +17519,17 @@ mod __parse__Top { (6, 240) } 728 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1642); + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1692); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1642::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1692::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17538,18 +17537,18 @@ mod __parse__Top { (6, 240) } 729 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1643); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1693); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1643::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1693::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17557,19 +17556,19 @@ mod __parse__Top { (7, 240) } 730 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1644); + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1694); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1644::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1694::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17577,20 +17576,20 @@ mod __parse__Top { (8, 240) } 731 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1645); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1695); assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1645::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1695::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17598,20 +17597,20 @@ mod __parse__Top { (9, 240) } 732 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1646); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1696); assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1646::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1696::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17619,21 +17618,21 @@ mod __parse__Top { (9, 240) } 733 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1647); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ",", KwargParameter => ActionFn(1697); assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1647::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1697::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17641,16 +17640,16 @@ mod __parse__Top { (10, 240) } 734 => { - // ParameterList = ParameterDef, ",", "*", ",", KwargParameter => ActionFn(1648); + // ParameterList = ParameterDef, ",", "*", ",", KwargParameter => ActionFn(1698); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1648::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1698::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17658,17 +17657,17 @@ mod __parse__Top { (5, 240) } 735 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1649); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1699); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1649::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1699::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -17676,939 +17675,15 @@ mod __parse__Top { (6, 240) } 736 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1650); + // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1700); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1650::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 737 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1651); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1651::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 738 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1652); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1652::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 739 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1653); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1653::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 240) - } - 740 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1654); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1654::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 741 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1655); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1655::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 742 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1656); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1656::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 240) - } - 743 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1657); - assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); - let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym9.2; - let __nt = match super::__action1657::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (10, 240) - } - 744 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1658); - assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); - let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym9.2; - let __nt = match super::__action1658::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (10, 240) - } - 745 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1659); - assert!(__symbols.len() >= 11); - let __sym10 = __pop_Variant84(__symbols); - let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym10.2; - let __nt = match super::__action1659::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (11, 240) - } - 746 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1660); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1660::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 747 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1661); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1661::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 748 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1662); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1662::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 749 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1663); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1663::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 240) - } - 750 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1664); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1664::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 240) - } - 751 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1665); - assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); - let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym9.2; - let __nt = match super::__action1665::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (10, 240) - } - 752 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter => ActionFn(1666); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant101(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1666::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 240) - } - 753 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter => ActionFn(1667); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant101(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1667::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 240) - } - 754 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter => ActionFn(1668); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant101(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1668::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 755 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter => ActionFn(1669); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1669::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 756 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter => ActionFn(1670); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1670::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 757 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter => ActionFn(1671); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant101(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1671::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 758 => { - // ParameterList = ParameterDef, ",", "*" => ActionFn(1672); - assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym2.2; - let __nt = match super::__action1672::<>(__sym0, __sym1, __sym2) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (3, 240) - } - 759 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*" => ActionFn(1673); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1673::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 240) - } - 760 => { - // ParameterList = ParameterDef, ",", "/", ",", "*" => ActionFn(1674); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1674::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 240) - } - 761 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*" => ActionFn(1675); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1675::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 762 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1676); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1676::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 763 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1677); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1677::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 764 => { - // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1678); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1678::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 240) - } - 765 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1679); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1679::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 766 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1680); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1680::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 767 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1681); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1681::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 768 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1682); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1682::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 769 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1683); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1683::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 240) - } - 770 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+ => ActionFn(1684); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1684::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 240) - } - 771 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1685); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1685::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 240) - } - 772 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1686); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1686::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 773 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1687); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1687::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 774 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1688); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1688::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 775 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1689); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1689::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 240) - } - 776 => { - // ParameterList = ParameterDef => ActionFn(1690); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym0.2; - let __nt = match super::__action1690::<>(__sym0) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (1, 240) - } - 777 => { - // ParameterList = ParameterDef, ("," ParameterDef)+ => ActionFn(1691); - assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym1.2; - let __nt = match super::__action1691::<>(__sym0, __sym1) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (2, 240) - } - 778 => { - // ParameterList = ParameterDef, ",", "/" => ActionFn(1692); - assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym2.2; - let __nt = match super::__action1692::<>(__sym0, __sym1, __sym2) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (3, 240) - } - 779 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1693); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1693::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 240) - } - 780 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1694); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1694::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 240) - } - 781 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1695); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1695::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 240) - } - 782 => { - // ParameterList = ParameterDef, ",", KwargParameter, "," => ActionFn(1696); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant84(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1696::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 240) - } - 783 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1697); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant84(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1697::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 240) - } - 784 => { - // ParameterList = ParameterDef, ",", "/", ",", KwargParameter, "," => ActionFn(1698); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant84(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1698::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 240) - } - 785 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter, "," => ActionFn(1699); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1699::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 240) - } - 786 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1700); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; let __nt = match super::__action1700::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { @@ -18618,17 +17693,17 @@ mod __parse__Top { __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (7, 240) } - 787 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1701); + 737 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1701); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; let __nt = match super::__action1701::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { @@ -18638,15 +17713,939 @@ mod __parse__Top { __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (8, 240) } - 788 => { - // ParameterList = ParameterDef, ",", KwargParameter => ActionFn(1702); - assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant84(__symbols); + 738 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1702); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1702::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 739 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1703); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1703::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 240) + } + 740 => { + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1704); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant83(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant100(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1704::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 741 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1705); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant100(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1705::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 742 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1706); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant100(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1706::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 240) + } + 743 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1707); + assert!(__symbols.len() >= 10); + let __sym9 = __pop_Variant83(__symbols); + let __sym8 = __pop_Variant0(__symbols); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym9.2; + let __nt = match super::__action1707::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (10, 240) + } + 744 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1708); + assert!(__symbols.len() >= 10); + let __sym9 = __pop_Variant83(__symbols); + let __sym8 = __pop_Variant0(__symbols); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym9.2; + let __nt = match super::__action1708::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (10, 240) + } + 745 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1709); + assert!(__symbols.len() >= 11); + let __sym10 = __pop_Variant83(__symbols); + let __sym9 = __pop_Variant0(__symbols); + let __sym8 = __pop_Variant28(__symbols); + let __sym7 = __pop_Variant100(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym10.2; + let __nt = match super::__action1709::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (11, 240) + } + 746 => { + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1710); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant83(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1710::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 747 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1711); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant83(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1711::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 748 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1712); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1712::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 749 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1713); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1713::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 240) + } + 750 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1714); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1714::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 240) + } + 751 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1715); + assert!(__symbols.len() >= 10); + let __sym9 = __pop_Variant83(__symbols); + let __sym8 = __pop_Variant0(__symbols); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym9.2; + let __nt = match super::__action1715::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (10, 240) + } + 752 => { + // ParameterList = ParameterDef, ",", "*", StarTypedParameter => ActionFn(1716); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant100(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1716::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 240) + } + 753 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter => ActionFn(1717); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant100(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1717::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 240) + } + 754 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter => ActionFn(1718); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant100(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1718::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 755 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter => ActionFn(1719); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1719::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 756 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter => ActionFn(1720); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1720::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 757 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter => ActionFn(1721); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant100(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1721::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 758 => { + // ParameterList = ParameterDef, ",", "*" => ActionFn(1722); + assert!(__symbols.len() >= 3); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1702::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1722::<>(__sym0, __sym1, __sym2) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (3, 240) + } + 759 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*" => ActionFn(1723); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1723::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 240) + } + 760 => { + // ParameterList = ParameterDef, ",", "/", ",", "*" => ActionFn(1724); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1724::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 240) + } + 761 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*" => ActionFn(1725); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1725::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 762 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1726); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1726::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 763 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1727); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1727::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 764 => { + // ParameterList = ParameterDef, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1728); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant100(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1728::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 240) + } + 765 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1729); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant100(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1729::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 766 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1730); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant100(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1730::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 767 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1731); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1731::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 768 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1732); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1732::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 769 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1733); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant28(__symbols); + let __sym7 = __pop_Variant100(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1733::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 240) + } + 770 => { + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+ => ActionFn(1734); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1734::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 240) + } + 771 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1735); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1735::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 240) + } + 772 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1736); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1736::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 773 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1737); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1737::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 774 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1738); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1738::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 775 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1739); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1739::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 776 => { + // ParameterList = ParameterDef => ActionFn(1740); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym0.2; + let __nt = match super::__action1740::<>(__sym0) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (1, 240) + } + 777 => { + // ParameterList = ParameterDef, ("," ParameterDef)+ => ActionFn(1741); + assert!(__symbols.len() >= 2); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym1.2; + let __nt = match super::__action1741::<>(__sym0, __sym1) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (2, 240) + } + 778 => { + // ParameterList = ParameterDef, ",", "/" => ActionFn(1742); + assert!(__symbols.len() >= 3); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym2.2; + let __nt = match super::__action1742::<>(__sym0, __sym1, __sym2) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (3, 240) + } + 779 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1743); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1743::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 240) + } + 780 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1744); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1744::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 240) + } + 781 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1745); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1745::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 240) + } + 782 => { + // ParameterList = ParameterDef, ",", KwargParameter, "," => ActionFn(1746); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant83(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1746::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 240) + } + 783 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1747); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant83(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1747::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 240) + } + 784 => { + // ParameterList = ParameterDef, ",", "/", ",", KwargParameter, "," => ActionFn(1748); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant83(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1748::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 240) + } + 785 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter, "," => ActionFn(1749); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant83(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1749::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 786 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1750); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant83(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1750::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 240) + } + 787 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1751); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant83(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1751::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 240) + } + 788 => { + // ParameterList = ParameterDef, ",", KwargParameter => ActionFn(1752); + assert!(__symbols.len() >= 3); + let __sym2 = __pop_Variant83(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym2.2; + let __nt = match super::__action1752::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18654,15 +18653,15 @@ mod __parse__Top { (3, 240) } 789 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1703); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1753); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1703::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1753::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18670,16 +18669,16 @@ mod __parse__Top { (4, 240) } 790 => { - // ParameterList = ParameterDef, ",", "/", ",", KwargParameter => ActionFn(1704); + // ParameterList = ParameterDef, ",", "/", ",", KwargParameter => ActionFn(1754); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1704::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1754::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18687,17 +18686,17 @@ mod __parse__Top { (5, 240) } 791 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter => ActionFn(1705); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter => ActionFn(1755); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1705::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1755::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18705,17 +18704,17 @@ mod __parse__Top { (6, 240) } 792 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1706); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1756); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1706::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1756::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18723,18 +18722,18 @@ mod __parse__Top { (6, 240) } 793 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1707); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1757); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1707::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1757::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18742,16 +18741,16 @@ mod __parse__Top { (7, 240) } 794 => { - // ParameterList = "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1160); + // ParameterList = "*", StarTypedParameter, ",", KwargParameter, "," => ActionFn(1210); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1160::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1210::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18759,15 +18758,15 @@ mod __parse__Top { (5, 240) } 795 => { - // ParameterList = "*", ",", KwargParameter, "," => ActionFn(1161); + // ParameterList = "*", ",", KwargParameter, "," => ActionFn(1211); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant84(__symbols); + let __sym2 = __pop_Variant83(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1161::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1211::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18775,17 +18774,17 @@ mod __parse__Top { (4, 240) } 796 => { - // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1162); + // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1212); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1162::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1212::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18793,16 +18792,16 @@ mod __parse__Top { (6, 240) } 797 => { - // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1163); + // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1213); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1163::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1213::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18810,14 +18809,14 @@ mod __parse__Top { (5, 240) } 798 => { - // ParameterList = "*", StarTypedParameter, "," => ActionFn(1164); + // ParameterList = "*", StarTypedParameter, "," => ActionFn(1214); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1164::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1214::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18825,13 +18824,13 @@ mod __parse__Top { (3, 240) } 799 => { - // ParameterList = "*", "," => ActionFn(1165); + // ParameterList = "*", "," => ActionFn(1215); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1165::<>(__sym0, __sym1) { + let __nt = match super::__action1215::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18839,15 +18838,15 @@ mod __parse__Top { (2, 240) } 800 => { - // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1166); + // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+, "," => ActionFn(1216); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1166::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1216::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18855,14 +18854,14 @@ mod __parse__Top { (4, 240) } 801 => { - // ParameterList = "*", ("," ParameterDef)+, "," => ActionFn(1167); + // ParameterList = "*", ("," ParameterDef)+, "," => ActionFn(1217); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1167::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1217::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18870,15 +18869,15 @@ mod __parse__Top { (3, 240) } 802 => { - // ParameterList = "*", StarTypedParameter, ",", KwargParameter => ActionFn(1168); + // ParameterList = "*", StarTypedParameter, ",", KwargParameter => ActionFn(1218); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1168::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1218::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18886,14 +18885,14 @@ mod __parse__Top { (4, 240) } 803 => { - // ParameterList = "*", ",", KwargParameter => ActionFn(1169); + // ParameterList = "*", ",", KwargParameter => ActionFn(1219); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant84(__symbols); + let __sym2 = __pop_Variant83(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1169::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1219::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18901,16 +18900,16 @@ mod __parse__Top { (3, 240) } 804 => { - // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1170); + // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1220); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1170::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1220::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18918,15 +18917,15 @@ mod __parse__Top { (5, 240) } 805 => { - // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1171); + // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1221); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1171::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1221::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18934,13 +18933,13 @@ mod __parse__Top { (4, 240) } 806 => { - // ParameterList = "*", StarTypedParameter => ActionFn(1172); + // ParameterList = "*", StarTypedParameter => ActionFn(1222); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1172::<>(__sym0, __sym1) { + let __nt = match super::__action1222::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18948,11 +18947,11 @@ mod __parse__Top { (2, 240) } 807 => { - // ParameterList = "*" => ActionFn(1173); + // ParameterList = "*" => ActionFn(1223); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1173::<>(__sym0) { + let __nt = match super::__action1223::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18960,14 +18959,14 @@ mod __parse__Top { (1, 240) } 808 => { - // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1174); + // ParameterList = "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1224); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1174::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1224::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18975,13 +18974,13 @@ mod __parse__Top { (3, 240) } 809 => { - // ParameterList = "*", ("," ParameterDef)+ => ActionFn(1175); + // ParameterList = "*", ("," ParameterDef)+ => ActionFn(1225); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1175::<>(__sym0, __sym1) { + let __nt = match super::__action1225::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -18995,18 +18994,18 @@ mod __parse__Top { __reduce811(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 812 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1708); + // ParameterList = ParameterDef, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1758); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1708::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1758::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19014,19 +19013,19 @@ mod __parse__Top { (7, 241) } 813 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1709); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1759); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1709::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1759::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19034,20 +19033,20 @@ mod __parse__Top { (8, 241) } 814 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1710); + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1760); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1710::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1760::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19055,21 +19054,21 @@ mod __parse__Top { (9, 241) } 815 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1711); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1761); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1711::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1761::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19077,21 +19076,21 @@ mod __parse__Top { (10, 241) } 816 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1712); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1762); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1712::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1762::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19099,22 +19098,22 @@ mod __parse__Top { (10, 241) } 817 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1713); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1763); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1713::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1763::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19122,17 +19121,17 @@ mod __parse__Top { (11, 241) } 818 => { - // ParameterList = ParameterDef, ",", "*", ",", KwargParameter, "," => ActionFn(1714); + // ParameterList = ParameterDef, ",", "*", ",", KwargParameter, "," => ActionFn(1764); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1714::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1764::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19140,18 +19139,18 @@ mod __parse__Top { (6, 241) } 819 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1715); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1765); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1715::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1765::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19159,19 +19158,19 @@ mod __parse__Top { (7, 241) } 820 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1716); + // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1766); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1716::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1766::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19179,20 +19178,20 @@ mod __parse__Top { (8, 241) } 821 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1717); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter, "," => ActionFn(1767); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1717::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1767::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19200,20 +19199,20 @@ mod __parse__Top { (9, 241) } 822 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1718); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1768); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1718::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1768::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19221,10 +19220,10 @@ mod __parse__Top { (9, 241) } 823 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1719); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter, "," => ActionFn(1769); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -19232,10 +19231,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1719::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1769::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19243,19 +19242,19 @@ mod __parse__Top { (10, 241) } 824 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1720); + // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1770); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1720::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1770::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19263,20 +19262,20 @@ mod __parse__Top { (8, 241) } 825 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1721); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1771); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1721::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1771::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19284,21 +19283,21 @@ mod __parse__Top { (9, 241) } 826 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1722); + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1772); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1722::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1772::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19306,22 +19305,22 @@ mod __parse__Top { (10, 241) } 827 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1723); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1773); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1723::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1773::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19329,22 +19328,22 @@ mod __parse__Top { (11, 241) } 828 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1724); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1774); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1724::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1774::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19352,23 +19351,23 @@ mod __parse__Top { (11, 241) } 829 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1725); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1775); assert!(__symbols.len() >= 12); let __sym11 = __pop_Variant0(__symbols); - let __sym10 = __pop_Variant84(__symbols); + let __sym10 = __pop_Variant83(__symbols); let __sym9 = __pop_Variant0(__symbols); let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym11.2; - let __nt = match super::__action1725::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10, __sym11) { + let __nt = match super::__action1775::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10, __sym11) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19376,18 +19375,18 @@ mod __parse__Top { (12, 241) } 830 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1726); + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1776); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1726::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1776::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19395,19 +19394,19 @@ mod __parse__Top { (7, 241) } 831 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1727); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1777); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1727::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1777::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19415,20 +19414,20 @@ mod __parse__Top { (8, 241) } 832 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1728); + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1778); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1728::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1778::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19436,10 +19435,10 @@ mod __parse__Top { (9, 241) } 833 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1729); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1779); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -19447,10 +19446,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1729::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1779::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19458,10 +19457,10 @@ mod __parse__Top { (10, 241) } 834 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1730); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1780); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -19469,10 +19468,10 @@ mod __parse__Top { let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1730::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1780::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19480,10 +19479,10 @@ mod __parse__Top { (10, 241) } 835 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1731); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1781); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -19492,10 +19491,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = match super::__action1731::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + let __nt = match super::__action1781::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19503,16 +19502,16 @@ mod __parse__Top { (11, 241) } 836 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, "," => ActionFn(1732); + // ParameterList = ParameterDef, ",", "*", UntypedParameter, "," => ActionFn(1782); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1732::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1782::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19520,17 +19519,17 @@ mod __parse__Top { (5, 241) } 837 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, "," => ActionFn(1733); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, "," => ActionFn(1783); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1733::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1783::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19538,18 +19537,18 @@ mod __parse__Top { (6, 241) } 838 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, "," => ActionFn(1734); + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, "," => ActionFn(1784); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1734::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1784::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19557,19 +19556,19 @@ mod __parse__Top { (7, 241) } 839 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, "," => ActionFn(1735); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, "," => ActionFn(1785); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1735::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1785::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19577,19 +19576,19 @@ mod __parse__Top { (8, 241) } 840 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, "," => ActionFn(1736); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, "," => ActionFn(1786); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1736::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1786::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19597,20 +19596,20 @@ mod __parse__Top { (8, 241) } 841 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, "," => ActionFn(1737); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, "," => ActionFn(1787); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1737::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1787::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19618,15 +19617,15 @@ mod __parse__Top { (9, 241) } 842 => { - // ParameterList = ParameterDef, ",", "*", "," => ActionFn(1738); + // ParameterList = ParameterDef, ",", "*", "," => ActionFn(1788); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1738::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1788::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19634,16 +19633,16 @@ mod __parse__Top { (4, 241) } 843 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", "," => ActionFn(1739); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", "," => ActionFn(1789); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1739::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1789::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19651,17 +19650,17 @@ mod __parse__Top { (5, 241) } 844 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", "," => ActionFn(1740); + // ParameterList = ParameterDef, ",", "/", ",", "*", "," => ActionFn(1790); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1740::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1790::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19669,7 +19668,7 @@ mod __parse__Top { (6, 241) } 845 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", "," => ActionFn(1741); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", "," => ActionFn(1791); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -19677,10 +19676,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1741::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1791::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19688,7 +19687,7 @@ mod __parse__Top { (7, 241) } 846 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1742); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1792); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -19696,10 +19695,10 @@ mod __parse__Top { let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1742::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1792::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19707,7 +19706,7 @@ mod __parse__Top { (7, 241) } 847 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1743); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", "," => ActionFn(1793); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -19716,10 +19715,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1743::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1793::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19727,17 +19726,17 @@ mod __parse__Top { (8, 241) } 848 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1744); + // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1794); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1744::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1794::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19745,18 +19744,18 @@ mod __parse__Top { (6, 241) } 849 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1745); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1795); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1745::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1795::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19764,19 +19763,19 @@ mod __parse__Top { (7, 241) } 850 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1746); + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1796); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1746::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1796::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19784,20 +19783,20 @@ mod __parse__Top { (8, 241) } 851 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1747); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1797); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1747::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1797::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19805,20 +19804,20 @@ mod __parse__Top { (9, 241) } 852 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1748); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1798); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1748::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1798::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19826,21 +19825,21 @@ mod __parse__Top { (9, 241) } 853 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1749); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1799); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1749::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1799::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19848,16 +19847,16 @@ mod __parse__Top { (10, 241) } 854 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, "," => ActionFn(1750); + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, "," => ActionFn(1800); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1750::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1800::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19865,17 +19864,17 @@ mod __parse__Top { (5, 241) } 855 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1751); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1801); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1751::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1801::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19883,7 +19882,7 @@ mod __parse__Top { (6, 241) } 856 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1752); + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1802); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant28(__symbols); @@ -19891,10 +19890,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1752::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1802::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19902,7 +19901,7 @@ mod __parse__Top { (7, 241) } 857 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1753); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, "," => ActionFn(1803); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); @@ -19911,10 +19910,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1753::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1803::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19922,7 +19921,7 @@ mod __parse__Top { (8, 241) } 858 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1754); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1804); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant28(__symbols); @@ -19931,10 +19930,10 @@ mod __parse__Top { let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1754::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1804::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19942,7 +19941,7 @@ mod __parse__Top { (8, 241) } 859 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1755); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, "," => ActionFn(1805); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant28(__symbols); @@ -19952,10 +19951,10 @@ mod __parse__Top { let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1755::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1805::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19963,13 +19962,13 @@ mod __parse__Top { (9, 241) } 860 => { - // ParameterList = ParameterDef, "," => ActionFn(1756); + // ParameterList = ParameterDef, "," => ActionFn(1806); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1756::<>(__sym0, __sym1) { + let __nt = match super::__action1806::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19977,14 +19976,14 @@ mod __parse__Top { (2, 241) } 861 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, "," => ActionFn(1757); + // ParameterList = ParameterDef, ("," ParameterDef)+, "," => ActionFn(1807); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1757::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1807::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -19992,15 +19991,15 @@ mod __parse__Top { (3, 241) } 862 => { - // ParameterList = ParameterDef, ",", "/", "," => ActionFn(1758); + // ParameterList = ParameterDef, ",", "/", "," => ActionFn(1808); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1758::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1808::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20008,16 +20007,16 @@ mod __parse__Top { (4, 241) } 863 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", "," => ActionFn(1759); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", "," => ActionFn(1809); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1759::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1809::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20025,16 +20024,16 @@ mod __parse__Top { (5, 241) } 864 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, "," => ActionFn(1760); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, "," => ActionFn(1810); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1760::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1810::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20042,17 +20041,17 @@ mod __parse__Top { (5, 241) } 865 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, "," => ActionFn(1761); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, "," => ActionFn(1811); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1761::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1811::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20060,17 +20059,17 @@ mod __parse__Top { (6, 241) } 866 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1762); + // ParameterList = ParameterDef, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1812); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant101(__symbols); + let __sym3 = __pop_Variant100(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1762::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1812::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20078,18 +20077,18 @@ mod __parse__Top { (6, 241) } 867 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1763); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1813); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant101(__symbols); + let __sym4 = __pop_Variant100(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1763::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1813::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20097,19 +20096,19 @@ mod __parse__Top { (7, 241) } 868 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1764); + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1814); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant101(__symbols); + let __sym5 = __pop_Variant100(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = match super::__action1764::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + let __nt = match super::__action1814::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20117,20 +20116,20 @@ mod __parse__Top { (8, 241) } 869 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1765); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1815); assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1765::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1815::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20138,20 +20137,20 @@ mod __parse__Top { (9, 241) } 870 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1766); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1816); assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); + let __sym8 = __pop_Variant83(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant101(__symbols); + let __sym6 = __pop_Variant100(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = match super::__action1766::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + let __nt = match super::__action1816::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20159,21 +20158,21 @@ mod __parse__Top { (9, 241) } 871 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1767); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ",", KwargParameter => ActionFn(1817); assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); + let __sym9 = __pop_Variant83(__symbols); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant101(__symbols); + let __sym7 = __pop_Variant100(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = match super::__action1767::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + let __nt = match super::__action1817::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20181,16 +20180,16 @@ mod __parse__Top { (10, 241) } 872 => { - // ParameterList = ParameterDef, ",", "*", ",", KwargParameter => ActionFn(1768); + // ParameterList = ParameterDef, ",", "*", ",", KwargParameter => ActionFn(1818); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1768::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1818::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20198,17 +20197,17 @@ mod __parse__Top { (5, 241) } 873 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1769); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1819); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1769::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1819::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -20216,939 +20215,15 @@ mod __parse__Top { (6, 241) } 874 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1770); + // ParameterList = ParameterDef, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1820); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1770::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 875 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1771); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1771::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 876 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1772); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1772::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 877 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1773); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1773::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 241) - } - 878 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1774); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1774::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 879 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1775); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1775::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 880 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1776); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1776::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 241) - } - 881 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1777); - assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); - let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym9.2; - let __nt = match super::__action1777::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (10, 241) - } - 882 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1778); - assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); - let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym9.2; - let __nt = match super::__action1778::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (10, 241) - } - 883 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1779); - assert!(__symbols.len() >= 11); - let __sym10 = __pop_Variant84(__symbols); - let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym10.2; - let __nt = match super::__action1779::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (11, 241) - } - 884 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1780); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1780::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 885 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1781); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1781::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 886 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1782); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant84(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1782::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 887 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1783); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1783::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 241) - } - 888 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1784); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant84(__symbols); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1784::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 241) - } - 889 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1785); - assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant84(__symbols); - let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym9.2; - let __nt = match super::__action1785::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (10, 241) - } - 890 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter => ActionFn(1786); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant101(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1786::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 241) - } - 891 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter => ActionFn(1787); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant101(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1787::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 241) - } - 892 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter => ActionFn(1788); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant101(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1788::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 893 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter => ActionFn(1789); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1789::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 894 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter => ActionFn(1790); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1790::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 895 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter => ActionFn(1791); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant101(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1791::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 896 => { - // ParameterList = ParameterDef, ",", "*" => ActionFn(1792); - assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym2.2; - let __nt = match super::__action1792::<>(__sym0, __sym1, __sym2) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (3, 241) - } - 897 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*" => ActionFn(1793); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1793::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 241) - } - 898 => { - // ParameterList = ParameterDef, ",", "/", ",", "*" => ActionFn(1794); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1794::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 241) - } - 899 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*" => ActionFn(1795); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1795::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 900 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1796); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1796::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 901 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1797); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1797::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 902 => { - // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1798); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant101(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1798::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 241) - } - 903 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1799); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant101(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1799::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 904 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1800); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant101(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1800::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 905 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1801); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1801::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 906 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1802); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant101(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1802::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 907 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1803); - assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant28(__symbols); - let __sym7 = __pop_Variant101(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym8.2; - let __nt = match super::__action1803::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (9, 241) - } - 908 => { - // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+ => ActionFn(1804); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1804::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 241) - } - 909 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1805); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1805::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 241) - } - 910 => { - // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1806); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant28(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1806::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 911 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1807); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1807::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 912 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1808); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant28(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1808::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 913 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1809); - assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant28(__symbols); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym7.2; - let __nt = match super::__action1809::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (8, 241) - } - 914 => { - // ParameterList = ParameterDef => ActionFn(1810); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym0.2; - let __nt = match super::__action1810::<>(__sym0) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (1, 241) - } - 915 => { - // ParameterList = ParameterDef, ("," ParameterDef)+ => ActionFn(1811); - assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym1.2; - let __nt = match super::__action1811::<>(__sym0, __sym1) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (2, 241) - } - 916 => { - // ParameterList = ParameterDef, ",", "/" => ActionFn(1812); - assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym2.2; - let __nt = match super::__action1812::<>(__sym0, __sym1, __sym2) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (3, 241) - } - 917 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1813); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1813::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 241) - } - 918 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1814); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1814::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 241) - } - 919 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1815); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant28(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1815::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 241) - } - 920 => { - // ParameterList = ParameterDef, ",", KwargParameter, "," => ActionFn(1816); - assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant84(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym3.2; - let __nt = match super::__action1816::<>(__sym0, __sym1, __sym2, __sym3) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (4, 241) - } - 921 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1817); - assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant84(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym4.2; - let __nt = match super::__action1817::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (5, 241) - } - 922 => { - // ParameterList = ParameterDef, ",", "/", ",", KwargParameter, "," => ActionFn(1818); - assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant84(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym5.2; - let __nt = match super::__action1818::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (6, 241) - } - 923 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter, "," => ActionFn(1819); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); - let __start = __sym0.0; - let __end = __sym6.2; - let __nt = match super::__action1819::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { - Ok(v) => v, - Err(e) => return Some(Err(e)), - }; - __symbols.push((__start, __Symbol::Variant55(__nt), __end)); - (7, 241) - } - 924 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1820); - assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant84(__symbols); - let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant28(__symbols); - let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; let __nt = match super::__action1820::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { @@ -21158,17 +20233,17 @@ mod __parse__Top { __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (7, 241) } - 925 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1821); + 875 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ",", KwargParameter => ActionFn(1821); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant84(__symbols); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym7.2; let __nt = match super::__action1821::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { @@ -21178,15 +20253,939 @@ mod __parse__Top { __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (8, 241) } - 926 => { - // ParameterList = ParameterDef, ",", KwargParameter => ActionFn(1822); - assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant84(__symbols); + 876 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1822); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1822::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 877 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ",", KwargParameter => ActionFn(1823); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1823::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 241) + } + 878 => { + // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1824); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant83(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant100(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1824::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 879 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1825); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant100(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1825::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 880 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1826); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant100(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1826::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 241) + } + 881 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1827); + assert!(__symbols.len() >= 10); + let __sym9 = __pop_Variant83(__symbols); + let __sym8 = __pop_Variant0(__symbols); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym9.2; + let __nt = match super::__action1827::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (10, 241) + } + 882 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1828); + assert!(__symbols.len() >= 10); + let __sym9 = __pop_Variant83(__symbols); + let __sym8 = __pop_Variant0(__symbols); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym9.2; + let __nt = match super::__action1828::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (10, 241) + } + 883 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1829); + assert!(__symbols.len() >= 11); + let __sym10 = __pop_Variant83(__symbols); + let __sym9 = __pop_Variant0(__symbols); + let __sym8 = __pop_Variant28(__symbols); + let __sym7 = __pop_Variant100(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym10.2; + let __nt = match super::__action1829::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (11, 241) + } + 884 => { + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1830); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant83(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1830::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 885 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1831); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant83(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1831::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 886 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1832); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant83(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1832::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 887 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1833); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1833::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 241) + } + 888 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1834); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant83(__symbols); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1834::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 241) + } + 889 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1835); + assert!(__symbols.len() >= 10); + let __sym9 = __pop_Variant83(__symbols); + let __sym8 = __pop_Variant0(__symbols); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym9.2; + let __nt = match super::__action1835::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (10, 241) + } + 890 => { + // ParameterList = ParameterDef, ",", "*", UntypedParameter => ActionFn(1836); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant100(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1836::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 241) + } + 891 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter => ActionFn(1837); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant100(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1837::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 241) + } + 892 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter => ActionFn(1838); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant100(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1838::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 893 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter => ActionFn(1839); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1839::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 894 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter => ActionFn(1840); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1840::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 895 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter => ActionFn(1841); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant100(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1841::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 896 => { + // ParameterList = ParameterDef, ",", "*" => ActionFn(1842); + assert!(__symbols.len() >= 3); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1822::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1842::<>(__sym0, __sym1, __sym2) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (3, 241) + } + 897 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*" => ActionFn(1843); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1843::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 241) + } + 898 => { + // ParameterList = ParameterDef, ",", "/", ",", "*" => ActionFn(1844); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1844::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 241) + } + 899 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*" => ActionFn(1845); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1845::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 900 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1846); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1846::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 901 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*" => ActionFn(1847); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1847::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 902 => { + // ParameterList = ParameterDef, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1848); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant100(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1848::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 241) + } + 903 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1849); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant100(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1849::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 904 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1850); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant100(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1850::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 905 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1851); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1851::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 906 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1852); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant100(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1852::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 907 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1853); + assert!(__symbols.len() >= 9); + let __sym8 = __pop_Variant28(__symbols); + let __sym7 = __pop_Variant100(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym8.2; + let __nt = match super::__action1853::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (9, 241) + } + 908 => { + // ParameterList = ParameterDef, ",", "*", ("," ParameterDef)+ => ActionFn(1854); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1854::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 241) + } + 909 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1855); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1855::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 241) + } + 910 => { + // ParameterList = ParameterDef, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1856); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant28(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1856::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 911 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", "*", ("," ParameterDef)+ => ActionFn(1857); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1857::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 912 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1858); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant28(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1858::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 913 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", "*", ("," ParameterDef)+ => ActionFn(1859); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant28(__symbols); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1859::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 914 => { + // ParameterList = ParameterDef => ActionFn(1860); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym0.2; + let __nt = match super::__action1860::<>(__sym0) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (1, 241) + } + 915 => { + // ParameterList = ParameterDef, ("," ParameterDef)+ => ActionFn(1861); + assert!(__symbols.len() >= 2); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym1.2; + let __nt = match super::__action1861::<>(__sym0, __sym1) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (2, 241) + } + 916 => { + // ParameterList = ParameterDef, ",", "/" => ActionFn(1862); + assert!(__symbols.len() >= 3); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym2.2; + let __nt = match super::__action1862::<>(__sym0, __sym1, __sym2) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (3, 241) + } + 917 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1863); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1863::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 241) + } + 918 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1864); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1864::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 241) + } + 919 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1865); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1865::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 241) + } + 920 => { + // ParameterList = ParameterDef, ",", KwargParameter, "," => ActionFn(1866); + assert!(__symbols.len() >= 4); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant83(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym3.2; + let __nt = match super::__action1866::<>(__sym0, __sym1, __sym2, __sym3) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (4, 241) + } + 921 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1867); + assert!(__symbols.len() >= 5); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant83(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym4.2; + let __nt = match super::__action1867::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (5, 241) + } + 922 => { + // ParameterList = ParameterDef, ",", "/", ",", KwargParameter, "," => ActionFn(1868); + assert!(__symbols.len() >= 6); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant83(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym5.2; + let __nt = match super::__action1868::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (6, 241) + } + 923 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter, "," => ActionFn(1869); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant83(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1869::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 924 => { + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1870); + assert!(__symbols.len() >= 7); + let __sym6 = __pop_Variant0(__symbols); + let __sym5 = __pop_Variant83(__symbols); + let __sym4 = __pop_Variant0(__symbols); + let __sym3 = __pop_Variant28(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym6.2; + let __nt = match super::__action1870::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (7, 241) + } + 925 => { + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1871); + assert!(__symbols.len() >= 8); + let __sym7 = __pop_Variant0(__symbols); + let __sym6 = __pop_Variant83(__symbols); + let __sym5 = __pop_Variant0(__symbols); + let __sym4 = __pop_Variant28(__symbols); + let __sym3 = __pop_Variant0(__symbols); + let __sym2 = __pop_Variant0(__symbols); + let __sym1 = __pop_Variant28(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym7.2; + let __nt = match super::__action1871::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7) { + Ok(v) => v, + Err(e) => return Some(Err(e)), + }; + __symbols.push((__start, __Symbol::Variant55(__nt), __end)); + (8, 241) + } + 926 => { + // ParameterList = ParameterDef, ",", KwargParameter => ActionFn(1872); + assert!(__symbols.len() >= 3); + let __sym2 = __pop_Variant83(__symbols); + let __sym1 = __pop_Variant0(__symbols); + let __sym0 = __pop_Variant92(__symbols); + let __start = __sym0.0; + let __end = __sym2.2; + let __nt = match super::__action1872::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21194,15 +21193,15 @@ mod __parse__Top { (3, 241) } 927 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1823); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1873); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1823::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1873::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21210,16 +21209,16 @@ mod __parse__Top { (4, 241) } 928 => { - // ParameterList = ParameterDef, ",", "/", ",", KwargParameter => ActionFn(1824); + // ParameterList = ParameterDef, ",", "/", ",", KwargParameter => ActionFn(1874); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1824::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1874::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21227,17 +21226,17 @@ mod __parse__Top { (5, 241) } 929 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter => ActionFn(1825); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ",", KwargParameter => ActionFn(1875); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1825::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1875::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21245,17 +21244,17 @@ mod __parse__Top { (6, 241) } 930 => { - // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1826); + // ParameterList = ParameterDef, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1876); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant84(__symbols); + let __sym5 = __pop_Variant83(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1826::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1876::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21263,18 +21262,18 @@ mod __parse__Top { (6, 241) } 931 => { - // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1827); + // ParameterList = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1877); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant84(__symbols); + let __sym6 = __pop_Variant83(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = match super::__action1827::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { + let __nt = match super::__action1877::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21282,16 +21281,16 @@ mod __parse__Top { (7, 241) } 932 => { - // ParameterList = "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1220); + // ParameterList = "*", UntypedParameter, ",", KwargParameter, "," => ActionFn(1270); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1220::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1270::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21299,15 +21298,15 @@ mod __parse__Top { (5, 241) } 933 => { - // ParameterList = "*", ",", KwargParameter, "," => ActionFn(1221); + // ParameterList = "*", ",", KwargParameter, "," => ActionFn(1271); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant84(__symbols); + let __sym2 = __pop_Variant83(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1221::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1271::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21315,17 +21314,17 @@ mod __parse__Top { (4, 241) } 934 => { - // ParameterList = "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1222); + // ParameterList = "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1272); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = match super::__action1222::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { + let __nt = match super::__action1272::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21333,16 +21332,16 @@ mod __parse__Top { (6, 241) } 935 => { - // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1223); + // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter, "," => ActionFn(1273); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1223::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1273::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21350,14 +21349,14 @@ mod __parse__Top { (5, 241) } 936 => { - // ParameterList = "*", UntypedParameter, "," => ActionFn(1224); + // ParameterList = "*", UntypedParameter, "," => ActionFn(1274); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1224::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1274::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21365,13 +21364,13 @@ mod __parse__Top { (3, 241) } 937 => { - // ParameterList = "*", "," => ActionFn(1225); + // ParameterList = "*", "," => ActionFn(1275); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1225::<>(__sym0, __sym1) { + let __nt = match super::__action1275::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21379,15 +21378,15 @@ mod __parse__Top { (2, 241) } 938 => { - // ParameterList = "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1226); + // ParameterList = "*", UntypedParameter, ("," ParameterDef)+, "," => ActionFn(1276); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1226::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1276::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21395,14 +21394,14 @@ mod __parse__Top { (4, 241) } 939 => { - // ParameterList = "*", ("," ParameterDef)+, "," => ActionFn(1227); + // ParameterList = "*", ("," ParameterDef)+, "," => ActionFn(1277); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1227::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1277::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21410,15 +21409,15 @@ mod __parse__Top { (3, 241) } 940 => { - // ParameterList = "*", UntypedParameter, ",", KwargParameter => ActionFn(1228); + // ParameterList = "*", UntypedParameter, ",", KwargParameter => ActionFn(1278); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1228::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1278::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21426,14 +21425,14 @@ mod __parse__Top { (4, 241) } 941 => { - // ParameterList = "*", ",", KwargParameter => ActionFn(1229); + // ParameterList = "*", ",", KwargParameter => ActionFn(1279); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant84(__symbols); + let __sym2 = __pop_Variant83(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1229::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1279::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21441,16 +21440,16 @@ mod __parse__Top { (3, 241) } 942 => { - // ParameterList = "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1230); + // ParameterList = "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1280); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1230::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1280::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21458,15 +21457,15 @@ mod __parse__Top { (5, 241) } 943 => { - // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1231); + // ParameterList = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1281); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1231::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1281::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21474,13 +21473,13 @@ mod __parse__Top { (4, 241) } 944 => { - // ParameterList = "*", UntypedParameter => ActionFn(1232); + // ParameterList = "*", UntypedParameter => ActionFn(1282); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1232::<>(__sym0, __sym1) { + let __nt = match super::__action1282::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21488,11 +21487,11 @@ mod __parse__Top { (2, 241) } 945 => { - // ParameterList = "*" => ActionFn(1233); + // ParameterList = "*" => ActionFn(1283); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1233::<>(__sym0) { + let __nt = match super::__action1283::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21500,14 +21499,14 @@ mod __parse__Top { (1, 241) } 946 => { - // ParameterList = "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1234); + // ParameterList = "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1284); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1234::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1284::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21515,13 +21514,13 @@ mod __parse__Top { (3, 241) } 947 => { - // ParameterList = "*", ("," ParameterDef)+ => ActionFn(1235); + // ParameterList = "*", ("," ParameterDef)+ => ActionFn(1285); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1235::<>(__sym0, __sym1) { + let __nt = match super::__action1285::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21541,252 +21540,252 @@ mod __parse__Top { __reduce951(__lookahead_start, __symbols, core::marker::PhantomData::<()>) } 952 => { - // ParameterListStarArgs = "*", StarTypedParameter, ",", KwargParameter => ActionFn(1144); + // ParameterListStarArgs = "*", StarTypedParameter, ",", KwargParameter => ActionFn(1194); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1144::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1194::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (4, 243) } 953 => { - // ParameterListStarArgs = "*", ",", KwargParameter => ActionFn(1145); + // ParameterListStarArgs = "*", ",", KwargParameter => ActionFn(1195); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant84(__symbols); + let __sym2 = __pop_Variant83(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1145::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1195::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (3, 243) } 954 => { - // ParameterListStarArgs = "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1146); + // ParameterListStarArgs = "*", StarTypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1196); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1146::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1196::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (5, 243) } 955 => { - // ParameterListStarArgs = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1147); + // ParameterListStarArgs = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1197); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1147::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1197::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (4, 243) } 956 => { - // ParameterListStarArgs = "*", StarTypedParameter => ActionFn(1148); + // ParameterListStarArgs = "*", StarTypedParameter => ActionFn(1198); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1148::<>(__sym0, __sym1) { + let __nt = match super::__action1198::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (2, 243) } 957 => { - // ParameterListStarArgs = "*" => ActionFn(1149); + // ParameterListStarArgs = "*" => ActionFn(1199); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1149::<>(__sym0) { + let __nt = match super::__action1199::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (1, 243) } 958 => { - // ParameterListStarArgs = "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1150); + // ParameterListStarArgs = "*", StarTypedParameter, ("," ParameterDef)+ => ActionFn(1200); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1150::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1200::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (3, 243) } 959 => { - // ParameterListStarArgs = "*", ("," ParameterDef)+ => ActionFn(1151); + // ParameterListStarArgs = "*", ("," ParameterDef)+ => ActionFn(1201); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1151::<>(__sym0, __sym1) { + let __nt = match super::__action1201::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (2, 243) } 960 => { - // ParameterListStarArgs = "*", UntypedParameter, ",", KwargParameter => ActionFn(1204); + // ParameterListStarArgs = "*", UntypedParameter, ",", KwargParameter => ActionFn(1254); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1204::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1254::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (4, 244) } 961 => { - // ParameterListStarArgs = "*", ",", KwargParameter => ActionFn(1205); + // ParameterListStarArgs = "*", ",", KwargParameter => ActionFn(1255); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant84(__symbols); + let __sym2 = __pop_Variant83(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1205::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1255::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (3, 244) } 962 => { - // ParameterListStarArgs = "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1206); + // ParameterListStarArgs = "*", UntypedParameter, ("," ParameterDef)+, ",", KwargParameter => ActionFn(1256); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant84(__symbols); + let __sym4 = __pop_Variant83(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = match super::__action1206::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { + let __nt = match super::__action1256::<>(__sym0, __sym1, __sym2, __sym3, __sym4) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (5, 244) } 963 => { - // ParameterListStarArgs = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1207); + // ParameterListStarArgs = "*", ("," ParameterDef)+, ",", KwargParameter => ActionFn(1257); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant84(__symbols); + let __sym3 = __pop_Variant83(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = match super::__action1207::<>(__sym0, __sym1, __sym2, __sym3) { + let __nt = match super::__action1257::<>(__sym0, __sym1, __sym2, __sym3) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (4, 244) } 964 => { - // ParameterListStarArgs = "*", UntypedParameter => ActionFn(1208); + // ParameterListStarArgs = "*", UntypedParameter => ActionFn(1258); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1208::<>(__sym0, __sym1) { + let __nt = match super::__action1258::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (2, 244) } 965 => { - // ParameterListStarArgs = "*" => ActionFn(1209); + // ParameterListStarArgs = "*" => ActionFn(1259); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = match super::__action1209::<>(__sym0) { + let __nt = match super::__action1259::<>(__sym0) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (1, 244) } 966 => { - // ParameterListStarArgs = "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1210); + // ParameterListStarArgs = "*", UntypedParameter, ("," ParameterDef)+ => ActionFn(1260); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant28(__symbols); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1210::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1260::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (3, 244) } 967 => { - // ParameterListStarArgs = "*", ("," ParameterDef)+ => ActionFn(1211); + // ParameterListStarArgs = "*", ("," ParameterDef)+ => ActionFn(1261); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1211::<>(__sym0, __sym1) { + let __nt = match super::__action1261::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; - __symbols.push((__start, __Symbol::Variant95(__nt), __end)); + __symbols.push((__start, __Symbol::Variant94(__nt), __end)); (2, 244) } 968 => { - // Parameters = "(", ParameterList, ")" => ActionFn(1418); + // Parameters = "(", ParameterList, ")" => ActionFn(1468); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant55(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = match super::__action1418::<>(__sym0, __sym1, __sym2) { + let __nt = match super::__action1468::<>(__sym0, __sym1, __sym2) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -21794,13 +21793,13 @@ mod __parse__Top { (3, 245) } 969 => { - // Parameters = "(", ")" => ActionFn(1419); + // Parameters = "(", ")" => ActionFn(1469); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = match super::__action1419::<>(__sym0, __sym1) { + let __nt = match super::__action1469::<>(__sym0, __sym1) { Ok(v) => v, Err(e) => return Some(Err(e)), }; @@ -22316,7 +22315,7 @@ mod __parse__Top { } 1139 => { // __Top = Top => ActionFn(0); - let __sym0 = __pop_Variant103(__symbols); + let __sym0 = __pop_Variant102(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action0::<>(__sym0); @@ -22345,33 +22344,33 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant95< + fn __pop_Variant94< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (Option>, Vec, Vec, Option>), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant95(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant94(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant69< + fn __pop_Variant68< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (Option>, ast::Expr), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant69(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant68(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant83< + fn __pop_Variant82< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (Option, Option), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant83(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant82(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22405,23 +22404,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant94< + fn __pop_Variant93< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant94(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant93(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant93< + fn __pop_Variant92< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (ast::Arg, Option), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant93(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant92(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22435,23 +22434,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant70< + fn __pop_Variant69< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (ast::Expr, ast::Expr), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant70(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant69(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant88< + fn __pop_Variant87< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (ast::Expr, ast::Pattern), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant88(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant87(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22465,13 +22464,13 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant87< + fn __pop_Variant86< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, (ast::Identifier, ast::Pattern), TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant87(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant86(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22635,23 +22634,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant84< + fn __pop_Variant83< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Option>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant84(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant83(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant99< + fn __pop_Variant98< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Option, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant99(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant98(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22675,40 +22674,30 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant63< + fn __pop_Variant62< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant63(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant62(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant71< + fn __pop_Variant70< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Vec<(Option>, ast::Expr)>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant71(__v), __r)) => (__l, __v, __r), - _ => __symbol_type_mismatch() - } - } - fn __pop_Variant92< - >( - __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> - ) -> (TextSize, Vec<(ast::Arg, Option)>, TextSize) - { - match __symbols.pop() { - Some((__l, __Symbol::Variant92(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant70(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } fn __pop_Variant91< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> - ) -> (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize) + ) -> (TextSize, Vec<(ast::Arg, Option)>, TextSize) { match __symbols.pop() { Some((__l, __Symbol::Variant91(__v), __r)) => (__l, __v, __r), @@ -22718,30 +22707,40 @@ mod __parse__Top { fn __pop_Variant90< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> - ) -> (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize) + ) -> (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize) { match __symbols.pop() { Some((__l, __Symbol::Variant90(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant80< + fn __pop_Variant89< + >( + __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> + ) -> (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize) + { + match __symbols.pop() { + Some((__l, __Symbol::Variant89(__v), __r)) => (__l, __v, __r), + _ => __symbol_type_mismatch() + } + } + fn __pop_Variant79< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant80(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant79(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant65< + fn __pop_Variant64< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant65(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant64(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22755,23 +22754,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant89< + fn __pop_Variant88< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant89(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant88(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant64< + fn __pop_Variant63< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant64(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant63(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22915,23 +22914,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant98< + fn __pop_Variant97< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, alloc::vec::Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant98(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant97(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant75< + fn __pop_Variant74< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, alloc::vec::Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant75(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant74(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22945,23 +22944,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant82< + fn __pop_Variant81< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, alloc::vec::Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant82(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant81(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant86< + fn __pop_Variant85< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, alloc::vec::Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant86(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant85(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -22975,13 +22974,13 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant77< + fn __pop_Variant76< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, alloc::vec::Vec, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant77(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant76(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23005,23 +23004,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant79< + fn __pop_Variant78< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Alias, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant79(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant78(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant101< + fn __pop_Variant100< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Arg, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant101(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant100(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23035,43 +23034,43 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant67< + fn __pop_Variant66< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Cmpop, TextSize) + { + match __symbols.pop() { + Some((__l, __Symbol::Variant66(__v), __r)) => (__l, __v, __r), + _ => __symbol_type_mismatch() + } + } + fn __pop_Variant96< + >( + __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> + ) -> (TextSize, ast::Comprehension, TextSize) + { + match __symbols.pop() { + Some((__l, __Symbol::Variant96(__v), __r)) => (__l, __v, __r), + _ => __symbol_type_mismatch() + } + } + fn __pop_Variant67< + >( + __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> + ) -> (TextSize, ast::Constant, TextSize) { match __symbols.pop() { Some((__l, __Symbol::Variant67(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant97< - >( - __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> - ) -> (TextSize, ast::Comprehension, TextSize) - { - match __symbols.pop() { - Some((__l, __Symbol::Variant97(__v), __r)) => (__l, __v, __r), - _ => __symbol_type_mismatch() - } - } - fn __pop_Variant68< - >( - __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> - ) -> (TextSize, ast::Constant, TextSize) - { - match __symbols.pop() { - Some((__l, __Symbol::Variant68(__v), __r)) => (__l, __v, __r), - _ => __symbol_type_mismatch() - } - } - fn __pop_Variant74< + fn __pop_Variant73< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Excepthandler, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant74(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant73(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23085,43 +23084,43 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant73< + fn __pop_Variant72< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Identifier, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant73(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant72(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant81< + fn __pop_Variant80< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Int, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant81(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant80(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant85< + fn __pop_Variant84< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::MatchCase, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant85(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant84(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant103< + fn __pop_Variant102< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Mod, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant103(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant102(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23145,16 +23144,6 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant62< - >( - __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> - ) -> (TextSize, ast::PatternKind, TextSize) - { - match __symbols.pop() { - Some((__l, __Symbol::Variant62(__v), __r)) => (__l, __v, __r), - _ => __symbol_type_mismatch() - } - } fn __pop_Variant61< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> @@ -23165,23 +23154,23 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant76< + fn __pop_Variant75< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Suite, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant76(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant75(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant104< + fn __pop_Variant103< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, ast::Unaryop, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant104(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant103(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23195,13 +23184,13 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant78< + fn __pop_Variant77< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, core::option::Option<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant78(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant77(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23265,33 +23254,33 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant100< + fn __pop_Variant99< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, core::option::Option>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant100(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant99(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant72< + fn __pop_Variant71< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, core::option::Option>, ast::Expr)>>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant72(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant71(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } - fn __pop_Variant66< + fn __pop_Variant65< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, core::option::Option>, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant66(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant65(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23315,13 +23304,13 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant102< + fn __pop_Variant101< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, core::option::Option, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant102(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant101(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23345,13 +23334,13 @@ mod __parse__Top { _ => __symbol_type_mismatch() } } - fn __pop_Variant96< + fn __pop_Variant95< >( __symbols: &mut alloc::vec::Vec<(TextSize,__Symbol<>,TextSize)> ) -> (TextSize, core::option::Option, TextSize) { match __symbols.pop() { - Some((__l, __Symbol::Variant96(__v), __r)) => (__l, __v, __r), + Some((__l, __Symbol::Variant95(__v), __r)) => (__l, __v, __r), _ => __symbol_type_mismatch() } } @@ -23421,11 +23410,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ";"? = ";" => ActionFn(344); + // ";"? = ";" => ActionFn(342); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action344::<>(__sym0); + let __nt = super::__action342::<>(__sym0); __symbols.push((__start, __Symbol::Variant6(__nt), __end)); (1, 1) } @@ -23436,10 +23425,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ";"? = => ActionFn(345); + // ";"? = => ActionFn(343); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action345::<>(&__start, &__end); + let __nt = super::__action343::<>(&__start, &__end); __symbols.push((__start, __Symbol::Variant6(__nt), __end)); (0, 1) } @@ -23693,7 +23682,7 @@ mod __parse__Top { { // ("," DictElement) = ",", DictElement => ActionFn(422); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant69(__symbols); + let __sym1 = __pop_Variant68(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -23739,7 +23728,7 @@ mod __parse__Top { { // ("," DictElement)+ = ",", DictElement => ActionFn(696); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant69(__symbols); + let __sym1 = __pop_Variant68(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -23756,7 +23745,7 @@ mod __parse__Top { { // ("," DictElement)+ = ("," DictElement)+, ",", DictElement => ActionFn(697); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant69(__symbols); + let __sym2 = __pop_Variant68(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant14(__symbols); let __start = __sym0.0; @@ -23855,7 +23844,7 @@ mod __parse__Top { { // ("," Identifier) = ",", Identifier => ActionFn(375); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -23901,7 +23890,7 @@ mod __parse__Top { { // ("," Identifier)+ = ",", Identifier => ActionFn(704); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -23918,7 +23907,7 @@ mod __parse__Top { { // ("," Identifier)+ = ("," Identifier)+, ",", Identifier => ActionFn(705); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant18(__symbols); let __start = __sym0.0; @@ -23934,15 +23923,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias) = ",", DottedName, "as", Identifier => ActionFn(1082); + // ("," ImportAsAlias) = ",", DottedName, "as", Identifier => ActionFn(1132); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1082::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1132::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant19(__nt), __end)); (4, 20) } @@ -23953,13 +23942,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias) = ",", DottedName => ActionFn(1083); + // ("," ImportAsAlias) = ",", DottedName => ActionFn(1133); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1083::<>(__sym0, __sym1); + let __nt = super::__action1133::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant19(__nt), __end)); (2, 20) } @@ -23999,15 +23988,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ",", DottedName, "as", Identifier => ActionFn(1086); + // ("," ImportAsAlias)+ = ",", DottedName, "as", Identifier => ActionFn(1136); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1086::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1136::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (4, 22) } @@ -24018,13 +24007,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ",", DottedName => ActionFn(1087); + // ("," ImportAsAlias)+ = ",", DottedName => ActionFn(1137); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1087::<>(__sym0, __sym1); + let __nt = super::__action1137::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (2, 22) } @@ -24035,16 +24024,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", DottedName, "as", Identifier => ActionFn(1088); + // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", DottedName, "as", Identifier => ActionFn(1138); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant73(__symbols); + let __sym4 = __pop_Variant72(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant20(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1088::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1138::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (5, 22) } @@ -24055,14 +24044,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", DottedName => ActionFn(1089); + // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", DottedName => ActionFn(1139); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant20(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1089::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1139::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (3, 22) } @@ -24073,15 +24062,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias) = ",", Identifier, "as", Identifier => ActionFn(1094); + // ("," ImportAsAlias) = ",", Identifier, "as", Identifier => ActionFn(1144); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1094::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1144::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant19(__nt), __end)); (4, 23) } @@ -24092,13 +24081,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias) = ",", Identifier => ActionFn(1095); + // ("," ImportAsAlias) = ",", Identifier => ActionFn(1145); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1095::<>(__sym0, __sym1); + let __nt = super::__action1145::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant19(__nt), __end)); (2, 23) } @@ -24138,15 +24127,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ",", Identifier, "as", Identifier => ActionFn(1098); + // ("," ImportAsAlias)+ = ",", Identifier, "as", Identifier => ActionFn(1148); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1098::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1148::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (4, 25) } @@ -24157,13 +24146,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ",", Identifier => ActionFn(1099); + // ("," ImportAsAlias)+ = ",", Identifier => ActionFn(1149); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1099::<>(__sym0, __sym1); + let __nt = super::__action1149::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (2, 25) } @@ -24174,16 +24163,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", Identifier, "as", Identifier => ActionFn(1100); + // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", Identifier, "as", Identifier => ActionFn(1150); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant73(__symbols); + let __sym4 = __pop_Variant72(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant20(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1100::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1150::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (5, 25) } @@ -24194,14 +24183,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", Identifier => ActionFn(1101); + // ("," ImportAsAlias)+ = ("," ImportAsAlias)+, ",", Identifier => ActionFn(1151); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant20(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1101::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1151::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant20(__nt), __end)); (3, 25) } @@ -24214,7 +24203,7 @@ mod __parse__Top { { // ("," KwargParameter) = ",", KwargParameter => ActionFn(402); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant84(__symbols); + let __sym1 = __pop_Variant83(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -24229,13 +24218,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," KwargParameter)? = ",", KwargParameter => ActionFn(1106); + // ("," KwargParameter)? = ",", KwargParameter => ActionFn(1156); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant84(__symbols); + let __sym1 = __pop_Variant83(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1106::<>(__sym0, __sym1); + let __nt = super::__action1156::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant22(__nt), __end)); (2, 27) } @@ -24262,7 +24251,7 @@ mod __parse__Top { { // ("," KwargParameter) = ",", KwargParameter => ActionFn(410); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant84(__symbols); + let __sym1 = __pop_Variant83(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -24277,13 +24266,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," KwargParameter)? = ",", KwargParameter => ActionFn(1111); + // ("," KwargParameter)? = ",", KwargParameter => ActionFn(1161); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant84(__symbols); + let __sym1 = __pop_Variant83(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1111::<>(__sym0, __sym1); + let __nt = super::__action1161::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant22(__nt), __end)); (2, 29) } @@ -24310,7 +24299,7 @@ mod __parse__Top { { // ("," MatchKeywordEntry) = ",", MatchKeywordEntry => ActionFn(392); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant87(__symbols); + let __sym1 = __pop_Variant86(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -24354,13 +24343,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," MatchKeywordEntry)+ = ",", MatchKeywordEntry => ActionFn(1116); + // ("," MatchKeywordEntry)+ = ",", MatchKeywordEntry => ActionFn(1166); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant87(__symbols); + let __sym1 = __pop_Variant86(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1116::<>(__sym0, __sym1); + let __nt = super::__action1166::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant24(__nt), __end)); (2, 32) } @@ -24371,14 +24360,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," MatchKeywordEntry)+ = ("," MatchKeywordEntry)+, ",", MatchKeywordEntry => ActionFn(1117); + // ("," MatchKeywordEntry)+ = ("," MatchKeywordEntry)+, ",", MatchKeywordEntry => ActionFn(1167); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant24(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1117::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1167::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant24(__nt), __end)); (3, 32) } @@ -24391,7 +24380,7 @@ mod __parse__Top { { // ("," MatchMappingEntry) = ",", MatchMappingEntry => ActionFn(389); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -24435,13 +24424,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," MatchMappingEntry)+ = ",", MatchMappingEntry => ActionFn(1120); + // ("," MatchMappingEntry)+ = ",", MatchMappingEntry => ActionFn(1170); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1120::<>(__sym0, __sym1); + let __nt = super::__action1170::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant26(__nt), __end)); (2, 35) } @@ -24452,14 +24441,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," MatchMappingEntry)+ = ("," MatchMappingEntry)+, ",", MatchMappingEntry => ActionFn(1121); + // ("," MatchMappingEntry)+ = ("," MatchMappingEntry)+, ",", MatchMappingEntry => ActionFn(1171); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant88(__symbols); + let __sym2 = __pop_Variant87(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant26(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1121::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1171::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant26(__nt), __end)); (3, 35) } @@ -24472,7 +24461,7 @@ mod __parse__Top { { // ("," ParameterDef) = ",", ParameterDef => ActionFn(472); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant93(__symbols); + let __sym1 = __pop_Variant92(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -24516,13 +24505,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ParameterDef)+ = ",", ParameterDef => ActionFn(1124); + // ("," ParameterDef)+ = ",", ParameterDef => ActionFn(1174); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant93(__symbols); + let __sym1 = __pop_Variant92(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1124::<>(__sym0, __sym1); + let __nt = super::__action1174::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant28(__nt), __end)); (2, 38) } @@ -24533,14 +24522,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ParameterDef)+ = ("," ParameterDef)+, ",", ParameterDef => ActionFn(1125); + // ("," ParameterDef)+ = ("," ParameterDef)+, ",", ParameterDef => ActionFn(1175); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant93(__symbols); + let __sym2 = __pop_Variant92(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant28(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1125::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1175::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant28(__nt), __end)); (3, 38) } @@ -24553,7 +24542,7 @@ mod __parse__Top { { // ("," ParameterDef) = ",", ParameterDef => ActionFn(462); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant93(__symbols); + let __sym1 = __pop_Variant92(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -24597,13 +24586,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ParameterDef)+ = ",", ParameterDef => ActionFn(1134); + // ("," ParameterDef)+ = ",", ParameterDef => ActionFn(1184); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant93(__symbols); + let __sym1 = __pop_Variant92(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1134::<>(__sym0, __sym1); + let __nt = super::__action1184::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant28(__nt), __end)); (2, 41) } @@ -24614,14 +24603,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," ParameterDef)+ = ("," ParameterDef)+, ",", ParameterDef => ActionFn(1135); + // ("," ParameterDef)+ = ("," ParameterDef)+, ",", ParameterDef => ActionFn(1185); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant93(__symbols); + let __sym2 = __pop_Variant92(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant28(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1135::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1185::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant28(__nt), __end)); (3, 41) } @@ -24706,13 +24695,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Pattern)+ = ",", Pattern => ActionFn(1262); + // ("," Pattern)+ = ",", Pattern => ActionFn(1312); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1262::<>(__sym0, __sym1); + let __nt = super::__action1312::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant32(__nt), __end)); (2, 48) } @@ -24723,14 +24712,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Pattern)+ = ("," Pattern)+, ",", Pattern => ActionFn(1263); + // ("," Pattern)+ = ("," Pattern)+, ",", Pattern => ActionFn(1313); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant32(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1263::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1313::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant32(__nt), __end)); (3, 48) } @@ -24787,13 +24776,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Subscript)+ = ",", Subscript => ActionFn(1266); + // ("," Subscript)+ = ",", Subscript => ActionFn(1316); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1266::<>(__sym0, __sym1); + let __nt = super::__action1316::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (2, 51) } @@ -24804,14 +24793,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Subscript)+ = ("," Subscript)+, ",", Subscript => ActionFn(1267); + // ("," Subscript)+ = ("," Subscript)+, ",", Subscript => ActionFn(1317); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant16(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1267::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1317::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (3, 51) } @@ -24868,13 +24857,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Test<"all">)+ = ",", Test<"all"> => ActionFn(1272); + // ("," Test<"all">)+ = ",", Test<"all"> => ActionFn(1322); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1272::<>(__sym0, __sym1); + let __nt = super::__action1322::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (2, 54) } @@ -24885,14 +24874,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Test<"all">)+ = ("," Test<"all">)+, ",", Test<"all"> => ActionFn(1273); + // ("," Test<"all">)+ = ("," Test<"all">)+, ",", Test<"all"> => ActionFn(1323); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant16(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1273::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1323::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (3, 54) } @@ -24903,13 +24892,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," Test<"all">)? = ",", Test<"all"> => ActionFn(1274); + // ("," Test<"all">)? = ",", Test<"all"> => ActionFn(1324); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1274::<>(__sym0, __sym1); + let __nt = super::__action1324::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant33(__nt), __end)); (2, 55) } @@ -24980,13 +24969,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," TestOrStarExpr)+ = ",", TestOrStarExpr => ActionFn(1279); + // ("," TestOrStarExpr)+ = ",", TestOrStarExpr => ActionFn(1329); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1279::<>(__sym0, __sym1); + let __nt = super::__action1329::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (2, 58) } @@ -24997,14 +24986,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," TestOrStarExpr)+ = ("," TestOrStarExpr)+, ",", TestOrStarExpr => ActionFn(1280); + // ("," TestOrStarExpr)+ = ("," TestOrStarExpr)+, ",", TestOrStarExpr => ActionFn(1330); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant16(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1280::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1330::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (3, 58) } @@ -25061,13 +25050,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," TestOrStarNamedExpr)+ = ",", TestOrStarNamedExpr => ActionFn(1283); + // ("," TestOrStarNamedExpr)+ = ",", TestOrStarNamedExpr => ActionFn(1333); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1283::<>(__sym0, __sym1); + let __nt = super::__action1333::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (2, 61) } @@ -25078,14 +25067,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("," TestOrStarNamedExpr)+ = ("," TestOrStarNamedExpr)+, ",", TestOrStarNamedExpr => ActionFn(1284); + // ("," TestOrStarNamedExpr)+ = ("," TestOrStarNamedExpr)+, ",", TestOrStarNamedExpr => ActionFn(1334); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant16(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1284::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1334::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (3, 61) } @@ -25113,13 +25102,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("->" Test<"all">)? = "->", Test<"all"> => ActionFn(1287); + // ("->" Test<"all">)? = "->", Test<"all"> => ActionFn(1337); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1287::<>(__sym0, __sym1); + let __nt = super::__action1337::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant33(__nt), __end)); (2, 63) } @@ -25146,7 +25135,7 @@ mod __parse__Top { { // ("." Identifier) = ".", Identifier => ActionFn(319); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -25161,13 +25150,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("." Identifier)+ = ".", Identifier => ActionFn(1292); + // ("." Identifier)+ = ".", Identifier => ActionFn(1342); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1292::<>(__sym0, __sym1); + let __nt = super::__action1342::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant18(__nt), __end)); (2, 65) } @@ -25178,14 +25167,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("." Identifier)+ = ("." Identifier)+, ".", Identifier => ActionFn(1293); + // ("." Identifier)+ = ("." Identifier)+, ".", Identifier => ActionFn(1343); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant18(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1293::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1343::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant18(__nt), __end)); (3, 65) } @@ -25213,13 +25202,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (":" Test<"all">)? = ":", Test<"all"> => ActionFn(1294); + // (":" Test<"all">)? = ":", Test<"all"> => ActionFn(1344); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1294::<>(__sym0, __sym1); + let __nt = super::__action1344::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant33(__nt), __end)); (2, 67) } @@ -25261,13 +25250,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (":" TestOrStarExpr)? = ":", TestOrStarExpr => ActionFn(1297); + // (":" TestOrStarExpr)? = ":", TestOrStarExpr => ActionFn(1347); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1297::<>(__sym0, __sym1); + let __nt = super::__action1347::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant33(__nt), __end)); (2, 69) } @@ -25292,13 +25281,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (";" SmallStatement) = ";", SmallStatement => ActionFn(348); + // (";" SmallStatement) = ";", SmallStatement => ActionFn(346); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant61(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action348::<>(__sym0, __sym1); + let __nt = super::__action346::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant34(__nt), __end)); (2, 70) } @@ -25309,10 +25298,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (";" SmallStatement)* = => ActionFn(346); + // (";" SmallStatement)* = => ActionFn(344); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action346::<>(&__start, &__end); + let __nt = super::__action344::<>(&__start, &__end); __symbols.push((__start, __Symbol::Variant35(__nt), __end)); (0, 71) } @@ -25323,11 +25312,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (";" SmallStatement)* = (";" SmallStatement)+ => ActionFn(347); + // (";" SmallStatement)* = (";" SmallStatement)+ => ActionFn(345); let __sym0 = __pop_Variant35(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action347::<>(__sym0); + let __nt = super::__action345::<>(__sym0); __symbols.push((__start, __Symbol::Variant35(__nt), __end)); (1, 71) } @@ -25338,13 +25327,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (";" SmallStatement)+ = ";", SmallStatement => ActionFn(1300); + // (";" SmallStatement)+ = ";", SmallStatement => ActionFn(1350); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant61(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1300::<>(__sym0, __sym1); + let __nt = super::__action1350::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant35(__nt), __end)); (2, 72) } @@ -25355,14 +25344,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (";" SmallStatement)+ = (";" SmallStatement)+, ";", SmallStatement => ActionFn(1301); + // (";" SmallStatement)+ = (";" SmallStatement)+, ";", SmallStatement => ActionFn(1351); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant61(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant35(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1301::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1351::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant35(__nt), __end)); (3, 72) } @@ -25373,11 +25362,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("\n") = "\n" => ActionFn(355); + // ("\n") = "\n" => ActionFn(353); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action355::<>(__sym0); + let __nt = super::__action353::<>(__sym0); __symbols.push((__start, __Symbol::Variant0(__nt), __end)); (1, 73) } @@ -25388,10 +25377,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("\n")* = => ActionFn(353); + // ("\n")* = => ActionFn(351); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action353::<>(&__start, &__end); + let __nt = super::__action351::<>(&__start, &__end); __symbols.push((__start, __Symbol::Variant36(__nt), __end)); (0, 74) } @@ -25402,11 +25391,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("\n")* = ("\n")+ => ActionFn(354); + // ("\n")* = ("\n")+ => ActionFn(352); let __sym0 = __pop_Variant36(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action354::<>(__sym0); + let __nt = super::__action352::<>(__sym0); __symbols.push((__start, __Symbol::Variant36(__nt), __end)); (1, 74) } @@ -25417,11 +25406,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("\n")+ = "\n" => ActionFn(1306); + // ("\n")+ = "\n" => ActionFn(1356); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1306::<>(__sym0); + let __nt = super::__action1356::<>(__sym0); __symbols.push((__start, __Symbol::Variant36(__nt), __end)); (1, 75) } @@ -25432,13 +25421,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("\n")+ = ("\n")+, "\n" => ActionFn(1307); + // ("\n")+ = ("\n")+, "\n" => ActionFn(1357); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant36(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1307::<>(__sym0, __sym1); + let __nt = super::__action1357::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant36(__nt), __end)); (2, 75) } @@ -25466,13 +25455,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("and" NotTest<"all">)+ = "and", NotTest<"all"> => ActionFn(1310); + // ("and" NotTest<"all">)+ = "and", NotTest<"all"> => ActionFn(1360); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1310::<>(__sym0, __sym1); + let __nt = super::__action1360::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (2, 77) } @@ -25483,14 +25472,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("and" NotTest<"all">)+ = ("and" NotTest<"all">)+, "and", NotTest<"all"> => ActionFn(1311); + // ("and" NotTest<"all">)+ = ("and" NotTest<"all">)+, "and", NotTest<"all"> => ActionFn(1361); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant16(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1311::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1361::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (3, 77) } @@ -25503,7 +25492,7 @@ mod __parse__Top { { // ("as" Identifier) = "as", Identifier => ActionFn(369); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; @@ -25518,13 +25507,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("as" Identifier)? = "as", Identifier => ActionFn(877); + // ("as" Identifier)? = "as", Identifier => ActionFn(903); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action877::<>(__sym0, __sym1); + let __nt = super::__action903::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant37(__nt), __end)); (2, 79) } @@ -25551,7 +25540,7 @@ mod __parse__Top { { // ("else" ":" Suite) = "else", ":", Suite => ActionFn(293); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant76(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; @@ -25567,14 +25556,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("else" ":" Suite)? = "else", ":", Suite => ActionFn(1312); + // ("else" ":" Suite)? = "else", ":", Suite => ActionFn(1362); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant76(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1312::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1362::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant39(__nt), __end)); (3, 81) } @@ -25601,7 +25590,7 @@ mod __parse__Top { { // ("finally" ":" Suite) = "finally", ":", Suite => ActionFn(286); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant76(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; @@ -25617,14 +25606,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("finally" ":" Suite)? = "finally", ":", Suite => ActionFn(1325); + // ("finally" ":" Suite)? = "finally", ":", Suite => ActionFn(1375); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant76(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1325::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1375::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant39(__nt), __end)); (3, 83) } @@ -25666,13 +25655,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("from" Test<"all">)? = "from", Test<"all"> => ActionFn(1335); + // ("from" Test<"all">)? = "from", Test<"all"> => ActionFn(1385); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1335::<>(__sym0, __sym1); + let __nt = super::__action1385::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant33(__nt), __end)); (2, 85) } @@ -25714,13 +25703,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("or" AndTest<"all">)+ = "or", AndTest<"all"> => ActionFn(1338); + // ("or" AndTest<"all">)+ = "or", AndTest<"all"> => ActionFn(1388); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1338::<>(__sym0, __sym1); + let __nt = super::__action1388::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (2, 87) } @@ -25731,14 +25720,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("or" AndTest<"all">)+ = ("or" AndTest<"all">)+, "or", AndTest<"all"> => ActionFn(1339); + // ("or" AndTest<"all">)+ = ("or" AndTest<"all">)+, "or", AndTest<"all"> => ActionFn(1389); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant16(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1339::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1389::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant16(__nt), __end)); (3, 87) } @@ -25766,13 +25755,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("|" )+ = "|", ClosedPattern => ActionFn(1340); + // ("|" )+ = "|", ClosedPattern => ActionFn(1390); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1340::<>(__sym0, __sym1); + let __nt = super::__action1390::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant41(__nt), __end)); (2, 89) } @@ -25783,14 +25772,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ("|" )+ = ("|" )+, "|", ClosedPattern => ActionFn(1341); + // ("|" )+ = ("|" )+, "|", ClosedPattern => ActionFn(1391); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant41(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1341::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1391::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant41(__nt), __end)); (3, 89) } @@ -25847,13 +25836,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",")+ = FunctionArgument, "," => ActionFn(1342); + // ( ",")+ = FunctionArgument, "," => ActionFn(1392); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant42(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1342::<>(__sym0, __sym1); + let __nt = super::__action1392::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant43(__nt), __end)); (2, 92) } @@ -25864,14 +25853,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",")+ = ( ",")+, FunctionArgument, "," => ActionFn(1343); + // ( ",")+ = ( ",")+, FunctionArgument, "," => ActionFn(1393); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant42(__symbols); let __sym0 = __pop_Variant43(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1343::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1393::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant43(__nt), __end)); (3, 92) } @@ -25882,13 +25871,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (>> ",") = Test<"all">, "," => ActionFn(1346); + // (>> ",") = Test<"all">, "," => ActionFn(1396); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1346::<>(__sym0, __sym1); + let __nt = super::__action1396::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 93) } @@ -25899,14 +25888,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (>> ",") = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1347); + // (>> ",") = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1397); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1347::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1397::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (3, 93) } @@ -25917,13 +25906,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (>> ",")? = Test<"all">, "," => ActionFn(1354); + // (>> ",")? = Test<"all">, "," => ActionFn(1404); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1354::<>(__sym0, __sym1); + let __nt = super::__action1404::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant45(__nt), __end)); (2, 94) } @@ -25934,14 +25923,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (>> ",")? = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1355); + // (>> ",")? = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1405); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1355::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1405::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant45(__nt), __end)); (3, 94) } @@ -26012,13 +26001,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",")+ = Pattern, "," => ActionFn(1380); + // ( ",")+ = Pattern, "," => ActionFn(1430); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1380::<>(__sym0, __sym1); + let __nt = super::__action1430::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant41(__nt), __end)); (2, 97) } @@ -26029,14 +26018,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",")+ = ( ",")+, Pattern, "," => ActionFn(1381); + // ( ",")+ = ( ",")+, Pattern, "," => ActionFn(1431); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant41(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1381::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1431::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant41(__nt), __end)); (3, 97) } @@ -26047,13 +26036,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",") = Test<"all">, "," => ActionFn(1384); + // ( ",") = Test<"all">, "," => ActionFn(1434); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1384::<>(__sym0, __sym1); + let __nt = super::__action1434::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (2, 98) } @@ -26064,14 +26053,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",") = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1385); + // ( ",") = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1435); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1385::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1435::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (3, 98) } @@ -26082,13 +26071,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",")? = Test<"all">, "," => ActionFn(1390); + // ( ",")? = Test<"all">, "," => ActionFn(1440); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1390::<>(__sym0, __sym1); + let __nt = super::__action1440::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant47(__nt), __end)); (2, 99) } @@ -26099,14 +26088,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ( ",")? = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1391); + // ( ",")? = Test<"all">, ("," Test<"all">)+, "," => ActionFn(1441); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1391::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1441::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant47(__nt), __end)); (3, 99) } @@ -26131,15 +26120,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (@L "elif" NamedExpressionTest ":" Suite) = "elif", NamedExpressionTest, ":", Suite => ActionFn(882); + // (@L "elif" NamedExpressionTest ":" Suite) = "elif", NamedExpressionTest, ":", Suite => ActionFn(908); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action882::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action908::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant48(__nt), __end)); (4, 100) } @@ -26179,15 +26168,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (@L "elif" NamedExpressionTest ":" Suite)+ = "elif", NamedExpressionTest, ":", Suite => ActionFn(1404); + // (@L "elif" NamedExpressionTest ":" Suite)+ = "elif", NamedExpressionTest, ":", Suite => ActionFn(1454); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1404::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1454::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant49(__nt), __end)); (4, 102) } @@ -26198,16 +26187,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (@L "elif" NamedExpressionTest ":" Suite)+ = (@L "elif" NamedExpressionTest ":" Suite)+, "elif", NamedExpressionTest, ":", Suite => ActionFn(1405); + // (@L "elif" NamedExpressionTest ":" Suite)+ = (@L "elif" NamedExpressionTest ":" Suite)+, "elif", NamedExpressionTest, ":", Suite => ActionFn(1455); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant76(__symbols); + let __sym4 = __pop_Variant75(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant49(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1405::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1455::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant49(__nt), __end)); (5, 102) } @@ -26218,11 +26207,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (@L string @R) = string => ActionFn(883); + // (@L string @R) = string => ActionFn(909); let __sym0 = __pop_Variant5(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action883::<>(__sym0); + let __nt = super::__action909::<>(__sym0); __symbols.push((__start, __Symbol::Variant50(__nt), __end)); (1, 103) } @@ -26233,11 +26222,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (@L string @R)+ = string => ActionFn(1410); + // (@L string @R)+ = string => ActionFn(1460); let __sym0 = __pop_Variant5(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1410::<>(__sym0); + let __nt = super::__action1460::<>(__sym0); __symbols.push((__start, __Symbol::Variant51(__nt), __end)); (1, 104) } @@ -26248,13 +26237,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (@L string @R)+ = (@L string @R)+, string => ActionFn(1411); + // (@L string @R)+ = (@L string @R)+, string => ActionFn(1461); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant5(__symbols); let __sym0 = __pop_Variant51(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1411::<>(__sym0, __sym1); + let __nt = super::__action1461::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant51(__nt), __end)); (2, 104) } @@ -26268,7 +26257,7 @@ mod __parse__Top { // (CompOp Expression<"all">) = CompOp, Expression<"all"> => ActionFn(513); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); - let __sym0 = __pop_Variant67(__symbols); + let __sym0 = __pop_Variant66(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action513::<>(__sym0, __sym1); @@ -26282,13 +26271,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (CompOp Expression<"all">)+ = CompOp, Expression<"all"> => ActionFn(1412); + // (CompOp Expression<"all">)+ = CompOp, Expression<"all"> => ActionFn(1462); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); - let __sym0 = __pop_Variant67(__symbols); + let __sym0 = __pop_Variant66(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1412::<>(__sym0, __sym1); + let __nt = super::__action1462::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant53(__nt), __end)); (2, 106) } @@ -26299,14 +26288,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (CompOp Expression<"all">)+ = (CompOp Expression<"all">)+, CompOp, Expression<"all"> => ActionFn(1413); + // (CompOp Expression<"all">)+ = (CompOp Expression<"all">)+, CompOp, Expression<"all"> => ActionFn(1463); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); - let __sym1 = __pop_Variant67(__symbols); + let __sym1 = __pop_Variant66(__symbols); let __sym0 = __pop_Variant53(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1413::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1463::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant53(__nt), __end)); (3, 106) } @@ -26332,11 +26321,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (Guard)? = Guard => ActionFn(1414); + // (Guard)? = Guard => ActionFn(1464); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1414::<>(__sym0); + let __nt = super::__action1464::<>(__sym0); __symbols.push((__start, __Symbol::Variant54(__nt), __end)); (1, 108) } @@ -26376,11 +26365,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // (ParameterList)? = ParameterList => ActionFn(1417); + // (ParameterList)? = ParameterList => ActionFn(1467); let __sym0 = __pop_Variant55(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1417::<>(__sym0); + let __nt = super::__action1467::<>(__sym0); __symbols.push((__start, __Symbol::Variant56(__nt), __end)); (1, 110) } @@ -26407,7 +26396,7 @@ mod __parse__Top { { // (Test<"all"> "as" Identifier) = Test<"all">, "as", Identifier => ActionFn(281); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; @@ -26423,10 +26412,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // @L = => ActionFn(343); + // @L = => ActionFn(355); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action343::<>(&__start, &__end); + let __nt = super::__action355::<>(&__start, &__end); __symbols.push((__start, __Symbol::Variant58(__nt), __end)); (0, 112) } @@ -26437,10 +26426,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // @R = => ActionFn(342); + // @R = => ActionFn(354); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action342::<>(&__start, &__end); + let __nt = super::__action354::<>(&__start, &__end); __symbols.push((__start, __Symbol::Variant58(__nt), __end)); (0, 113) } @@ -26481,14 +26470,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AddOpExpr = ConstantExpr, AddOp, ConstantAtom => ActionFn(884); + // AddOpExpr = ConstantExpr, AddOp, ConstantAtom => ActionFn(910); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action884::<>(__sym0, __sym1, __sym2); + let __nt = super::__action910::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 115) } @@ -26499,14 +26488,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AndExpression<"all"> = AndExpression<"all">, "&", ShiftExpression<"all"> => ActionFn(885); + // AndExpression<"all"> = AndExpression<"all">, "&", ShiftExpression<"all"> => ActionFn(911); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action885::<>(__sym0, __sym1, __sym2); + let __nt = super::__action911::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 116) } @@ -26532,14 +26521,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AndExpression<"no-withitems"> = AndExpression<"all">, "&", ShiftExpression<"all"> => ActionFn(886); + // AndExpression<"no-withitems"> = AndExpression<"all">, "&", ShiftExpression<"all"> => ActionFn(912); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action886::<>(__sym0, __sym1, __sym2); + let __nt = super::__action912::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 117) } @@ -26565,13 +26554,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AndTest<"all"> = NotTest<"all">, ("and" NotTest<"all">)+ => ActionFn(887); + // AndTest<"all"> = NotTest<"all">, ("and" NotTest<"all">)+ => ActionFn(913); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action887::<>(__sym0, __sym1); + let __nt = super::__action913::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 118) } @@ -26597,13 +26586,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AndTest<"no-withitems"> = NotTest<"all">, ("and" NotTest<"all">)+ => ActionFn(888); + // AndTest<"no-withitems"> = NotTest<"all">, ("and" NotTest<"all">)+ => ActionFn(914); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action888::<>(__sym0, __sym1); + let __nt = super::__action914::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 119) } @@ -26629,14 +26618,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ArithmeticExpression<"all"> = ArithmeticExpression<"all">, AddOp, Term<"all"> => ActionFn(889); + // ArithmeticExpression<"all"> = ArithmeticExpression<"all">, AddOp, Term<"all"> => ActionFn(915); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action889::<>(__sym0, __sym1, __sym2); + let __nt = super::__action915::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 121) } @@ -26662,14 +26651,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ArithmeticExpression<"no-withitems"> = ArithmeticExpression<"all">, AddOp, Term<"all"> => ActionFn(890); + // ArithmeticExpression<"no-withitems"> = ArithmeticExpression<"all">, AddOp, Term<"all"> => ActionFn(916); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action890::<>(__sym0, __sym1, __sym2); + let __nt = super::__action916::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 122) } @@ -26695,7 +26684,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AssertStatement = "assert", Test<"all">, ",", Test<"all"> => ActionFn(1277); + // AssertStatement = "assert", Test<"all">, ",", Test<"all"> => ActionFn(1327); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -26703,7 +26692,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1277::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1327::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 124) } @@ -26714,13 +26703,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AssertStatement = "assert", Test<"all"> => ActionFn(1278); + // AssertStatement = "assert", Test<"all"> => ActionFn(1328); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1278::<>(__sym0, __sym1); + let __nt = super::__action1328::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 124) } @@ -26838,11 +26827,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = Constant => ActionFn(894); - let __sym0 = __pop_Variant68(__symbols); + // Atom<"all"> = Constant => ActionFn(920); + let __sym0 = __pop_Variant67(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action894::<>(__sym0); + let __nt = super::__action920::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 129) } @@ -26853,11 +26842,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = Identifier => ActionFn(895); - let __sym0 = __pop_Variant73(__symbols); + // Atom<"all"> = Identifier => ActionFn(921); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action895::<>(__sym0); + let __nt = super::__action921::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 129) } @@ -26868,14 +26857,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "[", ListLiteralValues, "]" => ActionFn(1472); + // Atom<"all"> = "[", ListLiteralValues, "]" => ActionFn(1522); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant44(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1472::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1522::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 129) } @@ -26886,13 +26875,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "[", "]" => ActionFn(1473); + // Atom<"all"> = "[", "]" => ActionFn(1523); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1473::<>(__sym0, __sym1); + let __nt = super::__action1523::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 129) } @@ -26903,15 +26892,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "[", TestOrStarNamedExpr, CompFor, "]" => ActionFn(897); + // Atom<"all"> = "[", TestOrStarNamedExpr, CompFor, "]" => ActionFn(923); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); + let __sym2 = __pop_Variant64(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action897::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action923::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 129) } @@ -26922,7 +26911,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "(", Test<"all">, ",", ")" => ActionFn(1348); + // Atom<"all"> = "(", Test<"all">, ",", ")" => ActionFn(1398); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -26930,7 +26919,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1348::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1398::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 129) } @@ -26941,7 +26930,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", ")" => ActionFn(1349); + // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ",", ")" => ActionFn(1399); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -26950,7 +26939,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1349::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1399::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (5, 129) } @@ -26961,14 +26950,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "(", Test<"all">, ")" => ActionFn(1350); + // Atom<"all"> = "(", Test<"all">, ")" => ActionFn(1400); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1350::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1400::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 129) } @@ -26979,7 +26968,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ")" => ActionFn(1351); + // Atom<"all"> = "(", Test<"all">, ("," Test<"all">)+, ")" => ActionFn(1401); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant16(__symbols); @@ -26987,7 +26976,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1351::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1401::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 129) } @@ -26998,13 +26987,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "(", ")" => ActionFn(904); + // Atom<"all"> = "(", ")" => ActionFn(930); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action904::<>(__sym0, __sym1); + let __nt = super::__action930::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 129) } @@ -27033,15 +27022,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "(", NamedExpressionTest, CompFor, ")" => ActionFn(905); + // Atom<"all"> = "(", NamedExpressionTest, CompFor, ")" => ActionFn(931); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); + let __sym2 = __pop_Variant64(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action905::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action931::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 129) } @@ -27052,14 +27041,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "{", DictLiteralValues, "}" => ActionFn(1464); + // Atom<"all"> = "{", DictLiteralValues, "}" => ActionFn(1514); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant71(__symbols); + let __sym1 = __pop_Variant70(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1464::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1514::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 129) } @@ -27070,13 +27059,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "{", "}" => ActionFn(1465); + // Atom<"all"> = "{", "}" => ActionFn(1515); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1465::<>(__sym0, __sym1); + let __nt = super::__action1515::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 129) } @@ -27087,15 +27076,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "{", DictEntry, CompFor, "}" => ActionFn(908); + // Atom<"all"> = "{", DictEntry, CompFor, "}" => ActionFn(934); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); - let __sym1 = __pop_Variant70(__symbols); + let __sym2 = __pop_Variant64(__symbols); + let __sym1 = __pop_Variant69(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action908::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action934::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 129) } @@ -27106,14 +27095,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "{", SetLiteralValues, "}" => ActionFn(909); + // Atom<"all"> = "{", SetLiteralValues, "}" => ActionFn(935); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant44(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action909::<>(__sym0, __sym1, __sym2); + let __nt = super::__action935::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 129) } @@ -27124,15 +27113,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "{", NamedExpressionTest, CompFor, "}" => ActionFn(910); + // Atom<"all"> = "{", NamedExpressionTest, CompFor, "}" => ActionFn(936); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); + let __sym2 = __pop_Variant64(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action910::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action936::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 129) } @@ -27143,11 +27132,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "True" => ActionFn(911); + // Atom<"all"> = "True" => ActionFn(937); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action911::<>(__sym0); + let __nt = super::__action937::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 129) } @@ -27158,11 +27147,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "False" => ActionFn(912); + // Atom<"all"> = "False" => ActionFn(938); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action912::<>(__sym0); + let __nt = super::__action938::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 129) } @@ -27173,11 +27162,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "None" => ActionFn(913); + // Atom<"all"> = "None" => ActionFn(939); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action913::<>(__sym0); + let __nt = super::__action939::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 129) } @@ -27188,11 +27177,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"all"> = "..." => ActionFn(914); + // Atom<"all"> = "..." => ActionFn(940); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action914::<>(__sym0); + let __nt = super::__action940::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 129) } @@ -27203,11 +27192,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = Constant => ActionFn(916); - let __sym0 = __pop_Variant68(__symbols); + // Atom<"no-withitems"> = Constant => ActionFn(942); + let __sym0 = __pop_Variant67(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action916::<>(__sym0); + let __nt = super::__action942::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 130) } @@ -27218,11 +27207,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = Identifier => ActionFn(917); - let __sym0 = __pop_Variant73(__symbols); + // Atom<"no-withitems"> = Identifier => ActionFn(943); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action917::<>(__sym0); + let __nt = super::__action943::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 130) } @@ -27233,14 +27222,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "[", ListLiteralValues, "]" => ActionFn(1474); + // Atom<"no-withitems"> = "[", ListLiteralValues, "]" => ActionFn(1524); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant44(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1474::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1524::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 130) } @@ -27251,13 +27240,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "[", "]" => ActionFn(1475); + // Atom<"no-withitems"> = "[", "]" => ActionFn(1525); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1475::<>(__sym0, __sym1); + let __nt = super::__action1525::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 130) } @@ -27268,15 +27257,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "[", TestOrStarNamedExpr, CompFor, "]" => ActionFn(919); + // Atom<"no-withitems"> = "[", TestOrStarNamedExpr, CompFor, "]" => ActionFn(945); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); + let __sym2 = __pop_Variant64(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action919::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action945::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 130) } @@ -27287,13 +27276,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "(", ")" => ActionFn(924); + // Atom<"no-withitems"> = "(", ")" => ActionFn(950); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action924::<>(__sym0, __sym1); + let __nt = super::__action950::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 130) } @@ -27322,15 +27311,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "(", NamedExpressionTest, CompFor, ")" => ActionFn(925); + // Atom<"no-withitems"> = "(", NamedExpressionTest, CompFor, ")" => ActionFn(951); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); + let __sym2 = __pop_Variant64(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action925::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action951::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 130) } @@ -27341,14 +27330,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "{", DictLiteralValues, "}" => ActionFn(1466); + // Atom<"no-withitems"> = "{", DictLiteralValues, "}" => ActionFn(1516); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant71(__symbols); + let __sym1 = __pop_Variant70(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1466::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1516::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 130) } @@ -27359,13 +27348,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "{", "}" => ActionFn(1467); + // Atom<"no-withitems"> = "{", "}" => ActionFn(1517); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1467::<>(__sym0, __sym1); + let __nt = super::__action1517::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 130) } @@ -27376,15 +27365,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "{", DictEntry, CompFor, "}" => ActionFn(928); + // Atom<"no-withitems"> = "{", DictEntry, CompFor, "}" => ActionFn(954); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); - let __sym1 = __pop_Variant70(__symbols); + let __sym2 = __pop_Variant64(__symbols); + let __sym1 = __pop_Variant69(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action928::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action954::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 130) } @@ -27395,14 +27384,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "{", SetLiteralValues, "}" => ActionFn(929); + // Atom<"no-withitems"> = "{", SetLiteralValues, "}" => ActionFn(955); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant44(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action929::<>(__sym0, __sym1, __sym2); + let __nt = super::__action955::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 130) } @@ -27413,15 +27402,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "{", NamedExpressionTest, CompFor, "}" => ActionFn(930); + // Atom<"no-withitems"> = "{", NamedExpressionTest, CompFor, "}" => ActionFn(956); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant65(__symbols); + let __sym2 = __pop_Variant64(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action930::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action956::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 130) } @@ -27432,11 +27421,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "True" => ActionFn(931); + // Atom<"no-withitems"> = "True" => ActionFn(957); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action931::<>(__sym0); + let __nt = super::__action957::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 130) } @@ -27447,11 +27436,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "False" => ActionFn(932); + // Atom<"no-withitems"> = "False" => ActionFn(958); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action932::<>(__sym0); + let __nt = super::__action958::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 130) } @@ -27462,11 +27451,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "None" => ActionFn(933); + // Atom<"no-withitems"> = "None" => ActionFn(959); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action933::<>(__sym0); + let __nt = super::__action959::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 130) } @@ -27477,11 +27466,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Atom<"no-withitems"> = "..." => ActionFn(934); + // Atom<"no-withitems"> = "..." => ActionFn(960); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action934::<>(__sym0); + let __nt = super::__action960::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 130) } @@ -27507,7 +27496,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr2<"all"> = AtomExpr2<"all">, "(", ArgumentList, ")" => ActionFn(935); + // AtomExpr2<"all"> = AtomExpr2<"all">, "(", ArgumentList, ")" => ActionFn(961); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant60(__symbols); @@ -27515,7 +27504,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action935::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action961::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 131) } @@ -27526,7 +27515,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr2<"all"> = AtomExpr2<"all">, "[", SubscriptList, "]" => ActionFn(936); + // AtomExpr2<"all"> = AtomExpr2<"all">, "[", SubscriptList, "]" => ActionFn(962); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); @@ -27534,7 +27523,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action936::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action962::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 131) } @@ -27545,14 +27534,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr2<"all"> = AtomExpr2<"all">, ".", Identifier => ActionFn(937); + // AtomExpr2<"all"> = AtomExpr2<"all">, ".", Identifier => ActionFn(963); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action937::<>(__sym0, __sym1, __sym2); + let __nt = super::__action963::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 131) } @@ -27578,7 +27567,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr2<"no-withitems"> = AtomExpr2<"all">, "(", ArgumentList, ")" => ActionFn(938); + // AtomExpr2<"no-withitems"> = AtomExpr2<"all">, "(", ArgumentList, ")" => ActionFn(964); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant60(__symbols); @@ -27586,7 +27575,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action938::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action964::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 132) } @@ -27597,7 +27586,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr2<"no-withitems"> = AtomExpr2<"all">, "[", SubscriptList, "]" => ActionFn(939); + // AtomExpr2<"no-withitems"> = AtomExpr2<"all">, "[", SubscriptList, "]" => ActionFn(965); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); @@ -27605,7 +27594,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action939::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action965::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 132) } @@ -27616,14 +27605,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr2<"no-withitems"> = AtomExpr2<"all">, ".", Identifier => ActionFn(940); + // AtomExpr2<"no-withitems"> = AtomExpr2<"all">, ".", Identifier => ActionFn(966); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action940::<>(__sym0, __sym1, __sym2); + let __nt = super::__action966::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 132) } @@ -27634,13 +27623,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr<"all"> = "await", AtomExpr2<"all"> => ActionFn(941); + // AtomExpr<"all"> = "await", AtomExpr2<"all"> => ActionFn(967); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action941::<>(__sym0, __sym1); + let __nt = super::__action967::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 133) } @@ -27666,13 +27655,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // AtomExpr<"no-withitems"> = "await", AtomExpr2<"all"> => ActionFn(942); + // AtomExpr<"no-withitems"> = "await", AtomExpr2<"all"> => ActionFn(968); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action942::<>(__sym0, __sym1); + let __nt = super::__action968::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 134) } @@ -27893,12 +27882,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // CapturePattern = Identifier => ActionFn(943); - let __sym0 = __pop_Variant73(__symbols); + // CapturePattern = Identifier => ActionFn(969); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action943::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action969::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 136) } pub(crate) fn __reduce341< @@ -27908,18 +27897,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassDef = "class", Identifier, "(", ArgumentList, ")", ":", Suite => ActionFn(1452); + // ClassDef = "class", Identifier, "(", ArgumentList, ")", ":", Suite => ActionFn(1502); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant60(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1452::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1502::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 137) } @@ -27930,19 +27919,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassDef = Decorator+, "class", Identifier, "(", ArgumentList, ")", ":", Suite => ActionFn(1453); + // ClassDef = Decorator+, "class", Identifier, "(", ArgumentList, ")", ":", Suite => ActionFn(1503); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant76(__symbols); + let __sym7 = __pop_Variant75(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant60(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant10(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1453::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + let __nt = super::__action1503::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (8, 137) } @@ -27953,15 +27942,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassDef = "class", Identifier, ":", Suite => ActionFn(1454); + // ClassDef = "class", Identifier, ":", Suite => ActionFn(1504); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1454::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1504::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 137) } @@ -27972,16 +27961,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassDef = Decorator+, "class", Identifier, ":", Suite => ActionFn(1455); + // ClassDef = Decorator+, "class", Identifier, ":", Suite => ActionFn(1505); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant76(__symbols); + let __sym4 = __pop_Variant75(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant10(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1455::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1505::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (5, 137) } @@ -27992,19 +27981,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ",", ")" => ActionFn(1544); + // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ",", ")" => ActionFn(1594); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1544::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1594::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 138) } pub(crate) fn __reduce346< @@ -28014,11 +28003,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ",", ")" => ActionFn(1545); + // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ",", ")" => ActionFn(1595); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28026,8 +28015,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1545::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1595::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 138) } pub(crate) fn __reduce347< @@ -28037,20 +28026,20 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1546); + // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1596); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant24(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1546::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1596::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 138) } pub(crate) fn __reduce348< @@ -28060,12 +28049,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1547); + // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1597); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant24(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28073,8 +28062,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = super::__action1547::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1597::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (9, 138) } pub(crate) fn __reduce349< @@ -28084,18 +28073,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ")" => ActionFn(1548); + // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ")" => ActionFn(1598); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1548::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1598::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 138) } pub(crate) fn __reduce350< @@ -28105,10 +28094,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ")" => ActionFn(1549); + // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ")" => ActionFn(1599); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28116,8 +28105,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1549::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1599::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 138) } pub(crate) fn __reduce351< @@ -28127,19 +28116,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1550); + // ClassPattern = MatchName, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1600); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant24(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1550::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1600::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 138) } pub(crate) fn __reduce352< @@ -28149,11 +28138,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1551); + // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1601); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant24(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28161,8 +28150,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1551::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1601::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 138) } pub(crate) fn __reduce353< @@ -28172,7 +28161,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ",", ")" => ActionFn(1552); + // ClassPattern = MatchName, "(", Pattern, ",", ")" => ActionFn(1602); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -28181,8 +28170,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1552::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1602::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce354< @@ -28192,7 +28181,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", ")" => ActionFn(1553); + // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ",", ")" => ActionFn(1603); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); @@ -28202,8 +28191,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1553::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1603::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 138) } pub(crate) fn __reduce355< @@ -28213,7 +28202,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ")" => ActionFn(1554); + // ClassPattern = MatchName, "(", Pattern, ")" => ActionFn(1604); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28221,8 +28210,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1554::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1604::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 138) } pub(crate) fn __reduce356< @@ -28232,7 +28221,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ")" => ActionFn(1555); + // ClassPattern = MatchName, "(", Pattern, ("," Pattern)+, ")" => ActionFn(1605); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); @@ -28241,8 +28230,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1555::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1605::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce357< @@ -28252,17 +28241,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", MatchKeywordEntry, ",", ")" => ActionFn(1512); + // ClassPattern = MatchName, "(", MatchKeywordEntry, ",", ")" => ActionFn(1562); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1512::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1562::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce358< @@ -28272,18 +28261,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1513); + // ClassPattern = MatchName, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1563); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant24(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1513::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1563::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 138) } pub(crate) fn __reduce359< @@ -28293,16 +28282,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", MatchKeywordEntry, ")" => ActionFn(1514); + // ClassPattern = MatchName, "(", MatchKeywordEntry, ")" => ActionFn(1564); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1514::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1564::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 138) } pub(crate) fn __reduce360< @@ -28312,17 +28301,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1515); + // ClassPattern = MatchName, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1565); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant24(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1515::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1565::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce361< @@ -28332,15 +28321,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchName, "(", ")" => ActionFn(952); + // ClassPattern = MatchName, "(", ")" => ActionFn(978); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action952::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action978::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 138) } pub(crate) fn __reduce362< @@ -28350,19 +28339,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ",", ")" => ActionFn(1556); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ",", ")" => ActionFn(1606); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1556::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1606::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 138) } pub(crate) fn __reduce363< @@ -28372,11 +28361,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ",", ")" => ActionFn(1557); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ",", ")" => ActionFn(1607); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28384,8 +28373,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1557::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1607::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 138) } pub(crate) fn __reduce364< @@ -28395,20 +28384,20 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1558); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1608); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant24(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1558::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1608::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 138) } pub(crate) fn __reduce365< @@ -28418,12 +28407,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1559); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1609); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant24(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28431,8 +28420,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = super::__action1559::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1609::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (9, 138) } pub(crate) fn __reduce366< @@ -28442,18 +28431,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ")" => ActionFn(1560); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ")" => ActionFn(1610); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1560::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1610::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 138) } pub(crate) fn __reduce367< @@ -28463,10 +28452,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ")" => ActionFn(1561); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ")" => ActionFn(1611); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28474,8 +28463,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1561::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1611::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 138) } pub(crate) fn __reduce368< @@ -28485,19 +28474,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1562); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1612); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant24(__symbols); - let __sym4 = __pop_Variant87(__symbols); + let __sym4 = __pop_Variant86(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1562::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1612::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 138) } pub(crate) fn __reduce369< @@ -28507,11 +28496,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1563); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1613); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant24(__symbols); - let __sym5 = __pop_Variant87(__symbols); + let __sym5 = __pop_Variant86(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28519,8 +28508,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1563::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1613::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 138) } pub(crate) fn __reduce370< @@ -28530,7 +28519,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", ")" => ActionFn(1564); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ",", ")" => ActionFn(1614); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -28539,8 +28528,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1564::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1614::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce371< @@ -28550,7 +28539,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", ")" => ActionFn(1565); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ",", ")" => ActionFn(1615); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); @@ -28560,8 +28549,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1565::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1615::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 138) } pub(crate) fn __reduce372< @@ -28571,7 +28560,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ")" => ActionFn(1566); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ")" => ActionFn(1616); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -28579,8 +28568,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1566::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1616::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 138) } pub(crate) fn __reduce373< @@ -28590,7 +28579,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ")" => ActionFn(1567); + // ClassPattern = MatchNameOrAttr, "(", Pattern, ("," Pattern)+, ")" => ActionFn(1617); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); @@ -28599,8 +28588,8 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1567::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1617::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce374< @@ -28610,17 +28599,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ",", ")" => ActionFn(1520); + // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ",", ")" => ActionFn(1570); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1520::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1570::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce375< @@ -28630,18 +28619,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1521); + // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ",", ")" => ActionFn(1571); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant24(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1521::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1571::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 138) } pub(crate) fn __reduce376< @@ -28651,16 +28640,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ")" => ActionFn(1522); + // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ")" => ActionFn(1572); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1522::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1572::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 138) } pub(crate) fn __reduce377< @@ -28670,17 +28659,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1523); + // ClassPattern = MatchNameOrAttr, "(", MatchKeywordEntry, ("," MatchKeywordEntry)+, ")" => ActionFn(1573); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant24(__symbols); - let __sym2 = __pop_Variant87(__symbols); + let __sym2 = __pop_Variant86(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1523::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1573::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 138) } pub(crate) fn __reduce378< @@ -28690,15 +28679,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClassPattern = MatchNameOrAttr, "(", ")" => ActionFn(959); + // ClassPattern = MatchNameOrAttr, "(", ")" => ActionFn(985); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action959::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action985::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 138) } pub(crate) fn __reduce379< @@ -28708,11 +28697,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = LiteralPattern => ActionFn(960); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = LiteralPattern => ActionFn(90); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action960::<>(__sym0); + let __nt = super::__action90::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28723,11 +28712,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = CapturePattern => ActionFn(961); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = CapturePattern => ActionFn(91); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action961::<>(__sym0); + let __nt = super::__action91::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28738,11 +28727,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = StarPattern => ActionFn(962); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = StarPattern => ActionFn(92); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action962::<>(__sym0); + let __nt = super::__action92::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28753,11 +28742,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = ValuePattern => ActionFn(963); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = ValuePattern => ActionFn(93); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action963::<>(__sym0); + let __nt = super::__action93::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28768,11 +28757,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = SequencePattern => ActionFn(964); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = SequencePattern => ActionFn(94); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action964::<>(__sym0); + let __nt = super::__action94::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28783,11 +28772,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = MappingPattern => ActionFn(965); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = MappingPattern => ActionFn(95); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action965::<>(__sym0); + let __nt = super::__action95::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28798,11 +28787,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ClosedPattern = ClassPattern => ActionFn(966); - let __sym0 = __pop_Variant62(__symbols); + // ClosedPattern = ClassPattern => ActionFn(96); + let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action966::<>(__sym0); + let __nt = super::__action96::<>(__sym0); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 139) } @@ -28813,12 +28802,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = FunctionArgument => ActionFn(1426); + // Comma = FunctionArgument => ActionFn(1476); let __sym0 = __pop_Variant42(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1426::<>(__sym0); - __symbols.push((__start, __Symbol::Variant63(__nt), __end)); + let __nt = super::__action1476::<>(__sym0); + __symbols.push((__start, __Symbol::Variant62(__nt), __end)); (1, 140) } pub(crate) fn __reduce387< @@ -28828,11 +28817,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = => ActionFn(1427); + // Comma = => ActionFn(1477); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action1427::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant63(__nt), __end)); + let __nt = super::__action1477::<>(&__start, &__end); + __symbols.push((__start, __Symbol::Variant62(__nt), __end)); (0, 140) } pub(crate) fn __reduce388< @@ -28842,14 +28831,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = ( ",")+, FunctionArgument => ActionFn(1428); + // Comma = ( ",")+, FunctionArgument => ActionFn(1478); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant42(__symbols); let __sym0 = __pop_Variant43(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1428::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant63(__nt), __end)); + let __nt = super::__action1478::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant62(__nt), __end)); (2, 140) } pub(crate) fn __reduce389< @@ -28859,12 +28848,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = ( ",")+ => ActionFn(1429); + // Comma = ( ",")+ => ActionFn(1479); let __sym0 = __pop_Variant43(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1429::<>(__sym0); - __symbols.push((__start, __Symbol::Variant63(__nt), __end)); + let __nt = super::__action1479::<>(__sym0); + __symbols.push((__start, __Symbol::Variant62(__nt), __end)); (1, 140) } pub(crate) fn __reduce390< @@ -28874,12 +28863,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = Pattern => ActionFn(1434); + // Comma = Pattern => ActionFn(1484); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1434::<>(__sym0); - __symbols.push((__start, __Symbol::Variant64(__nt), __end)); + let __nt = super::__action1484::<>(__sym0); + __symbols.push((__start, __Symbol::Variant63(__nt), __end)); (1, 141) } pub(crate) fn __reduce391< @@ -28889,11 +28878,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = => ActionFn(1435); + // Comma = => ActionFn(1485); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action1435::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant64(__nt), __end)); + let __nt = super::__action1485::<>(&__start, &__end); + __symbols.push((__start, __Symbol::Variant63(__nt), __end)); (0, 141) } pub(crate) fn __reduce392< @@ -28903,14 +28892,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = ( ",")+, Pattern => ActionFn(1436); + // Comma = ( ",")+, Pattern => ActionFn(1486); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant41(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1436::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant64(__nt), __end)); + let __nt = super::__action1486::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant63(__nt), __end)); (2, 141) } pub(crate) fn __reduce393< @@ -28920,12 +28909,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comma = ( ",")+ => ActionFn(1437); + // Comma = ( ",")+ => ActionFn(1487); let __sym0 = __pop_Variant41(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1437::<>(__sym0); - __symbols.push((__start, __Symbol::Variant64(__nt), __end)); + let __nt = super::__action1487::<>(__sym0); + __symbols.push((__start, __Symbol::Variant63(__nt), __end)); (1, 141) } pub(crate) fn __reduce394< @@ -28936,11 +28925,11 @@ mod __parse__Top { ) -> (usize, usize) { // CompFor = SingleForComprehension+ => ActionFn(205); - let __sym0 = __pop_Variant98(__symbols); + let __sym0 = __pop_Variant97(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action205::<>(__sym0); - __symbols.push((__start, __Symbol::Variant65(__nt), __end)); + __symbols.push((__start, __Symbol::Variant64(__nt), __end)); (1, 142) } pub(crate) fn __reduce395< @@ -28951,11 +28940,11 @@ mod __parse__Top { ) -> (usize, usize) { // CompFor? = CompFor => ActionFn(218); - let __sym0 = __pop_Variant65(__symbols); + let __sym0 = __pop_Variant64(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action218::<>(__sym0); - __symbols.push((__start, __Symbol::Variant66(__nt), __end)); + __symbols.push((__start, __Symbol::Variant65(__nt), __end)); (1, 143) } pub(crate) fn __reduce396< @@ -28969,7 +28958,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action219::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant66(__nt), __end)); + __symbols.push((__start, __Symbol::Variant65(__nt), __end)); (0, 143) } pub(crate) fn __reduce397< @@ -28984,7 +28973,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action167::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce398< @@ -28999,7 +28988,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action168::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce399< @@ -29014,7 +29003,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action169::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce400< @@ -29029,7 +29018,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action170::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce401< @@ -29044,7 +29033,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action171::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce402< @@ -29059,7 +29048,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action172::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce403< @@ -29074,7 +29063,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action173::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce404< @@ -29091,7 +29080,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action174::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (2, 144) } pub(crate) fn __reduce405< @@ -29106,7 +29095,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action175::<>(__sym0); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (1, 144) } pub(crate) fn __reduce406< @@ -29123,7 +29112,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action176::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant67(__nt), __end)); + __symbols.push((__start, __Symbol::Variant66(__nt), __end)); (2, 144) } pub(crate) fn __reduce407< @@ -29133,13 +29122,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comparison<"all"> = Expression<"all">, (CompOp Expression<"all">)+ => ActionFn(967); + // Comparison<"all"> = Expression<"all">, (CompOp Expression<"all">)+ => ActionFn(986); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant53(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action967::<>(__sym0, __sym1); + let __nt = super::__action986::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 145) } @@ -29165,13 +29154,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Comparison<"no-withitems"> = Expression<"all">, (CompOp Expression<"all">)+ => ActionFn(968); + // Comparison<"no-withitems"> = Expression<"all">, (CompOp Expression<"all">)+ => ActionFn(987); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant53(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action968::<>(__sym0, __sym1); + let __nt = super::__action987::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 146) } @@ -29400,7 +29389,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action214::<>(__sym0); - __symbols.push((__start, __Symbol::Variant68(__nt), __end)); + __symbols.push((__start, __Symbol::Variant67(__nt), __end)); (1, 151) } pub(crate) fn __reduce425< @@ -29415,7 +29404,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action215::<>(__sym0); - __symbols.push((__start, __Symbol::Variant68(__nt), __end)); + __symbols.push((__start, __Symbol::Variant67(__nt), __end)); (1, 151) } pub(crate) fn __reduce426< @@ -29430,7 +29419,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action216::<>(__sym0); - __symbols.push((__start, __Symbol::Variant68(__nt), __end)); + __symbols.push((__start, __Symbol::Variant67(__nt), __end)); (1, 151) } pub(crate) fn __reduce427< @@ -29440,11 +29429,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ConstantAtom = Constant => ActionFn(969); - let __sym0 = __pop_Variant68(__symbols); + // ConstantAtom = Constant => ActionFn(988); + let __sym0 = __pop_Variant67(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action969::<>(__sym0); + let __nt = super::__action988::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 152) } @@ -29470,13 +29459,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ConstantExpr = "-", ConstantAtom => ActionFn(970); + // ConstantExpr = "-", ConstantAtom => ActionFn(989); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action970::<>(__sym0, __sym1); + let __nt = super::__action989::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 153) } @@ -29487,14 +29476,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Decorator = "@", NamedExpressionTest, "\n" => ActionFn(971); + // Decorator = "@", NamedExpressionTest, "\n" => ActionFn(990); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action971::<>(__sym0, __sym1, __sym2); + let __nt = super::__action990::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 154) } @@ -29566,13 +29555,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // DelStatement = "del", ExpressionList2 => ActionFn(972); + // DelStatement = "del", ExpressionList2 => ActionFn(991); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant44(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action972::<>(__sym0, __sym1); + let __nt = super::__action991::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 157) } @@ -29584,11 +29573,11 @@ mod __parse__Top { ) -> (usize, usize) { // DictElement = DictEntry => ActionFn(196); - let __sym0 = __pop_Variant70(__symbols); + let __sym0 = __pop_Variant69(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action196::<>(__sym0); - __symbols.push((__start, __Symbol::Variant69(__nt), __end)); + __symbols.push((__start, __Symbol::Variant68(__nt), __end)); (1, 158) } pub(crate) fn __reduce437< @@ -29605,7 +29594,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action197::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant69(__nt), __end)); + __symbols.push((__start, __Symbol::Variant68(__nt), __end)); (2, 158) } pub(crate) fn __reduce438< @@ -29623,7 +29612,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym2.2; let __nt = super::__action195::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant70(__nt), __end)); + __symbols.push((__start, __Symbol::Variant69(__nt), __end)); (3, 159) } pub(crate) fn __reduce439< @@ -29633,14 +29622,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // DictLiteralValues = DictElement, "," => ActionFn(1476); + // DictLiteralValues = DictElement, "," => ActionFn(1526); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant69(__symbols); + let __sym0 = __pop_Variant68(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1476::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant71(__nt), __end)); + let __nt = super::__action1526::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant70(__nt), __end)); (2, 160) } pub(crate) fn __reduce440< @@ -29650,15 +29639,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // DictLiteralValues = DictElement, ("," DictElement)+, "," => ActionFn(1477); + // DictLiteralValues = DictElement, ("," DictElement)+, "," => ActionFn(1527); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant14(__symbols); - let __sym0 = __pop_Variant69(__symbols); + let __sym0 = __pop_Variant68(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1477::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant71(__nt), __end)); + let __nt = super::__action1527::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant70(__nt), __end)); (3, 160) } pub(crate) fn __reduce441< @@ -29668,12 +29657,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // DictLiteralValues = DictElement => ActionFn(1478); - let __sym0 = __pop_Variant69(__symbols); + // DictLiteralValues = DictElement => ActionFn(1528); + let __sym0 = __pop_Variant68(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1478::<>(__sym0); - __symbols.push((__start, __Symbol::Variant71(__nt), __end)); + let __nt = super::__action1528::<>(__sym0); + __symbols.push((__start, __Symbol::Variant70(__nt), __end)); (1, 160) } pub(crate) fn __reduce442< @@ -29683,14 +29672,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // DictLiteralValues = DictElement, ("," DictElement)+ => ActionFn(1479); + // DictLiteralValues = DictElement, ("," DictElement)+ => ActionFn(1529); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant14(__symbols); - let __sym0 = __pop_Variant69(__symbols); + let __sym0 = __pop_Variant68(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1479::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant71(__nt), __end)); + let __nt = super::__action1529::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant70(__nt), __end)); (2, 160) } pub(crate) fn __reduce443< @@ -29701,11 +29690,11 @@ mod __parse__Top { ) -> (usize, usize) { // DictLiteralValues? = DictLiteralValues => ActionFn(563); - let __sym0 = __pop_Variant71(__symbols); + let __sym0 = __pop_Variant70(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action563::<>(__sym0); - __symbols.push((__start, __Symbol::Variant72(__nt), __end)); + __symbols.push((__start, __Symbol::Variant71(__nt), __end)); (1, 161) } pub(crate) fn __reduce444< @@ -29719,7 +29708,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action564::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant72(__nt), __end)); + __symbols.push((__start, __Symbol::Variant71(__nt), __end)); (0, 161) } pub(crate) fn __reduce445< @@ -29734,7 +29723,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action64::<>(__sym0); - __symbols.push((__start, __Symbol::Variant73(__nt), __end)); + __symbols.push((__start, __Symbol::Variant72(__nt), __end)); (1, 162) } pub(crate) fn __reduce446< @@ -29751,7 +29740,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action65::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant73(__nt), __end)); + __symbols.push((__start, __Symbol::Variant72(__nt), __end)); (2, 162) } pub(crate) fn __reduce447< @@ -29761,16 +29750,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExceptClause = "except", Test<"all">, ":", Suite => ActionFn(1832); + // ExceptClause = "except", Test<"all">, ":", Suite => ActionFn(1882); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1832::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant74(__nt), __end)); + let __nt = super::__action1882::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant73(__nt), __end)); (4, 163) } pub(crate) fn __reduce448< @@ -29780,15 +29769,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExceptClause = "except", ":", Suite => ActionFn(1833); + // ExceptClause = "except", ":", Suite => ActionFn(1883); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant76(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1833::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant74(__nt), __end)); + let __nt = super::__action1883::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant73(__nt), __end)); (3, 163) } pub(crate) fn __reduce449< @@ -29798,18 +29787,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExceptClause = "except", Test<"all">, "as", Identifier, ":", Suite => ActionFn(1420); + // ExceptClause = "except", Test<"all">, "as", Identifier, ":", Suite => ActionFn(1470); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant76(__symbols); + let __sym5 = __pop_Variant75(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1420::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant74(__nt), __end)); + let __nt = super::__action1470::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant73(__nt), __end)); (6, 163) } pub(crate) fn __reduce450< @@ -29820,11 +29809,11 @@ mod __parse__Top { ) -> (usize, usize) { // ExceptClause+ = ExceptClause => ActionFn(287); - let __sym0 = __pop_Variant74(__symbols); + let __sym0 = __pop_Variant73(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action287::<>(__sym0); - __symbols.push((__start, __Symbol::Variant75(__nt), __end)); + __symbols.push((__start, __Symbol::Variant74(__nt), __end)); (1, 164) } pub(crate) fn __reduce451< @@ -29836,12 +29825,12 @@ mod __parse__Top { { // ExceptClause+ = ExceptClause+, ExceptClause => ActionFn(288); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant74(__symbols); - let __sym0 = __pop_Variant75(__symbols); + let __sym1 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant74(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action288::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant75(__nt), __end)); + __symbols.push((__start, __Symbol::Variant74(__nt), __end)); (2, 164) } pub(crate) fn __reduce452< @@ -29851,17 +29840,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExceptStarClause = "except", "*", Test<"all">, ":", Suite => ActionFn(975); + // ExceptStarClause = "except", "*", Test<"all">, ":", Suite => ActionFn(994); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant76(__symbols); + let __sym4 = __pop_Variant75(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action975::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant74(__nt), __end)); + let __nt = super::__action994::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant73(__nt), __end)); (5, 165) } pub(crate) fn __reduce453< @@ -29871,19 +29860,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExceptStarClause = "except", "*", Test<"all">, "as", Identifier, ":", Suite => ActionFn(1421); + // ExceptStarClause = "except", "*", Test<"all">, "as", Identifier, ":", Suite => ActionFn(1471); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant73(__symbols); + let __sym4 = __pop_Variant72(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1421::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant74(__nt), __end)); + let __nt = super::__action1471::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant73(__nt), __end)); (7, 165) } pub(crate) fn __reduce454< @@ -29894,11 +29883,11 @@ mod __parse__Top { ) -> (usize, usize) { // ExceptStarClause+ = ExceptStarClause => ActionFn(282); - let __sym0 = __pop_Variant74(__symbols); + let __sym0 = __pop_Variant73(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action282::<>(__sym0); - __symbols.push((__start, __Symbol::Variant75(__nt), __end)); + __symbols.push((__start, __Symbol::Variant74(__nt), __end)); (1, 166) } pub(crate) fn __reduce455< @@ -29910,12 +29899,12 @@ mod __parse__Top { { // ExceptStarClause+ = ExceptStarClause+, ExceptStarClause => ActionFn(283); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant74(__symbols); - let __sym0 = __pop_Variant75(__symbols); + let __sym1 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant74(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action283::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant75(__nt), __end)); + __symbols.push((__start, __Symbol::Variant74(__nt), __end)); (2, 166) } pub(crate) fn __reduce456< @@ -29925,14 +29914,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Expression<"all"> = Expression<"all">, "|", XorExpression<"all"> => ActionFn(977); + // Expression<"all"> = Expression<"all">, "|", XorExpression<"all"> => ActionFn(996); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action977::<>(__sym0, __sym1, __sym2); + let __nt = super::__action996::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 167) } @@ -29958,14 +29947,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Expression<"no-withitems"> = Expression<"all">, "|", XorExpression<"all"> => ActionFn(978); + // Expression<"no-withitems"> = Expression<"all">, "|", XorExpression<"all"> => ActionFn(997); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action978::<>(__sym0, __sym1, __sym2); + let __nt = super::__action997::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 168) } @@ -30006,13 +29995,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionList2 = ExpressionOrStarExpression, "," => ActionFn(1480); + // ExpressionList2 = ExpressionOrStarExpression, "," => ActionFn(1530); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1480::<>(__sym0, __sym1); + let __nt = super::__action1530::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 170) } @@ -30023,14 +30012,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionList2 = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+, "," => ActionFn(1481); + // ExpressionList2 = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+, "," => ActionFn(1531); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1481::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1531::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (3, 170) } @@ -30041,11 +30030,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionList2 = ExpressionOrStarExpression => ActionFn(1482); + // ExpressionList2 = ExpressionOrStarExpression => ActionFn(1532); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1482::<>(__sym0); + let __nt = super::__action1532::<>(__sym0); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (1, 170) } @@ -30056,13 +30045,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionList2 = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+ => ActionFn(1483); + // ExpressionList2 = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+ => ActionFn(1533); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1483::<>(__sym0, __sym1); + let __nt = super::__action1533::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 170) } @@ -30118,11 +30107,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionStatement = GenericList => ActionFn(1857); + // ExpressionStatement = GenericList => ActionFn(1907); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1857::<>(__sym0); + let __nt = super::__action1907::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 173) } @@ -30133,13 +30122,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionStatement = GenericList, AssignSuffix+ => ActionFn(1858); + // ExpressionStatement = GenericList, AssignSuffix+ => ActionFn(1908); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant10(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1858::<>(__sym0, __sym1); + let __nt = super::__action1908::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 173) } @@ -30150,14 +30139,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionStatement = GenericList, AugAssign, TestListOrYieldExpr => ActionFn(1859); + // ExpressionStatement = GenericList, AugAssign, TestListOrYieldExpr => ActionFn(1909); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1859::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1909::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (3, 173) } @@ -30168,7 +30157,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionStatement = Test<"all">, ":", Test<"all">, AssignSuffix => ActionFn(1424); + // ExpressionStatement = Test<"all">, ":", Test<"all">, AssignSuffix => ActionFn(1474); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant9(__symbols); @@ -30176,7 +30165,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1424::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1474::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 173) } @@ -30187,14 +30176,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ExpressionStatement = Test<"all">, ":", Test<"all"> => ActionFn(1425); + // ExpressionStatement = Test<"all">, ":", Test<"all"> => ActionFn(1475); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1425::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1475::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (3, 173) } @@ -30205,13 +30194,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Factor<"all"> = UnaryOp, Factor<"all"> => ActionFn(982); + // Factor<"all"> = UnaryOp, Factor<"all"> => ActionFn(1001); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); - let __sym0 = __pop_Variant104(__symbols); + let __sym0 = __pop_Variant103(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action982::<>(__sym0, __sym1); + let __nt = super::__action1001::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 174) } @@ -30237,13 +30226,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Factor<"no-withitems"> = UnaryOp, Factor<"all"> => ActionFn(983); + // Factor<"no-withitems"> = UnaryOp, Factor<"all"> => ActionFn(1002); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); - let __sym0 = __pop_Variant104(__symbols); + let __sym0 = __pop_Variant103(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action983::<>(__sym0, __sym1); + let __nt = super::__action1002::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 175) } @@ -30270,11 +30259,11 @@ mod __parse__Top { ) -> (usize, usize) { // FileLine = Statement => ActionFn(5); - let __sym0 = __pop_Variant76(__symbols); + let __sym0 = __pop_Variant75(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action5::<>(__sym0); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (1, 176) } pub(crate) fn __reduce478< @@ -30289,7 +30278,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action6::<>(__sym0); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (1, 176) } pub(crate) fn __reduce479< @@ -30299,11 +30288,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FileLine* = => ActionFn(351); + // FileLine* = => ActionFn(349); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action351::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant77(__nt), __end)); + let __nt = super::__action349::<>(&__start, &__end); + __symbols.push((__start, __Symbol::Variant76(__nt), __end)); (0, 177) } pub(crate) fn __reduce480< @@ -30313,12 +30302,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FileLine* = FileLine+ => ActionFn(352); - let __sym0 = __pop_Variant77(__symbols); + // FileLine* = FileLine+ => ActionFn(350); + let __sym0 = __pop_Variant76(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action352::<>(__sym0); - __symbols.push((__start, __Symbol::Variant77(__nt), __end)); + let __nt = super::__action350::<>(__sym0); + __symbols.push((__start, __Symbol::Variant76(__nt), __end)); (1, 177) } pub(crate) fn __reduce481< @@ -30329,11 +30318,11 @@ mod __parse__Top { ) -> (usize, usize) { // FileLine+ = FileLine => ActionFn(358); - let __sym0 = __pop_Variant76(__symbols); + let __sym0 = __pop_Variant75(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action358::<>(__sym0); - __symbols.push((__start, __Symbol::Variant77(__nt), __end)); + __symbols.push((__start, __Symbol::Variant76(__nt), __end)); (1, 178) } pub(crate) fn __reduce482< @@ -30345,12 +30334,12 @@ mod __parse__Top { { // FileLine+ = FileLine+, FileLine => ActionFn(359); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant76(__symbols); - let __sym0 = __pop_Variant77(__symbols); + let __sym1 = __pop_Variant75(__symbols); + let __sym0 = __pop_Variant76(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action359::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant77(__nt), __end)); + __symbols.push((__start, __Symbol::Variant76(__nt), __end)); (2, 178) } pub(crate) fn __reduce483< @@ -30360,11 +30349,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FlowStatement = "break" => ActionFn(984); + // FlowStatement = "break" => ActionFn(1003); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action984::<>(__sym0); + let __nt = super::__action1003::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 179) } @@ -30375,11 +30364,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FlowStatement = "continue" => ActionFn(985); + // FlowStatement = "continue" => ActionFn(1004); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action985::<>(__sym0); + let __nt = super::__action1004::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 179) } @@ -30390,13 +30379,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FlowStatement = "return", GenericList => ActionFn(1853); + // FlowStatement = "return", GenericList => ActionFn(1903); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1853::<>(__sym0, __sym1); + let __nt = super::__action1903::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 179) } @@ -30407,11 +30396,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FlowStatement = "return" => ActionFn(1854); + // FlowStatement = "return" => ActionFn(1904); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1854::<>(__sym0); + let __nt = super::__action1904::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 179) } @@ -30422,11 +30411,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FlowStatement = YieldExpr => ActionFn(987); + // FlowStatement = YieldExpr => ActionFn(1006); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action987::<>(__sym0); + let __nt = super::__action1006::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 179) } @@ -30452,12 +30441,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ForStatement = "async", "for", ExpressionList, "in", GenericList, ":", Suite, "else", ":", Suite => ActionFn(1844); + // ForStatement = "async", "for", ExpressionList, "in", GenericList, ":", Suite, "else", ":", Suite => ActionFn(1894); assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant76(__symbols); + let __sym9 = __pop_Variant75(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant9(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -30466,7 +30455,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = super::__action1844::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); + let __nt = super::__action1894::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (10, 180) } @@ -30477,9 +30466,9 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ForStatement = "async", "for", ExpressionList, "in", GenericList, ":", Suite => ActionFn(1845); + // ForStatement = "async", "for", ExpressionList, "in", GenericList, ":", Suite => ActionFn(1895); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant9(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -30488,7 +30477,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1845::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1895::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 180) } @@ -30499,12 +30488,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ForStatement = "for", ExpressionList, "in", GenericList, ":", Suite, "else", ":", Suite => ActionFn(1846); + // ForStatement = "for", ExpressionList, "in", GenericList, ":", Suite, "else", ":", Suite => ActionFn(1896); assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant76(__symbols); + let __sym8 = __pop_Variant75(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant76(__symbols); + let __sym5 = __pop_Variant75(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -30512,7 +30501,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = super::__action1846::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); + let __nt = super::__action1896::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (9, 180) } @@ -30523,9 +30512,9 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ForStatement = "for", ExpressionList, "in", GenericList, ":", Suite => ActionFn(1847); + // ForStatement = "for", ExpressionList, "in", GenericList, ":", Suite => ActionFn(1897); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant76(__symbols); + let __sym5 = __pop_Variant75(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -30533,7 +30522,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1847::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1897::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (6, 180) } @@ -30544,19 +30533,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = "async", "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1456); + // FuncDef = "async", "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1506); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant76(__symbols); + let __sym7 = __pop_Variant75(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant9(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant55(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1456::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + let __nt = super::__action1506::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (8, 181) } @@ -30567,20 +30556,20 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = Decorator+, "async", "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1457); + // FuncDef = Decorator+, "async", "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1507); assert!(__symbols.len() >= 9); - let __sym8 = __pop_Variant76(__symbols); + let __sym8 = __pop_Variant75(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant9(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant55(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant10(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = super::__action1457::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); + let __nt = super::__action1507::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (9, 181) } @@ -30591,17 +30580,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = "async", "def", Identifier, Parameters, ":", Suite => ActionFn(1458); + // FuncDef = "async", "def", Identifier, Parameters, ":", Suite => ActionFn(1508); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant76(__symbols); + let __sym5 = __pop_Variant75(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant55(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1458::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1508::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (6, 181) } @@ -30612,18 +30601,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = Decorator+, "async", "def", Identifier, Parameters, ":", Suite => ActionFn(1459); + // FuncDef = Decorator+, "async", "def", Identifier, Parameters, ":", Suite => ActionFn(1509); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant55(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant10(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1459::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1509::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 181) } @@ -30634,18 +30623,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1460); + // FuncDef = "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1510); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant9(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant55(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1460::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1510::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 181) } @@ -30656,19 +30645,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = Decorator+, "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1461); + // FuncDef = Decorator+, "def", Identifier, Parameters, "->", Test<"all">, ":", Suite => ActionFn(1511); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant76(__symbols); + let __sym7 = __pop_Variant75(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant9(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant55(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant10(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1461::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + let __nt = super::__action1511::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (8, 181) } @@ -30679,16 +30668,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = "def", Identifier, Parameters, ":", Suite => ActionFn(1462); + // FuncDef = "def", Identifier, Parameters, ":", Suite => ActionFn(1512); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant76(__symbols); + let __sym4 = __pop_Variant75(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant55(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1462::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1512::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (5, 181) } @@ -30699,17 +30688,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FuncDef = Decorator+, "def", Identifier, Parameters, ":", Suite => ActionFn(1463); + // FuncDef = Decorator+, "def", Identifier, Parameters, ":", Suite => ActionFn(1513); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant76(__symbols); + let __sym5 = __pop_Variant75(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant55(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant10(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1463::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1513::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (6, 181) } @@ -30720,13 +30709,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FunctionArgument = NamedExpressionTest, CompFor => ActionFn(1446); + // FunctionArgument = NamedExpressionTest, CompFor => ActionFn(1496); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant65(__symbols); + let __sym1 = __pop_Variant64(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1446::<>(__sym0, __sym1); + let __nt = super::__action1496::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant42(__nt), __end)); (2, 182) } @@ -30737,11 +30726,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FunctionArgument = NamedExpressionTest => ActionFn(1447); + // FunctionArgument = NamedExpressionTest => ActionFn(1497); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1447::<>(__sym0); + let __nt = super::__action1497::<>(__sym0); __symbols.push((__start, __Symbol::Variant42(__nt), __end)); (1, 182) } @@ -30752,14 +30741,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FunctionArgument = Identifier, "=", Test<"all"> => ActionFn(993); + // FunctionArgument = Identifier, "=", Test<"all"> => ActionFn(1012); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action993::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1012::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant42(__nt), __end)); (3, 182) } @@ -30770,13 +30759,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FunctionArgument = "*", Test<"all"> => ActionFn(994); + // FunctionArgument = "*", Test<"all"> => ActionFn(1013); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action994::<>(__sym0, __sym1); + let __nt = super::__action1013::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant42(__nt), __end)); (2, 182) } @@ -30787,13 +30776,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // FunctionArgument = "**", Test<"all"> => ActionFn(995); + // FunctionArgument = "**", Test<"all"> => ActionFn(1014); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action995::<>(__sym0, __sym1); + let __nt = super::__action1014::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant42(__nt), __end)); (2, 182) } @@ -30809,7 +30798,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action436::<>(__sym0); - __symbols.push((__start, __Symbol::Variant78(__nt), __end)); + __symbols.push((__start, __Symbol::Variant77(__nt), __end)); (1, 183) } pub(crate) fn __reduce507< @@ -30823,7 +30812,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action437::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant78(__nt), __end)); + __symbols.push((__start, __Symbol::Variant77(__nt), __end)); (0, 183) } pub(crate) fn __reduce508< @@ -30833,13 +30822,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = ExpressionOrStarExpression, "," => ActionFn(1484); + // GenericList = ExpressionOrStarExpression, "," => ActionFn(1534); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1484::<>(__sym0, __sym1); + let __nt = super::__action1534::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 184) } @@ -30850,14 +30839,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+, "," => ActionFn(1485); + // GenericList = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+, "," => ActionFn(1535); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1485::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1535::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 184) } @@ -30868,11 +30857,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = ExpressionOrStarExpression => ActionFn(1486); + // GenericList = ExpressionOrStarExpression => ActionFn(1536); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1486::<>(__sym0); + let __nt = super::__action1536::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 184) } @@ -30883,13 +30872,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+ => ActionFn(1487); + // GenericList = ExpressionOrStarExpression, ("," ExpressionOrStarExpression)+ => ActionFn(1537); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1487::<>(__sym0, __sym1); + let __nt = super::__action1537::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 184) } @@ -30900,13 +30889,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = TestOrStarExpr, "," => ActionFn(1572); + // GenericList = TestOrStarExpr, "," => ActionFn(1622); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1572::<>(__sym0, __sym1); + let __nt = super::__action1622::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 185) } @@ -30917,14 +30906,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = TestOrStarExpr, ("," TestOrStarExpr)+, "," => ActionFn(1573); + // GenericList = TestOrStarExpr, ("," TestOrStarExpr)+, "," => ActionFn(1623); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1573::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1623::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 185) } @@ -30935,11 +30924,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = TestOrStarExpr => ActionFn(1574); + // GenericList = TestOrStarExpr => ActionFn(1624); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1574::<>(__sym0); + let __nt = super::__action1624::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 185) } @@ -30950,13 +30939,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GenericList = TestOrStarExpr, ("," TestOrStarExpr)+ => ActionFn(1575); + // GenericList = TestOrStarExpr, ("," TestOrStarExpr)+ => ActionFn(1625); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1575::<>(__sym0, __sym1); + let __nt = super::__action1625::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 185) } @@ -30967,13 +30956,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GlobalStatement = "global", Identifier => ActionFn(1488); + // GlobalStatement = "global", Identifier => ActionFn(1538); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1488::<>(__sym0, __sym1); + let __nt = super::__action1538::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 186) } @@ -30984,14 +30973,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // GlobalStatement = "global", Identifier, ("," Identifier)+ => ActionFn(1489); + // GlobalStatement = "global", Identifier, ("," Identifier)+ => ActionFn(1539); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant18(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1489::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1539::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (3, 186) } @@ -31024,7 +31013,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action217::<>(__sym0); - __symbols.push((__start, __Symbol::Variant73(__nt), __end)); + __symbols.push((__start, __Symbol::Variant72(__nt), __end)); (1, 188) } pub(crate) fn __reduce520< @@ -31034,18 +31023,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // IfStatement = "if", NamedExpressionTest, ":", Suite, "else", ":", Suite => ActionFn(1406); + // IfStatement = "if", NamedExpressionTest, ":", Suite, "else", ":", Suite => ActionFn(1456); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1406::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1456::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 189) } @@ -31056,19 +31045,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // IfStatement = "if", NamedExpressionTest, ":", Suite, (@L "elif" NamedExpressionTest ":" Suite)+, "else", ":", Suite => ActionFn(1407); + // IfStatement = "if", NamedExpressionTest, ":", Suite, (@L "elif" NamedExpressionTest ":" Suite)+, "else", ":", Suite => ActionFn(1457); assert!(__symbols.len() >= 8); - let __sym7 = __pop_Variant76(__symbols); + let __sym7 = __pop_Variant75(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant49(__symbols); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1407::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + let __nt = super::__action1457::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (8, 189) } @@ -31079,15 +31068,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // IfStatement = "if", NamedExpressionTest, ":", Suite => ActionFn(1408); + // IfStatement = "if", NamedExpressionTest, ":", Suite => ActionFn(1458); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1408::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1458::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 189) } @@ -31098,16 +31087,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // IfStatement = "if", NamedExpressionTest, ":", Suite, (@L "elif" NamedExpressionTest ":" Suite)+ => ActionFn(1409); + // IfStatement = "if", NamedExpressionTest, ":", Suite, (@L "elif" NamedExpressionTest ":" Suite)+ => ActionFn(1459); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant49(__symbols); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1409::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1459::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (5, 189) } @@ -31118,15 +31107,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsAlias = DottedName, "as", Identifier => ActionFn(1002); + // ImportAsAlias = DottedName, "as", Identifier => ActionFn(1021); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1002::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant79(__nt), __end)); + let __nt = super::__action1021::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant78(__nt), __end)); (3, 190) } pub(crate) fn __reduce525< @@ -31136,12 +31125,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsAlias = DottedName => ActionFn(1003); - let __sym0 = __pop_Variant73(__symbols); + // ImportAsAlias = DottedName => ActionFn(1022); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1003::<>(__sym0); - __symbols.push((__start, __Symbol::Variant79(__nt), __end)); + let __nt = super::__action1022::<>(__sym0); + __symbols.push((__start, __Symbol::Variant78(__nt), __end)); (1, 190) } pub(crate) fn __reduce526< @@ -31151,15 +31140,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsAlias = Identifier, "as", Identifier => ActionFn(1004); + // ImportAsAlias = Identifier, "as", Identifier => ActionFn(1023); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1004::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant79(__nt), __end)); + let __nt = super::__action1023::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant78(__nt), __end)); (3, 191) } pub(crate) fn __reduce527< @@ -31169,12 +31158,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsAlias = Identifier => ActionFn(1005); - let __sym0 = __pop_Variant73(__symbols); + // ImportAsAlias = Identifier => ActionFn(1024); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1005::<>(__sym0); - __symbols.push((__start, __Symbol::Variant79(__nt), __end)); + let __nt = super::__action1024::<>(__sym0); + __symbols.push((__start, __Symbol::Variant78(__nt), __end)); (1, 191) } pub(crate) fn __reduce528< @@ -31184,15 +31173,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = Identifier, "as", Identifier => ActionFn(1496); + // ImportAsNames = Identifier, "as", Identifier => ActionFn(1546); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1496::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1546::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (3, 192) } pub(crate) fn __reduce529< @@ -31202,16 +31191,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = Identifier, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1497); + // ImportAsNames = Identifier, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1547); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant20(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1497::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1547::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (4, 192) } pub(crate) fn __reduce530< @@ -31221,12 +31210,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = Identifier => ActionFn(1498); - let __sym0 = __pop_Variant73(__symbols); + // ImportAsNames = Identifier => ActionFn(1548); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1498::<>(__sym0); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1548::<>(__sym0); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (1, 192) } pub(crate) fn __reduce531< @@ -31236,14 +31225,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = Identifier, ("," ImportAsAlias)+ => ActionFn(1499); + // ImportAsNames = Identifier, ("," ImportAsAlias)+ => ActionFn(1549); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant20(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1499::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1549::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (2, 192) } pub(crate) fn __reduce532< @@ -31253,18 +31242,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, "as", Identifier, ",", ")" => ActionFn(1500); + // ImportAsNames = "(", Identifier, "as", Identifier, ",", ")" => ActionFn(1550); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1500::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1550::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (6, 192) } pub(crate) fn __reduce533< @@ -31274,19 +31263,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, "as", Identifier, ("," ImportAsAlias)+, ",", ")" => ActionFn(1501); + // ImportAsNames = "(", Identifier, "as", Identifier, ("," ImportAsAlias)+, ",", ")" => ActionFn(1551); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant20(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1501::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1551::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (7, 192) } pub(crate) fn __reduce534< @@ -31296,16 +31285,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, ",", ")" => ActionFn(1502); + // ImportAsNames = "(", Identifier, ",", ")" => ActionFn(1552); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1502::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1552::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (4, 192) } pub(crate) fn __reduce535< @@ -31315,17 +31304,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, ("," ImportAsAlias)+, ",", ")" => ActionFn(1503); + // ImportAsNames = "(", Identifier, ("," ImportAsAlias)+, ",", ")" => ActionFn(1553); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant20(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1503::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1553::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (5, 192) } pub(crate) fn __reduce536< @@ -31335,17 +31324,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, "as", Identifier, ")" => ActionFn(1504); + // ImportAsNames = "(", Identifier, "as", Identifier, ")" => ActionFn(1554); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1504::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1554::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (5, 192) } pub(crate) fn __reduce537< @@ -31355,18 +31344,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, "as", Identifier, ("," ImportAsAlias)+, ")" => ActionFn(1505); + // ImportAsNames = "(", Identifier, "as", Identifier, ("," ImportAsAlias)+, ")" => ActionFn(1555); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant20(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1505::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1555::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (6, 192) } pub(crate) fn __reduce538< @@ -31376,15 +31365,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, ")" => ActionFn(1506); + // ImportAsNames = "(", Identifier, ")" => ActionFn(1556); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1506::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1556::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (3, 192) } pub(crate) fn __reduce539< @@ -31394,16 +31383,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "(", Identifier, ("," ImportAsAlias)+, ")" => ActionFn(1507); + // ImportAsNames = "(", Identifier, ("," ImportAsAlias)+, ")" => ActionFn(1557); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant20(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1507::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1557::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (4, 192) } pub(crate) fn __reduce540< @@ -31413,12 +31402,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportAsNames = "*" => ActionFn(1009); + // ImportAsNames = "*" => ActionFn(1028); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1009::<>(__sym0); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1028::<>(__sym0); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (1, 192) } pub(crate) fn __reduce541< @@ -31433,7 +31422,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action59::<>(__sym0); - __symbols.push((__start, __Symbol::Variant81(__nt), __end)); + __symbols.push((__start, __Symbol::Variant80(__nt), __end)); (1, 193) } pub(crate) fn __reduce542< @@ -31448,7 +31437,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action60::<>(__sym0); - __symbols.push((__start, __Symbol::Variant81(__nt), __end)); + __symbols.push((__start, __Symbol::Variant80(__nt), __end)); (1, 193) } pub(crate) fn __reduce543< @@ -31462,7 +31451,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action326::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant82(__nt), __end)); + __symbols.push((__start, __Symbol::Variant81(__nt), __end)); (0, 194) } pub(crate) fn __reduce544< @@ -31473,11 +31462,11 @@ mod __parse__Top { ) -> (usize, usize) { // ImportDots* = ImportDots+ => ActionFn(327); - let __sym0 = __pop_Variant82(__symbols); + let __sym0 = __pop_Variant81(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action327::<>(__sym0); - __symbols.push((__start, __Symbol::Variant82(__nt), __end)); + __symbols.push((__start, __Symbol::Variant81(__nt), __end)); (1, 194) } pub(crate) fn __reduce545< @@ -31488,11 +31477,11 @@ mod __parse__Top { ) -> (usize, usize) { // ImportDots+ = ImportDots => ActionFn(324); - let __sym0 = __pop_Variant81(__symbols); + let __sym0 = __pop_Variant80(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action324::<>(__sym0); - __symbols.push((__start, __Symbol::Variant82(__nt), __end)); + __symbols.push((__start, __Symbol::Variant81(__nt), __end)); (1, 195) } pub(crate) fn __reduce546< @@ -31504,12 +31493,12 @@ mod __parse__Top { { // ImportDots+ = ImportDots+, ImportDots => ActionFn(325); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant81(__symbols); - let __sym0 = __pop_Variant82(__symbols); + let __sym1 = __pop_Variant80(__symbols); + let __sym0 = __pop_Variant81(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action325::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant82(__nt), __end)); + __symbols.push((__start, __Symbol::Variant81(__nt), __end)); (2, 195) } pub(crate) fn __reduce547< @@ -31519,12 +31508,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportFromLocation = DottedName => ActionFn(1470); - let __sym0 = __pop_Variant73(__symbols); + // ImportFromLocation = DottedName => ActionFn(1520); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1470::<>(__sym0); - __symbols.push((__start, __Symbol::Variant83(__nt), __end)); + let __nt = super::__action1520::<>(__sym0); + __symbols.push((__start, __Symbol::Variant82(__nt), __end)); (1, 196) } pub(crate) fn __reduce548< @@ -31534,14 +31523,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportFromLocation = ImportDots+, DottedName => ActionFn(1471); + // ImportFromLocation = ImportDots+, DottedName => ActionFn(1521); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); - let __sym0 = __pop_Variant82(__symbols); + let __sym1 = __pop_Variant72(__symbols); + let __sym0 = __pop_Variant81(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1471::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant83(__nt), __end)); + let __nt = super::__action1521::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant82(__nt), __end)); (2, 196) } pub(crate) fn __reduce549< @@ -31552,11 +31541,11 @@ mod __parse__Top { ) -> (usize, usize) { // ImportFromLocation = ImportDots+ => ActionFn(58); - let __sym0 = __pop_Variant82(__symbols); + let __sym0 = __pop_Variant81(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action58::<>(__sym0); - __symbols.push((__start, __Symbol::Variant83(__nt), __end)); + __symbols.push((__start, __Symbol::Variant82(__nt), __end)); (1, 196) } pub(crate) fn __reduce550< @@ -31566,15 +31555,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportStatement = "import", DottedName, "as", Identifier => ActionFn(1492); + // ImportStatement = "import", DottedName, "as", Identifier => ActionFn(1542); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1492::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1542::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 197) } @@ -31585,16 +31574,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportStatement = "import", DottedName, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1493); + // ImportStatement = "import", DottedName, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1543); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant20(__symbols); - let __sym3 = __pop_Variant73(__symbols); + let __sym3 = __pop_Variant72(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1493::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1543::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (5, 197) } @@ -31605,13 +31594,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportStatement = "import", DottedName => ActionFn(1494); + // ImportStatement = "import", DottedName => ActionFn(1544); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1494::<>(__sym0, __sym1); + let __nt = super::__action1544::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 197) } @@ -31622,14 +31611,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportStatement = "import", DottedName, ("," ImportAsAlias)+ => ActionFn(1495); + // ImportStatement = "import", DottedName, ("," ImportAsAlias)+ => ActionFn(1545); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant20(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1495::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1545::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (3, 197) } @@ -31640,15 +31629,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ImportStatement = "from", ImportFromLocation, "import", ImportAsNames => ActionFn(1011); + // ImportStatement = "from", ImportFromLocation, "import", ImportAsNames => ActionFn(1030); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant80(__symbols); + let __sym3 = __pop_Variant79(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant83(__symbols); + let __sym1 = __pop_Variant82(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1011::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1030::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 197) } @@ -31659,14 +31648,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // KwargParameter = "**", TypedParameter => ActionFn(1860); + // KwargParameter = "**", TypedParameter => ActionFn(1910); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1860::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant84(__nt), __end)); + let __nt = super::__action1910::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant83(__nt), __end)); (2, 198) } pub(crate) fn __reduce556< @@ -31676,12 +31665,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // KwargParameter = "**" => ActionFn(1861); + // KwargParameter = "**" => ActionFn(1911); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1861::<>(__sym0); - __symbols.push((__start, __Symbol::Variant84(__nt), __end)); + let __nt = super::__action1911::<>(__sym0); + __symbols.push((__start, __Symbol::Variant83(__nt), __end)); (1, 198) } pub(crate) fn __reduce557< @@ -31691,14 +31680,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // KwargParameter = "**", UntypedParameter => ActionFn(1202); + // KwargParameter = "**", UntypedParameter => ActionFn(1252); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant101(__symbols); + let __sym1 = __pop_Variant100(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1202::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant84(__nt), __end)); + let __nt = super::__action1252::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant83(__nt), __end)); (2, 199) } pub(crate) fn __reduce558< @@ -31708,12 +31697,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // KwargParameter = "**" => ActionFn(1203); + // KwargParameter = "**" => ActionFn(1253); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1203::<>(__sym0); - __symbols.push((__start, __Symbol::Variant84(__nt), __end)); + let __nt = super::__action1253::<>(__sym0); + __symbols.push((__start, __Symbol::Variant83(__nt), __end)); (1, 199) } pub(crate) fn __reduce561< @@ -31723,13 +31712,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ListLiteralValues = TestOrStarNamedExpr, "," => ActionFn(1576); + // ListLiteralValues = TestOrStarNamedExpr, "," => ActionFn(1626); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1576::<>(__sym0, __sym1); + let __nt = super::__action1626::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 201) } @@ -31740,14 +31729,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ListLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, "," => ActionFn(1577); + // ListLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, "," => ActionFn(1627); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1577::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1627::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (3, 201) } @@ -31758,11 +31747,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ListLiteralValues = TestOrStarNamedExpr => ActionFn(1578); + // ListLiteralValues = TestOrStarNamedExpr => ActionFn(1628); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1578::<>(__sym0); + let __nt = super::__action1628::<>(__sym0); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (1, 201) } @@ -31773,13 +31762,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ListLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+ => ActionFn(1579); + // ListLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+ => ActionFn(1629); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1579::<>(__sym0, __sym1); + let __nt = super::__action1629::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 201) } @@ -31819,12 +31808,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // LiteralPattern = "None" => ActionFn(106); + // LiteralPattern = "None" => ActionFn(1032); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action106::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1032::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 203) } pub(crate) fn __reduce568< @@ -31834,12 +31823,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // LiteralPattern = "True" => ActionFn(107); + // LiteralPattern = "True" => ActionFn(1033); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action107::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1033::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 203) } pub(crate) fn __reduce569< @@ -31849,12 +31838,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // LiteralPattern = "False" => ActionFn(108); + // LiteralPattern = "False" => ActionFn(1034); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action108::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1034::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 203) } pub(crate) fn __reduce570< @@ -31864,12 +31853,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // LiteralPattern = ConstantExpr => ActionFn(1013); + // LiteralPattern = ConstantExpr => ActionFn(1035); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1013::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1035::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 203) } pub(crate) fn __reduce571< @@ -31879,12 +31868,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // LiteralPattern = AddOpExpr => ActionFn(1014); + // LiteralPattern = AddOpExpr => ActionFn(1036); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1014::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1036::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 203) } pub(crate) fn __reduce573< @@ -31939,11 +31928,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingKey = "None" => ActionFn(1016); + // MappingKey = "None" => ActionFn(1038); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1016::<>(__sym0); + let __nt = super::__action1038::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 204) } @@ -31954,11 +31943,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingKey = "True" => ActionFn(1017); + // MappingKey = "True" => ActionFn(1039); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1017::<>(__sym0); + let __nt = super::__action1039::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 204) } @@ -31969,11 +31958,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingKey = "False" => ActionFn(1018); + // MappingKey = "False" => ActionFn(1040); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1018::<>(__sym0); + let __nt = super::__action1040::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 204) } @@ -31984,14 +31973,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", "}" => ActionFn(1020); + // MappingPattern = "{", "}" => ActionFn(1042); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1020::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1042::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (2, 205) } pub(crate) fn __reduce581< @@ -32001,16 +31990,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ",", "}" => ActionFn(1524); + // MappingPattern = "{", MatchMappingEntry, ",", "}" => ActionFn(1574); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1524::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1574::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 205) } pub(crate) fn __reduce582< @@ -32020,17 +32009,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, ",", "}" => ActionFn(1525); + // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, ",", "}" => ActionFn(1575); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant26(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1525::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1575::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 205) } pub(crate) fn __reduce583< @@ -32040,15 +32029,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, "}" => ActionFn(1526); + // MappingPattern = "{", MatchMappingEntry, "}" => ActionFn(1576); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1526::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1576::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 205) } pub(crate) fn __reduce584< @@ -32058,16 +32047,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, "}" => ActionFn(1527); + // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, "}" => ActionFn(1577); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant26(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1527::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1577::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 205) } pub(crate) fn __reduce585< @@ -32077,17 +32066,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", "**", Identifier, ",", "}" => ActionFn(1023); + // MappingPattern = "{", "**", Identifier, ",", "}" => ActionFn(1045); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1023::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1045::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 205) } pub(crate) fn __reduce586< @@ -32097,16 +32086,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", "**", Identifier, "}" => ActionFn(1024); + // MappingPattern = "{", "**", Identifier, "}" => ActionFn(1046); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1024::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1046::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 205) } pub(crate) fn __reduce587< @@ -32116,19 +32105,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ",", "**", Identifier, ",", "}" => ActionFn(1528); + // MappingPattern = "{", MatchMappingEntry, ",", "**", Identifier, ",", "}" => ActionFn(1578); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant73(__symbols); + let __sym4 = __pop_Variant72(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1528::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1578::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 205) } pub(crate) fn __reduce588< @@ -32138,20 +32127,20 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, ",", "**", Identifier, ",", "}" => ActionFn(1529); + // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, ",", "**", Identifier, ",", "}" => ActionFn(1579); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant73(__symbols); + let __sym5 = __pop_Variant72(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant26(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1529::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1579::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (8, 205) } pub(crate) fn __reduce589< @@ -32161,18 +32150,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ",", "**", Identifier, "}" => ActionFn(1530); + // MappingPattern = "{", MatchMappingEntry, ",", "**", Identifier, "}" => ActionFn(1580); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); - let __sym4 = __pop_Variant73(__symbols); + let __sym4 = __pop_Variant72(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1530::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1580::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 205) } pub(crate) fn __reduce590< @@ -32182,19 +32171,19 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, ",", "**", Identifier, "}" => ActionFn(1531); + // MappingPattern = "{", MatchMappingEntry, ("," MatchMappingEntry)+, ",", "**", Identifier, "}" => ActionFn(1581); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant73(__symbols); + let __sym5 = __pop_Variant72(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant26(__symbols); - let __sym1 = __pop_Variant88(__symbols); + let __sym1 = __pop_Variant87(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1531::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1581::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (7, 205) } pub(crate) fn __reduce591< @@ -32204,17 +32193,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchCase = "case", Patterns, Guard, ":", Suite => ActionFn(1415); + // MatchCase = "case", Patterns, Guard, ":", Suite => ActionFn(1465); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant76(__symbols); + let __sym4 = __pop_Variant75(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1415::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant85(__nt), __end)); + let __nt = super::__action1465::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant84(__nt), __end)); (5, 206) } pub(crate) fn __reduce592< @@ -32224,16 +32213,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchCase = "case", Patterns, ":", Suite => ActionFn(1416); + // MatchCase = "case", Patterns, ":", Suite => ActionFn(1466); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1416::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant85(__nt), __end)); + let __nt = super::__action1466::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant84(__nt), __end)); (4, 206) } pub(crate) fn __reduce593< @@ -32244,11 +32233,11 @@ mod __parse__Top { ) -> (usize, usize) { // MatchCase+ = MatchCase => ActionFn(311); - let __sym0 = __pop_Variant85(__symbols); + let __sym0 = __pop_Variant84(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action311::<>(__sym0); - __symbols.push((__start, __Symbol::Variant86(__nt), __end)); + __symbols.push((__start, __Symbol::Variant85(__nt), __end)); (1, 207) } pub(crate) fn __reduce594< @@ -32260,12 +32249,12 @@ mod __parse__Top { { // MatchCase+ = MatchCase+, MatchCase => ActionFn(312); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant85(__symbols); - let __sym0 = __pop_Variant86(__symbols); + let __sym1 = __pop_Variant84(__symbols); + let __sym0 = __pop_Variant85(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action312::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant86(__nt), __end)); + __symbols.push((__start, __Symbol::Variant85(__nt), __end)); (2, 207) } pub(crate) fn __reduce595< @@ -32279,11 +32268,11 @@ mod __parse__Top { assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; let __nt = super::__action129::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant87(__nt), __end)); + __symbols.push((__start, __Symbol::Variant86(__nt), __end)); (3, 208) } pub(crate) fn __reduce596< @@ -32301,7 +32290,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym2.2; let __nt = super::__action124::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant88(__nt), __end)); + __symbols.push((__start, __Symbol::Variant87(__nt), __end)); (3, 209) } pub(crate) fn __reduce597< @@ -32311,11 +32300,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchName = Identifier => ActionFn(1027); - let __sym0 = __pop_Variant73(__symbols); + // MatchName = Identifier => ActionFn(1050); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1027::<>(__sym0); + let __nt = super::__action1050::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 210) } @@ -32326,14 +32315,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchNameOrAttr = MatchName, ".", Identifier => ActionFn(1028); + // MatchNameOrAttr = MatchName, ".", Identifier => ActionFn(1051); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1028::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1051::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 211) } @@ -32344,14 +32333,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchNameOrAttr = MatchNameOrAttr, ".", Identifier => ActionFn(1029); + // MatchNameOrAttr = MatchNameOrAttr, ".", Identifier => ActionFn(1052); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1029::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1052::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 211) } @@ -32362,10 +32351,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchStatement = "match", TestOrStarNamedExpr, ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1030); + // MatchStatement = "match", TestOrStarNamedExpr, ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1053); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); - let __sym5 = __pop_Variant86(__symbols); + let __sym5 = __pop_Variant85(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -32373,7 +32362,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1030::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1053::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 212) } @@ -32384,10 +32373,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchStatement = "match", TestOrStarNamedExpr, ",", ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1031); + // MatchStatement = "match", TestOrStarNamedExpr, ",", ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1054); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant86(__symbols); + let __sym6 = __pop_Variant85(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -32396,7 +32385,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1031::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + let __nt = super::__action1054::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (8, 212) } @@ -32407,10 +32396,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ",", ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1580); + // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ",", ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1630); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant86(__symbols); + let __sym8 = __pop_Variant85(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -32421,7 +32410,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = super::__action1580::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); + let __nt = super::__action1630::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (10, 212) } @@ -32432,10 +32421,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, ",", ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1581); + // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, ",", ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1631); assert!(__symbols.len() >= 11); let __sym10 = __pop_Variant0(__symbols); - let __sym9 = __pop_Variant86(__symbols); + let __sym9 = __pop_Variant85(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -32447,7 +32436,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym10.2; - let __nt = super::__action1581::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10); + let __nt = super::__action1631::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9, __sym10); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (11, 212) } @@ -32458,10 +32447,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1582); + // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1632); assert!(__symbols.len() >= 9); let __sym8 = __pop_Variant0(__symbols); - let __sym7 = __pop_Variant86(__symbols); + let __sym7 = __pop_Variant85(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); @@ -32471,7 +32460,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym8.2; - let __nt = super::__action1582::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); + let __nt = super::__action1632::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (9, 212) } @@ -32482,10 +32471,10 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1583); + // MatchStatement = "match", TestOrStarNamedExpr, ",", TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, ":", "\n", Indent, MatchCase+, Dedent => ActionFn(1633); assert!(__symbols.len() >= 10); let __sym9 = __pop_Variant0(__symbols); - let __sym8 = __pop_Variant86(__symbols); + let __sym8 = __pop_Variant85(__symbols); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -32496,7 +32485,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = super::__action1583::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); + let __nt = super::__action1633::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (10, 212) } @@ -32582,14 +32571,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // NamedExpression = Identifier, ":=", Test<"all"> => ActionFn(1034); + // NamedExpression = Identifier, ":=", Test<"all"> => ActionFn(1057); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1034::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1057::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 214) } @@ -32660,13 +32649,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // NonlocalStatement = "nonlocal", Identifier => ActionFn(1490); + // NonlocalStatement = "nonlocal", Identifier => ActionFn(1540); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1490::<>(__sym0, __sym1); + let __nt = super::__action1540::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 217) } @@ -32677,14 +32666,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // NonlocalStatement = "nonlocal", Identifier, ("," Identifier)+ => ActionFn(1491); + // NonlocalStatement = "nonlocal", Identifier, ("," Identifier)+ => ActionFn(1541); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant18(__symbols); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1491::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1541::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (3, 217) } @@ -32695,13 +32684,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // NotTest<"all"> = "not", NotTest<"all"> => ActionFn(1036); + // NotTest<"all"> = "not", NotTest<"all"> => ActionFn(1059); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1036::<>(__sym0, __sym1); + let __nt = super::__action1059::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 218) } @@ -32727,13 +32716,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // NotTest<"no-withitems"> = "not", NotTest<"all"> => ActionFn(1037); + // NotTest<"no-withitems"> = "not", NotTest<"all"> => ActionFn(1060); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1037::<>(__sym0, __sym1); + let __nt = super::__action1060::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 219) } @@ -32760,11 +32749,11 @@ mod __parse__Top { ) -> (usize, usize) { // OneOrMore = DictElement => ActionFn(698); - let __sym0 = __pop_Variant69(__symbols); + let __sym0 = __pop_Variant68(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action698::<>(__sym0); - __symbols.push((__start, __Symbol::Variant71(__nt), __end)); + __symbols.push((__start, __Symbol::Variant70(__nt), __end)); (1, 220) } pub(crate) fn __reduce623< @@ -32777,11 +32766,11 @@ mod __parse__Top { // OneOrMore = DictElement, ("," DictElement)+ => ActionFn(699); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant14(__symbols); - let __sym0 = __pop_Variant69(__symbols); + let __sym0 = __pop_Variant68(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action699::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant71(__nt), __end)); + __symbols.push((__start, __Symbol::Variant70(__nt), __end)); (2, 220) } pub(crate) fn __reduce624< @@ -32824,11 +32813,11 @@ mod __parse__Top { ) -> (usize, usize) { // OneOrMore = Identifier => ActionFn(706); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action706::<>(__sym0); - __symbols.push((__start, __Symbol::Variant89(__nt), __end)); + __symbols.push((__start, __Symbol::Variant88(__nt), __end)); (1, 222) } pub(crate) fn __reduce627< @@ -32841,11 +32830,11 @@ mod __parse__Top { // OneOrMore = Identifier, ("," Identifier)+ => ActionFn(707); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant18(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action707::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant89(__nt), __end)); + __symbols.push((__start, __Symbol::Variant88(__nt), __end)); (2, 222) } pub(crate) fn __reduce628< @@ -32855,15 +32844,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = DottedName, "as", Identifier => ActionFn(1090); + // OneOrMore> = DottedName, "as", Identifier => ActionFn(1140); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1090::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1140::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (3, 223) } pub(crate) fn __reduce629< @@ -32873,16 +32862,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = DottedName, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1091); + // OneOrMore> = DottedName, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1141); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant20(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1091::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1141::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (4, 223) } pub(crate) fn __reduce630< @@ -32892,12 +32881,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = DottedName => ActionFn(1092); - let __sym0 = __pop_Variant73(__symbols); + // OneOrMore> = DottedName => ActionFn(1142); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1092::<>(__sym0); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1142::<>(__sym0); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (1, 223) } pub(crate) fn __reduce631< @@ -32907,14 +32896,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = DottedName, ("," ImportAsAlias)+ => ActionFn(1093); + // OneOrMore> = DottedName, ("," ImportAsAlias)+ => ActionFn(1143); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant20(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1093::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1143::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (2, 223) } pub(crate) fn __reduce632< @@ -32924,15 +32913,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = Identifier, "as", Identifier => ActionFn(1102); + // OneOrMore> = Identifier, "as", Identifier => ActionFn(1152); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1102::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1152::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (3, 224) } pub(crate) fn __reduce633< @@ -32942,16 +32931,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = Identifier, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1103); + // OneOrMore> = Identifier, "as", Identifier, ("," ImportAsAlias)+ => ActionFn(1153); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant20(__symbols); - let __sym2 = __pop_Variant73(__symbols); + let __sym2 = __pop_Variant72(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1103::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1153::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (4, 224) } pub(crate) fn __reduce634< @@ -32961,12 +32950,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = Identifier => ActionFn(1104); - let __sym0 = __pop_Variant73(__symbols); + // OneOrMore> = Identifier => ActionFn(1154); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1104::<>(__sym0); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1154::<>(__sym0); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (1, 224) } pub(crate) fn __reduce635< @@ -32976,14 +32965,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = Identifier, ("," ImportAsAlias)+ => ActionFn(1105); + // OneOrMore> = Identifier, ("," ImportAsAlias)+ => ActionFn(1155); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant20(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1105::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant80(__nt), __end)); + let __nt = super::__action1155::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant79(__nt), __end)); (2, 224) } pub(crate) fn __reduce636< @@ -32993,12 +32982,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = MatchKeywordEntry => ActionFn(1118); - let __sym0 = __pop_Variant87(__symbols); + // OneOrMore = MatchKeywordEntry => ActionFn(1168); + let __sym0 = __pop_Variant86(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1118::<>(__sym0); - __symbols.push((__start, __Symbol::Variant90(__nt), __end)); + let __nt = super::__action1168::<>(__sym0); + __symbols.push((__start, __Symbol::Variant89(__nt), __end)); (1, 225) } pub(crate) fn __reduce637< @@ -33008,14 +32997,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = MatchKeywordEntry, ("," MatchKeywordEntry)+ => ActionFn(1119); + // OneOrMore = MatchKeywordEntry, ("," MatchKeywordEntry)+ => ActionFn(1169); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant24(__symbols); - let __sym0 = __pop_Variant87(__symbols); + let __sym0 = __pop_Variant86(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1119::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant90(__nt), __end)); + let __nt = super::__action1169::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant89(__nt), __end)); (2, 225) } pub(crate) fn __reduce638< @@ -33025,12 +33014,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = MatchMappingEntry => ActionFn(1122); - let __sym0 = __pop_Variant88(__symbols); + // OneOrMore = MatchMappingEntry => ActionFn(1172); + let __sym0 = __pop_Variant87(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1122::<>(__sym0); - __symbols.push((__start, __Symbol::Variant91(__nt), __end)); + let __nt = super::__action1172::<>(__sym0); + __symbols.push((__start, __Symbol::Variant90(__nt), __end)); (1, 226) } pub(crate) fn __reduce639< @@ -33040,14 +33029,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = MatchMappingEntry, ("," MatchMappingEntry)+ => ActionFn(1123); + // OneOrMore = MatchMappingEntry, ("," MatchMappingEntry)+ => ActionFn(1173); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant26(__symbols); - let __sym0 = __pop_Variant88(__symbols); + let __sym0 = __pop_Variant87(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1123::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant91(__nt), __end)); + let __nt = super::__action1173::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant90(__nt), __end)); (2, 226) } pub(crate) fn __reduce640< @@ -33057,12 +33046,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = ParameterDef => ActionFn(1126); - let __sym0 = __pop_Variant93(__symbols); + // OneOrMore> = ParameterDef => ActionFn(1176); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1126::<>(__sym0); - __symbols.push((__start, __Symbol::Variant92(__nt), __end)); + let __nt = super::__action1176::<>(__sym0); + __symbols.push((__start, __Symbol::Variant91(__nt), __end)); (1, 227) } pub(crate) fn __reduce641< @@ -33072,14 +33061,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = ParameterDef, ("," ParameterDef)+ => ActionFn(1127); + // OneOrMore> = ParameterDef, ("," ParameterDef)+ => ActionFn(1177); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1127::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant92(__nt), __end)); + let __nt = super::__action1177::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant91(__nt), __end)); (2, 227) } pub(crate) fn __reduce642< @@ -33089,12 +33078,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = ParameterDef => ActionFn(1136); - let __sym0 = __pop_Variant93(__symbols); + // OneOrMore> = ParameterDef => ActionFn(1186); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1136::<>(__sym0); - __symbols.push((__start, __Symbol::Variant92(__nt), __end)); + let __nt = super::__action1186::<>(__sym0); + __symbols.push((__start, __Symbol::Variant91(__nt), __end)); (1, 228) } pub(crate) fn __reduce643< @@ -33104,14 +33093,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = ParameterDef, ("," ParameterDef)+ => ActionFn(1137); + // OneOrMore> = ParameterDef, ("," ParameterDef)+ => ActionFn(1187); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1137::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant92(__nt), __end)); + let __nt = super::__action1187::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant91(__nt), __end)); (2, 228) } pub(crate) fn __reduce644< @@ -33121,12 +33110,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = Pattern => ActionFn(1264); + // OneOrMore = Pattern => ActionFn(1314); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1264::<>(__sym0); - __symbols.push((__start, __Symbol::Variant64(__nt), __end)); + let __nt = super::__action1314::<>(__sym0); + __symbols.push((__start, __Symbol::Variant63(__nt), __end)); (1, 229) } pub(crate) fn __reduce645< @@ -33136,14 +33125,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = Pattern, ("," Pattern)+ => ActionFn(1265); + // OneOrMore = Pattern, ("," Pattern)+ => ActionFn(1315); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant32(__symbols); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1265::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant64(__nt), __end)); + let __nt = super::__action1315::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant63(__nt), __end)); (2, 229) } pub(crate) fn __reduce646< @@ -33153,11 +33142,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = Test<"all"> => ActionFn(1275); + // OneOrMore> = Test<"all"> => ActionFn(1325); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1275::<>(__sym0); + let __nt = super::__action1325::<>(__sym0); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (1, 230) } @@ -33168,13 +33157,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore> = Test<"all">, ("," Test<"all">)+ => ActionFn(1276); + // OneOrMore> = Test<"all">, ("," Test<"all">)+ => ActionFn(1326); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1276::<>(__sym0, __sym1); + let __nt = super::__action1326::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 230) } @@ -33185,11 +33174,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = TestOrStarExpr => ActionFn(1281); + // OneOrMore = TestOrStarExpr => ActionFn(1331); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1281::<>(__sym0); + let __nt = super::__action1331::<>(__sym0); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (1, 231) } @@ -33200,13 +33189,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = TestOrStarExpr, ("," TestOrStarExpr)+ => ActionFn(1282); + // OneOrMore = TestOrStarExpr, ("," TestOrStarExpr)+ => ActionFn(1332); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1282::<>(__sym0, __sym1); + let __nt = super::__action1332::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 231) } @@ -33217,11 +33206,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = TestOrStarNamedExpr => ActionFn(1285); + // OneOrMore = TestOrStarNamedExpr => ActionFn(1335); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1285::<>(__sym0); + let __nt = super::__action1335::<>(__sym0); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (1, 232) } @@ -33232,13 +33221,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OneOrMore = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+ => ActionFn(1286); + // OneOrMore = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+ => ActionFn(1336); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1286::<>(__sym0, __sym1); + let __nt = super::__action1336::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 232) } @@ -33264,13 +33253,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OrPattern = ClosedPattern, ("|" )+ => ActionFn(1038); + // OrPattern = ClosedPattern, ("|" )+ => ActionFn(1061); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant41(__symbols); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1038::<>(__sym0, __sym1); + let __nt = super::__action1061::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (2, 233) } @@ -33281,13 +33270,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OrTest<"all"> = AndTest<"all">, ("or" AndTest<"all">)+ => ActionFn(1039); + // OrTest<"all"> = AndTest<"all">, ("or" AndTest<"all">)+ => ActionFn(1062); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1039::<>(__sym0, __sym1); + let __nt = super::__action1062::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 234) } @@ -33313,13 +33302,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // OrTest<"no-withitems"> = AndTest<"all">, ("or" AndTest<"all">)+ => ActionFn(1040); + // OrTest<"no-withitems"> = AndTest<"all">, ("or" AndTest<"all">)+ => ActionFn(1063); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1040::<>(__sym0, __sym1); + let __nt = super::__action1063::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 235) } @@ -33346,11 +33335,11 @@ mod __parse__Top { ) -> (usize, usize) { // ParameterDef = TypedParameter => ActionFn(473); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action473::<>(__sym0); - __symbols.push((__start, __Symbol::Variant93(__nt), __end)); + __symbols.push((__start, __Symbol::Variant92(__nt), __end)); (1, 236) } pub(crate) fn __reduce659< @@ -33364,11 +33353,11 @@ mod __parse__Top { assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym2.2; let __nt = super::__action474::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant93(__nt), __end)); + __symbols.push((__start, __Symbol::Variant92(__nt), __end)); (3, 236) } pub(crate) fn __reduce660< @@ -33379,11 +33368,11 @@ mod __parse__Top { ) -> (usize, usize) { // ParameterDef = UntypedParameter => ActionFn(463); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action463::<>(__sym0); - __symbols.push((__start, __Symbol::Variant93(__nt), __end)); + __symbols.push((__start, __Symbol::Variant92(__nt), __end)); (1, 237) } pub(crate) fn __reduce661< @@ -33397,11 +33386,11 @@ mod __parse__Top { assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym2.2; let __nt = super::__action464::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant93(__nt), __end)); + __symbols.push((__start, __Symbol::Variant92(__nt), __end)); (3, 237) } pub(crate) fn __reduce662< @@ -33411,12 +33400,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef => ActionFn(1532); - let __sym0 = __pop_Variant93(__symbols); + // ParameterDefs = ParameterDef => ActionFn(1582); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1532::<>(__sym0); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1582::<>(__sym0); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (1, 238) } pub(crate) fn __reduce663< @@ -33426,14 +33415,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ("," ParameterDef)+ => ActionFn(1533); + // ParameterDefs = ParameterDef, ("," ParameterDef)+ => ActionFn(1583); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1533::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1583::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (2, 238) } pub(crate) fn __reduce664< @@ -33443,15 +33432,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ",", "/" => ActionFn(1534); + // ParameterDefs = ParameterDef, ",", "/" => ActionFn(1584); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1534::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1584::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (3, 238) } pub(crate) fn __reduce665< @@ -33461,16 +33450,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1535); + // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1585); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1535::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1585::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (4, 238) } pub(crate) fn __reduce666< @@ -33480,16 +33469,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1536); + // ParameterDefs = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1586); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1536::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1586::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (4, 238) } pub(crate) fn __reduce667< @@ -33499,17 +33488,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1537); + // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1587); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1537::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1587::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (5, 238) } pub(crate) fn __reduce668< @@ -33519,12 +33508,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef => ActionFn(1538); - let __sym0 = __pop_Variant93(__symbols); + // ParameterDefs = ParameterDef => ActionFn(1588); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1538::<>(__sym0); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1588::<>(__sym0); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (1, 239) } pub(crate) fn __reduce669< @@ -33534,14 +33523,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ("," ParameterDef)+ => ActionFn(1539); + // ParameterDefs = ParameterDef, ("," ParameterDef)+ => ActionFn(1589); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1539::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1589::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (2, 239) } pub(crate) fn __reduce670< @@ -33551,15 +33540,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ",", "/" => ActionFn(1540); + // ParameterDefs = ParameterDef, ",", "/" => ActionFn(1590); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1540::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1590::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (3, 239) } pub(crate) fn __reduce671< @@ -33569,16 +33558,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1541); + // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/" => ActionFn(1591); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1541::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1591::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (4, 239) } pub(crate) fn __reduce672< @@ -33588,16 +33577,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1542); + // ParameterDefs = ParameterDef, ",", "/", ("," ParameterDef)+ => ActionFn(1592); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant28(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1542::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1592::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (4, 239) } pub(crate) fn __reduce673< @@ -33607,17 +33596,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1543); + // ParameterDefs = ParameterDef, ("," ParameterDef)+, ",", "/", ("," ParameterDef)+ => ActionFn(1593); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant28(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant28(__symbols); - let __sym0 = __pop_Variant93(__symbols); + let __sym0 = __pop_Variant92(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1543::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant94(__nt), __end)); + let __nt = super::__action1593::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant93(__nt), __end)); (5, 239) } pub(crate) fn __reduce810< @@ -33627,13 +33616,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterList = KwargParameter, "," => ActionFn(647); + // ParameterList = KwargParameter, "," => ActionFn(1070); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant84(__symbols); + let __sym0 = __pop_Variant83(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action647::<>(__sym0, __sym1); + let __nt = super::__action1070::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (2, 240) } @@ -33644,11 +33633,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterList = KwargParameter => ActionFn(648); - let __sym0 = __pop_Variant84(__symbols); + // ParameterList = KwargParameter => ActionFn(1071); + let __sym0 = __pop_Variant83(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action648::<>(__sym0); + let __nt = super::__action1071::<>(__sym0); __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (1, 240) } @@ -33659,13 +33648,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterList = KwargParameter, "," => ActionFn(655); + // ParameterList = KwargParameter, "," => ActionFn(1078); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant84(__symbols); + let __sym0 = __pop_Variant83(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action655::<>(__sym0, __sym1); + let __nt = super::__action1078::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (2, 241) } @@ -33676,11 +33665,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ParameterList = KwargParameter => ActionFn(656); - let __sym0 = __pop_Variant84(__symbols); + // ParameterList = KwargParameter => ActionFn(1079); + let __sym0 = __pop_Variant83(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action656::<>(__sym0); + let __nt = super::__action1079::<>(__sym0); __symbols.push((__start, __Symbol::Variant55(__nt), __end)); (1, 241) } @@ -33720,11 +33709,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // PassStatement = "pass" => ActionFn(1043); + // PassStatement = "pass" => ActionFn(1083); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1043::<>(__sym0); + let __nt = super::__action1083::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 246) } @@ -33770,7 +33759,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action382::<>(__sym0); - __symbols.push((__start, __Symbol::Variant96(__nt), __end)); + __symbols.push((__start, __Symbol::Variant95(__nt), __end)); (1, 248) } pub(crate) fn __reduce974< @@ -33784,7 +33773,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action383::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant96(__nt), __end)); + __symbols.push((__start, __Symbol::Variant95(__nt), __end)); (0, 248) } pub(crate) fn __reduce975< @@ -33794,13 +33783,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Patterns = Pattern, "," => ActionFn(1044); + // Patterns = Pattern, "," => ActionFn(1084); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1044::<>(__sym0, __sym1); + let __nt = super::__action1084::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (2, 249) } @@ -33811,7 +33800,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Patterns = Pattern, ",", Pattern, "," => ActionFn(1568); + // Patterns = Pattern, ",", Pattern, "," => ActionFn(1618); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -33819,7 +33808,7 @@ mod __parse__Top { let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1568::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1618::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 249) } @@ -33830,7 +33819,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Patterns = Pattern, ",", Pattern, ("," Pattern)+, "," => ActionFn(1569); + // Patterns = Pattern, ",", Pattern, ("," Pattern)+, "," => ActionFn(1619); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant32(__symbols); @@ -33839,7 +33828,7 @@ mod __parse__Top { let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1569::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1619::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 249) } @@ -33850,14 +33839,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Patterns = Pattern, ",", Pattern => ActionFn(1570); + // Patterns = Pattern, ",", Pattern => ActionFn(1620); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant40(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1570::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1620::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 249) } @@ -33868,7 +33857,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Patterns = Pattern, ",", Pattern, ("," Pattern)+ => ActionFn(1571); + // Patterns = Pattern, ",", Pattern, ("," Pattern)+ => ActionFn(1621); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant32(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -33876,7 +33865,7 @@ mod __parse__Top { let __sym0 = __pop_Variant40(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1571::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1621::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 249) } @@ -33902,14 +33891,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Power<"all"> = AtomExpr<"all">, "**", Factor<"all"> => ActionFn(1047); + // Power<"all"> = AtomExpr<"all">, "**", Factor<"all"> => ActionFn(1087); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1047::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1087::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 250) } @@ -33935,14 +33924,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Power<"no-withitems"> = AtomExpr<"all">, "**", Factor<"all"> => ActionFn(1048); + // Power<"no-withitems"> = AtomExpr<"all">, "**", Factor<"all"> => ActionFn(1088); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1048::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1088::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 251) } @@ -33968,11 +33957,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Program = => ActionFn(1468); + // Program = => ActionFn(1518); let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); - let __nt = super::__action1468::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + let __nt = super::__action1518::<>(&__start, &__end); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (0, 252) } pub(crate) fn __reduce986< @@ -33982,12 +33971,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Program = FileLine+ => ActionFn(1469); - let __sym0 = __pop_Variant77(__symbols); + // Program = FileLine+ => ActionFn(1519); + let __sym0 = __pop_Variant76(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1469::<>(__sym0); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + let __nt = super::__action1519::<>(__sym0); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (1, 252) } pub(crate) fn __reduce987< @@ -33997,11 +33986,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // RaiseStatement = "raise" => ActionFn(1049); + // RaiseStatement = "raise" => ActionFn(1089); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1049::<>(__sym0); + let __nt = super::__action1089::<>(__sym0); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (1, 253) } @@ -34012,7 +34001,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // RaiseStatement = "raise", Test<"all">, "from", Test<"all"> => ActionFn(1336); + // RaiseStatement = "raise", Test<"all">, "from", Test<"all"> => ActionFn(1386); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -34020,7 +34009,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1336::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1386::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 253) } @@ -34031,13 +34020,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // RaiseStatement = "raise", Test<"all"> => ActionFn(1337); + // RaiseStatement = "raise", Test<"all"> => ActionFn(1387); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1337::<>(__sym0, __sym1); + let __nt = super::__action1387::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (2, 253) } @@ -34048,15 +34037,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "(", Pattern, ")" => ActionFn(1051); + // SequencePattern = "(", Pattern, ")" => ActionFn(1091); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1051::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1091::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 254) } pub(crate) fn __reduce991< @@ -34066,14 +34055,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "(", ")" => ActionFn(1052); + // SequencePattern = "(", ")" => ActionFn(1092); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1052::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1092::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (2, 254) } pub(crate) fn __reduce992< @@ -34083,7 +34072,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "(", Pattern, ",", Pattern, ")" => ActionFn(1438); + // SequencePattern = "(", Pattern, ",", Pattern, ")" => ActionFn(1488); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant40(__symbols); @@ -34092,8 +34081,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1438::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1488::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 254) } pub(crate) fn __reduce993< @@ -34103,7 +34092,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "(", Pattern, ",", ")" => ActionFn(1439); + // SequencePattern = "(", Pattern, ",", ")" => ActionFn(1489); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -34111,8 +34100,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1439::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1489::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 254) } pub(crate) fn __reduce994< @@ -34122,7 +34111,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "(", Pattern, ",", ( ",")+, Pattern, ")" => ActionFn(1440); + // SequencePattern = "(", Pattern, ",", ( ",")+, Pattern, ")" => ActionFn(1490); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant40(__symbols); @@ -34132,8 +34121,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1440::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1490::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (6, 254) } pub(crate) fn __reduce995< @@ -34143,7 +34132,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "(", Pattern, ",", ( ",")+, ")" => ActionFn(1441); + // SequencePattern = "(", Pattern, ",", ( ",")+, ")" => ActionFn(1491); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant41(__symbols); @@ -34152,8 +34141,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1441::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1491::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (5, 254) } pub(crate) fn __reduce996< @@ -34163,15 +34152,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "[", Pattern, "]" => ActionFn(1442); + // SequencePattern = "[", Pattern, "]" => ActionFn(1492); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant40(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1442::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1492::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 254) } pub(crate) fn __reduce997< @@ -34181,14 +34170,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "[", "]" => ActionFn(1443); + // SequencePattern = "[", "]" => ActionFn(1493); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1443::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1493::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (2, 254) } pub(crate) fn __reduce998< @@ -34198,7 +34187,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "[", ( ",")+, Pattern, "]" => ActionFn(1444); + // SequencePattern = "[", ( ",")+, Pattern, "]" => ActionFn(1494); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant40(__symbols); @@ -34206,8 +34195,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1444::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1494::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (4, 254) } pub(crate) fn __reduce999< @@ -34217,15 +34206,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SequencePattern = "[", ( ",")+, "]" => ActionFn(1445); + // SequencePattern = "[", ( ",")+, "]" => ActionFn(1495); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant41(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1445::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1495::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (3, 254) } pub(crate) fn __reduce1000< @@ -34235,13 +34224,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SetLiteralValues = TestOrStarNamedExpr, "," => ActionFn(1584); + // SetLiteralValues = TestOrStarNamedExpr, "," => ActionFn(1634); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1584::<>(__sym0, __sym1); + let __nt = super::__action1634::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 255) } @@ -34252,14 +34241,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SetLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, "," => ActionFn(1585); + // SetLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+, "," => ActionFn(1635); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1585::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1635::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (3, 255) } @@ -34270,11 +34259,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SetLiteralValues = TestOrStarNamedExpr => ActionFn(1586); + // SetLiteralValues = TestOrStarNamedExpr => ActionFn(1636); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1586::<>(__sym0); + let __nt = super::__action1636::<>(__sym0); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (1, 255) } @@ -34285,13 +34274,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SetLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+ => ActionFn(1587); + // SetLiteralValues = TestOrStarNamedExpr, ("," TestOrStarNamedExpr)+ => ActionFn(1637); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1587::<>(__sym0, __sym1); + let __nt = super::__action1637::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant44(__nt), __end)); (2, 255) } @@ -34302,14 +34291,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ShiftExpression<"all"> = ShiftExpression<"all">, ShiftOp, ArithmeticExpression<"all"> => ActionFn(1055); + // ShiftExpression<"all"> = ShiftExpression<"all">, ShiftOp, ArithmeticExpression<"all"> => ActionFn(1095); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1055::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1095::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 256) } @@ -34335,14 +34324,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ShiftExpression<"no-withitems"> = ShiftExpression<"all">, ShiftOp, ArithmeticExpression<"all"> => ActionFn(1056); + // ShiftExpression<"no-withitems"> = ShiftExpression<"all">, ShiftOp, ArithmeticExpression<"all"> => ActionFn(1096); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1056::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1096::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 257) } @@ -34398,15 +34387,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SimpleStatement = SmallStatement, ";", "\n" => ActionFn(1302); + // SimpleStatement = SmallStatement, ";", "\n" => ActionFn(1352); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant61(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1302::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + let __nt = super::__action1352::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (3, 259) } pub(crate) fn __reduce1011< @@ -34416,7 +34405,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SimpleStatement = SmallStatement, (";" SmallStatement)+, ";", "\n" => ActionFn(1303); + // SimpleStatement = SmallStatement, (";" SmallStatement)+, ";", "\n" => ActionFn(1353); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -34424,8 +34413,8 @@ mod __parse__Top { let __sym0 = __pop_Variant61(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1303::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + let __nt = super::__action1353::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (4, 259) } pub(crate) fn __reduce1012< @@ -34435,14 +34424,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SimpleStatement = SmallStatement, "\n" => ActionFn(1304); + // SimpleStatement = SmallStatement, "\n" => ActionFn(1354); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant61(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1304::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + let __nt = super::__action1354::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (2, 259) } pub(crate) fn __reduce1013< @@ -34452,15 +34441,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SimpleStatement = SmallStatement, (";" SmallStatement)+, "\n" => ActionFn(1305); + // SimpleStatement = SmallStatement, (";" SmallStatement)+, "\n" => ActionFn(1355); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant35(__symbols); let __sym0 = __pop_Variant61(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1305::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + let __nt = super::__action1355::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (3, 259) } pub(crate) fn __reduce1014< @@ -34470,7 +34459,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SingleForComprehension = "async", "for", ExpressionList, "in", OrTest<"all"> => ActionFn(1448); + // SingleForComprehension = "async", "for", ExpressionList, "in", OrTest<"all"> => ActionFn(1498); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant9(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -34479,8 +34468,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1448::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant97(__nt), __end)); + let __nt = super::__action1498::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant96(__nt), __end)); (5, 260) } pub(crate) fn __reduce1015< @@ -34490,7 +34479,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SingleForComprehension = "async", "for", ExpressionList, "in", OrTest<"all">, ComprehensionIf+ => ActionFn(1449); + // SingleForComprehension = "async", "for", ExpressionList, "in", OrTest<"all">, ComprehensionIf+ => ActionFn(1499); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant10(__symbols); let __sym4 = __pop_Variant9(__symbols); @@ -34500,8 +34489,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1449::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); - __symbols.push((__start, __Symbol::Variant97(__nt), __end)); + let __nt = super::__action1499::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + __symbols.push((__start, __Symbol::Variant96(__nt), __end)); (6, 260) } pub(crate) fn __reduce1016< @@ -34511,7 +34500,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SingleForComprehension = "for", ExpressionList, "in", OrTest<"all"> => ActionFn(1450); + // SingleForComprehension = "for", ExpressionList, "in", OrTest<"all"> => ActionFn(1500); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant9(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -34519,8 +34508,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1450::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant97(__nt), __end)); + let __nt = super::__action1500::<>(__sym0, __sym1, __sym2, __sym3); + __symbols.push((__start, __Symbol::Variant96(__nt), __end)); (4, 260) } pub(crate) fn __reduce1017< @@ -34530,7 +34519,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SingleForComprehension = "for", ExpressionList, "in", OrTest<"all">, ComprehensionIf+ => ActionFn(1451); + // SingleForComprehension = "for", ExpressionList, "in", OrTest<"all">, ComprehensionIf+ => ActionFn(1501); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant10(__symbols); let __sym3 = __pop_Variant9(__symbols); @@ -34539,8 +34528,8 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1451::<>(__sym0, __sym1, __sym2, __sym3, __sym4); - __symbols.push((__start, __Symbol::Variant97(__nt), __end)); + let __nt = super::__action1501::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + __symbols.push((__start, __Symbol::Variant96(__nt), __end)); (5, 260) } pub(crate) fn __reduce1018< @@ -34551,11 +34540,11 @@ mod __parse__Top { ) -> (usize, usize) { // SingleForComprehension+ = SingleForComprehension => ActionFn(225); - let __sym0 = __pop_Variant97(__symbols); + let __sym0 = __pop_Variant96(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action225::<>(__sym0); - __symbols.push((__start, __Symbol::Variant98(__nt), __end)); + __symbols.push((__start, __Symbol::Variant97(__nt), __end)); (1, 261) } pub(crate) fn __reduce1019< @@ -34567,12 +34556,12 @@ mod __parse__Top { { // SingleForComprehension+ = SingleForComprehension+, SingleForComprehension => ActionFn(226); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant97(__symbols); - let __sym0 = __pop_Variant98(__symbols); + let __sym1 = __pop_Variant96(__symbols); + let __sym0 = __pop_Variant97(__symbols); let __start = __sym0.0; let __end = __sym1.2; let __nt = super::__action226::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant98(__nt), __end)); + __symbols.push((__start, __Symbol::Variant97(__nt), __end)); (2, 261) } pub(crate) fn __reduce1020< @@ -34582,14 +34571,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SliceOp = ":", Test<"all"> => ActionFn(1834); + // SliceOp = ":", Test<"all"> => ActionFn(1884); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1834::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant99(__nt), __end)); + let __nt = super::__action1884::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant98(__nt), __end)); (2, 262) } pub(crate) fn __reduce1021< @@ -34599,12 +34588,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SliceOp = ":" => ActionFn(1835); + // SliceOp = ":" => ActionFn(1885); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1835::<>(__sym0); - __symbols.push((__start, __Symbol::Variant99(__nt), __end)); + let __nt = super::__action1885::<>(__sym0); + __symbols.push((__start, __Symbol::Variant98(__nt), __end)); (1, 262) } pub(crate) fn __reduce1022< @@ -34615,11 +34604,11 @@ mod __parse__Top { ) -> (usize, usize) { // SliceOp? = SliceOp => ActionFn(233); - let __sym0 = __pop_Variant99(__symbols); + let __sym0 = __pop_Variant98(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action233::<>(__sym0); - __symbols.push((__start, __Symbol::Variant100(__nt), __end)); + __symbols.push((__start, __Symbol::Variant99(__nt), __end)); (1, 263) } pub(crate) fn __reduce1023< @@ -34633,7 +34622,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action234::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant100(__nt), __end)); + __symbols.push((__start, __Symbol::Variant99(__nt), __end)); (0, 263) } pub(crate) fn __reduce1024< @@ -34763,13 +34752,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // StarExpr = "*", Expression<"all"> => ActionFn(1060); + // StarExpr = "*", Expression<"all"> => ActionFn(1100); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1060::<>(__sym0, __sym1); + let __nt = super::__action1100::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 265) } @@ -34780,14 +34769,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // StarPattern = "*", Identifier => ActionFn(1061); + // StarPattern = "*", Identifier => ActionFn(1101); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant73(__symbols); + let __sym1 = __pop_Variant72(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1061::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1101::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (2, 266) } pub(crate) fn __reduce1034< @@ -34797,15 +34786,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // StarTypedParameter = Identifier, ":", TestOrStarExpr => ActionFn(1298); + // StarTypedParameter = Identifier, ":", TestOrStarExpr => ActionFn(1348); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1298::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant101(__nt), __end)); + let __nt = super::__action1348::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant100(__nt), __end)); (3, 267) } pub(crate) fn __reduce1035< @@ -34815,12 +34804,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // StarTypedParameter = Identifier => ActionFn(1299); - let __sym0 = __pop_Variant73(__symbols); + // StarTypedParameter = Identifier => ActionFn(1349); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1299::<>(__sym0); - __symbols.push((__start, __Symbol::Variant101(__nt), __end)); + let __nt = super::__action1349::<>(__sym0); + __symbols.push((__start, __Symbol::Variant100(__nt), __end)); (1, 267) } pub(crate) fn __reduce1036< @@ -34831,11 +34820,11 @@ mod __parse__Top { ) -> (usize, usize) { // StarTypedParameter? = StarTypedParameter => ActionFn(475); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action475::<>(__sym0); - __symbols.push((__start, __Symbol::Variant102(__nt), __end)); + __symbols.push((__start, __Symbol::Variant101(__nt), __end)); (1, 268) } pub(crate) fn __reduce1037< @@ -34849,7 +34838,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action476::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant102(__nt), __end)); + __symbols.push((__start, __Symbol::Variant101(__nt), __end)); (0, 268) } pub(crate) fn __reduce1038< @@ -34860,11 +34849,11 @@ mod __parse__Top { ) -> (usize, usize) { // Statement = SimpleStatement => ActionFn(9); - let __sym0 = __pop_Variant76(__symbols); + let __sym0 = __pop_Variant75(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action9::<>(__sym0); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (1, 269) } pub(crate) fn __reduce1039< @@ -34879,7 +34868,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action10::<>(__sym0); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (1, 269) } pub(crate) fn __reduce1040< @@ -34889,12 +34878,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Statement+ = Statement => ActionFn(349); - let __sym0 = __pop_Variant76(__symbols); + // Statement+ = Statement => ActionFn(347); + let __sym0 = __pop_Variant75(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action349::<>(__sym0); - __symbols.push((__start, __Symbol::Variant77(__nt), __end)); + let __nt = super::__action347::<>(__sym0); + __symbols.push((__start, __Symbol::Variant76(__nt), __end)); (1, 270) } pub(crate) fn __reduce1041< @@ -34904,14 +34893,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Statement+ = Statement+, Statement => ActionFn(350); + // Statement+ = Statement+, Statement => ActionFn(348); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant76(__symbols); - let __sym0 = __pop_Variant77(__symbols); + let __sym1 = __pop_Variant75(__symbols); + let __sym0 = __pop_Variant76(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action350::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant77(__nt), __end)); + let __nt = super::__action348::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant76(__nt), __end)); (2, 270) } pub(crate) fn __reduce1042< @@ -34936,15 +34925,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = Test<"all">, ":", Test<"all">, SliceOp => ActionFn(1836); + // Subscript = Test<"all">, ":", Test<"all">, SliceOp => ActionFn(1886); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant99(__symbols); + let __sym3 = __pop_Variant98(__symbols); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1836::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1886::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (4, 271) } @@ -34955,14 +34944,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = Test<"all">, ":", SliceOp => ActionFn(1837); + // Subscript = Test<"all">, ":", SliceOp => ActionFn(1887); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant99(__symbols); + let __sym2 = __pop_Variant98(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1837::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1887::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 271) } @@ -34973,14 +34962,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = ":", Test<"all">, SliceOp => ActionFn(1838); + // Subscript = ":", Test<"all">, SliceOp => ActionFn(1888); assert!(__symbols.len() >= 3); - let __sym2 = __pop_Variant99(__symbols); + let __sym2 = __pop_Variant98(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1838::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1888::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 271) } @@ -34991,13 +34980,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = ":", SliceOp => ActionFn(1839); + // Subscript = ":", SliceOp => ActionFn(1889); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant99(__symbols); + let __sym1 = __pop_Variant98(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1839::<>(__sym0, __sym1); + let __nt = super::__action1889::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 271) } @@ -35008,14 +34997,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = Test<"all">, ":", Test<"all"> => ActionFn(1840); + // Subscript = Test<"all">, ":", Test<"all"> => ActionFn(1890); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1840::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1890::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 271) } @@ -35026,13 +35015,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = Test<"all">, ":" => ActionFn(1841); + // Subscript = Test<"all">, ":" => ActionFn(1891); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1841::<>(__sym0, __sym1); + let __nt = super::__action1891::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 271) } @@ -35043,13 +35032,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = ":", Test<"all"> => ActionFn(1842); + // Subscript = ":", Test<"all"> => ActionFn(1892); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1842::<>(__sym0, __sym1); + let __nt = super::__action1892::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 271) } @@ -35060,11 +35049,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Subscript = ":" => ActionFn(1843); + // Subscript = ":" => ActionFn(1893); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1843::<>(__sym0); + let __nt = super::__action1893::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 271) } @@ -35075,13 +35064,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SubscriptList = Subscript, "," => ActionFn(1268); + // SubscriptList = Subscript, "," => ActionFn(1318); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1268::<>(__sym0, __sym1); + let __nt = super::__action1318::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 272) } @@ -35092,14 +35081,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SubscriptList = Subscript, ("," Subscript)+, "," => ActionFn(1269); + // SubscriptList = Subscript, ("," Subscript)+, "," => ActionFn(1319); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1269::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1319::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 272) } @@ -35110,11 +35099,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SubscriptList = Subscript => ActionFn(1270); + // SubscriptList = Subscript => ActionFn(1320); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1270::<>(__sym0); + let __nt = super::__action1320::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 272) } @@ -35125,13 +35114,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // SubscriptList = Subscript, ("," Subscript)+ => ActionFn(1271); + // SubscriptList = Subscript, ("," Subscript)+ => ActionFn(1321); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1271::<>(__sym0, __sym1); + let __nt = super::__action1321::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 272) } @@ -35143,11 +35132,11 @@ mod __parse__Top { ) -> (usize, usize) { // Suite = SimpleStatement => ActionFn(7); - let __sym0 = __pop_Variant76(__symbols); + let __sym0 = __pop_Variant75(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action7::<>(__sym0); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (1, 273) } pub(crate) fn __reduce1056< @@ -35160,13 +35149,13 @@ mod __parse__Top { // Suite = "\n", Indent, Statement+, Dedent => ActionFn(8); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant77(__symbols); + let __sym2 = __pop_Variant76(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; let __nt = super::__action8::<>(__sym0, __sym1, __sym2, __sym3); - __symbols.push((__start, __Symbol::Variant76(__nt), __end)); + __symbols.push((__start, __Symbol::Variant75(__nt), __end)); (4, 273) } pub(crate) fn __reduce1057< @@ -35176,14 +35165,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Term<"all"> = Term<"all">, MulOp, Factor<"all"> => ActionFn(1066); + // Term<"all"> = Term<"all">, MulOp, Factor<"all"> => ActionFn(1106); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1066::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1106::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 274) } @@ -35209,14 +35198,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Term<"no-withitems"> = Term<"all">, MulOp, Factor<"all"> => ActionFn(1067); + // Term<"no-withitems"> = Term<"all">, MulOp, Factor<"all"> => ActionFn(1107); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant59(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1067::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1107::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 275) } @@ -35242,7 +35231,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Test<"all"> = OrTest<"all">, "if", OrTest<"all">, "else", Test<"all"> => ActionFn(1068); + // Test<"all"> = OrTest<"all">, "if", OrTest<"all">, "else", Test<"all"> => ActionFn(1108); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant9(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -35251,7 +35240,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1068::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1108::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (5, 276) } @@ -35321,7 +35310,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Test<"no-withitems"> = OrTest<"all">, "if", OrTest<"all">, "else", Test<"all"> => ActionFn(1069); + // Test<"no-withitems"> = OrTest<"all">, "if", OrTest<"all">, "else", Test<"all"> => ActionFn(1109); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant9(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -35330,7 +35319,7 @@ mod __parse__Top { let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1069::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1109::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (5, 278) } @@ -35386,11 +35375,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TestList? = GenericList => ActionFn(1848); + // TestList? = GenericList => ActionFn(1898); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1848::<>(__sym0); + let __nt = super::__action1898::<>(__sym0); __symbols.push((__start, __Symbol::Variant54(__nt), __end)); (1, 280) } @@ -35415,11 +35404,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TestListOrYieldExpr = GenericList => ActionFn(1849); + // TestListOrYieldExpr = GenericList => ActionFn(1899); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1849::<>(__sym0); + let __nt = super::__action1899::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 281) } @@ -35475,11 +35464,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TestOrStarExprList = GenericList => ActionFn(1850); + // TestOrStarExprList = GenericList => ActionFn(1900); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1850::<>(__sym0); + let __nt = super::__action1900::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 283) } @@ -35520,14 +35509,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Top = StartModule, Program => ActionFn(1); + // Top = StartModule, Program => ActionFn(1110); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant76(__symbols); + let __sym1 = __pop_Variant75(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant103(__nt), __end)); + let __nt = super::__action1110::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant102(__nt), __end)); (2, 285) } pub(crate) fn __reduce1080< @@ -35537,14 +35526,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Top = StartInteractive, Program => ActionFn(2); + // Top = StartInteractive, Program => ActionFn(1111); assert!(__symbols.len() >= 2); - let __sym1 = __pop_Variant76(__symbols); + let __sym1 = __pop_Variant75(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action2::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant103(__nt), __end)); + let __nt = super::__action1111::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant102(__nt), __end)); (2, 285) } pub(crate) fn __reduce1081< @@ -35554,14 +35543,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Top = StartExpression, GenericList => ActionFn(1851); + // Top = StartExpression, GenericList => ActionFn(1901); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1851::<>(__sym0, __sym1); - __symbols.push((__start, __Symbol::Variant103(__nt), __end)); + let __nt = super::__action1901::<>(__sym0, __sym1); + __symbols.push((__start, __Symbol::Variant102(__nt), __end)); (2, 285) } pub(crate) fn __reduce1082< @@ -35571,15 +35560,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // Top = StartExpression, GenericList, ("\n")+ => ActionFn(1852); + // Top = StartExpression, GenericList, ("\n")+ => ActionFn(1902); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant36(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1852::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant103(__nt), __end)); + let __nt = super::__action1902::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant102(__nt), __end)); (3, 285) } pub(crate) fn __reduce1083< @@ -35589,21 +35578,21 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptClause+, "else", ":", Suite, "finally", ":", Suite => ActionFn(1327); + // TryStatement = "try", ":", Suite, ExceptClause+, "else", ":", Suite, "finally", ":", Suite => ActionFn(1377); assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant76(__symbols); + let __sym9 = __pop_Variant75(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = super::__action1327::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); + let __nt = super::__action1377::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (10, 286) } @@ -35614,18 +35603,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptClause+, "else", ":", Suite => ActionFn(1328); + // TryStatement = "try", ":", Suite, ExceptClause+, "else", ":", Suite => ActionFn(1378); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1328::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1378::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 286) } @@ -35636,18 +35625,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptClause+, "finally", ":", Suite => ActionFn(1329); + // TryStatement = "try", ":", Suite, ExceptClause+, "finally", ":", Suite => ActionFn(1379); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1329::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1379::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 286) } @@ -35658,15 +35647,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptClause+ => ActionFn(1330); + // TryStatement = "try", ":", Suite, ExceptClause+ => ActionFn(1380); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1330::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1380::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 286) } @@ -35677,21 +35666,21 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptStarClause+, "else", ":", Suite, "finally", ":", Suite => ActionFn(1331); + // TryStatement = "try", ":", Suite, ExceptStarClause+, "else", ":", Suite, "finally", ":", Suite => ActionFn(1381); assert!(__symbols.len() >= 10); - let __sym9 = __pop_Variant76(__symbols); + let __sym9 = __pop_Variant75(__symbols); let __sym8 = __pop_Variant0(__symbols); let __sym7 = __pop_Variant0(__symbols); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym9.2; - let __nt = super::__action1331::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); + let __nt = super::__action1381::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7, __sym8, __sym9); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (10, 286) } @@ -35702,18 +35691,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptStarClause+, "else", ":", Suite => ActionFn(1332); + // TryStatement = "try", ":", Suite, ExceptStarClause+, "else", ":", Suite => ActionFn(1382); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1332::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1382::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 286) } @@ -35724,18 +35713,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptStarClause+, "finally", ":", Suite => ActionFn(1333); + // TryStatement = "try", ":", Suite, ExceptStarClause+, "finally", ":", Suite => ActionFn(1383); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1333::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1383::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 286) } @@ -35746,15 +35735,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, ExceptStarClause+ => ActionFn(1334); + // TryStatement = "try", ":", Suite, ExceptStarClause+ => ActionFn(1384); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant75(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant74(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1334::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1384::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 286) } @@ -35765,17 +35754,17 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TryStatement = "try", ":", Suite, "finally", ":", Suite => ActionFn(1326); + // TryStatement = "try", ":", Suite, "finally", ":", Suite => ActionFn(1376); assert!(__symbols.len() >= 6); - let __sym5 = __pop_Variant76(__symbols); + let __sym5 = __pop_Variant75(__symbols); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); - let __sym2 = __pop_Variant76(__symbols); + let __sym2 = __pop_Variant75(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1326::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1376::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (6, 286) } @@ -35786,15 +35775,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TypedParameter = Identifier, ":", Test<"all"> => ActionFn(1295); + // TypedParameter = Identifier, ":", Test<"all"> => ActionFn(1345); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); - let __sym0 = __pop_Variant73(__symbols); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1295::<>(__sym0, __sym1, __sym2); - __symbols.push((__start, __Symbol::Variant101(__nt), __end)); + let __nt = super::__action1345::<>(__sym0, __sym1, __sym2); + __symbols.push((__start, __Symbol::Variant100(__nt), __end)); (3, 287) } pub(crate) fn __reduce1093< @@ -35804,12 +35793,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // TypedParameter = Identifier => ActionFn(1296); - let __sym0 = __pop_Variant73(__symbols); + // TypedParameter = Identifier => ActionFn(1346); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1296::<>(__sym0); - __symbols.push((__start, __Symbol::Variant101(__nt), __end)); + let __nt = super::__action1346::<>(__sym0); + __symbols.push((__start, __Symbol::Variant100(__nt), __end)); (1, 287) } pub(crate) fn __reduce1094< @@ -35820,11 +35809,11 @@ mod __parse__Top { ) -> (usize, usize) { // TypedParameter? = TypedParameter => ActionFn(477); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action477::<>(__sym0); - __symbols.push((__start, __Symbol::Variant102(__nt), __end)); + __symbols.push((__start, __Symbol::Variant101(__nt), __end)); (1, 288) } pub(crate) fn __reduce1095< @@ -35838,7 +35827,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action478::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant102(__nt), __end)); + __symbols.push((__start, __Symbol::Variant101(__nt), __end)); (0, 288) } pub(crate) fn __reduce1096< @@ -35853,7 +35842,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action186::<>(__sym0); - __symbols.push((__start, __Symbol::Variant104(__nt), __end)); + __symbols.push((__start, __Symbol::Variant103(__nt), __end)); (1, 289) } pub(crate) fn __reduce1097< @@ -35868,7 +35857,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action187::<>(__sym0); - __symbols.push((__start, __Symbol::Variant104(__nt), __end)); + __symbols.push((__start, __Symbol::Variant103(__nt), __end)); (1, 289) } pub(crate) fn __reduce1098< @@ -35883,7 +35872,7 @@ mod __parse__Top { let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action188::<>(__sym0); - __symbols.push((__start, __Symbol::Variant104(__nt), __end)); + __symbols.push((__start, __Symbol::Variant103(__nt), __end)); (1, 289) } pub(crate) fn __reduce1099< @@ -35893,12 +35882,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // UntypedParameter = Identifier => ActionFn(1074); - let __sym0 = __pop_Variant73(__symbols); + // UntypedParameter = Identifier => ActionFn(1117); + let __sym0 = __pop_Variant72(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1074::<>(__sym0); - __symbols.push((__start, __Symbol::Variant101(__nt), __end)); + let __nt = super::__action1117::<>(__sym0); + __symbols.push((__start, __Symbol::Variant100(__nt), __end)); (1, 290) } pub(crate) fn __reduce1100< @@ -35909,11 +35898,11 @@ mod __parse__Top { ) -> (usize, usize) { // UntypedParameter? = UntypedParameter => ActionFn(465); - let __sym0 = __pop_Variant101(__symbols); + let __sym0 = __pop_Variant100(__symbols); let __start = __sym0.0; let __end = __sym0.2; let __nt = super::__action465::<>(__sym0); - __symbols.push((__start, __Symbol::Variant102(__nt), __end)); + __symbols.push((__start, __Symbol::Variant101(__nt), __end)); (1, 291) } pub(crate) fn __reduce1101< @@ -35927,7 +35916,7 @@ mod __parse__Top { let __start = __lookahead_start.cloned().or_else(|| __symbols.last().map(|s| s.2.clone())).unwrap_or_default(); let __end = __start.clone(); let __nt = super::__action466::<>(&__start, &__end); - __symbols.push((__start, __Symbol::Variant102(__nt), __end)); + __symbols.push((__start, __Symbol::Variant101(__nt), __end)); (0, 291) } pub(crate) fn __reduce1102< @@ -35937,12 +35926,12 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // ValuePattern = MatchNameOrAttr => ActionFn(116); + // ValuePattern = MatchNameOrAttr => ActionFn(1118); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action116::<>(__sym0); - __symbols.push((__start, __Symbol::Variant62(__nt), __end)); + let __nt = super::__action1118::<>(__sym0); + __symbols.push((__start, __Symbol::Variant40(__nt), __end)); (1, 292) } pub(crate) fn __reduce1103< @@ -35952,18 +35941,18 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WhileStatement = "while", NamedExpressionTest, ":", Suite, "else", ":", Suite => ActionFn(1323); + // WhileStatement = "while", NamedExpressionTest, ":", Suite, "else", ":", Suite => ActionFn(1373); assert!(__symbols.len() >= 7); - let __sym6 = __pop_Variant76(__symbols); + let __sym6 = __pop_Variant75(__symbols); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1323::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1373::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (7, 293) } @@ -35974,15 +35963,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WhileStatement = "while", NamedExpressionTest, ":", Suite => ActionFn(1324); + // WhileStatement = "while", NamedExpressionTest, ":", Suite => ActionFn(1374); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1324::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1374::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 293) } @@ -35993,11 +35982,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItem<"all"> = Test<"all"> => ActionFn(273); + // WithItem<"all"> = Test<"all"> => ActionFn(1120); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action273::<>(__sym0); + let __nt = super::__action1120::<>(__sym0); __symbols.push((__start, __Symbol::Variant11(__nt), __end)); (1, 294) } @@ -36008,14 +35997,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItem<"all"> = Test<"all">, "as", Expression<"all"> => ActionFn(274); + // WithItem<"all"> = Test<"all">, "as", Expression<"all"> => ActionFn(1121); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action274::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1121::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant11(__nt), __end)); (3, 294) } @@ -36026,14 +36015,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItem<"as"> = Test<"all">, "as", Expression<"all"> => ActionFn(275); + // WithItem<"as"> = Test<"all">, "as", Expression<"all"> => ActionFn(1122); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action275::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1122::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant11(__nt), __end)); (3, 295) } @@ -36044,11 +36033,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItem<"no-withitems"> = Test<"no-withitems"> => ActionFn(268); + // WithItem<"no-withitems"> = Test<"no-withitems"> => ActionFn(1123); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action268::<>(__sym0); + let __nt = super::__action1123::<>(__sym0); __symbols.push((__start, __Symbol::Variant11(__nt), __end)); (1, 296) } @@ -36059,14 +36048,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItem<"no-withitems"> = Test<"all">, "as", Expression<"all"> => ActionFn(269); + // WithItem<"no-withitems"> = Test<"all">, "as", Expression<"all"> => ActionFn(1124); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action269::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1124::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant11(__nt), __end)); (3, 296) } @@ -36077,7 +36066,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ",", ")" => ActionFn(1386); + // WithItems = "(", Test<"all">, ",", ")" => ActionFn(1436); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -36085,7 +36074,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1386::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1436::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (4, 297) } @@ -36096,7 +36085,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", ")" => ActionFn(1387); + // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", ")" => ActionFn(1437); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -36105,7 +36094,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1387::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1437::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (5, 297) } @@ -36116,14 +36105,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ")" => ActionFn(1388); + // WithItems = "(", Test<"all">, ")" => ActionFn(1438); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1388::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1438::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (3, 297) } @@ -36134,7 +36123,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ("," Test<"all">)+, ")" => ActionFn(1389); + // WithItems = "(", Test<"all">, ("," Test<"all">)+, ")" => ActionFn(1439); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant16(__symbols); @@ -36142,7 +36131,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1389::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1439::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (4, 297) } @@ -36153,7 +36142,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ",", WithItem<"as">, ",", ")" => ActionFn(1392); + // WithItems = "(", Test<"all">, ",", WithItem<"as">, ",", ")" => ActionFn(1442); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant0(__symbols); @@ -36163,7 +36152,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1392::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1442::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (6, 297) } @@ -36174,7 +36163,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ",", ")" => ActionFn(1393); + // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ",", ")" => ActionFn(1443); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -36185,7 +36174,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1393::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1443::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (7, 297) } @@ -36196,7 +36185,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", WithItem<"as">, ",", ")" => ActionFn(1394); + // WithItems = "(", WithItem<"as">, ",", ")" => ActionFn(1444); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant0(__symbols); @@ -36204,7 +36193,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1394::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1444::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (4, 297) } @@ -36215,7 +36204,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ",", WithItem<"as">, ("," >)+, ",", ")" => ActionFn(1395); + // WithItems = "(", Test<"all">, ",", WithItem<"as">, ("," >)+, ",", ")" => ActionFn(1445); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant0(__symbols); @@ -36226,7 +36215,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1395::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1445::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (7, 297) } @@ -36237,7 +36226,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ("," >)+, ",", ")" => ActionFn(1396); + // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ("," >)+, ",", ")" => ActionFn(1446); assert!(__symbols.len() >= 8); let __sym7 = __pop_Variant0(__symbols); let __sym6 = __pop_Variant0(__symbols); @@ -36249,7 +36238,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym7.2; - let __nt = super::__action1396::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); + let __nt = super::__action1446::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6, __sym7); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (8, 297) } @@ -36260,7 +36249,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", WithItem<"as">, ("," >)+, ",", ")" => ActionFn(1397); + // WithItems = "(", WithItem<"as">, ("," >)+, ",", ")" => ActionFn(1447); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant0(__symbols); @@ -36269,7 +36258,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1397::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1447::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (5, 297) } @@ -36280,7 +36269,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ",", WithItem<"as">, ")" => ActionFn(1398); + // WithItems = "(", Test<"all">, ",", WithItem<"as">, ")" => ActionFn(1448); assert!(__symbols.len() >= 5); let __sym4 = __pop_Variant0(__symbols); let __sym3 = __pop_Variant11(__symbols); @@ -36289,7 +36278,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1398::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1448::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (5, 297) } @@ -36300,7 +36289,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ")" => ActionFn(1399); + // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ")" => ActionFn(1449); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant11(__symbols); @@ -36310,7 +36299,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1399::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1449::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (6, 297) } @@ -36321,14 +36310,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", WithItem<"as">, ")" => ActionFn(1400); + // WithItems = "(", WithItem<"as">, ")" => ActionFn(1450); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant11(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1400::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1450::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (3, 297) } @@ -36339,7 +36328,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ",", WithItem<"as">, ("," >)+, ")" => ActionFn(1401); + // WithItems = "(", Test<"all">, ",", WithItem<"as">, ("," >)+, ")" => ActionFn(1451); assert!(__symbols.len() >= 6); let __sym5 = __pop_Variant0(__symbols); let __sym4 = __pop_Variant12(__symbols); @@ -36349,7 +36338,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym5.2; - let __nt = super::__action1401::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); + let __nt = super::__action1451::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (6, 297) } @@ -36360,7 +36349,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ("," >)+, ")" => ActionFn(1402); + // WithItems = "(", Test<"all">, ("," Test<"all">)+, ",", WithItem<"as">, ("," >)+, ")" => ActionFn(1452); assert!(__symbols.len() >= 7); let __sym6 = __pop_Variant0(__symbols); let __sym5 = __pop_Variant12(__symbols); @@ -36371,7 +36360,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym6.2; - let __nt = super::__action1402::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); + let __nt = super::__action1452::<>(__sym0, __sym1, __sym2, __sym3, __sym4, __sym5, __sym6); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (7, 297) } @@ -36382,7 +36371,7 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItems = "(", WithItem<"as">, ("," >)+, ")" => ActionFn(1403); + // WithItems = "(", WithItem<"as">, ("," >)+, ")" => ActionFn(1453); assert!(__symbols.len() >= 4); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant12(__symbols); @@ -36390,7 +36379,7 @@ mod __parse__Top { let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1403::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1453::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (4, 297) } @@ -36433,11 +36422,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItemsNoAs = Test<"all"> => ActionFn(1352); + // WithItemsNoAs = Test<"all"> => ActionFn(1402); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1352::<>(__sym0); + let __nt = super::__action1402::<>(__sym0); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (1, 298) } @@ -36448,13 +36437,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithItemsNoAs = Test<"all">, ("," Test<"all">)+ => ActionFn(1353); + // WithItemsNoAs = Test<"all">, ("," Test<"all">)+ => ActionFn(1403); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant16(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1353::<>(__sym0, __sym1); + let __nt = super::__action1403::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant46(__nt), __end)); (2, 298) } @@ -36465,16 +36454,16 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithStatement = "async", "with", WithItems, ":", Suite => ActionFn(1076); + // WithStatement = "async", "with", WithItems, ":", Suite => ActionFn(1126); assert!(__symbols.len() >= 5); - let __sym4 = __pop_Variant76(__symbols); + let __sym4 = __pop_Variant75(__symbols); let __sym3 = __pop_Variant0(__symbols); let __sym2 = __pop_Variant46(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym4.2; - let __nt = super::__action1076::<>(__sym0, __sym1, __sym2, __sym3, __sym4); + let __nt = super::__action1126::<>(__sym0, __sym1, __sym2, __sym3, __sym4); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (5, 299) } @@ -36485,15 +36474,15 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // WithStatement = "with", WithItems, ":", Suite => ActionFn(1077); + // WithStatement = "with", WithItems, ":", Suite => ActionFn(1127); assert!(__symbols.len() >= 4); - let __sym3 = __pop_Variant76(__symbols); + let __sym3 = __pop_Variant75(__symbols); let __sym2 = __pop_Variant0(__symbols); let __sym1 = __pop_Variant46(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym3.2; - let __nt = super::__action1077::<>(__sym0, __sym1, __sym2, __sym3); + let __nt = super::__action1127::<>(__sym0, __sym1, __sym2, __sym3); __symbols.push((__start, __Symbol::Variant61(__nt), __end)); (4, 299) } @@ -36504,14 +36493,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // XorExpression<"all"> = XorExpression<"all">, "^", AndExpression<"all"> => ActionFn(1078); + // XorExpression<"all"> = XorExpression<"all">, "^", AndExpression<"all"> => ActionFn(1128); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1078::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1128::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 300) } @@ -36537,14 +36526,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // XorExpression<"no-withitems"> = XorExpression<"all">, "^", AndExpression<"all"> => ActionFn(1079); + // XorExpression<"no-withitems"> = XorExpression<"all">, "^", AndExpression<"all"> => ActionFn(1129); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant9(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1079::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1129::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 301) } @@ -36570,13 +36559,13 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // YieldExpr = "yield", GenericList => ActionFn(1855); + // YieldExpr = "yield", GenericList => ActionFn(1905); assert!(__symbols.len() >= 2); let __sym1 = __pop_Variant9(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym1.2; - let __nt = super::__action1855::<>(__sym0, __sym1); + let __nt = super::__action1905::<>(__sym0, __sym1); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (2, 302) } @@ -36587,11 +36576,11 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // YieldExpr = "yield" => ActionFn(1856); + // YieldExpr = "yield" => ActionFn(1906); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym0.2; - let __nt = super::__action1856::<>(__sym0); + let __nt = super::__action1906::<>(__sym0); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (1, 302) } @@ -36602,14 +36591,14 @@ mod __parse__Top { _: core::marker::PhantomData<()>, ) -> (usize, usize) { - // YieldExpr = "yield", "from", Test<"all"> => ActionFn(1081); + // YieldExpr = "yield", "from", Test<"all"> => ActionFn(1131); assert!(__symbols.len() >= 3); let __sym2 = __pop_Variant9(__symbols); let __sym1 = __pop_Variant0(__symbols); let __sym0 = __pop_Variant0(__symbols); let __start = __sym0.0; let __end = __sym2.2; - let __nt = super::__action1081::<>(__sym0, __sym1, __sym2); + let __nt = super::__action1131::<>(__sym0, __sym1, __sym2); __symbols.push((__start, __Symbol::Variant9(__nt), __end)); (3, 302) } @@ -36628,32 +36617,38 @@ fn __action0< #[allow(clippy::too_many_arguments)] fn __action1< >( + (_, start, _): (TextSize, TextSize, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, body, _): (TextSize, ast::Suite, TextSize), + (_, end, _): (TextSize, TextSize, TextSize), ) -> ast::Mod { - ast::ModModule { body, type_ignores: vec![] }.into() + ast::ModModule { body, type_ignores: vec![], range: optional_range(start, end) }.into() } #[allow(clippy::too_many_arguments)] fn __action2< >( + (_, start, _): (TextSize, TextSize, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, body, _): (TextSize, ast::Suite, TextSize), + (_, end, _): (TextSize, TextSize, TextSize), ) -> ast::Mod { - ast::ModInteractive { body }.into() + ast::ModInteractive { body, range: optional_range(start, end) }.into() } #[allow(clippy::too_many_arguments)] fn __action3< >( + (_, start, _): (TextSize, TextSize, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, body, _): (TextSize, ast::Expr, TextSize), (_, _, _): (TextSize, alloc::vec::Vec, TextSize), + (_, end, _): (TextSize, TextSize, TextSize), ) -> ast::Mod { - ast::ModExpression { body: Box::new(body) }.into() + ast::ModExpression { body: Box::new(body), range: optional_range(start, end) }.into() } #[allow(clippy::too_many_arguments)] @@ -36821,11 +36816,7 @@ fn __action20< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtKind::Pass, - ) + ast::Stmt::Pass(ast::StmtPass { range: (location..end_location).into() }) } } @@ -36839,10 +36830,8 @@ fn __action21< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtDelete { targets: targets.into_iter().map(|expr| set_context(expr, ast::ExprContext::Del)).collect() } + ast::Stmt::Delete( + ast::StmtDelete { targets: targets.into_iter().map(|expr| set_context(expr, ast::ExprContext::Del)).collect(), range: (location..end_location).into() } ) } } @@ -36859,10 +36848,8 @@ fn __action22< { // Just an expression, no assignment: if suffix.is_empty() { - ast::Stmt::new( - location.. - end_location, - ast::StmtExpr { value: Box::new(expression) } + ast::Stmt::Expr( + ast::StmtExpr { value: Box::new(expression), range: (location..end_location).into() } ) } else { let mut targets = vec![set_context(expression, ast::ExprContext::Store)]; @@ -36874,10 +36861,8 @@ fn __action22< let value = Box::new(values.into_iter().next().unwrap()); - ast::Stmt::new( - location.. - end_location, - ast::StmtAssign { targets, value, type_comment: None } + ast::Stmt::Assign( + ast::StmtAssign { targets, value, type_comment: None, range: (location..end_location).into() } ) } } @@ -36894,13 +36879,12 @@ fn __action23< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, + ast::Stmt::AugAssign( ast::StmtAugAssign { target: Box::new(set_context(target, ast::ExprContext::Store)), op, - value: Box::new(rhs) + value: Box::new(rhs), + range: (location..end_location).into() }, ) } @@ -36918,15 +36902,14 @@ fn __action24< ) -> ast::Stmt { { - let simple = matches!(target.node, ast::ExprKind::Name { .. }); - ast::Stmt::new( - location.. - end_location, + let simple = target.is_name_expr(); + ast::Stmt::AnnAssign( ast::StmtAnnAssign { target: Box::new(set_context(target, ast::ExprContext::Store)), annotation: Box::new(annotation), value: rhs.map(Box::new), simple, + range: (location..end_location).into() }, ) } @@ -37149,11 +37132,8 @@ fn __action48< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtKind::Break, - ) + + ast::Stmt::Break(ast::StmtBreak { range: (location..end_location).into() }) } } @@ -37166,11 +37146,7 @@ fn __action49< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtKind::Continue, - ) + ast::Stmt::Continue(ast::StmtContinue { range: (location..end_location).into() }) } } @@ -37184,10 +37160,8 @@ fn __action50< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtReturn { value: value.map(Box::new) } + ast::Stmt::Return( + ast::StmtReturn { value: value.map(Box::new), range: (location..end_location).into() } ) } } @@ -37201,10 +37175,8 @@ fn __action51< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtExpr { value: Box::new(expression) } + ast::Stmt::Expr( + ast::StmtExpr { value: Box::new(expression), range: (location..end_location).into() } ) } } @@ -37227,10 +37199,8 @@ fn __action53< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtRaise { exc: None, cause: None } + ast::Stmt::Raise( + ast::StmtRaise { exc: None, cause: None, range: (location..end_location).into() } ) } } @@ -37246,10 +37216,8 @@ fn __action54< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtRaise { exc: Some(Box::new(t)), cause: c.map(|x| Box::new(x.1)) } + ast::Stmt::Raise( + ast::StmtRaise { exc: Some(Box::new(t)), cause: c.map(|x| Box::new(x.1)), range: (location..end_location).into() } ) } } @@ -37264,10 +37232,8 @@ fn __action55< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtImport { names } + ast::Stmt::Import( + ast::StmtImport { names, range: (location..end_location).into() } ) } } @@ -37285,13 +37251,12 @@ fn __action56< { { let (level, module) = source; - ast::Stmt::new( - location.. - end_location, + ast::Stmt::ImportFrom( ast::StmtImportFrom { level, module, - names + names, + range: (location..end_location).into() }, ) } @@ -37373,7 +37338,7 @@ fn __action63< { { // Star import all - vec![ast::Alias::new(location..end_location, ast::AliasData { name: ast::Identifier::new("*"), asname: None })] + vec![ast::Alias { name: ast::Identifier::new("*"), asname: None, range: (location..end_location).into() }] } } @@ -37413,10 +37378,8 @@ fn __action66< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtGlobal { names } + ast::Stmt::Global( + ast::StmtGlobal { names, range: (location..end_location).into() } ) } } @@ -37431,10 +37394,8 @@ fn __action67< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, - ast::StmtNonlocal { names } + ast::Stmt::Nonlocal( + ast::StmtNonlocal { names, range: (location..end_location).into() } ) } } @@ -37450,12 +37411,11 @@ fn __action68< ) -> ast::Stmt { { - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Assert( ast::StmtAssert { test: Box::new(test), - msg: msg.map(|e| Box::new(e.1)) + msg: msg.map(|e| Box::new(e.1)), + range: (location..end_location).into() } ) } @@ -37554,12 +37514,11 @@ fn __action77< .last() .unwrap() .end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Match( ast::StmtMatch { subject: Box::new(subject), - cases + cases, + range: (location..end_location).into() } ) } @@ -37587,12 +37546,11 @@ fn __action78< .last() .unwrap() .end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Match( ast::StmtMatch { subject: Box::new(subject), - cases + cases, + range: (location..end_location).into() } ) } @@ -37624,19 +37582,17 @@ fn __action79< .end(); let mut subjects = subjects; subjects.insert(0, subject); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Match( ast::StmtMatch { - subject: Box::new(ast::Expr::new( - location.. - end_location, + subject: Box::new(ast::Expr::Tuple( ast::ExprTuple { elts: subjects, ctx: ast::ExprContext::Load, + range: (location..end_location).into() }, )), - cases + cases, + range: (location..end_location).into() } ) } @@ -37645,18 +37601,21 @@ fn __action79< #[allow(clippy::too_many_arguments)] fn __action80< >( + (_, start, _): (TextSize, TextSize, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, pattern, _): (TextSize, ast::Pattern, TextSize), (_, guard, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, body, _): (TextSize, ast::Suite, TextSize), + (_, end, _): (TextSize, TextSize, TextSize), ) -> ast::MatchCase { { ast::MatchCase { pattern, guard: guard.map(Box::new), - body + body, + range: optional_range(start, end) } } } @@ -37682,11 +37641,10 @@ fn __action82< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, + ast::Pattern::MatchSequence( ast::PatternMatchSequence { - patterns: vec![pattern] + patterns: vec![pattern], + range: (location..end_location).into() }, ) } @@ -37705,11 +37663,10 @@ fn __action83< { let mut patterns = patterns; patterns.insert(0, pattern); - ast::Pattern::new( - location.. - end_location, + ast::Pattern::MatchSequence( ast::PatternMatchSequence { - patterns + patterns, + range: (location..end_location).into() }, ) } @@ -37759,12 +37716,11 @@ fn __action87< location, })? } else { - Ok(ast::Pattern::new( - location.. - end_location, + Ok(ast::Pattern::MatchAs( ast::PatternMatchAs { pattern: Some(Box::new(pattern)), name: Some(name), + range: (location..end_location).into() }, )) } @@ -37792,10 +37748,8 @@ fn __action89< { let mut patterns = patterns; patterns.insert(0, pattern); - ast::Pattern::new( - location.. - end_location, - ast::PatternMatchOr { patterns } + ast::Pattern::MatchOr( + ast::PatternMatchOr { patterns, range: (location..end_location).into() } ) } } @@ -37803,106 +37757,64 @@ fn __action89< #[allow(clippy::too_many_arguments)] fn __action90< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] fn __action91< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] fn __action92< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] fn __action93< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] fn __action94< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] fn __action95< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] fn __action96< >( - (_, location, _): (TextSize, TextSize, TextSize), - (_, node, _): (TextSize, ast::PatternKind, TextSize), - (_, end_location, _): (TextSize, TextSize, TextSize), + (_, node, _): (TextSize, ast::Pattern, TextSize), ) -> ast::Pattern { - ast::Pattern::new( - location.. - end_location, - node, - ) + node } #[allow(clippy::too_many_arguments)] @@ -37913,9 +37825,9 @@ fn __action97< (_, pattern, _): (TextSize, ast::Pattern, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { - pattern.node + pattern } #[allow(clippy::too_many_arguments)] @@ -37925,10 +37837,11 @@ fn __action98< (_, _, _): (TextSize, token::Tok, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { ast::PatternMatchSequence { patterns: vec![], + range: (location..end_location).into() }.into() } @@ -37942,13 +37855,14 @@ fn __action99< (_, patterns, _): (TextSize, Vec, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let mut patterns = patterns; patterns.insert(0, pattern); ast::PatternMatchSequence { - patterns + patterns, + range: (location..end_location).into() }.into() } } @@ -37961,10 +37875,11 @@ fn __action100< (_, patterns, _): (TextSize, Vec, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { ast::PatternMatchSequence { - patterns + patterns, + range: (location..end_location).into() }.into() } @@ -37975,10 +37890,11 @@ fn __action101< (_, _, _): (TextSize, token::Tok, TextSize), (_, name, _): (TextSize, ast::Identifier, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { ast::PatternMatchStar { - name: if name.as_str() == "_" { None } else { Some(name) } + name: if name.as_str() == "_" { None } else { Some(name) }, + range: (location..end_location).into() }.into() } @@ -37990,10 +37906,8 @@ fn __action102< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprConstant { value, kind: None } + ast::Expr::Constant( + ast::ExprConstant { value, kind: None, range: (location..end_location).into() } ) } @@ -38015,12 +37929,11 @@ fn __action104< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::UnaryOp( ast::ExprUnaryOp { op: ast::Unaryop::USub, - operand: Box::new(operand) + operand: Box::new(operand), + range: (location..end_location).into() } ) } @@ -38035,13 +37948,12 @@ fn __action105< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::BinOp( ast::ExprBinOp { left: Box::new(left), op, right: Box::new(right), + range: (location..end_location).into() } ) } @@ -38049,33 +37961,42 @@ fn __action105< #[allow(clippy::too_many_arguments)] fn __action106< >( - (_, __0, _): (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + (_, location, _): (TextSize, TextSize, TextSize), + (_, _, _): (TextSize, token::Tok, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), +) -> ast::Pattern { ast::PatternMatchSingleton { - value: ast::Constant::None + value: ast::Constant::None, + range: (location..end_location).into() }.into() } #[allow(clippy::too_many_arguments)] fn __action107< >( - (_, __0, _): (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + (_, location, _): (TextSize, TextSize, TextSize), + (_, _, _): (TextSize, token::Tok, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), +) -> ast::Pattern { ast::PatternMatchSingleton { - value: true.into() + value: true.into(), + range: (location..end_location).into() }.into() } #[allow(clippy::too_many_arguments)] fn __action108< >( - (_, __0, _): (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + (_, location, _): (TextSize, TextSize, TextSize), + (_, _, _): (TextSize, token::Tok, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), +) -> ast::Pattern { ast::PatternMatchSingleton { - value: false.into() + value: false.into(), + range: (location..end_location).into() }.into() } @@ -38085,10 +38006,11 @@ fn __action109< (_, location, _): (TextSize, TextSize, TextSize), (_, value, _): (TextSize, ast::Expr, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { ast::PatternMatchValue { - value: Box::new(value) + value: Box::new(value), + range: (location..end_location).into() }.into() } @@ -38097,10 +38019,12 @@ fn __action110< >( (_, location, _): (TextSize, TextSize, TextSize), (_, value, _): (TextSize, ast::Expr, TextSize), -) -> ast::PatternKind + (_, end_location, _): (TextSize, TextSize, TextSize), +) -> ast::Pattern { ast::PatternMatchValue { - value: Box::new(value) + value: Box::new(value), + range: (location..end_location).into() }.into() } @@ -38109,10 +38033,12 @@ fn __action111< >( (_, location, _): (TextSize, TextSize, TextSize), (_, s, _): (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), -) -> Result> + (_, end_location, _): (TextSize, TextSize, TextSize), +) -> Result> { Ok(ast::PatternMatchValue { - value: Box::new(parse_strings(s)?) + value: Box::new(parse_strings(s)?), + range: (location..end_location).into() }.into()) } @@ -38122,11 +38048,12 @@ fn __action112< (_, location, _): (TextSize, TextSize, TextSize), (_, name, _): (TextSize, ast::Identifier, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { ast::PatternMatchAs { pattern: None, - name: if name.as_str() == "_" { None } else { Some(name) } + name: if name.as_str() == "_" { None } else { Some(name) }, + range: (location..end_location).into() }.into() } @@ -38138,10 +38065,8 @@ fn __action113< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprName { id: name, ctx: ast::ExprContext::Load }, + ast::Expr::Name( + ast::ExprName { id: name, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ) } @@ -38155,13 +38080,12 @@ fn __action114< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::Attribute( ast::ExprAttribute { value: Box::new(name), attr, ctx: ast::ExprContext::Load, + range: (location..end_location).into() }, ) } @@ -38176,13 +38100,12 @@ fn __action115< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::Attribute( ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load, + range: (location..end_location).into() }, ) } @@ -38190,11 +38113,14 @@ fn __action115< #[allow(clippy::too_many_arguments)] fn __action116< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, e, _): (TextSize, ast::Expr, TextSize), -) -> ast::PatternKind + (_, end_location, _): (TextSize, TextSize, TextSize), +) -> ast::Pattern { ast::PatternMatchValue { - value: Box::new(e) + value: Box::new(e), + range: (location..end_location).into() }.into() } @@ -38233,12 +38159,11 @@ fn __action120< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::Constant( ast::ExprConstant { value: ast::Constant::None, kind: None, + range: (location..end_location).into() }, ) } @@ -38251,12 +38176,11 @@ fn __action121< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::Constant( ast::ExprConstant { value: true.into(), kind: None, + range: (location..end_location).into() }, ) } @@ -38269,12 +38193,11 @@ fn __action122< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::Constant( ast::ExprConstant { value: false.into(), kind: None, + range: (location..end_location).into() }, ) } @@ -38307,13 +38230,14 @@ fn __action125< (_, _, _): (TextSize, token::Tok, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { return ast::PatternMatchMapping { keys: vec![], patterns: vec![], rest: None, + range: (location..end_location).into() }.into(); } } @@ -38327,7 +38251,7 @@ fn __action126< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let (keys, patterns) = e @@ -38337,6 +38261,7 @@ fn __action126< keys, patterns, rest: None, + range: (location..end_location).into() }.into(); } } @@ -38351,13 +38276,14 @@ fn __action127< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { return ast::PatternMatchMapping { keys: vec![], patterns: vec![], rest: Some(rest), + range: (location..end_location).into() }.into(); } } @@ -38374,7 +38300,7 @@ fn __action128< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let (keys, patterns) = e @@ -38384,6 +38310,7 @@ fn __action128< keys, patterns, rest: Some(rest), + range: (location..end_location).into() }.into(); } } @@ -38411,7 +38338,7 @@ fn __action130< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let (kwd_attrs, kwd_patterns) = kwds @@ -38422,6 +38349,7 @@ fn __action130< patterns, kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() } } @@ -38436,7 +38364,7 @@ fn __action131< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { ast::PatternMatchClass { @@ -38444,6 +38372,7 @@ fn __action131< patterns, kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() } } @@ -38458,7 +38387,7 @@ fn __action132< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let (kwd_attrs, kwd_patterns) = kwds @@ -38469,6 +38398,7 @@ fn __action132< patterns: vec![], kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() } } @@ -38481,7 +38411,7 @@ fn __action133< (_, _, _): (TextSize, token::Tok, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { ast::PatternMatchClass { @@ -38489,6 +38419,7 @@ fn __action133< patterns: vec![], kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() } } @@ -38505,7 +38436,7 @@ fn __action134< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let (kwd_attrs, kwd_patterns) = kwds @@ -38516,6 +38447,7 @@ fn __action134< patterns, kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() } } @@ -38530,7 +38462,7 @@ fn __action135< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { ast::PatternMatchClass { @@ -38538,6 +38470,7 @@ fn __action135< patterns, kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() } } @@ -38552,7 +38485,7 @@ fn __action136< (_, _, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { let (kwd_attrs, kwd_patterns) = kwds @@ -38563,6 +38496,7 @@ fn __action136< patterns: vec![], kwd_attrs, kwd_patterns, + range: (location..end_location).into() }.into() } } @@ -38575,7 +38509,7 @@ fn __action137< (_, _, _): (TextSize, token::Tok, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, end_location, _): (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { { ast::PatternMatchClass { @@ -38583,6 +38517,7 @@ fn __action137< patterns: vec![], kwd_attrs: vec![], kwd_patterns: vec![], + range: (location..end_location).into() }.into() } } @@ -38610,18 +38545,14 @@ fn __action138< .end(); // handle elif: for i in s2.into_iter().rev() { - let x = ast::Stmt::new( - i.0.. - end_location, - ast::StmtIf { test: Box::new(i.2), body: i.4, orelse: last } + let x = ast::Stmt::If( + ast::StmtIf { test: Box::new(i.2), body: i.4, orelse: last, range: (i.0..end_location).into() } ); last = vec![x]; } - ast::Stmt::new( - location.. - end_location, - ast::StmtIf { test: Box::new(test), body, orelse: last } + ast::Stmt::If( + ast::StmtIf { test: Box::new(test), body, orelse: last, range: (location..end_location).into() } ) } } @@ -38644,13 +38575,12 @@ fn __action139< .or_else(|| body.last()) .unwrap() .end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::While( ast::StmtWhile { test: Box::new(test), body, - orelse + orelse, + range: (location..end_location).into() }, ) } @@ -38680,12 +38610,11 @@ fn __action140< let target = Box::new(set_context(target, ast::ExprContext::Store)); let iter = Box::new(iter); let type_comment = None; - let node: ast::StmtKind = if is_async.is_some() { - ast::StmtAsyncFor { target, iter, body, orelse, type_comment }.into() + if is_async.is_some() { + ast::Stmt::AsyncFor(ast::StmtAsyncFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() }) } else { - ast::StmtFor { target, iter, body, orelse, type_comment }.into() - }; - ast::Stmt::new(location..end_location, node) + ast::Stmt::For(ast::StmtFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() }) + } } } @@ -38711,14 +38640,13 @@ fn __action141< .or_else(|| orelse.last().map(|last| last.end())) .or_else(|| handlers.last().map(|last| last.end())) .unwrap(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Try( ast::StmtTry { body, handlers, orelse, finalbody, + range: (location..end_location).into() }, ) } @@ -38746,14 +38674,13 @@ fn __action142< .map(|last| last.end()) .or_else(|| handlers.last().map(|last| last.end())) .unwrap(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::TryStar( ast::StmtTryStar { body, handlers, orelse, finalbody, + range: (location..end_location).into() }, ) } @@ -38774,14 +38701,13 @@ fn __action143< let orelse = vec![]; let finalbody = finally.2; let end_location = finalbody.last().unwrap().end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::Try( ast::StmtTry { body, handlers, orelse, finalbody, + range: (location..end_location).into() }, ) } @@ -38800,13 +38726,12 @@ fn __action144< { { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: Some(Box::new(typ)), name: None, body, + range: (location..end_location).into() }, ) } @@ -38825,13 +38750,12 @@ fn __action145< { { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: Some(Box::new(x.0)), name: Some(x.2), body, + range: (location..end_location).into() }, ) } @@ -38849,13 +38773,12 @@ fn __action146< { { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: typ.map(Box::new), name: None, body, + range: (location..end_location).into() }, ) } @@ -38873,13 +38796,12 @@ fn __action147< { { let end_location = body.last().unwrap().end(); - ast::Excepthandler::new( - location.. - end_location, + ast::Excepthandler::ExceptHandler( ast::ExcepthandlerExceptHandler { type_: Some(Box::new(x.0)), name: Some(x.2), body, + range: (location..end_location).into() }, ) } @@ -38899,12 +38821,11 @@ fn __action148< { let end_location = body.last().unwrap().end(); let type_comment = None; - let node: ast::StmtKind = if is_async.is_some() { - ast::StmtAsyncWith { items, body, type_comment }.into() + if is_async.is_some() { + ast::StmtAsyncWith { items, body, type_comment, range: (location..end_location).into() }.into() } else { - ast::StmtWith { items, body, type_comment }.into() - }; - ast::Stmt::new(location..end_location, node) + ast::StmtWith { items, body, type_comment, range: (location..end_location).into() }.into() + } } } @@ -38960,11 +38881,13 @@ fn __action152< #[allow(clippy::too_many_arguments)] fn __action153< >( - (_, __0, _): (TextSize, Vec, TextSize), + (_, location, _): (TextSize, TextSize, TextSize), + (_, all, _): (TextSize, Vec, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> Vec { { - __0.into_iter().map(|context_expr| ast::Withitem { context_expr, optional_vars: None }).collect() + all.into_iter().map(|context_expr| ast::Withitem { context_expr, optional_vars: None, range: optional_range(location, end_location) }).collect() } } @@ -38987,21 +38910,22 @@ fn __action154< let returns = r.map(|x| Box::new(x.1)); let end_location = body.last().unwrap().end(); let type_comment = None; - let node: ast::StmtKind = if is_async.is_some() { - ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment }.into() + if is_async.is_some() { + ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment, range: (location..end_location).into() }.into() } else { - ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_comment }.into() - }; - ast::Stmt::new(location..end_location, node) + ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_comment, range: (location..end_location).into() }.into() + } } } #[allow(clippy::too_many_arguments)] fn __action155< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, a, _): (TextSize, core::option::Option, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> Result> { { @@ -39013,7 +38937,8 @@ fn __action155< kwonlyargs: vec![], kw_defaults: vec![], kwarg: None, - defaults: vec![] + defaults: vec![], + range: optional_range(location, end_location) }) )?; @@ -39029,11 +38954,7 @@ fn __action156< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Arg { - ast::Arg::new( - location.. - end_location, - ast::ArgData { arg, annotation: None, type_comment: None }, - ) + ast::Arg { arg, annotation: None, type_comment: None, range: (location..end_location).into() } } #[allow(clippy::too_many_arguments)] @@ -39047,7 +38968,7 @@ fn __action157< { { let annotation = a.map(|x| Box::new(x.1)); - ast::Arg::new(location..end_location, ast::ArgData { arg, annotation, type_comment: None }) + ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() } } } @@ -39062,7 +38983,7 @@ fn __action158< { { let annotation = a.map(|x| Box::new(x.1)); - ast::Arg::new(location..end_location, ast::ArgData { arg, annotation, type_comment: None }) + ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() } } } @@ -39084,15 +39005,14 @@ fn __action159< None => (vec![], vec![]), }; let end_location = body.last().unwrap().end(); - ast::Stmt::new( - location.. - end_location, + ast::Stmt::ClassDef( ast::StmtClassDef { name, bases, keywords, body, decorator_list, + range: (location..end_location).into() }, ) } @@ -39121,10 +39041,8 @@ fn __action161< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprYield { value: value.map(Box::new) } + ast::Expr::Yield( + ast::ExprYield { value: value.map(Box::new), range: (location..end_location).into() } ) } @@ -39138,10 +39056,8 @@ fn __action162< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprYieldFrom { value: Box::new(e) } + ast::Expr::YieldFrom( + ast::ExprYieldFrom { value: Box::new(e), range: (location..end_location).into() } ) } @@ -39174,15 +39090,12 @@ fn __action165< ) -> ast::Expr { { - ast::Expr::new( - location.. - value.end(), + ast::Expr::NamedExpr( ast::ExprNamedExpr { - target: Box::new(ast::Expr::new( - location.. - end_location, - ast::ExprName { id, ctx: ast::ExprContext::Store }, + target: Box::new(ast::Expr::Name( + ast::ExprName { id, ctx: ast::ExprContext::Store, range: (location..end_location).into() }, )), + range: (location..value.end()).into(), value: Box::new(value), } ) @@ -39210,17 +39123,17 @@ fn __action166< kwonlyargs: vec![], kw_defaults: vec![], kwarg: None, - defaults: vec![] + defaults: vec![], + range: optional_range(location, end_location) } } ))?; - Ok(ast::Expr::new( - location.. - end_location, + Ok(ast::Expr::Lambda( ast::ExprLambda { args: Box::new(p), - body: Box::new(body) + body: Box::new(body), + range: (location..end_location).into() } )) } @@ -39445,10 +39358,8 @@ fn __action189< dims.push(x.1) } - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts: dims, ctx: ast::ExprContext::Load }, + ast::Expr::Tuple( + ast::ExprTuple { elts: dims, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ) } } @@ -39478,10 +39389,8 @@ fn __action191< let lower = e1.map(Box::new); let upper = e2.map(Box::new); let step = e3.flatten().map(Box::new); - ast::Expr::new( - location.. - end_location, - ast::ExprSlice { lower, upper, step } + ast::Expr::Slice( + ast::ExprSlice { lower, upper, step, range: (location..end_location).into() } ) } } @@ -39612,10 +39521,8 @@ fn __action204< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load }, + ast::Expr::Starred( + ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ) } @@ -39648,6 +39555,7 @@ fn __action206< iter, ifs, is_async, + range: optional_range(location, end_location) } } } @@ -39694,11 +39602,11 @@ fn __action210< { { let expr = match c { - Some(c) => ast::Expr::new( - location..end_location, + Some(c) => ast::Expr::GeneratorExp( ast::ExprGeneratorExp { elt: Box::new(e), generators: c, + range: (location..end_location).into() } ), None => e, @@ -39730,10 +39638,8 @@ fn __action212< ) -> (Option<(TextSize, TextSize, Option)>, ast::Expr) { { - let expr = ast::Expr::new( - location.. - end_location, - ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load }, + let expr = ast::Expr::Starred( + ast::ExprStarred { value: Box::new(e), ctx: ast::ExprContext::Load, range: (location..end_location).into() }, ); (None, expr) } @@ -39851,10 +39757,8 @@ fn __action223< { let mut values = vec![e1]; values.extend(e2.into_iter().map(|e| e.1)); - ast::Expr::new( - location.. - end_location, - ast::ExprBoolOp { op: ast::Boolop::Or, values } + ast::Expr::BoolOp( + ast::ExprBoolOp { op: ast::Boolop::Or, values, range: (location..end_location).into() } ) } } @@ -39900,10 +39804,8 @@ fn __action227< if elts.len() == 1 && trailing_comma.is_none() { elts.into_iter().next().unwrap() } else { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } } @@ -39936,10 +39838,8 @@ fn __action229< if elts.len() == 1 && trailing_comma.is_none() { elts.into_iter().next().unwrap() } else { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } } @@ -39955,10 +39855,8 @@ fn __action230< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitOr, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitOr, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -40055,9 +39953,11 @@ fn __action239< #[allow(clippy::too_many_arguments)] fn __action240< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, param1, _): (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), (_, args2, _): (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> Result> { { @@ -40074,6 +39974,7 @@ fn __action240< kwarg, defaults, kw_defaults, + range: optional_range(location, end_location) }) } } @@ -40081,9 +39982,11 @@ fn __action240< #[allow(clippy::too_many_arguments)] fn __action241< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, param1, _): (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), (_, kw, _): (TextSize, (token::Tok, Option>), TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> Result> { { @@ -40103,6 +40006,7 @@ fn __action241< kwarg, defaults, kw_defaults, + range: optional_range(location, end_location) }) } } @@ -40110,8 +40014,10 @@ fn __action241< #[allow(clippy::too_many_arguments)] fn __action242< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, params, _): (TextSize, (Option>, Vec, Vec, Option>), TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Arguments { { @@ -40124,6 +40030,7 @@ fn __action242< kwarg, defaults: vec![], kw_defaults, + range: optional_range(location, end_location) } } } @@ -40131,8 +40038,10 @@ fn __action242< #[allow(clippy::too_many_arguments)] fn __action243< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, kwarg, _): (TextSize, Option>, TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Arguments { { @@ -40144,6 +40053,7 @@ fn __action243< kwarg, defaults: vec![], kw_defaults: vec![], + range: optional_range(location, end_location) } } } @@ -40267,9 +40177,11 @@ fn __action255< #[allow(clippy::too_many_arguments)] fn __action256< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, param1, _): (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), (_, args2, _): (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> Result> { { @@ -40286,6 +40198,7 @@ fn __action256< kwarg, defaults, kw_defaults, + range: optional_range(location, end_location) }) } } @@ -40293,9 +40206,11 @@ fn __action256< #[allow(clippy::too_many_arguments)] fn __action257< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, param1, _): (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), (_, kw, _): (TextSize, (token::Tok, Option>), TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> Result> { { @@ -40315,6 +40230,7 @@ fn __action257< kwarg, defaults, kw_defaults, + range: optional_range(location, end_location) }) } } @@ -40322,8 +40238,10 @@ fn __action257< #[allow(clippy::too_many_arguments)] fn __action258< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, params, _): (TextSize, (Option>, Vec, Vec, Option>), TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Arguments { { @@ -40336,6 +40254,7 @@ fn __action258< kwarg, defaults: vec![], kw_defaults, + range: optional_range(location, end_location) } } } @@ -40343,8 +40262,10 @@ fn __action258< #[allow(clippy::too_many_arguments)] fn __action259< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, kwarg, _): (TextSize, Option>, TextSize), (_, _, _): (TextSize, core::option::Option, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Arguments { { @@ -40356,6 +40277,7 @@ fn __action259< kwarg, defaults: vec![], kw_defaults: vec![], + range: optional_range(location, end_location) } } } @@ -40444,23 +40366,27 @@ fn __action267< #[allow(clippy::too_many_arguments)] fn __action268< >( - (_, __0, _): (TextSize, ast::Expr, TextSize), + (_, location, _): (TextSize, TextSize, TextSize), + (_, context_expr, _): (TextSize, ast::Expr, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Withitem { - ast::Withitem { context_expr: __0, optional_vars: None } + ast::Withitem { context_expr, optional_vars: None, range: optional_range(location, end_location) } } #[allow(clippy::too_many_arguments)] fn __action269< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, context_expr, _): (TextSize, ast::Expr, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, vars, _): (TextSize, ast::Expr, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Withitem { { let optional_vars = Some(Box::new(set_context(vars, ast::ExprContext::Store))); - ast::Withitem { context_expr, optional_vars } + ast::Withitem { context_expr, optional_vars, range: optional_range(location, end_location) } } } @@ -40496,37 +40422,43 @@ fn __action272< #[allow(clippy::too_many_arguments)] fn __action273< >( - (_, __0, _): (TextSize, ast::Expr, TextSize), + (_, location, _): (TextSize, TextSize, TextSize), + (_, context_expr, _): (TextSize, ast::Expr, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Withitem { - ast::Withitem { context_expr: __0, optional_vars: None } + ast::Withitem { context_expr, optional_vars: None, range: optional_range(location, end_location) } } #[allow(clippy::too_many_arguments)] fn __action274< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, context_expr, _): (TextSize, ast::Expr, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, vars, _): (TextSize, ast::Expr, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Withitem { { let optional_vars = Some(Box::new(set_context(vars, ast::ExprContext::Store))); - ast::Withitem { context_expr, optional_vars } + ast::Withitem { context_expr, optional_vars, range: optional_range(location, end_location) } } } #[allow(clippy::too_many_arguments)] fn __action275< >( + (_, location, _): (TextSize, TextSize, TextSize), (_, context_expr, _): (TextSize, ast::Expr, TextSize), (_, _, _): (TextSize, token::Tok, TextSize), (_, vars, _): (TextSize, ast::Expr, TextSize), + (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Withitem { { let optional_vars = Some(Box::new(set_context(vars, ast::ExprContext::Store))); - ast::Withitem { context_expr, optional_vars } + ast::Withitem { context_expr, optional_vars, range: optional_range(location, end_location) } } } @@ -41028,7 +40960,7 @@ fn __action323< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Alias { - ast::Alias::new(location..end_location, ast::AliasData { name, asname: a.map(|a| a.1) }) + ast::Alias { name, asname: a.map(|a| a.1), range: (location..end_location).into() } } #[allow(clippy::too_many_arguments)] @@ -41092,7 +41024,7 @@ fn __action329< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Alias { - ast::Alias::new(location..end_location, ast::AliasData { name, asname: a.map(|a| a.1) }) + ast::Alias { name, asname: a.map(|a| a.1), range: (location..end_location).into() } } #[allow(clippy::too_many_arguments)] @@ -41174,13 +41106,12 @@ fn __action337< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::IfExp( ast::ExprIfExp { test: Box::new(test), body: Box::new(body), orelse: Box::new(orelse), + range: (location..end_location).into() } ) } @@ -41222,26 +41153,8 @@ fn __action341< v } -fn __action342< ->( - __lookbehind: &TextSize, - __lookahead: &TextSize, -) -> TextSize -{ - *__lookbehind -} - -fn __action343< ->( - __lookbehind: &TextSize, - __lookahead: &TextSize, -) -> TextSize -{ - *__lookahead -} - #[allow(clippy::too_many_arguments)] -fn __action344< +fn __action342< >( (_, __0, _): (TextSize, token::Tok, TextSize), ) -> core::option::Option @@ -41250,7 +41163,7 @@ fn __action344< } #[allow(clippy::too_many_arguments)] -fn __action345< +fn __action343< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -41260,7 +41173,7 @@ fn __action345< } #[allow(clippy::too_many_arguments)] -fn __action346< +fn __action344< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -41270,7 +41183,7 @@ fn __action346< } #[allow(clippy::too_many_arguments)] -fn __action347< +fn __action345< >( (_, v, _): (TextSize, alloc::vec::Vec<(token::Tok, ast::Stmt)>, TextSize), ) -> alloc::vec::Vec<(token::Tok, ast::Stmt)> @@ -41279,7 +41192,7 @@ fn __action347< } #[allow(clippy::too_many_arguments)] -fn __action348< +fn __action346< >( (_, __0, _): (TextSize, token::Tok, TextSize), (_, __1, _): (TextSize, ast::Stmt, TextSize), @@ -41289,7 +41202,7 @@ fn __action348< } #[allow(clippy::too_many_arguments)] -fn __action349< +fn __action347< >( (_, __0, _): (TextSize, ast::Suite, TextSize), ) -> alloc::vec::Vec @@ -41298,7 +41211,7 @@ fn __action349< } #[allow(clippy::too_many_arguments)] -fn __action350< +fn __action348< >( (_, v, _): (TextSize, alloc::vec::Vec, TextSize), (_, e, _): (TextSize, ast::Suite, TextSize), @@ -41308,7 +41221,7 @@ fn __action350< } #[allow(clippy::too_many_arguments)] -fn __action351< +fn __action349< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -41318,7 +41231,7 @@ fn __action351< } #[allow(clippy::too_many_arguments)] -fn __action352< +fn __action350< >( (_, v, _): (TextSize, alloc::vec::Vec, TextSize), ) -> alloc::vec::Vec @@ -41327,7 +41240,7 @@ fn __action352< } #[allow(clippy::too_many_arguments)] -fn __action353< +fn __action351< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -41337,7 +41250,7 @@ fn __action353< } #[allow(clippy::too_many_arguments)] -fn __action354< +fn __action352< >( (_, v, _): (TextSize, alloc::vec::Vec, TextSize), ) -> alloc::vec::Vec @@ -41346,7 +41259,7 @@ fn __action354< } #[allow(clippy::too_many_arguments)] -fn __action355< +fn __action353< >( (_, __0, _): (TextSize, token::Tok, TextSize), ) -> token::Tok @@ -41354,6 +41267,24 @@ fn __action355< __0 } +fn __action354< +>( + __lookbehind: &TextSize, + __lookahead: &TextSize, +) -> TextSize +{ + *__lookbehind +} + +fn __action355< +>( + __lookbehind: &TextSize, + __lookahead: &TextSize, +) -> TextSize +{ + *__lookahead +} + #[allow(clippy::too_many_arguments)] fn __action356< >( @@ -41741,13 +41672,12 @@ fn __action395< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, + ast::Expr::IfExp( ast::ExprIfExp { test: Box::new(test), body: Box::new(body), orelse: Box::new(orelse), + range: (location..end_location).into() } ) } @@ -42096,10 +42026,8 @@ fn __action423< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitXor, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitXor, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -42196,10 +42124,8 @@ fn __action432< { let mut values = vec![e1]; values.extend(e2.into_iter().map(|e| e.1)); - ast::Expr::new( - location.. - end_location, - ast::ExprBoolOp { op: ast::Boolop::And, values } + ast::Expr::BoolOp( + ast::ExprBoolOp { op: ast::Boolop::And, values, range: (location..end_location).into() } ) } } @@ -42337,10 +42263,8 @@ fn __action446< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprUnaryOp { operand: Box::new(e), op: ast::Unaryop::Not } + ast::Expr::UnaryOp( + ast::ExprUnaryOp { operand: Box::new(e), op: ast::Unaryop::Not, range: (location..end_location).into() } ) } @@ -42411,10 +42335,8 @@ fn __action453< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitAnd, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitAnd, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -42698,10 +42620,8 @@ fn __action481< { let mut values = vec![e1]; values.extend(e2.into_iter().map(|e| e.1)); - ast::Expr::new( - location.. - end_location, - ast::ExprBoolOp { op: ast::Boolop::Or, values } + ast::Expr::BoolOp( + ast::ExprBoolOp { op: ast::Boolop::Or, values, range: (location..end_location).into() } ) } } @@ -42879,10 +42799,8 @@ fn __action499< { let mut values = vec![e1]; values.extend(e2.into_iter().map(|e| e.1)); - ast::Expr::new( - location.. - end_location, - ast::ExprBoolOp { op: ast::Boolop::And, values } + ast::Expr::BoolOp( + ast::ExprBoolOp { op: ast::Boolop::And, values, range: (location..end_location).into() } ) } } @@ -42944,10 +42862,8 @@ fn __action505< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -42990,10 +42906,8 @@ fn __action509< { { let (ops, comparators) = comparisons.into_iter().unzip(); - ast::Expr::new( - location.. - end_location, - ast::ExprCompare { left: Box::new(left), ops, comparators } + ast::Expr::Compare( + ast::ExprCompare { left: Box::new(left), ops, comparators, range: (location..end_location).into() } ) } } @@ -43046,10 +42960,8 @@ fn __action514< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b), range: (location..end_location).into() } ) } @@ -43071,10 +42983,8 @@ fn __action516< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprUnaryOp { operand: Box::new(e), op: ast::Unaryop::Not } + ast::Expr::UnaryOp( + ast::ExprUnaryOp { operand: Box::new(e), op: ast::Unaryop::Not, range: (location..end_location).into() } ) } @@ -43098,10 +43008,8 @@ fn __action518< { { let (ops, comparators) = comparisons.into_iter().unzip(); - ast::Expr::new( - location.. - end_location, - ast::ExprCompare { left: Box::new(left), ops, comparators } + ast::Expr::Compare( + ast::ExprCompare { left: Box::new(left), ops, comparators, range: (location..end_location).into() } ) } } @@ -43125,10 +43033,8 @@ fn __action520< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b), range: (location..end_location).into() } ) } @@ -43150,10 +43056,8 @@ fn __action522< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprUnaryOp { operand: Box::new(e), op } + ast::Expr::UnaryOp( + ast::ExprUnaryOp { operand: Box::new(e), op, range: (location..end_location).into() } ) } @@ -43176,10 +43080,8 @@ fn __action524< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitOr, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitOr, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -43202,10 +43104,8 @@ fn __action526< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitXor, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitXor, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -43228,10 +43128,8 @@ fn __action528< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e), op: ast::Operator::Pow, right: Box::new(b) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e), op: ast::Operator::Pow, right: Box::new(b), range: (location..end_location).into() } ) } @@ -43254,10 +43152,8 @@ fn __action530< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprAwait { value: Box::new(atom) } + ast::Expr::Await( + ast::ExprAwait { value: Box::new(atom), range: (location..end_location).into() } ) } } @@ -43281,10 +43177,8 @@ fn __action532< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitAnd, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op: ast::Operator::BitAnd, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -43307,10 +43201,8 @@ fn __action534< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e1), op, right: Box::new(e2) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e1), op, right: Box::new(e2), range: (location..end_location).into() } ) } @@ -43344,10 +43236,8 @@ fn __action537< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprCall { func: Box::new(f), args: a.args, keywords: a.keywords } + ast::Expr::Call( + ast::ExprCall { func: Box::new(f), args: a.args, keywords: a.keywords, range: (location..end_location).into() } ) } } @@ -43363,10 +43253,8 @@ fn __action538< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprSubscript { value: Box::new(e), slice: Box::new(s), ctx: ast::ExprContext::Load } + ast::Expr::Subscript( + ast::ExprSubscript { value: Box::new(e), slice: Box::new(s), ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -43380,10 +43268,8 @@ fn __action539< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load } + ast::Expr::Attribute( + ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -43405,10 +43291,8 @@ fn __action541< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprConstant { value, kind: None } + ast::Expr::Constant( + ast::ExprConstant { value, kind: None, range: (location..end_location).into() } ) } @@ -43420,10 +43304,8 @@ fn __action542< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprName { id: name, ctx: ast::ExprContext::Load } + ast::Expr::Name( + ast::ExprName { id: name, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -43439,10 +43321,8 @@ fn __action543< { { let elts = e.unwrap_or_default(); - ast::Expr::new( - location.. - end_location, - ast::ExprList { elts, ctx: ast::ExprContext::Load } + ast::Expr::List( + ast::ExprList { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } } @@ -43459,10 +43339,8 @@ fn __action544< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprListComp { elt: Box::new(elt), generators } + ast::Expr::ListComp( + ast::ExprListComp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) } } @@ -43482,10 +43360,8 @@ fn __action545< if elts.len() == 1 && trailing_comma.is_none() { elts.into_iter().next().unwrap() } else { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } } @@ -43506,7 +43382,7 @@ fn __action546< { { if left.is_none() && right.is_empty() && trailing_comma.is_none() { - if matches!(mid.node, ast::ExprKind::Starred { .. }) { + if mid.is_starred_expr() { Err(LexicalError{ error: LexicalErrorType::OtherError("cannot use starred expression here".to_string()), location: mid.start(), @@ -43515,10 +43391,8 @@ fn __action546< Ok(mid) } else { let elts = left.into_iter().flatten().chain([mid]).chain(right).collect(); - Ok(ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load }, + Ok(ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, )) } } @@ -43533,10 +43407,8 @@ fn __action547< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts: Vec::new(), ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts: Vec::new(), ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -43563,10 +43435,8 @@ fn __action549< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprGeneratorExp { elt: Box::new(elt), generators } + ast::Expr::GeneratorExp( + ast::ExprGeneratorExp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) } } @@ -43606,10 +43476,8 @@ fn __action551< .into_iter() .map(|(k, v)| (k.map(|x| *x), v)) .unzip(); - ast::Expr::new( - location.. - end_location, - ast::ExprDict { keys, values } + ast::Expr::Dict( + ast::ExprDict { keys, values, range: (location..end_location).into() } ) } } @@ -43626,13 +43494,12 @@ fn __action552< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, + ast::Expr::DictComp( ast::ExprDictComp { key: Box::new(e1.0), value: Box::new(e1.1), generators, + range: (location..end_location).into() } ) } @@ -43648,10 +43515,8 @@ fn __action553< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprSet { elts } + ast::Expr::Set( + ast::ExprSet { elts, range: (location..end_location).into() } ) } @@ -43667,10 +43532,8 @@ fn __action554< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprSetComp { elt: Box::new(elt), generators } + ast::Expr::SetComp( + ast::ExprSetComp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) } } @@ -43683,7 +43546,7 @@ fn __action555< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: true.into(), kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: true.into(), kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -43694,7 +43557,7 @@ fn __action556< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: false.into(), kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: false.into(), kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -43705,7 +43568,7 @@ fn __action557< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: ast::Constant::None, kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: ast::Constant::None, kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -43716,7 +43579,7 @@ fn __action558< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: ast::Constant::Ellipsis, kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: ast::Constant::Ellipsis, kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -43729,10 +43592,8 @@ fn __action559< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b), range: (location..end_location).into() } ) } @@ -43755,10 +43616,8 @@ fn __action561< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(a), op, right: Box::new(b), range: (location..end_location).into() } ) } @@ -43895,10 +43754,8 @@ fn __action575< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprUnaryOp { operand: Box::new(e), op } + ast::Expr::UnaryOp( + ast::ExprUnaryOp { operand: Box::new(e), op, range: (location..end_location).into() } ) } @@ -43921,10 +43778,8 @@ fn __action577< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprBinOp { left: Box::new(e), op: ast::Operator::Pow, right: Box::new(b) } + ast::Expr::BinOp( + ast::ExprBinOp { left: Box::new(e), op: ast::Operator::Pow, right: Box::new(b), range: (location..end_location).into() } ) } @@ -43947,10 +43802,8 @@ fn __action579< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprAwait { value: Box::new(atom) } + ast::Expr::Await( + ast::ExprAwait { value: Box::new(atom), range: (location..end_location).into() } ) } } @@ -43985,10 +43838,8 @@ fn __action582< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprCall { func: Box::new(f), args: a.args, keywords: a.keywords } + ast::Expr::Call( + ast::ExprCall { func: Box::new(f), args: a.args, keywords: a.keywords, range: (location..end_location).into() } ) } } @@ -44004,10 +43855,8 @@ fn __action583< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprSubscript { value: Box::new(e), slice: Box::new(s), ctx: ast::ExprContext::Load } + ast::Expr::Subscript( + ast::ExprSubscript { value: Box::new(e), slice: Box::new(s), ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -44021,10 +43870,8 @@ fn __action584< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load } + ast::Expr::Attribute( + ast::ExprAttribute { value: Box::new(e), attr, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -44046,10 +43893,8 @@ fn __action586< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprConstant { value, kind: None } + ast::Expr::Constant( + ast::ExprConstant { value, kind: None, range: (location..end_location).into() } ) } @@ -44061,10 +43906,8 @@ fn __action587< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprName { id: name, ctx: ast::ExprContext::Load } + ast::Expr::Name( + ast::ExprName { id: name, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -44080,10 +43923,8 @@ fn __action588< { { let elts = e.unwrap_or_default(); - ast::Expr::new( - location.. - end_location, - ast::ExprList { elts, ctx: ast::ExprContext::Load } + ast::Expr::List( + ast::ExprList { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } } @@ -44100,10 +43941,8 @@ fn __action589< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprListComp { elt: Box::new(elt), generators } + ast::Expr::ListComp( + ast::ExprListComp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) } } @@ -44123,7 +43962,7 @@ fn __action590< { { if left.is_none() && right.is_empty() && trailing_comma.is_none() { - if matches!(mid.node, ast::ExprKind::Starred { .. }) { + if mid.is_starred_expr() { Err(LexicalError{ error: LexicalErrorType::OtherError("cannot use starred expression here".to_string()), location: mid.start(), @@ -44132,10 +43971,8 @@ fn __action590< Ok(mid) } else { let elts = left.into_iter().flatten().chain([mid]).chain(right).collect(); - Ok(ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts, ctx: ast::ExprContext::Load }, + Ok(ast::Expr::Tuple( + ast::ExprTuple { elts, ctx: ast::ExprContext::Load, range: (location..end_location).into() }, )) } } @@ -44150,10 +43987,8 @@ fn __action591< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprTuple { elts: Vec::new(), ctx: ast::ExprContext::Load } + ast::Expr::Tuple( + ast::ExprTuple { elts: Vec::new(), ctx: ast::ExprContext::Load, range: (location..end_location).into() } ) } @@ -44180,10 +44015,8 @@ fn __action593< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprGeneratorExp { elt: Box::new(elt), generators } + ast::Expr::GeneratorExp( + ast::ExprGeneratorExp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) } } @@ -44223,10 +44056,8 @@ fn __action595< .into_iter() .map(|(k, v)| (k.map(|x| *x), v)) .unzip(); - ast::Expr::new( - location.. - end_location, - ast::ExprDict { keys, values } + ast::Expr::Dict( + ast::ExprDict { keys, values, range: (location..end_location).into() } ) } } @@ -44243,13 +44074,12 @@ fn __action596< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, + ast::Expr::DictComp( ast::ExprDictComp { key: Box::new(e1.0), value: Box::new(e1.1), generators, + range: (location..end_location).into() } ) } @@ -44265,10 +44095,8 @@ fn __action597< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new( - location.. - end_location, - ast::ExprSet { elts } + ast::Expr::Set( + ast::ExprSet { elts, range: (location..end_location).into() } ) } @@ -44284,10 +44112,8 @@ fn __action598< ) -> ast::Expr { { - ast::Expr::new( - location.. - end_location, - ast::ExprSetComp { elt: Box::new(elt), generators } + ast::Expr::SetComp( + ast::ExprSetComp { elt: Box::new(elt), generators, range: (location..end_location).into() } ) } } @@ -44300,7 +44126,7 @@ fn __action599< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: true.into(), kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: true.into(), kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -44311,7 +44137,7 @@ fn __action600< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: false.into(), kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: false.into(), kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -44322,7 +44148,7 @@ fn __action601< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: ast::Constant::None, kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: ast::Constant::None, kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -44333,7 +44159,7 @@ fn __action602< (_, end_location, _): (TextSize, TextSize, TextSize), ) -> ast::Expr { - ast::Expr::new(location..end_location, ast::ExprConstant { value: ast::Constant::Ellipsis, kind: None }) + ast::Expr::Constant(ast::ExprConstant { value: ast::Constant::Ellipsis, kind: None, range: (location..end_location).into() }) } #[allow(clippy::too_many_arguments)] @@ -44526,7 +44352,7 @@ fn __action609< __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), __8: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __6.0; let __end0 = __6.2; @@ -44558,7 +44384,7 @@ fn __action610< __5: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __6: (TextSize, token::Tok, TextSize), __7: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __6.0; @@ -44590,7 +44416,7 @@ fn __action611< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.0; let __end0 = __4.2; @@ -44618,7 +44444,7 @@ fn __action612< __3: (TextSize, Vec, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __4.0; @@ -44648,7 +44474,7 @@ fn __action613< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.0; let __end0 = __4.2; @@ -44676,7 +44502,7 @@ fn __action614< __3: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __4.0; @@ -44708,7 +44534,7 @@ fn __action615< __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), __8: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __6.0; let __end0 = __6.2; @@ -44740,7 +44566,7 @@ fn __action616< __5: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __6: (TextSize, token::Tok, TextSize), __7: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __6.0; @@ -44772,7 +44598,7 @@ fn __action617< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.0; let __end0 = __4.2; @@ -44800,7 +44626,7 @@ fn __action618< __3: (TextSize, Vec, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __4.0; @@ -44830,7 +44656,7 @@ fn __action619< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.0; let __end0 = __4.2; @@ -44858,7 +44684,7 @@ fn __action620< __3: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __4.0; @@ -45147,7 +44973,7 @@ fn __action633< __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.0; let __end0 = __3.2; @@ -45173,7 +44999,7 @@ fn __action634< __2: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.2; let __end0 = __3.0; @@ -45202,7 +45028,7 @@ fn __action635< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.0; let __end0 = __4.2; @@ -45230,7 +45056,7 @@ fn __action636< __3: (TextSize, ast::Identifier, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __4.0; @@ -45262,7 +45088,7 @@ fn __action637< __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), __8: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __6.0; let __end0 = __6.2; @@ -45294,7 +45120,7 @@ fn __action638< __5: (TextSize, ast::Identifier, TextSize), __6: (TextSize, token::Tok, TextSize), __7: (TextSize, TextSize, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __6.0; @@ -45393,33 +45219,39 @@ fn __action640< #[allow(clippy::too_many_arguments)] fn __action641< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), - __2: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, TextSize, TextSize), ) -> Result> { - let __start0 = __2.0; - let __end0 = __2.2; + let __start0 = __3.0; + let __end0 = __3.2; let __temp0 = __action320( - __2, + __3, ); let __temp0 = (__start0, __temp0, __end0); __action256( __0, __1, + __2, __temp0, + __4, ) } #[allow(clippy::too_many_arguments)] fn __action642< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __3: (TextSize, TextSize, TextSize), ) -> Result> { - let __start0 = __1.2; - let __end0 = __1.2; + let __start0 = __2.2; + let __end0 = __3.0; let __temp0 = __action321( &__start0, &__end0, @@ -45428,40 +45260,48 @@ fn __action642< __action256( __0, __1, + __2, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action643< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, (token::Tok, Option>), TextSize), - __2: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, TextSize, TextSize), ) -> Result> { - let __start0 = __2.0; - let __end0 = __2.2; + let __start0 = __3.0; + let __end0 = __3.2; let __temp0 = __action320( - __2, + __3, ); let __temp0 = (__start0, __temp0, __end0); __action257( __0, __1, + __2, __temp0, + __4, ) } #[allow(clippy::too_many_arguments)] fn __action644< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, (token::Tok, Option>), TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), + __3: (TextSize, TextSize, TextSize), ) -> Result> { - let __start0 = __1.2; - let __end0 = __1.2; + let __start0 = __2.2; + let __end0 = __3.0; let __temp0 = __action321( &__start0, &__end0, @@ -45470,37 +45310,45 @@ fn __action644< __action257( __0, __1, + __2, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action645< >( - __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), - __1: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __1.0; - let __end0 = __1.2; + let __start0 = __2.0; + let __end0 = __2.2; let __temp0 = __action320( - __1, + __2, ); let __temp0 = (__start0, __temp0, __end0); __action258( __0, + __1, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action646< >( - __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __2: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __0.2; - let __end0 = __0.2; + let __start0 = __1.2; + let __end0 = __2.0; let __temp0 = __action321( &__start0, &__end0, @@ -45508,37 +45356,45 @@ fn __action646< let __temp0 = (__start0, __temp0, __end0); __action258( __0, + __1, __temp0, + __2, ) } #[allow(clippy::too_many_arguments)] fn __action647< >( - __0: (TextSize, Option>, TextSize), - __1: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __1.0; - let __end0 = __1.2; + let __start0 = __2.0; + let __end0 = __2.2; let __temp0 = __action320( - __1, + __2, ); let __temp0 = (__start0, __temp0, __end0); __action259( __0, + __1, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action648< >( - __0: (TextSize, Option>, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), + __2: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __0.2; - let __end0 = __0.2; + let __start0 = __1.2; + let __end0 = __2.0; let __temp0 = __action321( &__start0, &__end0, @@ -45546,40 +45402,48 @@ fn __action648< let __temp0 = (__start0, __temp0, __end0); __action259( __0, + __1, __temp0, + __2, ) } #[allow(clippy::too_many_arguments)] fn __action649< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), - __2: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, TextSize, TextSize), ) -> Result> { - let __start0 = __2.0; - let __end0 = __2.2; + let __start0 = __3.0; + let __end0 = __3.2; let __temp0 = __action320( - __2, + __3, ); let __temp0 = (__start0, __temp0, __end0); __action240( __0, __1, + __2, __temp0, + __4, ) } #[allow(clippy::too_many_arguments)] fn __action650< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __3: (TextSize, TextSize, TextSize), ) -> Result> { - let __start0 = __1.2; - let __end0 = __1.2; + let __start0 = __2.2; + let __end0 = __3.0; let __temp0 = __action321( &__start0, &__end0, @@ -45588,17 +45452,70 @@ fn __action650< __action240( __0, __1, + __2, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action651< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, (token::Tok, Option>), TextSize), - __2: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, TextSize, TextSize), ) -> Result> +{ + let __start0 = __3.0; + let __end0 = __3.2; + let __temp0 = __action320( + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action241( + __0, + __1, + __2, + __temp0, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action652< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), + __3: (TextSize, TextSize, TextSize), +) -> Result> +{ + let __start0 = __2.2; + let __end0 = __3.0; + let __temp0 = __action321( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action241( + __0, + __1, + __2, + __temp0, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action653< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, TextSize, TextSize), +) -> ast::Arguments { let __start0 = __2.0; let __end0 = __2.2; @@ -45606,61 +45523,24 @@ fn __action651< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action241( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action652< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, (token::Tok, Option>), TextSize), -) -> Result> -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action321( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action241( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action653< ->( - __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> ast::Arguments -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action320( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); __action242( __0, + __1, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action654< >( - __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __2: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __0.2; - let __end0 = __0.2; + let __start0 = __1.2; + let __end0 = __2.0; let __temp0 = __action321( &__start0, &__end0, @@ -45668,37 +45548,45 @@ fn __action654< let __temp0 = (__start0, __temp0, __end0); __action242( __0, + __1, __temp0, + __2, ) } #[allow(clippy::too_many_arguments)] fn __action655< >( - __0: (TextSize, Option>, TextSize), - __1: (TextSize, token::Tok, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __1.0; - let __end0 = __1.2; + let __start0 = __2.0; + let __end0 = __2.2; let __temp0 = __action320( - __1, + __2, ); let __temp0 = (__start0, __temp0, __end0); __action243( __0, + __1, __temp0, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action656< >( - __0: (TextSize, Option>, TextSize), + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), + __2: (TextSize, TextSize, TextSize), ) -> ast::Arguments { - let __start0 = __0.2; - let __end0 = __0.2; + let __start0 = __1.2; + let __end0 = __2.0; let __temp0 = __action321( &__start0, &__end0, @@ -45706,7 +45594,9 @@ fn __action656< let __temp0 = (__start0, __temp0, __end0); __action243( __0, + __1, __temp0, + __2, ) } @@ -45963,7 +45853,7 @@ fn __action667< { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action344( + let __temp0 = __action342( __2, ); let __temp0 = (__start0, __temp0, __end0); @@ -45985,7 +45875,7 @@ fn __action668< { let __start0 = __1.2; let __end0 = __2.0; - let __temp0 = __action345( + let __temp0 = __action343( &__start0, &__end0, ); @@ -46996,7 +46886,7 @@ fn __action708< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47019,7 +46909,7 @@ fn __action709< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47044,7 +46934,7 @@ fn __action710< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47069,7 +46959,7 @@ fn __action711< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47093,7 +46983,7 @@ fn __action712< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47116,7 +47006,7 @@ fn __action713< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47140,7 +47030,7 @@ fn __action714< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47165,7 +47055,7 @@ fn __action715< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47190,7 +47080,7 @@ fn __action716< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47215,7 +47105,7 @@ fn __action717< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47238,7 +47128,7 @@ fn __action718< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47259,7 +47149,7 @@ fn __action719< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47282,7 +47172,7 @@ fn __action720< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47308,7 +47198,7 @@ fn __action721< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47335,7 +47225,7 @@ fn __action722< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47361,7 +47251,7 @@ fn __action723< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47388,7 +47278,7 @@ fn __action724< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47418,7 +47308,7 @@ fn __action725< { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47447,7 +47337,7 @@ fn __action726< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47475,7 +47365,7 @@ fn __action727< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47501,7 +47391,7 @@ fn __action728< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47526,7 +47416,7 @@ fn __action729< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47553,7 +47443,7 @@ fn __action730< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47579,7 +47469,7 @@ fn __action731< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47605,7 +47495,7 @@ fn __action732< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47631,7 +47521,7 @@ fn __action733< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47657,7 +47547,7 @@ fn __action734< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47681,7 +47571,7 @@ fn __action735< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47702,7 +47592,7 @@ fn __action736< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47723,7 +47613,7 @@ fn __action737< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47744,7 +47634,7 @@ fn __action738< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47765,7 +47655,7 @@ fn __action739< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47786,7 +47676,7 @@ fn __action740< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47809,7 +47699,7 @@ fn __action741< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47835,7 +47725,7 @@ fn __action742< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47863,7 +47753,7 @@ fn __action743< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47893,7 +47783,7 @@ fn __action744< { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47922,7 +47812,7 @@ fn __action745< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47950,7 +47840,7 @@ fn __action746< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -47976,7 +47866,7 @@ fn __action747< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48001,7 +47891,7 @@ fn __action748< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48028,7 +47918,7 @@ fn __action749< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48054,7 +47944,7 @@ fn __action750< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48080,7 +47970,7 @@ fn __action751< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48106,7 +47996,7 @@ fn __action752< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48132,7 +48022,7 @@ fn __action753< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48156,7 +48046,7 @@ fn __action754< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48177,7 +48067,7 @@ fn __action755< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48198,7 +48088,7 @@ fn __action756< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48219,7 +48109,7 @@ fn __action757< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48243,7 +48133,7 @@ fn __action758< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48270,7 +48160,7 @@ fn __action759< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48296,7 +48186,7 @@ fn __action760< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48322,7 +48212,7 @@ fn __action761< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48349,7 +48239,7 @@ fn __action762< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48375,7 +48265,7 @@ fn __action763< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48399,7 +48289,7 @@ fn __action764< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48422,7 +48312,7 @@ fn __action765< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48440,11 +48330,11 @@ fn __action766< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48467,11 +48357,11 @@ fn __action767< __5: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __7.2; let __end0 = __7.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48499,11 +48389,11 @@ fn __action768< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48529,11 +48419,11 @@ fn __action769< __3: (TextSize, Vec, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48557,11 +48447,11 @@ fn __action770< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, Vec, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48585,11 +48475,11 @@ fn __action771< __3: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48613,11 +48503,11 @@ fn __action772< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48639,11 +48529,11 @@ fn __action773< __1: (TextSize, ast::Expr, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48668,11 +48558,11 @@ fn __action774< __5: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __7.2; let __end0 = __7.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48700,11 +48590,11 @@ fn __action775< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48730,11 +48620,11 @@ fn __action776< __3: (TextSize, Vec, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48758,11 +48648,11 @@ fn __action777< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, Vec, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48786,11 +48676,11 @@ fn __action778< __3: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48814,11 +48704,11 @@ fn __action779< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48840,11 +48730,11 @@ fn __action780< __1: (TextSize, ast::Expr, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -48860,153 +48750,6 @@ fn __action780< #[allow(clippy::too_many_arguments)] fn __action781< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action90( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action782< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action91( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action783< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action92( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action784< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action93( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action785< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action94( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action786< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action95( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action787< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action96( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action788< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49015,7 +48758,7 @@ fn __action788< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49029,7 +48772,7 @@ fn __action788< } #[allow(clippy::too_many_arguments)] -fn __action789< +fn __action782< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49038,7 +48781,7 @@ fn __action789< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49052,7 +48795,7 @@ fn __action789< } #[allow(clippy::too_many_arguments)] -fn __action790< +fn __action783< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Constant, TextSize), @@ -49060,7 +48803,7 @@ fn __action790< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49073,7 +48816,7 @@ fn __action790< } #[allow(clippy::too_many_arguments)] -fn __action791< +fn __action784< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49082,7 +48825,7 @@ fn __action791< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49096,7 +48839,7 @@ fn __action791< } #[allow(clippy::too_many_arguments)] -fn __action792< +fn __action785< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49105,7 +48848,7 @@ fn __action792< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49119,7 +48862,7 @@ fn __action792< } #[allow(clippy::too_many_arguments)] -fn __action793< +fn __action786< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49129,7 +48872,7 @@ fn __action793< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49144,7 +48887,7 @@ fn __action793< } #[allow(clippy::too_many_arguments)] -fn __action794< +fn __action787< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49154,7 +48897,7 @@ fn __action794< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49169,7 +48912,7 @@ fn __action794< } #[allow(clippy::too_many_arguments)] -fn __action795< +fn __action788< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49178,7 +48921,7 @@ fn __action795< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49192,7 +48935,7 @@ fn __action795< } #[allow(clippy::too_many_arguments)] -fn __action796< +fn __action789< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49202,7 +48945,7 @@ fn __action796< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49217,7 +48960,7 @@ fn __action796< } #[allow(clippy::too_many_arguments)] -fn __action797< +fn __action790< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49228,7 +48971,7 @@ fn __action797< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49244,7 +48987,7 @@ fn __action797< } #[allow(clippy::too_many_arguments)] -fn __action798< +fn __action791< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Unaryop, TextSize), @@ -49253,7 +48996,7 @@ fn __action798< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49267,7 +49010,7 @@ fn __action798< } #[allow(clippy::too_many_arguments)] -fn __action799< +fn __action792< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Unaryop, TextSize), @@ -49276,7 +49019,7 @@ fn __action799< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49290,7 +49033,7 @@ fn __action799< } #[allow(clippy::too_many_arguments)] -fn __action800< +fn __action793< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49298,7 +49041,7 @@ fn __action800< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49311,7 +49054,7 @@ fn __action800< } #[allow(clippy::too_many_arguments)] -fn __action801< +fn __action794< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49319,7 +49062,7 @@ fn __action801< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49332,7 +49075,7 @@ fn __action801< } #[allow(clippy::too_many_arguments)] -fn __action802< +fn __action795< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49341,7 +49084,7 @@ fn __action802< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49355,7 +49098,7 @@ fn __action802< } #[allow(clippy::too_many_arguments)] -fn __action803< +fn __action796< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49363,7 +49106,7 @@ fn __action803< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49376,7 +49119,7 @@ fn __action803< } #[allow(clippy::too_many_arguments)] -fn __action804< +fn __action797< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -49385,7 +49128,7 @@ fn __action804< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49399,7 +49142,7 @@ fn __action804< } #[allow(clippy::too_many_arguments)] -fn __action805< +fn __action798< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -49409,7 +49152,7 @@ fn __action805< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49424,7 +49167,7 @@ fn __action805< } #[allow(clippy::too_many_arguments)] -fn __action806< +fn __action799< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49433,7 +49176,7 @@ fn __action806< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49447,7 +49190,7 @@ fn __action806< } #[allow(clippy::too_many_arguments)] -fn __action807< +fn __action800< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49456,7 +49199,7 @@ fn __action807< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49470,7 +49213,7 @@ fn __action807< } #[allow(clippy::too_many_arguments)] -fn __action808< +fn __action801< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, Vec, TextSize), @@ -49479,7 +49222,7 @@ fn __action808< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49493,7 +49236,7 @@ fn __action808< } #[allow(clippy::too_many_arguments)] -fn __action809< +fn __action802< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, Vec, TextSize), @@ -49501,7 +49244,7 @@ fn __action809< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49514,7 +49257,7 @@ fn __action809< } #[allow(clippy::too_many_arguments)] -fn __action810< +fn __action803< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, Vec, TextSize), @@ -49523,7 +49266,7 @@ fn __action810< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49537,7 +49280,7 @@ fn __action810< } #[allow(clippy::too_many_arguments)] -fn __action811< +fn __action804< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, Vec, TextSize), @@ -49545,7 +49288,7 @@ fn __action811< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49558,7 +49301,7 @@ fn __action811< } #[allow(clippy::too_many_arguments)] -fn __action812< +fn __action805< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49567,7 +49310,7 @@ fn __action812< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49581,7 +49324,7 @@ fn __action812< } #[allow(clippy::too_many_arguments)] -fn __action813< +fn __action806< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -49590,7 +49333,7 @@ fn __action813< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49604,7 +49347,7 @@ fn __action813< } #[allow(clippy::too_many_arguments)] -fn __action814< +fn __action807< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -49613,7 +49356,7 @@ fn __action814< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49627,7 +49370,7 @@ fn __action814< } #[allow(clippy::too_many_arguments)] -fn __action815< +fn __action808< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, Vec, TextSize), @@ -49635,7 +49378,7 @@ fn __action815< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49648,7 +49391,7 @@ fn __action815< } #[allow(clippy::too_many_arguments)] -fn __action816< +fn __action809< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49659,7 +49402,7 @@ fn __action816< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49675,7 +49418,7 @@ fn __action816< } #[allow(clippy::too_many_arguments)] -fn __action817< +fn __action810< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49685,7 +49428,7 @@ fn __action817< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49700,7 +49443,7 @@ fn __action817< } #[allow(clippy::too_many_arguments)] -fn __action818< +fn __action811< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49708,7 +49451,7 @@ fn __action818< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49721,7 +49464,7 @@ fn __action818< } #[allow(clippy::too_many_arguments)] -fn __action819< +fn __action812< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49730,7 +49473,7 @@ fn __action819< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49744,7 +49487,7 @@ fn __action819< } #[allow(clippy::too_many_arguments)] -fn __action820< +fn __action813< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49755,7 +49498,7 @@ fn __action820< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49771,7 +49514,7 @@ fn __action820< } #[allow(clippy::too_many_arguments)] -fn __action821< +fn __action814< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49782,7 +49525,7 @@ fn __action821< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49798,15 +49541,78 @@ fn __action821< } #[allow(clippy::too_many_arguments)] -fn __action822< +fn __action815< >( __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::Expr, TextSize), -) -> ast::PatternKind + __1: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action106( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action816< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action107( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action817< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action108( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action818< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( &__start0, &__end0, ); @@ -49818,6 +49624,90 @@ fn __action822< ) } +#[allow(clippy::too_many_arguments)] +fn __action819< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action110( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action820< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), +) -> Result> +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action111( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action821< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Expr +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action120( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action822< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Expr +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action121( + __0, + __1, + __temp0, + ) +} + #[allow(clippy::too_many_arguments)] fn __action823< >( @@ -49827,49 +49717,7 @@ fn __action823< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action120( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action824< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> ast::Expr -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action121( - __0, - __1, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action825< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> ast::Expr -{ - let __start0 = __1.2; - let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49882,16 +49730,16 @@ fn __action825< } #[allow(clippy::too_many_arguments)] -fn __action826< +fn __action824< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49905,18 +49753,18 @@ fn __action826< } #[allow(clippy::too_many_arguments)] -fn __action827< +fn __action825< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49932,17 +49780,17 @@ fn __action827< } #[allow(clippy::too_many_arguments)] -fn __action828< +fn __action826< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49957,7 +49805,7 @@ fn __action828< } #[allow(clippy::too_many_arguments)] -fn __action829< +fn __action827< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -49965,11 +49813,11 @@ fn __action829< __3: (TextSize, ast::Identifier, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -49986,18 +49834,18 @@ fn __action829< } #[allow(clippy::too_many_arguments)] -fn __action830< +fn __action828< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, ast::Identifier, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50013,7 +49861,7 @@ fn __action830< } #[allow(clippy::too_many_arguments)] -fn __action831< +fn __action829< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50023,11 +49871,11 @@ fn __action831< __5: (TextSize, ast::Identifier, TextSize), __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __7.2; let __end0 = __7.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50046,7 +49894,7 @@ fn __action831< } #[allow(clippy::too_many_arguments)] -fn __action832< +fn __action830< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50055,11 +49903,11 @@ fn __action832< __4: (TextSize, token::Tok, TextSize), __5: (TextSize, ast::Identifier, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50077,7 +49925,36 @@ fn __action832< } #[allow(clippy::too_many_arguments)] -fn __action833< +fn __action831< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, core::option::Option, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Suite, TextSize), +) -> ast::MatchCase +{ + let __start0 = __5.2; + let __end0 = __5.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action80( + __0, + __1, + __2, + __3, + __4, + __5, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action832< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -50085,7 +49962,7 @@ fn __action833< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50097,6 +49974,31 @@ fn __action833< ) } +#[allow(clippy::too_many_arguments)] +fn __action833< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Identifier, TextSize), +) -> ast::Expr +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action114( + __0, + __1, + __2, + __3, + __temp0, + ) +} + #[allow(clippy::too_many_arguments)] fn __action834< >( @@ -50108,32 +50010,7 @@ fn __action834< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action114( - __0, - __1, - __2, - __3, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action835< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::Expr, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Identifier, TextSize), -) -> ast::Expr -{ - let __start0 = __3.2; - let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50148,7 +50025,7 @@ fn __action835< } #[allow(clippy::too_many_arguments)] -fn __action836< +fn __action835< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -50158,7 +50035,7 @@ fn __action836< { let __start0 = __1.2; let __end0 = __2.0; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50173,7 +50050,7 @@ fn __action836< } #[allow(clippy::too_many_arguments)] -fn __action837< +fn __action836< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50182,7 +50059,7 @@ fn __action837< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50195,6 +50072,29 @@ fn __action837< ) } +#[allow(clippy::too_many_arguments)] +fn __action837< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action446( + __0, + __1, + __2, + __temp0, + ) +} + #[allow(clippy::too_many_arguments)] fn __action838< >( @@ -50205,30 +50105,7 @@ fn __action838< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action446( - __0, - __1, - __2, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action839< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __2.2; - let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50242,7 +50119,7 @@ fn __action839< } #[allow(clippy::too_many_arguments)] -fn __action840< +fn __action839< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -50251,7 +50128,7 @@ fn __action840< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50264,6 +50141,29 @@ fn __action840< ) } +#[allow(clippy::too_many_arguments)] +fn __action840< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), +) -> ast::Expr +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action223( + __0, + __1, + __2, + __temp0, + ) +} + #[allow(clippy::too_many_arguments)] fn __action841< >( @@ -50274,30 +50174,7 @@ fn __action841< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action223( - __0, - __1, - __2, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action842< ->( - __0: (TextSize, TextSize, TextSize), - __1: (TextSize, ast::Expr, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), -) -> ast::Expr -{ - let __start0 = __2.2; - let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50310,8 +50187,401 @@ fn __action842< ) } +#[allow(clippy::too_many_arguments)] +fn __action842< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action641( + __0, + __1, + __2, + __3, + __temp0, + ) +} + #[allow(clippy::too_many_arguments)] fn __action843< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), +) -> Result> +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action642( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action844< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action643( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action845< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), +) -> Result> +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action644( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action846< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action645( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action847< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), +) -> ast::Arguments +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action646( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action848< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action647( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action849< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), +) -> ast::Arguments +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action648( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action850< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action649( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action851< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), +) -> Result> +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action650( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action852< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action651( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action853< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __2: (TextSize, (token::Tok, Option>), TextSize), +) -> Result> +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action652( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action854< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action653( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action855< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, (Option>, Vec, Vec, Option>), TextSize), +) -> ast::Arguments +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action654( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action856< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action655( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action857< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Option>, TextSize), +) -> ast::Arguments +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action656( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action858< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, core::option::Option, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action155( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action859< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50319,7 +50589,7 @@ fn __action843< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50332,7 +50602,7 @@ fn __action843< } #[allow(clippy::too_many_arguments)] -fn __action844< +fn __action860< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -50341,7 +50611,7 @@ fn __action844< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50355,7 +50625,7 @@ fn __action844< } #[allow(clippy::too_many_arguments)] -fn __action845< +fn __action861< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -50366,7 +50636,7 @@ fn __action845< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50382,7 +50652,7 @@ fn __action845< } #[allow(clippy::too_many_arguments)] -fn __action846< +fn __action862< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -50392,7 +50662,7 @@ fn __action846< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50407,7 +50677,7 @@ fn __action846< } #[allow(clippy::too_many_arguments)] -fn __action847< +fn __action863< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50417,7 +50687,7 @@ fn __action847< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50432,7 +50702,7 @@ fn __action847< } #[allow(clippy::too_many_arguments)] -fn __action848< +fn __action864< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50442,7 +50712,7 @@ fn __action848< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50457,7 +50727,7 @@ fn __action848< } #[allow(clippy::too_many_arguments)] -fn __action849< +fn __action865< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50465,7 +50735,7 @@ fn __action849< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50478,7 +50748,7 @@ fn __action849< } #[allow(clippy::too_many_arguments)] -fn __action850< +fn __action866< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50488,7 +50758,7 @@ fn __action850< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50503,17 +50773,17 @@ fn __action850< } #[allow(clippy::too_many_arguments)] -fn __action851< +fn __action867< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, ast::Pattern, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50528,16 +50798,16 @@ fn __action851< } #[allow(clippy::too_many_arguments)] -fn __action852< +fn __action868< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50551,7 +50821,7 @@ fn __action852< } #[allow(clippy::too_many_arguments)] -fn __action853< +fn __action869< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50559,11 +50829,11 @@ fn __action853< __3: (TextSize, token::Tok, TextSize), __4: (TextSize, Vec, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50580,17 +50850,17 @@ fn __action853< } #[allow(clippy::too_many_arguments)] -fn __action854< +fn __action870< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50605,7 +50875,7 @@ fn __action854< } #[allow(clippy::too_many_arguments)] -fn __action855< +fn __action871< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50615,7 +50885,7 @@ fn __action855< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50630,7 +50900,7 @@ fn __action855< } #[allow(clippy::too_many_arguments)] -fn __action856< +fn __action872< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50640,7 +50910,7 @@ fn __action856< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50655,7 +50925,7 @@ fn __action856< } #[allow(clippy::too_many_arguments)] -fn __action857< +fn __action873< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50668,7 +50938,7 @@ fn __action857< { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50686,7 +50956,7 @@ fn __action857< } #[allow(clippy::too_many_arguments)] -fn __action858< +fn __action874< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50698,7 +50968,7 @@ fn __action858< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50715,7 +50985,7 @@ fn __action858< } #[allow(clippy::too_many_arguments)] -fn __action859< +fn __action875< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50724,7 +50994,7 @@ fn __action859< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50738,16 +51008,16 @@ fn __action859< } #[allow(clippy::too_many_arguments)] -fn __action860< +fn __action876< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, ast::Identifier, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50761,7 +51031,7 @@ fn __action860< } #[allow(clippy::too_many_arguments)] -fn __action861< +fn __action877< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -50770,7 +51040,7 @@ fn __action861< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50784,7 +51054,7 @@ fn __action861< } #[allow(clippy::too_many_arguments)] -fn __action862< +fn __action878< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -50795,7 +51065,7 @@ fn __action862< { let __start0 = __4.2; let __end0 = __4.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50811,7 +51081,7 @@ fn __action862< } #[allow(clippy::too_many_arguments)] -fn __action863< +fn __action879< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50821,7 +51091,7 @@ fn __action863< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50836,7 +51106,7 @@ fn __action863< } #[allow(clippy::too_many_arguments)] -fn __action864< +fn __action880< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50845,7 +51115,7 @@ fn __action864< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50859,7 +51129,7 @@ fn __action864< } #[allow(clippy::too_many_arguments)] -fn __action865< +fn __action881< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50869,7 +51139,7 @@ fn __action865< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50884,7 +51154,7 @@ fn __action865< } #[allow(clippy::too_many_arguments)] -fn __action866< +fn __action882< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50894,7 +51164,7 @@ fn __action866< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50909,7 +51179,7 @@ fn __action866< } #[allow(clippy::too_many_arguments)] -fn __action867< +fn __action883< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50921,7 +51191,7 @@ fn __action867< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50938,7 +51208,7 @@ fn __action867< } #[allow(clippy::too_many_arguments)] -fn __action868< +fn __action884< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -50950,7 +51220,7 @@ fn __action868< { let __start0 = __5.2; let __end0 = __5.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50967,7 +51237,78 @@ fn __action868< } #[allow(clippy::too_many_arguments)] -fn __action869< +fn __action885< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Suite, TextSize), +) -> ast::Mod +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action886< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Suite, TextSize), +) -> ast::Mod +{ + let __start0 = __2.2; + let __end0 = __2.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action2( + __0, + __1, + __2, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action887< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), + __3: (TextSize, alloc::vec::Vec, TextSize), +) -> ast::Mod +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action3( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action888< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -50980,7 +51321,7 @@ fn __action869< { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -50998,7 +51339,7 @@ fn __action869< } #[allow(clippy::too_many_arguments)] -fn __action870< +fn __action889< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51011,7 +51352,7 @@ fn __action870< { let __start0 = __6.2; let __end0 = __6.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51029,7 +51370,7 @@ fn __action870< } #[allow(clippy::too_many_arguments)] -fn __action871< +fn __action890< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51038,7 +51379,7 @@ fn __action871< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51052,7 +51393,7 @@ fn __action871< } #[allow(clippy::too_many_arguments)] -fn __action872< +fn __action891< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51060,7 +51401,7 @@ fn __action872< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51073,7 +51414,166 @@ fn __action872< } #[allow(clippy::too_many_arguments)] -fn __action873< +fn __action892< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action116( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action893< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action273( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action894< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action274( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action895< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action275( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action896< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action268( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action897< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __3.2; + let __end0 = __3.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action269( + __0, + __1, + __2, + __3, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action898< +>( + __0: (TextSize, TextSize, TextSize), + __1: (TextSize, Vec, TextSize), +) -> Vec +{ + let __start0 = __1.2; + let __end0 = __1.2; + let __temp0 = __action354( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action153( + __0, + __1, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action899< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51083,7 +51583,7 @@ fn __action873< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51098,7 +51598,7 @@ fn __action873< } #[allow(clippy::too_many_arguments)] -fn __action874< +fn __action900< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51108,7 +51608,7 @@ fn __action874< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51123,7 +51623,7 @@ fn __action874< } #[allow(clippy::too_many_arguments)] -fn __action875< +fn __action901< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51132,7 +51632,7 @@ fn __action875< { let __start0 = __2.2; let __end0 = __2.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51146,7 +51646,7 @@ fn __action875< } #[allow(clippy::too_many_arguments)] -fn __action876< +fn __action902< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51156,7 +51656,7 @@ fn __action876< { let __start0 = __3.2; let __end0 = __3.2; - let __temp0 = __action342( + let __temp0 = __action354( &__start0, &__end0, ); @@ -51171,7 +51671,7 @@ fn __action876< } #[allow(clippy::too_many_arguments)] -fn __action877< +fn __action903< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51190,7 +51690,7 @@ fn __action877< } #[allow(clippy::too_many_arguments)] -fn __action878< +fn __action904< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51200,12 +51700,12 @@ fn __action878< { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action877( + let __temp0 = __action903( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action813( + __action806( __0, __1, __temp0, @@ -51213,7 +51713,7 @@ fn __action878< } #[allow(clippy::too_many_arguments)] -fn __action879< +fn __action905< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51226,7 +51726,7 @@ fn __action879< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action813( + __action806( __0, __1, __temp0, @@ -51234,7 +51734,7 @@ fn __action879< } #[allow(clippy::too_many_arguments)] -fn __action880< +fn __action906< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51244,12 +51744,12 @@ fn __action880< { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action877( + let __temp0 = __action903( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action814( + __action807( __0, __1, __temp0, @@ -51257,7 +51757,7 @@ fn __action880< } #[allow(clippy::too_many_arguments)] -fn __action881< +fn __action907< >( __0: (TextSize, TextSize, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -51270,7 +51770,7 @@ fn __action881< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action814( + __action807( __0, __1, __temp0, @@ -51278,7 +51778,7 @@ fn __action881< } #[allow(clippy::too_many_arguments)] -fn __action882< +fn __action908< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51288,7 +51788,7 @@ fn __action882< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51303,14 +51803,14 @@ fn __action882< } #[allow(clippy::too_many_arguments)] -fn __action883< +fn __action909< >( __0: (TextSize, (String, StringKind, bool), TextSize), ) -> (TextSize, (String, StringKind, bool), TextSize) { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51322,7 +51822,7 @@ fn __action883< } #[allow(clippy::too_many_arguments)] -fn __action884< +fn __action910< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, ast::Operator, TextSize), @@ -51331,7 +51831,7 @@ fn __action884< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51345,7 +51845,7 @@ fn __action884< } #[allow(clippy::too_many_arguments)] -fn __action885< +fn __action911< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51354,7 +51854,7 @@ fn __action885< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51368,7 +51868,7 @@ fn __action885< } #[allow(clippy::too_many_arguments)] -fn __action886< +fn __action912< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51377,7 +51877,7 @@ fn __action886< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51391,7 +51891,7 @@ fn __action886< } #[allow(clippy::too_many_arguments)] -fn __action887< +fn __action913< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -51399,7 +51899,7 @@ fn __action887< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51412,7 +51912,7 @@ fn __action887< } #[allow(clippy::too_many_arguments)] -fn __action888< +fn __action914< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -51420,7 +51920,7 @@ fn __action888< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51433,7 +51933,7 @@ fn __action888< } #[allow(clippy::too_many_arguments)] -fn __action889< +fn __action915< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, ast::Operator, TextSize), @@ -51442,7 +51942,7 @@ fn __action889< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51456,7 +51956,7 @@ fn __action889< } #[allow(clippy::too_many_arguments)] -fn __action890< +fn __action916< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, ast::Operator, TextSize), @@ -51465,7 +51965,7 @@ fn __action890< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51479,7 +51979,7 @@ fn __action890< } #[allow(clippy::too_many_arguments)] -fn __action891< +fn __action917< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51488,7 +51988,7 @@ fn __action891< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51502,7 +52002,7 @@ fn __action891< } #[allow(clippy::too_many_arguments)] -fn __action892< +fn __action918< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51511,7 +52011,7 @@ fn __action892< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51525,14 +52025,14 @@ fn __action892< } #[allow(clippy::too_many_arguments)] -fn __action893< +fn __action919< >( __0: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51544,14 +52044,14 @@ fn __action893< } #[allow(clippy::too_many_arguments)] -fn __action894< +fn __action920< >( __0: (TextSize, ast::Constant, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51563,14 +52063,14 @@ fn __action894< } #[allow(clippy::too_many_arguments)] -fn __action895< +fn __action921< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51582,7 +52082,7 @@ fn __action895< } #[allow(clippy::too_many_arguments)] -fn __action896< +fn __action922< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -51591,7 +52091,7 @@ fn __action896< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51605,7 +52105,7 @@ fn __action896< } #[allow(clippy::too_many_arguments)] -fn __action897< +fn __action923< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51615,7 +52115,7 @@ fn __action897< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51630,7 +52130,7 @@ fn __action897< } #[allow(clippy::too_many_arguments)] -fn __action898< +fn __action924< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -51640,7 +52140,7 @@ fn __action898< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51655,7 +52155,7 @@ fn __action898< } #[allow(clippy::too_many_arguments)] -fn __action899< +fn __action925< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -51664,7 +52164,7 @@ fn __action899< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51678,7 +52178,7 @@ fn __action899< } #[allow(clippy::too_many_arguments)] -fn __action900< +fn __action926< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -51689,7 +52189,7 @@ fn __action900< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51705,7 +52205,7 @@ fn __action900< } #[allow(clippy::too_many_arguments)] -fn __action901< +fn __action927< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -51717,7 +52217,7 @@ fn __action901< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51734,7 +52234,7 @@ fn __action901< } #[allow(clippy::too_many_arguments)] -fn __action902< +fn __action928< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -51744,7 +52244,7 @@ fn __action902< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51759,7 +52259,7 @@ fn __action902< } #[allow(clippy::too_many_arguments)] -fn __action903< +fn __action929< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -51770,7 +52270,7 @@ fn __action903< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51786,7 +52286,7 @@ fn __action903< } #[allow(clippy::too_many_arguments)] -fn __action904< +fn __action930< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51794,7 +52294,7 @@ fn __action904< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51807,7 +52307,7 @@ fn __action904< } #[allow(clippy::too_many_arguments)] -fn __action905< +fn __action931< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51817,7 +52317,7 @@ fn __action905< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51832,7 +52332,7 @@ fn __action905< } #[allow(clippy::too_many_arguments)] -fn __action906< +fn __action932< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -51842,7 +52342,7 @@ fn __action906< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51857,7 +52357,7 @@ fn __action906< } #[allow(clippy::too_many_arguments)] -fn __action907< +fn __action933< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, ast::Expr)>>, TextSize), @@ -51866,7 +52366,7 @@ fn __action907< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51880,7 +52380,7 @@ fn __action907< } #[allow(clippy::too_many_arguments)] -fn __action908< +fn __action934< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Expr, ast::Expr), TextSize), @@ -51890,7 +52390,7 @@ fn __action908< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51905,7 +52405,7 @@ fn __action908< } #[allow(clippy::too_many_arguments)] -fn __action909< +fn __action935< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -51914,7 +52414,7 @@ fn __action909< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51928,7 +52428,7 @@ fn __action909< } #[allow(clippy::too_many_arguments)] -fn __action910< +fn __action936< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -51938,7 +52438,7 @@ fn __action910< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51953,14 +52453,14 @@ fn __action910< } #[allow(clippy::too_many_arguments)] -fn __action911< +fn __action937< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51972,14 +52472,14 @@ fn __action911< } #[allow(clippy::too_many_arguments)] -fn __action912< +fn __action938< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -51991,14 +52491,14 @@ fn __action912< } #[allow(clippy::too_many_arguments)] -fn __action913< +fn __action939< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52010,14 +52510,14 @@ fn __action913< } #[allow(clippy::too_many_arguments)] -fn __action914< +fn __action940< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52029,14 +52529,14 @@ fn __action914< } #[allow(clippy::too_many_arguments)] -fn __action915< +fn __action941< >( __0: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52048,14 +52548,14 @@ fn __action915< } #[allow(clippy::too_many_arguments)] -fn __action916< +fn __action942< >( __0: (TextSize, ast::Constant, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52067,14 +52567,14 @@ fn __action916< } #[allow(clippy::too_many_arguments)] -fn __action917< +fn __action943< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52086,7 +52586,7 @@ fn __action917< } #[allow(clippy::too_many_arguments)] -fn __action918< +fn __action944< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -52095,7 +52595,7 @@ fn __action918< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52109,7 +52609,7 @@ fn __action918< } #[allow(clippy::too_many_arguments)] -fn __action919< +fn __action945< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -52119,7 +52619,7 @@ fn __action919< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52134,7 +52634,7 @@ fn __action919< } #[allow(clippy::too_many_arguments)] -fn __action920< +fn __action946< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -52145,7 +52645,7 @@ fn __action920< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52161,7 +52661,7 @@ fn __action920< } #[allow(clippy::too_many_arguments)] -fn __action921< +fn __action947< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -52173,7 +52673,7 @@ fn __action921< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52190,7 +52690,7 @@ fn __action921< } #[allow(clippy::too_many_arguments)] -fn __action922< +fn __action948< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -52200,7 +52700,7 @@ fn __action922< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52215,7 +52715,7 @@ fn __action922< } #[allow(clippy::too_many_arguments)] -fn __action923< +fn __action949< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -52226,7 +52726,7 @@ fn __action923< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52242,7 +52742,7 @@ fn __action923< } #[allow(clippy::too_many_arguments)] -fn __action924< +fn __action950< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52250,7 +52750,7 @@ fn __action924< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52263,7 +52763,7 @@ fn __action924< } #[allow(clippy::too_many_arguments)] -fn __action925< +fn __action951< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -52273,7 +52773,7 @@ fn __action925< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52288,7 +52788,7 @@ fn __action925< } #[allow(clippy::too_many_arguments)] -fn __action926< +fn __action952< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52298,7 +52798,7 @@ fn __action926< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52313,7 +52813,7 @@ fn __action926< } #[allow(clippy::too_many_arguments)] -fn __action927< +fn __action953< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option>, ast::Expr)>>, TextSize), @@ -52322,7 +52822,7 @@ fn __action927< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52336,7 +52836,7 @@ fn __action927< } #[allow(clippy::too_many_arguments)] -fn __action928< +fn __action954< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Expr, ast::Expr), TextSize), @@ -52346,7 +52846,7 @@ fn __action928< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52361,7 +52861,7 @@ fn __action928< } #[allow(clippy::too_many_arguments)] -fn __action929< +fn __action955< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -52370,7 +52870,7 @@ fn __action929< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52384,7 +52884,7 @@ fn __action929< } #[allow(clippy::too_many_arguments)] -fn __action930< +fn __action956< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -52394,7 +52894,7 @@ fn __action930< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52409,14 +52909,14 @@ fn __action930< } #[allow(clippy::too_many_arguments)] -fn __action931< +fn __action957< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52428,14 +52928,14 @@ fn __action931< } #[allow(clippy::too_many_arguments)] -fn __action932< +fn __action958< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52447,14 +52947,14 @@ fn __action932< } #[allow(clippy::too_many_arguments)] -fn __action933< +fn __action959< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52466,14 +52966,14 @@ fn __action933< } #[allow(clippy::too_many_arguments)] -fn __action934< +fn __action960< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52485,7 +52985,7 @@ fn __action934< } #[allow(clippy::too_many_arguments)] -fn __action935< +fn __action961< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52495,7 +52995,7 @@ fn __action935< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52510,7 +53010,7 @@ fn __action935< } #[allow(clippy::too_many_arguments)] -fn __action936< +fn __action962< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52520,7 +53020,7 @@ fn __action936< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52535,7 +53035,7 @@ fn __action936< } #[allow(clippy::too_many_arguments)] -fn __action937< +fn __action963< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52544,7 +53044,7 @@ fn __action937< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52558,7 +53058,7 @@ fn __action937< } #[allow(clippy::too_many_arguments)] -fn __action938< +fn __action964< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52568,7 +53068,7 @@ fn __action938< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52583,7 +53083,7 @@ fn __action938< } #[allow(clippy::too_many_arguments)] -fn __action939< +fn __action965< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52593,7 +53093,7 @@ fn __action939< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52608,7 +53108,7 @@ fn __action939< } #[allow(clippy::too_many_arguments)] -fn __action940< +fn __action966< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52617,7 +53117,7 @@ fn __action940< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52631,7 +53131,7 @@ fn __action940< } #[allow(clippy::too_many_arguments)] -fn __action941< +fn __action967< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -52639,7 +53139,7 @@ fn __action941< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52652,7 +53152,7 @@ fn __action941< } #[allow(clippy::too_many_arguments)] -fn __action942< +fn __action968< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -52660,7 +53160,7 @@ fn __action942< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52673,14 +53173,14 @@ fn __action942< } #[allow(clippy::too_many_arguments)] -fn __action943< +fn __action969< >( __0: (TextSize, ast::Identifier, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52692,7 +53192,7 @@ fn __action943< } #[allow(clippy::too_many_arguments)] -fn __action944< +fn __action970< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52706,7 +53206,7 @@ fn __action944< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52725,7 +53225,7 @@ fn __action944< } #[allow(clippy::too_many_arguments)] -fn __action945< +fn __action971< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52736,7 +53236,7 @@ fn __action945< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52752,7 +53252,7 @@ fn __action945< } #[allow(clippy::too_many_arguments)] -fn __action946< +fn __action972< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52761,11 +53261,11 @@ fn __action946< __4: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52783,7 +53283,7 @@ fn __action946< } #[allow(clippy::too_many_arguments)] -fn __action947< +fn __action973< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52791,11 +53291,11 @@ fn __action947< __3: (TextSize, token::Tok, TextSize), __4: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52812,18 +53312,18 @@ fn __action947< } #[allow(clippy::too_many_arguments)] -fn __action948< +fn __action974< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52839,17 +53339,17 @@ fn __action948< } #[allow(clippy::too_many_arguments)] -fn __action949< +fn __action975< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52864,18 +53364,18 @@ fn __action949< } #[allow(clippy::too_many_arguments)] -fn __action950< +fn __action976< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52891,17 +53391,17 @@ fn __action950< } #[allow(clippy::too_many_arguments)] -fn __action951< +fn __action977< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52916,16 +53416,16 @@ fn __action951< } #[allow(clippy::too_many_arguments)] -fn __action952< +fn __action978< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52939,7 +53439,7 @@ fn __action952< } #[allow(clippy::too_many_arguments)] -fn __action953< +fn __action979< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52948,11 +53448,11 @@ fn __action953< __4: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52970,7 +53470,7 @@ fn __action953< } #[allow(clippy::too_many_arguments)] -fn __action954< +fn __action980< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -52978,11 +53478,11 @@ fn __action954< __3: (TextSize, token::Tok, TextSize), __4: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -52999,18 +53499,18 @@ fn __action954< } #[allow(clippy::too_many_arguments)] -fn __action955< +fn __action981< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53026,17 +53526,17 @@ fn __action955< } #[allow(clippy::too_many_arguments)] -fn __action956< +fn __action982< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53051,18 +53551,18 @@ fn __action956< } #[allow(clippy::too_many_arguments)] -fn __action957< +fn __action983< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53078,17 +53578,17 @@ fn __action957< } #[allow(clippy::too_many_arguments)] -fn __action958< +fn __action984< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, Vec<(ast::Identifier, ast::Pattern)>, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53103,16 +53603,16 @@ fn __action958< } #[allow(clippy::too_many_arguments)] -fn __action959< +fn __action985< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53126,14 +53626,15 @@ fn __action959< } #[allow(clippy::too_many_arguments)] -fn __action960< +fn __action986< >( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, alloc::vec::Vec<(ast::Cmpop, ast::Expr)>, TextSize), +) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53141,18 +53642,20 @@ fn __action960< __action781( __temp0, __0, + __1, ) } #[allow(clippy::too_many_arguments)] -fn __action961< +fn __action987< >( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, alloc::vec::Vec<(ast::Cmpop, ast::Expr)>, TextSize), +) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53160,18 +53663,19 @@ fn __action961< __action782( __temp0, __0, + __1, ) } #[allow(clippy::too_many_arguments)] -fn __action962< +fn __action988< >( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern + __0: (TextSize, ast::Constant, TextSize), +) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53183,144 +53687,7 @@ fn __action962< } #[allow(clippy::too_many_arguments)] -fn __action963< ->( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action784( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action964< ->( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action785( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action965< ->( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action786( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action966< ->( - __0: (TextSize, ast::PatternKind, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action787( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action967< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, alloc::vec::Vec<(ast::Cmpop, ast::Expr)>, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action788( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action968< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, alloc::vec::Vec<(ast::Cmpop, ast::Expr)>, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action789( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action969< ->( - __0: (TextSize, ast::Constant, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action790( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action970< +fn __action989< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -53328,12 +53695,12 @@ fn __action970< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action791( + __action784( __temp0, __0, __1, @@ -53341,7 +53708,7 @@ fn __action970< } #[allow(clippy::too_many_arguments)] -fn __action971< +fn __action990< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -53350,7 +53717,7 @@ fn __action971< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53364,7 +53731,7 @@ fn __action971< } #[allow(clippy::too_many_arguments)] -fn __action972< +fn __action991< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -53372,12 +53739,12 @@ fn __action972< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action792( + __action785( __temp0, __0, __1, @@ -53385,7 +53752,7 @@ fn __action972< } #[allow(clippy::too_many_arguments)] -fn __action973< +fn __action992< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -53395,7 +53762,7 @@ fn __action973< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53410,7 +53777,7 @@ fn __action973< } #[allow(clippy::too_many_arguments)] -fn __action974< +fn __action993< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Expr, token::Tok, ast::Identifier), TextSize), @@ -53420,7 +53787,7 @@ fn __action974< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53435,7 +53802,7 @@ fn __action974< } #[allow(clippy::too_many_arguments)] -fn __action975< +fn __action994< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53446,7 +53813,7 @@ fn __action975< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53462,7 +53829,7 @@ fn __action975< } #[allow(clippy::too_many_arguments)] -fn __action976< +fn __action995< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53473,7 +53840,7 @@ fn __action976< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53489,7 +53856,7 @@ fn __action976< } #[allow(clippy::too_many_arguments)] -fn __action977< +fn __action996< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53498,12 +53865,12 @@ fn __action977< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action793( + __action786( __temp0, __0, __1, @@ -53512,7 +53879,7 @@ fn __action977< } #[allow(clippy::too_many_arguments)] -fn __action978< +fn __action997< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53521,12 +53888,12 @@ fn __action978< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action794( + __action787( __temp0, __0, __1, @@ -53535,7 +53902,7 @@ fn __action978< } #[allow(clippy::too_many_arguments)] -fn __action979< +fn __action998< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec, TextSize), @@ -53543,7 +53910,156 @@ fn __action979< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action788( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action999< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, ast::Operator, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action789( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1000< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), + __3: (TextSize, core::option::Option, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action790( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1001< +>( + __0: (TextSize, ast::Unaryop, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action791( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1002< +>( + __0: (TextSize, ast::Unaryop, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action792( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1003< +>( + __0: (TextSize, token::Tok, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action793( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1004< +>( + __0: (TextSize, token::Tok, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action794( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1005< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, core::option::Option, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( &__start0, &__end0, ); @@ -53556,16 +54072,14 @@ fn __action979< } #[allow(clippy::too_many_arguments)] -fn __action980< +fn __action1006< >( __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, ast::Operator, TextSize), - __2: (TextSize, ast::Expr, TextSize), ) -> ast::Stmt { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53573,158 +54087,11 @@ fn __action980< __action796( __temp0, __0, - __1, - __2, ) } #[allow(clippy::too_many_arguments)] -fn __action981< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), - __3: (TextSize, core::option::Option, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action797( - __temp0, - __0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action982< ->( - __0: (TextSize, ast::Unaryop, TextSize), - __1: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action798( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action983< ->( - __0: (TextSize, ast::Unaryop, TextSize), - __1: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action799( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action984< ->( - __0: (TextSize, token::Tok, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action800( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action985< ->( - __0: (TextSize, token::Tok, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action801( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action986< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, core::option::Option, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action802( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action987< ->( - __0: (TextSize, ast::Expr, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action803( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action988< +fn __action1007< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53738,7 +54105,7 @@ fn __action988< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53757,7 +54124,7 @@ fn __action988< } #[allow(clippy::too_many_arguments)] -fn __action989< +fn __action1008< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -53770,7 +54137,7 @@ fn __action989< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53788,7 +54155,7 @@ fn __action989< } #[allow(clippy::too_many_arguments)] -fn __action990< +fn __action1009< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53802,7 +54169,7 @@ fn __action990< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53821,7 +54188,7 @@ fn __action990< } #[allow(clippy::too_many_arguments)] -fn __action991< +fn __action1010< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53834,7 +54201,7 @@ fn __action991< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -53852,7 +54219,7 @@ fn __action991< } #[allow(clippy::too_many_arguments)] -fn __action992< +fn __action1011< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, core::option::Option>, TextSize), @@ -53860,12 +54227,12 @@ fn __action992< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action804( + __action797( __temp0, __0, __1, @@ -53873,7 +54240,7 @@ fn __action992< } #[allow(clippy::too_many_arguments)] -fn __action993< +fn __action1012< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53882,12 +54249,12 @@ fn __action993< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action805( + __action798( __temp0, __0, __1, @@ -53896,7 +54263,7 @@ fn __action993< } #[allow(clippy::too_many_arguments)] -fn __action994< +fn __action1013< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -53904,12 +54271,12 @@ fn __action994< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action806( + __action799( __temp0, __0, __1, @@ -53917,7 +54284,7 @@ fn __action994< } #[allow(clippy::too_many_arguments)] -fn __action995< +fn __action1014< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -53925,12 +54292,12 @@ fn __action995< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action807( + __action800( __temp0, __0, __1, @@ -53938,7 +54305,7 @@ fn __action995< } #[allow(clippy::too_many_arguments)] -fn __action996< +fn __action1015< >( __0: (TextSize, Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53946,12 +54313,12 @@ fn __action996< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action808( + __action801( __temp0, __0, __1, @@ -53959,26 +54326,26 @@ fn __action996< } #[allow(clippy::too_many_arguments)] -fn __action997< +fn __action1016< >( __0: (TextSize, Vec, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action809( + __action802( __temp0, __0, ) } #[allow(clippy::too_many_arguments)] -fn __action998< +fn __action1017< >( __0: (TextSize, Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -53986,12 +54353,12 @@ fn __action998< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action810( + __action803( __temp0, __0, __1, @@ -53999,26 +54366,26 @@ fn __action998< } #[allow(clippy::too_many_arguments)] -fn __action999< +fn __action1018< >( __0: (TextSize, Vec, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action811( + __action804( __temp0, __0, ) } #[allow(clippy::too_many_arguments)] -fn __action1000< +fn __action1019< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -54026,12 +54393,12 @@ fn __action1000< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action812( + __action805( __temp0, __0, __1, @@ -54039,7 +54406,7 @@ fn __action1000< } #[allow(clippy::too_many_arguments)] -fn __action1001< +fn __action1020< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -54051,7 +54418,7 @@ fn __action1001< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54068,7 +54435,7 @@ fn __action1001< } #[allow(clippy::too_many_arguments)] -fn __action1002< +fn __action1021< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -54077,12 +54444,12 @@ fn __action1002< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action878( + __action904( __temp0, __0, __1, @@ -54091,26 +54458,26 @@ fn __action1002< } #[allow(clippy::too_many_arguments)] -fn __action1003< +fn __action1022< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Alias { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action879( + __action905( __temp0, __0, ) } #[allow(clippy::too_many_arguments)] -fn __action1004< +fn __action1023< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -54119,12 +54486,12 @@ fn __action1004< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action880( + __action906( __temp0, __0, __1, @@ -54133,33 +54500,190 @@ fn __action1004< } #[allow(clippy::too_many_arguments)] -fn __action1005< +fn __action1024< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Alias { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action881( + __action907( __temp0, __0, ) } #[allow(clippy::too_many_arguments)] -fn __action1006< +fn __action1025< >( __0: (TextSize, Vec, TextSize), ) -> Vec { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action808( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1026< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, Vec, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Vec +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action809( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1027< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, Vec, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Vec +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action810( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1028< +>( + __0: (TextSize, token::Tok, TextSize), +) -> Vec +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action811( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1029< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, Vec, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action812( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1030< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (Option, Option), TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Vec, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action813( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1031< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, core::option::Option, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Expr, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action814( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1032< +>( + __0: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( &__start0, &__end0, ); @@ -54171,17 +54695,14 @@ fn __action1006< } #[allow(clippy::too_many_arguments)] -fn __action1007< +fn __action1033< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Vec +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54189,23 +54710,18 @@ fn __action1007< __action816( __temp0, __0, - __1, - __2, - __3, ) } #[allow(clippy::too_many_arguments)] -fn __action1008< +fn __action1034< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Vec +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54213,20 +54729,18 @@ fn __action1008< __action817( __temp0, __0, - __1, - __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1009< +fn __action1035< >( - __0: (TextSize, token::Tok, TextSize), -) -> Vec + __0: (TextSize, ast::Expr, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54238,15 +54752,14 @@ fn __action1009< } #[allow(clippy::too_many_arguments)] -fn __action1010< +fn __action1036< >( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec, TextSize), -) -> ast::Stmt + __0: (TextSize, ast::Expr, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54254,22 +54767,18 @@ fn __action1010< __action819( __temp0, __0, - __1, ) } #[allow(clippy::too_many_arguments)] -fn __action1011< +fn __action1037< >( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (Option, Option), TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Vec, TextSize), -) -> ast::Stmt + __0: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), +) -> Result> { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54277,24 +54786,18 @@ fn __action1011< __action820( __temp0, __0, - __1, - __2, - __3, ) } #[allow(clippy::too_many_arguments)] -fn __action1012< +fn __action1038< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, core::option::Option, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Expr, TextSize), -) -> Result> +) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54302,21 +54805,18 @@ fn __action1012< __action821( __temp0, __0, - __1, - __2, - __3, ) } #[allow(clippy::too_many_arguments)] -fn __action1013< +fn __action1039< >( - __0: (TextSize, ast::Expr, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), +) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54328,52 +54828,14 @@ fn __action1013< } #[allow(clippy::too_many_arguments)] -fn __action1014< ->( - __0: (TextSize, ast::Expr, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action110( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1015< ->( - __0: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action111( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1016< +fn __action1040< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54385,52 +54847,14 @@ fn __action1016< } #[allow(clippy::too_many_arguments)] -fn __action1017< ->( - __0: (TextSize, token::Tok, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action824( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1018< ->( - __0: (TextSize, token::Tok, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action825( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1019< +fn __action1041< >( __0: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54442,15 +54866,62 @@ fn __action1019< } #[allow(clippy::too_many_arguments)] -fn __action1020< +fn __action1042< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action824( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1043< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action825( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1044< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( &__start0, &__end0, ); @@ -54459,21 +54930,23 @@ fn __action1020< __temp0, __0, __1, + __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1021< +fn __action1045< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), - __2: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Identifier, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54484,20 +54957,22 @@ fn __action1021< __1, __2, __3, + __4, ) } #[allow(clippy::too_many_arguments)] -fn __action1022< +fn __action1046< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Identifier, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54507,63 +54982,12 @@ fn __action1022< __0, __1, __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1023< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Identifier, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action829( - __temp0, - __0, - __1, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1024< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Identifier, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action830( - __temp0, - __0, - __1, - __2, __3, ) } #[allow(clippy::too_many_arguments)] -fn __action1025< +fn __action1047< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), @@ -54572,16 +54996,16 @@ fn __action1025< __4: (TextSize, ast::Identifier, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action831( + __action829( __temp0, __0, __1, @@ -54594,7 +55018,7 @@ fn __action1025< } #[allow(clippy::too_many_arguments)] -fn __action1026< +fn __action1048< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec<(ast::Expr, ast::Pattern)>, TextSize), @@ -54602,16 +55026,16 @@ fn __action1026< __3: (TextSize, token::Tok, TextSize), __4: (TextSize, ast::Identifier, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action832( + __action830( __temp0, __0, __1, @@ -54623,26 +55047,53 @@ fn __action1026< } #[allow(clippy::too_many_arguments)] -fn __action1027< +fn __action1049< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Pattern, TextSize), + __2: (TextSize, core::option::Option, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Suite, TextSize), +) -> ast::MatchCase +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action831( + __temp0, + __0, + __1, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1050< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action833( + __action832( __temp0, __0, ) } #[allow(clippy::too_many_arguments)] -fn __action1028< +fn __action1051< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -54651,7 +55102,30 @@ fn __action1028< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action833( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1052< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Identifier, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( &__start0, &__end0, ); @@ -54665,30 +55139,7 @@ fn __action1028< } #[allow(clippy::too_many_arguments)] -fn __action1029< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Identifier, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action835( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1030< +fn __action1053< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -54701,7 +55152,7 @@ fn __action1030< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54719,7 +55170,7 @@ fn __action1030< } #[allow(clippy::too_many_arguments)] -fn __action1031< +fn __action1054< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -54733,7 +55184,7 @@ fn __action1031< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54752,7 +55203,7 @@ fn __action1031< } #[allow(clippy::too_many_arguments)] -fn __action1032< +fn __action1055< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -54768,7 +55219,7 @@ fn __action1032< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54789,7 +55240,7 @@ fn __action1032< } #[allow(clippy::too_many_arguments)] -fn __action1033< +fn __action1056< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -54804,7 +55255,7 @@ fn __action1033< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -54824,7 +55275,7 @@ fn __action1033< } #[allow(clippy::too_many_arguments)] -fn __action1034< +fn __action1057< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -54833,7 +55284,29 @@ fn __action1034< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action835( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1058< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, Vec, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( &__start0, &__end0, ); @@ -54842,555 +55315,6 @@ fn __action1034< __temp0, __0, __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1035< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action837( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1036< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action838( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1037< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action839( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1038< ->( - __0: (TextSize, ast::Pattern, TextSize), - __1: (TextSize, alloc::vec::Vec, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action840( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1039< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action841( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1040< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action842( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1041< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, core::option::Option, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, core::option::Option<(token::Tok, Option>)>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action407( - __temp0, - __0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1042< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, core::option::Option, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, core::option::Option<(token::Tok, Option>)>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action415( - __temp0, - __0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1043< ->( - __0: (TextSize, token::Tok, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action843( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1044< ->( - __0: (TextSize, ast::Pattern, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action844( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1045< ->( - __0: (TextSize, ast::Pattern, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action845( - __temp0, - __0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1046< ->( - __0: (TextSize, ast::Pattern, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), -) -> ast::Pattern -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action846( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1047< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action847( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1048< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action848( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1049< ->( - __0: (TextSize, token::Tok, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action849( - __temp0, - __0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1050< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Expr, TextSize), - __2: (TextSize, core::option::Option<(token::Tok, ast::Expr)>, TextSize), -) -> ast::Stmt -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action850( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1051< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Pattern, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action851( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1052< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action852( - __temp0, - __0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1053< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Pattern, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Vec, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action853( - __temp0, - __0, - __1, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1054< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, Vec, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action854( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1055< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, ast::Operator, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action855( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1056< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, ast::Operator, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action856( - __temp0, - __0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1057< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Expr, TextSize), - __5: (TextSize, alloc::vec::Vec, TextSize), -) -> ast::Comprehension -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action857( - __temp0, - __0, - __1, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1058< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Expr, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Expr, TextSize), - __4: (TextSize, alloc::vec::Vec, TextSize), -) -> ast::Comprehension -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action858( - __temp0, - __0, - __1, - __2, - __3, - __4, ) } @@ -55398,17 +55322,17 @@ fn __action1058< fn __action1059< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, core::option::Option, TextSize), -) -> Option + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action192( + __action837( __temp0, __0, __1, @@ -55424,12 +55348,12 @@ fn __action1060< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action859( + __action838( __temp0, __0, __1, @@ -55439,13 +55363,504 @@ fn __action1060< #[allow(clippy::too_many_arguments)] fn __action1061< >( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), -) -> ast::PatternKind + __0: (TextSize, ast::Pattern, TextSize), + __1: (TextSize, alloc::vec::Vec, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action839( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1062< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action840( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1063< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action841( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1064< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action842( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1065< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action843( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1066< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, (token::Tok, Option>), TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action844( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1067< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, (token::Tok, Option>), TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action845( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1068< +>( + __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action846( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1069< +>( + __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action847( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1070< +>( + __0: (TextSize, Option>, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action848( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1071< +>( + __0: (TextSize, Option>, TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action849( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1072< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action850( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1073< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, core::option::Option<(token::Tok, (Option>, Vec, Vec, Option>))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action851( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1074< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, (token::Tok, Option>), TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action852( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1075< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, (token::Tok, Option>), TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action853( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1076< +>( + __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action854( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1077< +>( + __0: (TextSize, (Option>, Vec, Vec, Option>), TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action855( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1078< +>( + __0: (TextSize, Option>, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action856( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1079< +>( + __0: (TextSize, Option>, TextSize), +) -> ast::Arguments +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action857( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1080< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, core::option::Option, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, core::option::Option<(token::Tok, Option>)>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action407( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1081< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, core::option::Option, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, core::option::Option<(token::Tok, Option>)>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action415( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1082< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, core::option::Option, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action858( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1083< +>( + __0: (TextSize, token::Tok, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action859( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1084< +>( + __0: (TextSize, ast::Pattern, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( &__start0, &__end0, ); @@ -55458,15 +55873,17 @@ fn __action1061< } #[allow(clippy::too_many_arguments)] -fn __action1062< +fn __action1085< >( - __0: (TextSize, ast::Identifier, TextSize), - __1: (TextSize, core::option::Option<(token::Tok, ast::Expr)>, TextSize), -) -> ast::Arg + __0: (TextSize, ast::Pattern, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Vec, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55475,45 +55892,45 @@ fn __action1062< __temp0, __0, __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1063< ->( - __0: (TextSize, core::option::Option, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, core::option::Option, TextSize), - __3: (TextSize, core::option::Option>, TextSize), -) -> ast::Expr -{ - let __start0 = __0.0; - let __end0 = __0.0; - let __temp0 = __action343( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action862( - __temp0, - __0, - __1, __2, __3, ) } #[allow(clippy::too_many_arguments)] -fn __action1064< +fn __action1086< +>( + __0: (TextSize, ast::Pattern, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Vec, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action862( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1087< >( __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), - __2: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55527,15 +55944,16 @@ fn __action1064< } #[allow(clippy::too_many_arguments)] -fn __action1065< +fn __action1088< >( __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55544,20 +55962,19 @@ fn __action1065< __temp0, __0, __1, + __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1066< +fn __action1089< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, ast::Operator, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr + __0: (TextSize, token::Tok, TextSize), +) -> ast::Stmt { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55565,22 +55982,20 @@ fn __action1066< __action865( __temp0, __0, - __1, - __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1067< +fn __action1090< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, ast::Operator, TextSize), - __2: (TextSize, ast::Expr, TextSize), -) -> ast::Expr + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, core::option::Option<(token::Tok, ast::Expr)>, TextSize), +) -> ast::Stmt { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55594,18 +56009,16 @@ fn __action1067< } #[allow(clippy::too_many_arguments)] -fn __action1068< +fn __action1091< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Expr, TextSize), -) -> ast::Expr + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Pattern, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55615,24 +56028,19 @@ fn __action1068< __0, __1, __2, - __3, - __4, ) } #[allow(clippy::too_many_arguments)] -fn __action1069< +fn __action1092< >( - __0: (TextSize, ast::Expr, TextSize), + __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Expr, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Expr, TextSize), -) -> ast::Expr +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55641,26 +56049,22 @@ fn __action1069< __temp0, __0, __1, - __2, - __3, - __4, ) } #[allow(clippy::too_many_arguments)] -fn __action1070< +fn __action1093< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Suite, TextSize), - __3: (TextSize, alloc::vec::Vec, TextSize), - __4: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), - __5: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), -) -> ast::Stmt + __1: (TextSize, ast::Pattern, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Vec, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55672,24 +56076,20 @@ fn __action1070< __2, __3, __4, - __5, ) } #[allow(clippy::too_many_arguments)] -fn __action1071< +fn __action1094< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Suite, TextSize), - __3: (TextSize, alloc::vec::Vec, TextSize), - __4: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), - __5: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), -) -> ast::Stmt + __1: (TextSize, Vec, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55699,6 +56099,78 @@ fn __action1071< __0, __1, __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1095< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, ast::Operator, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action871( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1096< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, ast::Operator, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action872( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1097< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Expr, TextSize), + __5: (TextSize, alloc::vec::Vec, TextSize), +) -> ast::Comprehension +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action873( + __temp0, + __0, + __1, + __2, __3, __4, __5, @@ -55706,7 +56178,410 @@ fn __action1071< } #[allow(clippy::too_many_arguments)] -fn __action1072< +fn __action1098< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Expr, TextSize), + __4: (TextSize, alloc::vec::Vec, TextSize), +) -> ast::Comprehension +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action874( + __temp0, + __0, + __1, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1099< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, core::option::Option, TextSize), +) -> Option +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action192( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1100< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action875( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1101< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action876( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1102< +>( + __0: (TextSize, ast::Identifier, TextSize), + __1: (TextSize, core::option::Option<(token::Tok, ast::Expr)>, TextSize), +) -> ast::Arg +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action877( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1103< +>( + __0: (TextSize, core::option::Option, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, core::option::Option, TextSize), + __3: (TextSize, core::option::Option>, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action878( + __temp0, + __0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1104< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action879( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1105< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action880( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1106< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, ast::Operator, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action881( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1107< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, ast::Operator, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action882( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1108< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action883( + __temp0, + __0, + __1, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1109< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Expr, TextSize), +) -> ast::Expr +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action884( + __temp0, + __0, + __1, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1110< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Suite, TextSize), +) -> ast::Mod +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action885( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1111< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Suite, TextSize), +) -> ast::Mod +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action886( + __temp0, + __0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1112< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Expr, TextSize), + __2: (TextSize, alloc::vec::Vec, TextSize), +) -> ast::Mod +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action887( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1113< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Suite, TextSize), + __3: (TextSize, alloc::vec::Vec, TextSize), + __4: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), + __5: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action888( + __temp0, + __0, + __1, + __2, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1114< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Suite, TextSize), + __3: (TextSize, alloc::vec::Vec, TextSize), + __4: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), + __5: (TextSize, core::option::Option<(token::Tok, token::Tok, ast::Suite)>, TextSize), +) -> ast::Stmt +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action889( + __temp0, + __0, + __1, + __2, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1115< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -55716,7 +56591,7 @@ fn __action1072< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55731,7 +56606,7 @@ fn __action1072< } #[allow(clippy::too_many_arguments)] -fn __action1073< +fn __action1116< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, core::option::Option<(token::Tok, ast::Expr)>, TextSize), @@ -55739,12 +56614,12 @@ fn __action1073< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action871( + __action890( __temp0, __0, __1, @@ -55752,26 +56627,45 @@ fn __action1073< } #[allow(clippy::too_many_arguments)] -fn __action1074< +fn __action1117< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Arg { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action872( + __action891( __temp0, __0, ) } #[allow(clippy::too_many_arguments)] -fn __action1075< +fn __action1118< +>( + __0: (TextSize, ast::Expr, TextSize), +) -> ast::Pattern +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action892( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1119< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -55782,7 +56676,7 @@ fn __action1075< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55798,7 +56692,133 @@ fn __action1075< } #[allow(clippy::too_many_arguments)] -fn __action1076< +fn __action1120< +>( + __0: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action893( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1121< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action894( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1122< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action895( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1123< +>( + __0: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action896( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1124< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Expr, TextSize), +) -> ast::Withitem +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action897( + __temp0, + __0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1125< +>( + __0: (TextSize, Vec, TextSize), +) -> Vec +{ + let __start0 = __0.0; + let __end0 = __0.0; + let __temp0 = __action355( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action898( + __temp0, + __0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1126< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -55809,7 +56829,7 @@ fn __action1076< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55825,7 +56845,7 @@ fn __action1076< } #[allow(clippy::too_many_arguments)] -fn __action1077< +fn __action1127< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -55835,7 +56855,7 @@ fn __action1077< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); @@ -55850,7 +56870,7 @@ fn __action1077< } #[allow(clippy::too_many_arguments)] -fn __action1078< +fn __action1128< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -55859,12 +56879,12 @@ fn __action1078< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action873( + __action899( __temp0, __0, __1, @@ -55873,7 +56893,7 @@ fn __action1078< } #[allow(clippy::too_many_arguments)] -fn __action1079< +fn __action1129< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -55882,12 +56902,12 @@ fn __action1079< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action874( + __action900( __temp0, __0, __1, @@ -55896,7 +56916,7 @@ fn __action1079< } #[allow(clippy::too_many_arguments)] -fn __action1080< +fn __action1130< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -55904,12 +56924,12 @@ fn __action1080< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action875( + __action901( __temp0, __0, __1, @@ -55917,7 +56937,7 @@ fn __action1080< } #[allow(clippy::too_many_arguments)] -fn __action1081< +fn __action1131< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -55926,12 +56946,12 @@ fn __action1081< { let __start0 = __0.0; let __end0 = __0.0; - let __temp0 = __action343( + let __temp0 = __action355( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action876( + __action902( __temp0, __0, __1, @@ -55940,7 +56960,7 @@ fn __action1081< } #[allow(clippy::too_many_arguments)] -fn __action1082< +fn __action1132< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -55950,7 +56970,7 @@ fn __action1082< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1002( + let __temp0 = __action1021( __1, __2, __3, @@ -55963,7 +56983,7 @@ fn __action1082< } #[allow(clippy::too_many_arguments)] -fn __action1083< +fn __action1133< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -55971,7 +56991,7 @@ fn __action1083< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1003( + let __temp0 = __action1022( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -55982,7 +57002,7 @@ fn __action1083< } #[allow(clippy::too_many_arguments)] -fn __action1084< +fn __action1134< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -55992,7 +57012,7 @@ fn __action1084< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1002( + let __temp0 = __action1021( __0, __1, __2, @@ -56005,7 +57025,7 @@ fn __action1084< } #[allow(clippy::too_many_arguments)] -fn __action1085< +fn __action1135< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), @@ -56013,7 +57033,7 @@ fn __action1085< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1003( + let __temp0 = __action1022( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -56024,7 +57044,7 @@ fn __action1085< } #[allow(clippy::too_many_arguments)] -fn __action1086< +fn __action1136< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -56034,7 +57054,7 @@ fn __action1086< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1082( + let __temp0 = __action1132( __0, __1, __2, @@ -56047,7 +57067,7 @@ fn __action1086< } #[allow(clippy::too_many_arguments)] -fn __action1087< +fn __action1137< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -56055,7 +57075,7 @@ fn __action1087< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1083( + let __temp0 = __action1133( __0, __1, ); @@ -56066,7 +57086,7 @@ fn __action1087< } #[allow(clippy::too_many_arguments)] -fn __action1088< +fn __action1138< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56077,7 +57097,7 @@ fn __action1088< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1082( + let __temp0 = __action1132( __1, __2, __3, @@ -56091,7 +57111,7 @@ fn __action1088< } #[allow(clippy::too_many_arguments)] -fn __action1089< +fn __action1139< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56100,7 +57120,7 @@ fn __action1089< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1083( + let __temp0 = __action1133( __1, __2, ); @@ -56112,7 +57132,7 @@ fn __action1089< } #[allow(clippy::too_many_arguments)] -fn __action1090< +fn __action1140< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56126,7 +57146,7 @@ fn __action1090< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1084( + __action1134( __0, __1, __2, @@ -56135,7 +57155,7 @@ fn __action1090< } #[allow(clippy::too_many_arguments)] -fn __action1091< +fn __action1141< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56149,7 +57169,7 @@ fn __action1091< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1084( + __action1134( __0, __1, __2, @@ -56158,7 +57178,7 @@ fn __action1091< } #[allow(clippy::too_many_arguments)] -fn __action1092< +fn __action1142< >( __0: (TextSize, ast::Identifier, TextSize), ) -> Vec @@ -56170,14 +57190,14 @@ fn __action1092< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1085( + __action1135( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1093< +fn __action1143< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), @@ -56189,14 +57209,14 @@ fn __action1093< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1085( + __action1135( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1094< +fn __action1144< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -56206,7 +57226,7 @@ fn __action1094< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1004( + let __temp0 = __action1023( __1, __2, __3, @@ -56219,7 +57239,7 @@ fn __action1094< } #[allow(clippy::too_many_arguments)] -fn __action1095< +fn __action1145< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -56227,7 +57247,7 @@ fn __action1095< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1005( + let __temp0 = __action1024( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -56238,7 +57258,7 @@ fn __action1095< } #[allow(clippy::too_many_arguments)] -fn __action1096< +fn __action1146< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56248,7 +57268,7 @@ fn __action1096< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1004( + let __temp0 = __action1023( __0, __1, __2, @@ -56261,7 +57281,7 @@ fn __action1096< } #[allow(clippy::too_many_arguments)] -fn __action1097< +fn __action1147< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), @@ -56269,7 +57289,7 @@ fn __action1097< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1005( + let __temp0 = __action1024( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -56280,7 +57300,7 @@ fn __action1097< } #[allow(clippy::too_many_arguments)] -fn __action1098< +fn __action1148< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -56290,7 +57310,7 @@ fn __action1098< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1094( + let __temp0 = __action1144( __0, __1, __2, @@ -56303,7 +57323,7 @@ fn __action1098< } #[allow(clippy::too_many_arguments)] -fn __action1099< +fn __action1149< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -56311,7 +57331,7 @@ fn __action1099< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1095( + let __temp0 = __action1145( __0, __1, ); @@ -56322,7 +57342,7 @@ fn __action1099< } #[allow(clippy::too_many_arguments)] -fn __action1100< +fn __action1150< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56333,7 +57353,7 @@ fn __action1100< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1094( + let __temp0 = __action1144( __1, __2, __3, @@ -56347,7 +57367,7 @@ fn __action1100< } #[allow(clippy::too_many_arguments)] -fn __action1101< +fn __action1151< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56356,7 +57376,7 @@ fn __action1101< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1095( + let __temp0 = __action1145( __1, __2, ); @@ -56368,7 +57388,7 @@ fn __action1101< } #[allow(clippy::too_many_arguments)] -fn __action1102< +fn __action1152< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56382,7 +57402,7 @@ fn __action1102< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1096( + __action1146( __0, __1, __2, @@ -56391,7 +57411,7 @@ fn __action1102< } #[allow(clippy::too_many_arguments)] -fn __action1103< +fn __action1153< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56405,7 +57425,7 @@ fn __action1103< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1096( + __action1146( __0, __1, __2, @@ -56414,7 +57434,7 @@ fn __action1103< } #[allow(clippy::too_many_arguments)] -fn __action1104< +fn __action1154< >( __0: (TextSize, ast::Identifier, TextSize), ) -> Vec @@ -56426,14 +57446,14 @@ fn __action1104< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1097( + __action1147( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1105< +fn __action1155< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), @@ -56445,14 +57465,14 @@ fn __action1105< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1097( + __action1147( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1106< +fn __action1156< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Option>, TextSize), @@ -56471,7 +57491,7 @@ fn __action1106< } #[allow(clippy::too_many_arguments)] -fn __action1107< +fn __action1157< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56486,7 +57506,7 @@ fn __action1107< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action643( + __action1066( __0, __temp0, __3, @@ -56494,7 +57514,7 @@ fn __action1107< } #[allow(clippy::too_many_arguments)] -fn __action1108< +fn __action1158< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56508,14 +57528,14 @@ fn __action1108< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action644( + __action1067( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1109< +fn __action1159< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -56526,12 +57546,12 @@ fn __action1109< { let __start0 = __3.0; let __end0 = __4.2; - let __temp0 = __action1106( + let __temp0 = __action1156( __3, __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1041( + __action1080( __0, __1, __2, @@ -56540,7 +57560,7 @@ fn __action1109< } #[allow(clippy::too_many_arguments)] -fn __action1110< +fn __action1160< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -56554,7 +57574,7 @@ fn __action1110< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1041( + __action1080( __0, __1, __2, @@ -56563,7 +57583,7 @@ fn __action1110< } #[allow(clippy::too_many_arguments)] -fn __action1111< +fn __action1161< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Option>, TextSize), @@ -56582,7 +57602,7 @@ fn __action1111< } #[allow(clippy::too_many_arguments)] -fn __action1112< +fn __action1162< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56597,7 +57617,7 @@ fn __action1112< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action651( + __action1074( __0, __temp0, __3, @@ -56605,7 +57625,7 @@ fn __action1112< } #[allow(clippy::too_many_arguments)] -fn __action1113< +fn __action1163< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56619,14 +57639,14 @@ fn __action1113< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action652( + __action1075( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1114< +fn __action1164< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -56637,12 +57657,12 @@ fn __action1114< { let __start0 = __3.0; let __end0 = __4.2; - let __temp0 = __action1111( + let __temp0 = __action1161( __3, __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1042( + __action1081( __0, __1, __2, @@ -56651,7 +57671,7 @@ fn __action1114< } #[allow(clippy::too_many_arguments)] -fn __action1115< +fn __action1165< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -56665,7 +57685,7 @@ fn __action1115< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1042( + __action1081( __0, __1, __2, @@ -56674,7 +57694,7 @@ fn __action1115< } #[allow(clippy::too_many_arguments)] -fn __action1116< +fn __action1166< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Identifier, ast::Pattern), TextSize), @@ -56693,7 +57713,7 @@ fn __action1116< } #[allow(clippy::too_many_arguments)] -fn __action1117< +fn __action1167< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56714,7 +57734,7 @@ fn __action1117< } #[allow(clippy::too_many_arguments)] -fn __action1118< +fn __action1168< >( __0: (TextSize, (ast::Identifier, ast::Pattern), TextSize), ) -> Vec<(ast::Identifier, ast::Pattern)> @@ -56733,7 +57753,7 @@ fn __action1118< } #[allow(clippy::too_many_arguments)] -fn __action1119< +fn __action1169< >( __0: (TextSize, (ast::Identifier, ast::Pattern), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), @@ -56752,7 +57772,7 @@ fn __action1119< } #[allow(clippy::too_many_arguments)] -fn __action1120< +fn __action1170< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), @@ -56771,7 +57791,7 @@ fn __action1120< } #[allow(clippy::too_many_arguments)] -fn __action1121< +fn __action1171< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56792,7 +57812,7 @@ fn __action1121< } #[allow(clippy::too_many_arguments)] -fn __action1122< +fn __action1172< >( __0: (TextSize, (ast::Expr, ast::Pattern), TextSize), ) -> Vec<(ast::Expr, ast::Pattern)> @@ -56811,7 +57831,7 @@ fn __action1122< } #[allow(clippy::too_many_arguments)] -fn __action1123< +fn __action1173< >( __0: (TextSize, (ast::Expr, ast::Pattern), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), @@ -56830,7 +57850,7 @@ fn __action1123< } #[allow(clippy::too_many_arguments)] -fn __action1124< +fn __action1174< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Arg, Option), TextSize), @@ -56849,7 +57869,7 @@ fn __action1124< } #[allow(clippy::too_many_arguments)] -fn __action1125< +fn __action1175< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56870,7 +57890,7 @@ fn __action1125< } #[allow(clippy::too_many_arguments)] -fn __action1126< +fn __action1176< >( __0: (TextSize, (ast::Arg, Option), TextSize), ) -> Vec<(ast::Arg, Option)> @@ -56889,7 +57909,7 @@ fn __action1126< } #[allow(clippy::too_many_arguments)] -fn __action1127< +fn __action1177< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -56908,7 +57928,7 @@ fn __action1127< } #[allow(clippy::too_many_arguments)] -fn __action1128< +fn __action1178< >( __0: (TextSize, Vec<(ast::Arg, Option)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56931,7 +57951,7 @@ fn __action1128< } #[allow(clippy::too_many_arguments)] -fn __action1129< +fn __action1179< >( __0: (TextSize, Vec<(ast::Arg, Option)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -56954,7 +57974,7 @@ fn __action1129< } #[allow(clippy::too_many_arguments)] -fn __action1130< +fn __action1180< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -56969,7 +57989,7 @@ fn __action1130< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1109( + __action1159( __0, __1, __temp0, @@ -56979,7 +57999,7 @@ fn __action1130< } #[allow(clippy::too_many_arguments)] -fn __action1131< +fn __action1181< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -56994,7 +58014,7 @@ fn __action1131< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1109( + __action1159( __0, __1, __temp0, @@ -57004,7 +58024,7 @@ fn __action1131< } #[allow(clippy::too_many_arguments)] -fn __action1132< +fn __action1182< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -57017,7 +58037,7 @@ fn __action1132< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1110( + __action1160( __0, __1, __temp0, @@ -57025,7 +58045,7 @@ fn __action1132< } #[allow(clippy::too_many_arguments)] -fn __action1133< +fn __action1183< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -57038,7 +58058,7 @@ fn __action1133< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1110( + __action1160( __0, __1, __temp0, @@ -57046,7 +58066,7 @@ fn __action1133< } #[allow(clippy::too_many_arguments)] -fn __action1134< +fn __action1184< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, (ast::Arg, Option), TextSize), @@ -57065,7 +58085,7 @@ fn __action1134< } #[allow(clippy::too_many_arguments)] -fn __action1135< +fn __action1185< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -57086,7 +58106,7 @@ fn __action1135< } #[allow(clippy::too_many_arguments)] -fn __action1136< +fn __action1186< >( __0: (TextSize, (ast::Arg, Option), TextSize), ) -> Vec<(ast::Arg, Option)> @@ -57105,7 +58125,7 @@ fn __action1136< } #[allow(clippy::too_many_arguments)] -fn __action1137< +fn __action1187< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -57124,7 +58144,7 @@ fn __action1137< } #[allow(clippy::too_many_arguments)] -fn __action1138< +fn __action1188< >( __0: (TextSize, Vec<(ast::Arg, Option)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -57147,7 +58167,7 @@ fn __action1138< } #[allow(clippy::too_many_arguments)] -fn __action1139< +fn __action1189< >( __0: (TextSize, Vec<(ast::Arg, Option)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -57170,7 +58190,7 @@ fn __action1139< } #[allow(clippy::too_many_arguments)] -fn __action1140< +fn __action1190< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -57185,7 +58205,7 @@ fn __action1140< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1114( + __action1164( __0, __1, __temp0, @@ -57195,7 +58215,7 @@ fn __action1140< } #[allow(clippy::too_many_arguments)] -fn __action1141< +fn __action1191< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -57210,7 +58230,7 @@ fn __action1141< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1114( + __action1164( __0, __1, __temp0, @@ -57220,7 +58240,7 @@ fn __action1141< } #[allow(clippy::too_many_arguments)] -fn __action1142< +fn __action1192< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -57233,7 +58253,7 @@ fn __action1142< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1115( + __action1165( __0, __1, __temp0, @@ -57241,7 +58261,7 @@ fn __action1142< } #[allow(clippy::too_many_arguments)] -fn __action1143< +fn __action1193< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -57254,1293 +58274,123 @@ fn __action1143< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1115( + __action1165( __0, __1, __temp0, ) } -#[allow(clippy::too_many_arguments)] -fn __action1144< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action475( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1130( - __0, - __temp0, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1145< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action476( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1130( - __0, - __temp0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1146< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action475( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1131( - __0, - __temp0, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1147< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action476( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1131( - __0, - __temp0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1148< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action475( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1132( - __0, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1149< ->( - __0: (TextSize, token::Tok, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __0.2; - let __temp0 = __action476( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1132( - __0, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1150< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action475( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1133( - __0, - __temp0, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1151< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action476( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1133( - __0, - __temp0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1152< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1144( - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1153< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1145( - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1154< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __5.2; - let __temp0 = __action1146( - __1, - __2, - __3, - __4, - __5, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1155< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1147( - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1156< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1148( - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1157< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1149( - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1158< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1150( - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1159< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1151( - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action406( - __0, - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1160< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1144( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __4, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1161< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1145( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __3, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1162< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1146( - __0, - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __5, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1163< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1147( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __4, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1164< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1148( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __2, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1165< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1149( - __0, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __1, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1166< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1150( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __3, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1167< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1151( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action645( - __temp0, - __2, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1168< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1144( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1169< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1145( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1170< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1146( - __0, - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1171< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1147( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1172< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1148( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1173< ->( - __0: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1149( - __0, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1174< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1150( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1175< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1151( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action646( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1176< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1152( - __0, - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1177< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1153( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1178< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __5.2; - let __temp0 = __action1154( - __0, - __1, - __2, - __3, - __4, - __5, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1179< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1155( - __0, - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1180< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1156( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1181< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1157( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1182< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Arg, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1158( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1183< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1159( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action404( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1184< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __5.2; - let __temp0 = __action1176( - __1, - __2, - __3, - __4, - __5, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1185< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1177( - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1186< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __6.2; - let __temp0 = __action1178( - __1, - __2, - __3, - __4, - __5, - __6, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1187< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __5.2; - let __temp0 = __action1179( - __1, - __2, - __3, - __4, - __5, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1188< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1180( - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1189< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1181( - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1190< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1182( - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1191< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1183( - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1192< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action405( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action641( - __0, - __temp0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1193< ->( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __1.0; - let __end0 = __5.2; - let __temp0 = __action1176( - __1, - __2, - __3, - __4, - __5, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action642( - __0, - __temp0, - ) -} - #[allow(clippy::too_many_arguments)] fn __action1194< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result> + __3: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1177( + let __end0 = __1.2; + let __temp0 = __action475( __1, - __2, - __3, - __4, - )?; + ); let __temp0 = (__start0, __temp0, __end0); - __action642( + __action1180( __0, __temp0, + __2, + __3, ) } #[allow(clippy::too_many_arguments)] fn __action1195< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), -) -> Result> + __2: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { - let __start0 = __1.0; - let __end0 = __6.2; - let __temp0 = __action1178( - __1, - __2, - __3, - __4, - __5, - __6, - )?; + let __start0 = __0.2; + let __end0 = __1.0; + let __temp0 = __action476( + &__start0, + &__end0, + ); let __temp0 = (__start0, __temp0, __end0); - __action642( + __action1180( __0, __temp0, + __1, + __2, ) } #[allow(clippy::too_many_arguments)] fn __action1196< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result> + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { let __start0 = __1.0; - let __end0 = __5.2; - let __temp0 = __action1179( + let __end0 = __1.2; + let __temp0 = __action475( __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1181( + __0, + __temp0, __2, __3, __4, - __5, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action642( - __0, - __temp0, ) } #[allow(clippy::too_many_arguments)] fn __action1197< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), -) -> Result> + __3: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1180( + let __start0 = __0.2; + let __end0 = __1.0; + let __temp0 = __action476( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1181( + __0, + __temp0, __1, __2, __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - __action642( - __0, - __temp0, ) } #[allow(clippy::too_many_arguments)] fn __action1198< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Result> + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1181( + let __end0 = __1.2; + let __temp0 = __action475( __1, - __2, - )?; + ); let __temp0 = (__start0, __temp0, __end0); - __action642( + __action1182( __0, __temp0, ) @@ -58549,23 +58399,17 @@ fn __action1198< #[allow(clippy::too_many_arguments)] fn __action1199< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result> + __0: (TextSize, token::Tok, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1182( - __1, - __2, - __3, - __4, - )?; + let __start0 = __0.2; + let __end0 = __0.2; + let __temp0 = __action476( + &__start0, + &__end0, + ); let __temp0 = (__start0, __temp0, __end0); - __action642( + __action1182( __0, __temp0, ) @@ -58574,261 +58418,47 @@ fn __action1199< #[allow(clippy::too_many_arguments)] fn __action1200< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result> + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1183( + let __end0 = __1.2; + let __temp0 = __action475( __1, - __2, - __3, - )?; + ); let __temp0 = (__start0, __temp0, __end0); - __action642( + __action1183( __0, __temp0, + __2, ) } #[allow(clippy::too_many_arguments)] fn __action1201< >( - __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), -) -> Result> + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> { let __start0 = __0.2; - let __end0 = __0.2; - let __temp0 = __action405( + let __end0 = __1.0; + let __temp0 = __action476( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action642( + __action1183( __0, __temp0, + __1, ) } #[allow(clippy::too_many_arguments)] fn __action1202< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), -) -> Option> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action465( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action411( - __0, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1203< ->( - __0: (TextSize, token::Tok, TextSize), -) -> Option> -{ - let __start0 = __0.2; - let __end0 = __0.2; - let __temp0 = __action466( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action411( - __0, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1204< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action465( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1140( - __0, - __temp0, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1205< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action466( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1140( - __0, - __temp0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1206< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action465( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1141( - __0, - __temp0, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1207< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action466( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1141( - __0, - __temp0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1208< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action465( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1142( - __0, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1209< ->( - __0: (TextSize, token::Tok, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __0.2; - let __temp0 = __action466( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1142( - __0, - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1210< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action465( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1143( - __0, - __temp0, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1211< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> -{ - let __start0 = __0.2; - let __end0 = __1.0; - let __temp0 = __action466( - &__start0, - &__end0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1143( - __0, - __temp0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1212< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58839,21 +58469,21 @@ fn __action1212< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1204( + let __temp0 = __action1194( __1, __2, __3, __4, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1213< +fn __action1203< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58863,20 +58493,20 @@ fn __action1213< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1205( + let __temp0 = __action1195( __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1214< +fn __action1204< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58888,7 +58518,7 @@ fn __action1214< { let __start0 = __1.0; let __end0 = __5.2; - let __temp0 = __action1206( + let __temp0 = __action1196( __1, __2, __3, @@ -58896,14 +58526,14 @@ fn __action1214< __5, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1215< +fn __action1205< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58914,21 +58544,21 @@ fn __action1215< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1207( + let __temp0 = __action1197( __1, __2, __3, __4, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1216< +fn __action1206< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58937,19 +58567,19 @@ fn __action1216< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1208( + let __temp0 = __action1198( __1, __2, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1217< +fn __action1207< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58957,18 +58587,18 @@ fn __action1217< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1209( + let __temp0 = __action1199( __1, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1218< +fn __action1208< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -58978,35 +58608,263 @@ fn __action1218< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1210( + let __temp0 = __action1200( __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( + Ok(__action406( __0, __temp0, )) } +#[allow(clippy::too_many_arguments)] +fn __action1209< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1201( + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action406( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1210< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1194( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __4, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1211< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Option>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1195( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __3, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1212< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1196( + __0, + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __5, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1213< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1197( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __4, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1214< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1198( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __2, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1215< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1199( + __0, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __1, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1216< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1200( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __3, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1217< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1201( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1068( + __temp0, + __2, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1218< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1194( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1069( + __temp0, + )) +} + #[allow(clippy::too_many_arguments)] fn __action1219< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> + __2: (TextSize, Option>, TextSize), +) -> Result> { - let __start0 = __1.0; + let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1211( + let __temp0 = __action1195( + __0, __1, __2, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action414( - __0, + Ok(__action1069( __temp0, )) } @@ -59016,23 +58874,23 @@ fn __action1220< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), - __4: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1204( + let __end0 = __4.2; + let __temp0 = __action1196( __0, __1, __2, __3, + __4, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( + Ok(__action1069( __temp0, - __4, )) } @@ -59040,22 +58898,22 @@ fn __action1220< fn __action1221< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), - __3: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1205( + let __end0 = __3.2; + let __temp0 = __action1197( __0, __1, __2, + __3, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( + Ok(__action1069( __temp0, - __3, )) } @@ -59064,25 +58922,17 @@ fn __action1222< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), - __5: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1206( + let __end0 = __1.2; + let __temp0 = __action1198( __0, __1, - __2, - __3, - __4, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( + Ok(__action1069( __temp0, - __5, )) } @@ -59090,24 +58940,16 @@ fn __action1222< fn __action1223< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), - __4: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1207( + let __end0 = __0.2; + let __temp0 = __action1199( __0, - __1, - __2, - __3, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( + Ok(__action1069( __temp0, - __4, )) } @@ -59116,19 +58958,19 @@ fn __action1224< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1208( + let __end0 = __2.2; + let __temp0 = __action1200( __0, __1, + __2, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( + Ok(__action1069( __temp0, - __2, )) } @@ -59136,235 +58978,23 @@ fn __action1224< fn __action1225< >( __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1209( + let __end0 = __1.2; + let __temp0 = __action1201( __0, + __1, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( + Ok(__action1069( __temp0, - __1, )) } #[allow(clippy::too_many_arguments)] fn __action1226< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1210( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( - __temp0, - __3, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1227< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1211( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action653( - __temp0, - __2, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1228< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1204( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1229< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1205( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1230< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1206( - __0, - __1, - __2, - __3, - __4, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1231< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1207( - __0, - __1, - __2, - __3, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1232< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1208( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1233< ->( - __0: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1209( - __0, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1234< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Arg, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1210( - __0, - __1, - __2, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1235< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1211( - __0, - __1, - )?; - let __temp0 = (__start0, __temp0, __end0); - Ok(__action654( - __temp0, - )) -} - -#[allow(clippy::too_many_arguments)] -fn __action1236< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59375,7 +59005,7 @@ fn __action1236< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1212( + let __temp0 = __action1202( __0, __1, __2, @@ -59383,13 +59013,13 @@ fn __action1236< __4, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1237< +fn __action1227< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59399,20 +59029,20 @@ fn __action1237< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1213( + let __temp0 = __action1203( __0, __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1238< +fn __action1228< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59424,7 +59054,7 @@ fn __action1238< { let __start0 = __0.0; let __end0 = __5.2; - let __temp0 = __action1214( + let __temp0 = __action1204( __0, __1, __2, @@ -59433,13 +59063,13 @@ fn __action1238< __5, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1239< +fn __action1229< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59450,7 +59080,7 @@ fn __action1239< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1215( + let __temp0 = __action1205( __0, __1, __2, @@ -59458,13 +59088,13 @@ fn __action1239< __4, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1240< +fn __action1230< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59473,19 +59103,19 @@ fn __action1240< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1216( + let __temp0 = __action1206( __0, __1, __2, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1241< +fn __action1231< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59493,18 +59123,18 @@ fn __action1241< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1217( + let __temp0 = __action1207( __0, __1, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1242< +fn __action1232< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59514,20 +59144,20 @@ fn __action1242< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1218( + let __temp0 = __action1208( __0, __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1243< +fn __action1233< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59536,19 +59166,19 @@ fn __action1243< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1219( + let __temp0 = __action1209( __0, __1, __2, )?; let __temp0 = (__start0, __temp0, __end0); - Ok(__action412( + Ok(__action404( __temp0, )) } #[allow(clippy::too_many_arguments)] -fn __action1244< +fn __action1234< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59561,7 +59191,7 @@ fn __action1244< { let __start0 = __1.0; let __end0 = __5.2; - let __temp0 = __action1236( + let __temp0 = __action1226( __1, __2, __3, @@ -59569,7 +59199,7 @@ fn __action1244< __5, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __6, @@ -59577,7 +59207,7 @@ fn __action1244< } #[allow(clippy::too_many_arguments)] -fn __action1245< +fn __action1235< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59589,14 +59219,14 @@ fn __action1245< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1237( + let __temp0 = __action1227( __1, __2, __3, __4, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __5, @@ -59604,7 +59234,7 @@ fn __action1245< } #[allow(clippy::too_many_arguments)] -fn __action1246< +fn __action1236< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59618,7 +59248,7 @@ fn __action1246< { let __start0 = __1.0; let __end0 = __6.2; - let __temp0 = __action1238( + let __temp0 = __action1228( __1, __2, __3, @@ -59627,7 +59257,7 @@ fn __action1246< __6, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __7, @@ -59635,7 +59265,7 @@ fn __action1246< } #[allow(clippy::too_many_arguments)] -fn __action1247< +fn __action1237< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59648,7 +59278,7 @@ fn __action1247< { let __start0 = __1.0; let __end0 = __5.2; - let __temp0 = __action1239( + let __temp0 = __action1229( __1, __2, __3, @@ -59656,7 +59286,7 @@ fn __action1247< __5, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __6, @@ -59664,7 +59294,7 @@ fn __action1247< } #[allow(clippy::too_many_arguments)] -fn __action1248< +fn __action1238< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59675,13 +59305,13 @@ fn __action1248< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1240( + let __temp0 = __action1230( __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __4, @@ -59689,7 +59319,7 @@ fn __action1248< } #[allow(clippy::too_many_arguments)] -fn __action1249< +fn __action1239< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59699,12 +59329,12 @@ fn __action1249< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1241( + let __temp0 = __action1231( __1, __2, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __3, @@ -59712,7 +59342,7 @@ fn __action1249< } #[allow(clippy::too_many_arguments)] -fn __action1250< +fn __action1240< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59724,14 +59354,14 @@ fn __action1250< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1242( + let __temp0 = __action1232( __1, __2, __3, __4, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __5, @@ -59739,7 +59369,7 @@ fn __action1250< } #[allow(clippy::too_many_arguments)] -fn __action1251< +fn __action1241< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59750,13 +59380,13 @@ fn __action1251< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1243( + let __temp0 = __action1233( __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __4, @@ -59764,7 +59394,7 @@ fn __action1251< } #[allow(clippy::too_many_arguments)] -fn __action1252< +fn __action1242< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59772,12 +59402,12 @@ fn __action1252< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action413( + let __temp0 = __action405( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action649( + __action1064( __0, __temp0, __1, @@ -59785,7 +59415,7 @@ fn __action1252< } #[allow(clippy::too_many_arguments)] -fn __action1253< +fn __action1243< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59797,7 +59427,7 @@ fn __action1253< { let __start0 = __1.0; let __end0 = __5.2; - let __temp0 = __action1236( + let __temp0 = __action1226( __1, __2, __3, @@ -59805,14 +59435,14 @@ fn __action1253< __5, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1254< +fn __action1244< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59823,21 +59453,21 @@ fn __action1254< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1237( + let __temp0 = __action1227( __1, __2, __3, __4, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1255< +fn __action1245< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59850,7 +59480,7 @@ fn __action1255< { let __start0 = __1.0; let __end0 = __6.2; - let __temp0 = __action1238( + let __temp0 = __action1228( __1, __2, __3, @@ -59859,14 +59489,14 @@ fn __action1255< __6, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1256< +fn __action1246< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59878,7 +59508,7 @@ fn __action1256< { let __start0 = __1.0; let __end0 = __5.2; - let __temp0 = __action1239( + let __temp0 = __action1229( __1, __2, __3, @@ -59886,14 +59516,14 @@ fn __action1256< __5, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1257< +fn __action1247< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59903,20 +59533,20 @@ fn __action1257< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1240( + let __temp0 = __action1230( __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1258< +fn __action1248< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59925,19 +59555,19 @@ fn __action1258< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1241( + let __temp0 = __action1231( __1, __2, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1259< +fn __action1249< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59948,21 +59578,21 @@ fn __action1259< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1242( + let __temp0 = __action1232( __1, __2, __3, __4, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1260< +fn __action1250< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -59972,20 +59602,1410 @@ fn __action1260< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1243( + let __temp0 = __action1233( __1, __2, __3, )?; let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1065( __0, __temp0, ) } +#[allow(clippy::too_many_arguments)] +fn __action1251< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), +) -> Result> +{ + let __start0 = __0.2; + let __end0 = __0.2; + let __temp0 = __action405( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1065( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1252< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), +) -> Option> +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action465( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action411( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1253< +>( + __0: (TextSize, token::Tok, TextSize), +) -> Option> +{ + let __start0 = __0.2; + let __end0 = __0.2; + let __temp0 = __action466( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action411( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1254< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action465( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1190( + __0, + __temp0, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1255< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __0.2; + let __end0 = __1.0; + let __temp0 = __action466( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1190( + __0, + __temp0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1256< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action465( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1191( + __0, + __temp0, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1257< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __0.2; + let __end0 = __1.0; + let __temp0 = __action466( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1191( + __0, + __temp0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1258< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action465( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1192( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1259< +>( + __0: (TextSize, token::Tok, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __0.2; + let __end0 = __0.2; + let __temp0 = __action466( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1192( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1260< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action465( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1193( + __0, + __temp0, + __2, + ) +} + #[allow(clippy::too_many_arguments)] fn __action1261< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(Option>, Vec, Vec, Option>),__lalrpop_util::ParseError> +{ + let __start0 = __0.2; + let __end0 = __1.0; + let __temp0 = __action466( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1193( + __0, + __temp0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1262< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1254( + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1263< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1255( + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1264< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __5.2; + let __temp0 = __action1256( + __1, + __2, + __3, + __4, + __5, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1265< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1257( + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1266< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1258( + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1267< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1259( + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1268< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1260( + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1269< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result<(token::Tok, (Option>, Vec, Vec, Option>)),__lalrpop_util::ParseError> +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1261( + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action414( + __0, + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1270< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1254( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __4, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1271< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Option>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1255( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __3, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1272< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1256( + __0, + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __5, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1273< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1257( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __4, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1274< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1258( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __2, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1275< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1259( + __0, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __1, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1276< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1260( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __3, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1277< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1261( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1076( + __temp0, + __2, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1278< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1254( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1279< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1255( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1280< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1256( + __0, + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1281< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1257( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1282< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1258( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1283< +>( + __0: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1259( + __0, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1284< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Arg, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1260( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1285< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1261( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action1077( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1286< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1262( + __0, + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1287< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1263( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1288< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __5.2; + let __temp0 = __action1264( + __0, + __1, + __2, + __3, + __4, + __5, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1289< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1265( + __0, + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1290< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1266( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1291< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1267( + __0, + __1, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1292< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Arg, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1268( + __0, + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1293< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result>, Vec, Vec, Option>))>,__lalrpop_util::ParseError> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1269( + __0, + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + Ok(__action412( + __temp0, + )) +} + +#[allow(clippy::too_many_arguments)] +fn __action1294< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __5.2; + let __temp0 = __action1286( + __1, + __2, + __3, + __4, + __5, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1295< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1287( + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1296< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __6.2; + let __temp0 = __action1288( + __1, + __2, + __3, + __4, + __5, + __6, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1297< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __5.2; + let __temp0 = __action1289( + __1, + __2, + __3, + __4, + __5, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1298< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1290( + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1299< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1291( + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1300< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1292( + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1301< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1293( + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1302< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.2; + let __end0 = __1.0; + let __temp0 = __action413( + &__start0, + &__end0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1072( + __0, + __temp0, + __1, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1303< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __5.2; + let __temp0 = __action1286( + __1, + __2, + __3, + __4, + __5, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1304< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1287( + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1305< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __6.2; + let __temp0 = __action1288( + __1, + __2, + __3, + __4, + __5, + __6, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1306< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __5.2; + let __temp0 = __action1289( + __1, + __2, + __3, + __4, + __5, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1307< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1290( + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1308< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1291( + __1, + __2, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1309< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1292( + __1, + __2, + __3, + __4, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1310< +>( + __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1293( + __1, + __2, + __3, + )?; + let __temp0 = (__start0, __temp0, __end0); + __action1073( + __0, + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1311< >( __0: (TextSize, (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>), TextSize), ) -> Result> @@ -59997,14 +61017,14 @@ fn __action1261< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action650( + __action1073( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1262< +fn __action1312< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -60023,7 +61043,7 @@ fn __action1262< } #[allow(clippy::too_many_arguments)] -fn __action1263< +fn __action1313< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60044,7 +61064,7 @@ fn __action1263< } #[allow(clippy::too_many_arguments)] -fn __action1264< +fn __action1314< >( __0: (TextSize, ast::Pattern, TextSize), ) -> Vec @@ -60063,7 +61083,7 @@ fn __action1264< } #[allow(clippy::too_many_arguments)] -fn __action1265< +fn __action1315< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), @@ -60082,7 +61102,7 @@ fn __action1265< } #[allow(clippy::too_many_arguments)] -fn __action1266< +fn __action1316< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60101,7 +61121,7 @@ fn __action1266< } #[allow(clippy::too_many_arguments)] -fn __action1267< +fn __action1317< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60122,7 +61142,7 @@ fn __action1267< } #[allow(clippy::too_many_arguments)] -fn __action1268< +fn __action1318< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60135,7 +61155,7 @@ fn __action1268< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1064( + __action1104( __0, __temp0, __1, @@ -60143,7 +61163,7 @@ fn __action1268< } #[allow(clippy::too_many_arguments)] -fn __action1269< +fn __action1319< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -60156,7 +61176,7 @@ fn __action1269< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1064( + __action1104( __0, __temp0, __2, @@ -60164,7 +61184,7 @@ fn __action1269< } #[allow(clippy::too_many_arguments)] -fn __action1270< +fn __action1320< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Expr @@ -60176,14 +61196,14 @@ fn __action1270< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1065( + __action1105( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1271< +fn __action1321< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -60195,14 +61215,14 @@ fn __action1271< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1065( + __action1105( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1272< +fn __action1322< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60221,7 +61241,7 @@ fn __action1272< } #[allow(clippy::too_many_arguments)] -fn __action1273< +fn __action1323< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60242,7 +61262,7 @@ fn __action1273< } #[allow(clippy::too_many_arguments)] -fn __action1274< +fn __action1324< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60261,7 +61281,7 @@ fn __action1274< } #[allow(clippy::too_many_arguments)] -fn __action1275< +fn __action1325< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec @@ -60280,7 +61300,7 @@ fn __action1275< } #[allow(clippy::too_many_arguments)] -fn __action1276< +fn __action1326< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -60299,7 +61319,7 @@ fn __action1276< } #[allow(clippy::too_many_arguments)] -fn __action1277< +fn __action1327< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60309,12 +61329,12 @@ fn __action1277< { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1274( + let __temp0 = __action1324( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action892( + __action918( __0, __1, __temp0, @@ -60322,7 +61342,7 @@ fn __action1277< } #[allow(clippy::too_many_arguments)] -fn __action1278< +fn __action1328< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60335,7 +61355,7 @@ fn __action1278< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action892( + __action918( __0, __1, __temp0, @@ -60343,7 +61363,7 @@ fn __action1278< } #[allow(clippy::too_many_arguments)] -fn __action1279< +fn __action1329< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60362,7 +61382,7 @@ fn __action1279< } #[allow(clippy::too_many_arguments)] -fn __action1280< +fn __action1330< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60383,7 +61403,7 @@ fn __action1280< } #[allow(clippy::too_many_arguments)] -fn __action1281< +fn __action1331< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec @@ -60402,7 +61422,7 @@ fn __action1281< } #[allow(clippy::too_many_arguments)] -fn __action1282< +fn __action1332< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -60421,7 +61441,7 @@ fn __action1282< } #[allow(clippy::too_many_arguments)] -fn __action1283< +fn __action1333< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60440,7 +61460,7 @@ fn __action1283< } #[allow(clippy::too_many_arguments)] -fn __action1284< +fn __action1334< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60461,7 +61481,7 @@ fn __action1284< } #[allow(clippy::too_many_arguments)] -fn __action1285< +fn __action1335< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec @@ -60480,7 +61500,7 @@ fn __action1285< } #[allow(clippy::too_many_arguments)] -fn __action1286< +fn __action1336< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -60499,7 +61519,7 @@ fn __action1286< } #[allow(clippy::too_many_arguments)] -fn __action1287< +fn __action1337< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60518,7 +61538,7 @@ fn __action1287< } #[allow(clippy::too_many_arguments)] -fn __action1288< +fn __action1338< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60533,12 +61553,12 @@ fn __action1288< { let __start0 = __5.0; let __end0 = __6.2; - let __temp0 = __action1287( + let __temp0 = __action1337( __5, __6, ); let __temp0 = (__start0, __temp0, __end0); - __action990( + __action1009( __0, __1, __2, @@ -60551,7 +61571,7 @@ fn __action1288< } #[allow(clippy::too_many_arguments)] -fn __action1289< +fn __action1339< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60569,7 +61589,7 @@ fn __action1289< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action990( + __action1009( __0, __1, __2, @@ -60582,7 +61602,7 @@ fn __action1289< } #[allow(clippy::too_many_arguments)] -fn __action1290< +fn __action1340< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60596,12 +61616,12 @@ fn __action1290< { let __start0 = __4.0; let __end0 = __5.2; - let __temp0 = __action1287( + let __temp0 = __action1337( __4, __5, ); let __temp0 = (__start0, __temp0, __end0); - __action991( + __action1010( __0, __1, __2, @@ -60613,7 +61633,7 @@ fn __action1290< } #[allow(clippy::too_many_arguments)] -fn __action1291< +fn __action1341< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60630,7 +61650,7 @@ fn __action1291< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action991( + __action1010( __0, __1, __2, @@ -60642,7 +61662,7 @@ fn __action1291< } #[allow(clippy::too_many_arguments)] -fn __action1292< +fn __action1342< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -60661,7 +61681,7 @@ fn __action1292< } #[allow(clippy::too_many_arguments)] -fn __action1293< +fn __action1343< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Identifier)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60682,7 +61702,7 @@ fn __action1293< } #[allow(clippy::too_many_arguments)] -fn __action1294< +fn __action1344< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60701,7 +61721,7 @@ fn __action1294< } #[allow(clippy::too_many_arguments)] -fn __action1295< +fn __action1345< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60710,19 +61730,19 @@ fn __action1295< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1294( + let __temp0 = __action1344( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1073( + __action1116( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1296< +fn __action1346< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Arg @@ -60734,14 +61754,14 @@ fn __action1296< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1073( + __action1116( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1297< +fn __action1347< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60760,7 +61780,7 @@ fn __action1297< } #[allow(clippy::too_many_arguments)] -fn __action1298< +fn __action1348< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60769,19 +61789,19 @@ fn __action1298< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1297( + let __temp0 = __action1347( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1062( + __action1102( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1299< +fn __action1349< >( __0: (TextSize, ast::Identifier, TextSize), ) -> ast::Arg @@ -60793,14 +61813,14 @@ fn __action1299< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1062( + __action1102( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1300< +fn __action1350< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Stmt, TextSize), @@ -60808,7 +61828,7 @@ fn __action1300< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action348( + let __temp0 = __action346( __0, __1, ); @@ -60819,7 +61839,7 @@ fn __action1300< } #[allow(clippy::too_many_arguments)] -fn __action1301< +fn __action1351< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Stmt)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60828,7 +61848,7 @@ fn __action1301< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action348( + let __temp0 = __action346( __1, __2, ); @@ -60840,7 +61860,7 @@ fn __action1301< } #[allow(clippy::too_many_arguments)] -fn __action1302< +fn __action1352< >( __0: (TextSize, ast::Stmt, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60849,7 +61869,7 @@ fn __action1302< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action346( + let __temp0 = __action344( &__start0, &__end0, ); @@ -60863,7 +61883,7 @@ fn __action1302< } #[allow(clippy::too_many_arguments)] -fn __action1303< +fn __action1353< >( __0: (TextSize, ast::Stmt, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Stmt)>, TextSize), @@ -60873,7 +61893,7 @@ fn __action1303< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action347( + let __temp0 = __action345( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -60886,7 +61906,7 @@ fn __action1303< } #[allow(clippy::too_many_arguments)] -fn __action1304< +fn __action1354< >( __0: (TextSize, ast::Stmt, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60894,7 +61914,7 @@ fn __action1304< { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action346( + let __temp0 = __action344( &__start0, &__end0, ); @@ -60907,7 +61927,7 @@ fn __action1304< } #[allow(clippy::too_many_arguments)] -fn __action1305< +fn __action1355< >( __0: (TextSize, ast::Stmt, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Stmt)>, TextSize), @@ -60916,7 +61936,7 @@ fn __action1305< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action347( + let __temp0 = __action345( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -60928,14 +61948,14 @@ fn __action1305< } #[allow(clippy::too_many_arguments)] -fn __action1306< +fn __action1356< >( __0: (TextSize, token::Tok, TextSize), ) -> alloc::vec::Vec { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action355( + let __temp0 = __action353( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -60945,7 +61965,7 @@ fn __action1306< } #[allow(clippy::too_many_arguments)] -fn __action1307< +fn __action1357< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -60953,7 +61973,7 @@ fn __action1307< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action355( + let __temp0 = __action353( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -60964,7 +61984,7 @@ fn __action1307< } #[allow(clippy::too_many_arguments)] -fn __action1308< +fn __action1358< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60972,12 +61992,12 @@ fn __action1308< { let __start0 = __1.2; let __end0 = __1.2; - let __temp0 = __action353( + let __temp0 = __action351( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action3( + __action1112( __0, __1, __temp0, @@ -60985,7 +62005,7 @@ fn __action1308< } #[allow(clippy::too_many_arguments)] -fn __action1309< +fn __action1359< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -60994,11 +62014,11 @@ fn __action1309< { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action354( + let __temp0 = __action352( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action3( + __action1112( __0, __1, __temp0, @@ -61006,7 +62026,7 @@ fn __action1309< } #[allow(clippy::too_many_arguments)] -fn __action1310< +fn __action1360< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61025,7 +62045,7 @@ fn __action1310< } #[allow(clippy::too_many_arguments)] -fn __action1311< +fn __action1361< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61046,7 +62066,7 @@ fn __action1311< } #[allow(clippy::too_many_arguments)] -fn __action1312< +fn __action1362< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61067,7 +62087,7 @@ fn __action1312< } #[allow(clippy::too_many_arguments)] -fn __action1313< +fn __action1363< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61083,13 +62103,13 @@ fn __action1313< { let __start0 = __7.0; let __end0 = __9.2; - let __temp0 = __action1312( + let __temp0 = __action1362( __7, __8, __9, ); let __temp0 = (__start0, __temp0, __end0); - __action988( + __action1007( __0, __1, __2, @@ -61102,7 +62122,7 @@ fn __action1313< } #[allow(clippy::too_many_arguments)] -fn __action1314< +fn __action1364< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61120,7 +62140,7 @@ fn __action1314< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action988( + __action1007( __0, __1, __2, @@ -61133,7 +62153,7 @@ fn __action1314< } #[allow(clippy::too_many_arguments)] -fn __action1315< +fn __action1365< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61148,13 +62168,13 @@ fn __action1315< { let __start0 = __6.0; let __end0 = __8.2; - let __temp0 = __action1312( + let __temp0 = __action1362( __6, __7, __8, ); let __temp0 = (__start0, __temp0, __end0); - __action989( + __action1008( __0, __1, __2, @@ -61166,7 +62186,7 @@ fn __action1315< } #[allow(clippy::too_many_arguments)] -fn __action1316< +fn __action1366< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61183,7 +62203,7 @@ fn __action1316< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action989( + __action1008( __0, __1, __2, @@ -61195,7 +62215,7 @@ fn __action1316< } #[allow(clippy::too_many_arguments)] -fn __action1317< +fn __action1367< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61209,13 +62229,13 @@ fn __action1317< { let __start0 = __5.0; let __end0 = __7.2; - let __temp0 = __action1312( + let __temp0 = __action1362( __5, __6, __7, ); let __temp0 = (__start0, __temp0, __end0); - __action1001( + __action1020( __0, __1, __2, @@ -61226,7 +62246,7 @@ fn __action1317< } #[allow(clippy::too_many_arguments)] -fn __action1318< +fn __action1368< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61242,7 +62262,7 @@ fn __action1318< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1001( + __action1020( __0, __1, __2, @@ -61253,7 +62273,7 @@ fn __action1318< } #[allow(clippy::too_many_arguments)] -fn __action1319< +fn __action1369< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61267,13 +62287,13 @@ fn __action1319< { let __start0 = __4.0; let __end0 = __6.2; - let __temp0 = __action1312( + let __temp0 = __action1362( __4, __5, __6, ); let __temp0 = (__start0, __temp0, __end0); - __action1070( + __action1113( __0, __1, __2, @@ -61284,7 +62304,7 @@ fn __action1319< } #[allow(clippy::too_many_arguments)] -fn __action1320< +fn __action1370< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61300,7 +62320,7 @@ fn __action1320< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1070( + __action1113( __0, __1, __2, @@ -61311,7 +62331,7 @@ fn __action1320< } #[allow(clippy::too_many_arguments)] -fn __action1321< +fn __action1371< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61325,13 +62345,13 @@ fn __action1321< { let __start0 = __4.0; let __end0 = __6.2; - let __temp0 = __action1312( + let __temp0 = __action1362( __4, __5, __6, ); let __temp0 = (__start0, __temp0, __end0); - __action1071( + __action1114( __0, __1, __2, @@ -61342,7 +62362,7 @@ fn __action1321< } #[allow(clippy::too_many_arguments)] -fn __action1322< +fn __action1372< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61358,7 +62378,7 @@ fn __action1322< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1071( + __action1114( __0, __1, __2, @@ -61369,7 +62389,7 @@ fn __action1322< } #[allow(clippy::too_many_arguments)] -fn __action1323< +fn __action1373< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61382,13 +62402,13 @@ fn __action1323< { let __start0 = __4.0; let __end0 = __6.2; - let __temp0 = __action1312( + let __temp0 = __action1362( __4, __5, __6, ); let __temp0 = (__start0, __temp0, __end0); - __action1075( + __action1119( __0, __1, __2, @@ -61398,7 +62418,7 @@ fn __action1323< } #[allow(clippy::too_many_arguments)] -fn __action1324< +fn __action1374< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61413,7 +62433,7 @@ fn __action1324< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1075( + __action1119( __0, __1, __2, @@ -61423,7 +62443,7 @@ fn __action1324< } #[allow(clippy::too_many_arguments)] -fn __action1325< +fn __action1375< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61444,7 +62464,7 @@ fn __action1325< } #[allow(clippy::too_many_arguments)] -fn __action1326< +fn __action1376< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61462,7 +62482,7 @@ fn __action1326< __5, ); let __temp0 = (__start0, __temp0, __end0); - __action1072( + __action1115( __0, __1, __2, @@ -61471,7 +62491,7 @@ fn __action1326< } #[allow(clippy::too_many_arguments)] -fn __action1327< +fn __action1377< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61487,13 +62507,13 @@ fn __action1327< { let __start0 = __7.0; let __end0 = __9.2; - let __temp0 = __action1325( + let __temp0 = __action1375( __7, __8, __9, ); let __temp0 = (__start0, __temp0, __end0); - __action1319( + __action1369( __0, __1, __2, @@ -61506,7 +62526,7 @@ fn __action1327< } #[allow(clippy::too_many_arguments)] -fn __action1328< +fn __action1378< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61524,7 +62544,7 @@ fn __action1328< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1319( + __action1369( __0, __1, __2, @@ -61537,7 +62557,7 @@ fn __action1328< } #[allow(clippy::too_many_arguments)] -fn __action1329< +fn __action1379< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61550,13 +62570,13 @@ fn __action1329< { let __start0 = __4.0; let __end0 = __6.2; - let __temp0 = __action1325( + let __temp0 = __action1375( __4, __5, __6, ); let __temp0 = (__start0, __temp0, __end0); - __action1320( + __action1370( __0, __1, __2, @@ -61566,7 +62586,7 @@ fn __action1329< } #[allow(clippy::too_many_arguments)] -fn __action1330< +fn __action1380< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61581,7 +62601,7 @@ fn __action1330< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1320( + __action1370( __0, __1, __2, @@ -61591,7 +62611,7 @@ fn __action1330< } #[allow(clippy::too_many_arguments)] -fn __action1331< +fn __action1381< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61607,13 +62627,13 @@ fn __action1331< { let __start0 = __7.0; let __end0 = __9.2; - let __temp0 = __action1325( + let __temp0 = __action1375( __7, __8, __9, ); let __temp0 = (__start0, __temp0, __end0); - __action1321( + __action1371( __0, __1, __2, @@ -61626,7 +62646,7 @@ fn __action1331< } #[allow(clippy::too_many_arguments)] -fn __action1332< +fn __action1382< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61644,7 +62664,7 @@ fn __action1332< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1321( + __action1371( __0, __1, __2, @@ -61657,7 +62677,7 @@ fn __action1332< } #[allow(clippy::too_many_arguments)] -fn __action1333< +fn __action1383< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61670,13 +62690,13 @@ fn __action1333< { let __start0 = __4.0; let __end0 = __6.2; - let __temp0 = __action1325( + let __temp0 = __action1375( __4, __5, __6, ); let __temp0 = (__start0, __temp0, __end0); - __action1322( + __action1372( __0, __1, __2, @@ -61686,7 +62706,7 @@ fn __action1333< } #[allow(clippy::too_many_arguments)] -fn __action1334< +fn __action1384< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61701,7 +62721,7 @@ fn __action1334< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1322( + __action1372( __0, __1, __2, @@ -61711,7 +62731,7 @@ fn __action1334< } #[allow(clippy::too_many_arguments)] -fn __action1335< +fn __action1385< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61730,7 +62750,7 @@ fn __action1335< } #[allow(clippy::too_many_arguments)] -fn __action1336< +fn __action1386< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61740,12 +62760,12 @@ fn __action1336< { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1335( + let __temp0 = __action1385( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1050( + __action1090( __0, __1, __temp0, @@ -61753,7 +62773,7 @@ fn __action1336< } #[allow(clippy::too_many_arguments)] -fn __action1337< +fn __action1387< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61766,7 +62786,7 @@ fn __action1337< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1050( + __action1090( __0, __1, __temp0, @@ -61774,7 +62794,7 @@ fn __action1337< } #[allow(clippy::too_many_arguments)] -fn __action1338< +fn __action1388< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61793,7 +62813,7 @@ fn __action1338< } #[allow(clippy::too_many_arguments)] -fn __action1339< +fn __action1389< >( __0: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61814,7 +62834,7 @@ fn __action1339< } #[allow(clippy::too_many_arguments)] -fn __action1340< +fn __action1390< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -61833,7 +62853,7 @@ fn __action1340< } #[allow(clippy::too_many_arguments)] -fn __action1341< +fn __action1391< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61854,7 +62874,7 @@ fn __action1341< } #[allow(clippy::too_many_arguments)] -fn __action1342< +fn __action1392< >( __0: (TextSize, (Option<(TextSize, TextSize, Option)>, ast::Expr), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61873,7 +62893,7 @@ fn __action1342< } #[allow(clippy::too_many_arguments)] -fn __action1343< +fn __action1393< >( __0: (TextSize, alloc::vec::Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), __1: (TextSize, (Option<(TextSize, TextSize, Option)>, ast::Expr), TextSize), @@ -61894,7 +62914,7 @@ fn __action1343< } #[allow(clippy::too_many_arguments)] -fn __action1344< +fn __action1394< >( __0: (TextSize, core::option::Option<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), ) -> Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)> @@ -61913,7 +62933,7 @@ fn __action1344< } #[allow(clippy::too_many_arguments)] -fn __action1345< +fn __action1395< >( __0: (TextSize, alloc::vec::Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), __1: (TextSize, core::option::Option<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), @@ -61932,7 +62952,7 @@ fn __action1345< } #[allow(clippy::too_many_arguments)] -fn __action1346< +fn __action1396< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -61940,7 +62960,7 @@ fn __action1346< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1275( + let __temp0 = __action1325( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -61951,7 +62971,7 @@ fn __action1346< } #[allow(clippy::too_many_arguments)] -fn __action1347< +fn __action1397< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -61960,7 +62980,7 @@ fn __action1347< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1276( + let __temp0 = __action1326( __0, __1, ); @@ -61972,7 +62992,7 @@ fn __action1347< } #[allow(clippy::too_many_arguments)] -fn __action1348< +fn __action1398< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -61982,11 +63002,11 @@ fn __action1348< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1275( + let __temp0 = __action1325( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action898( + __action924( __0, __temp0, __2, @@ -61995,7 +63015,7 @@ fn __action1348< } #[allow(clippy::too_many_arguments)] -fn __action1349< +fn __action1399< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62006,12 +63026,12 @@ fn __action1349< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1276( + let __temp0 = __action1326( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action898( + __action924( __0, __temp0, __3, @@ -62020,7 +63040,7 @@ fn __action1349< } #[allow(clippy::too_many_arguments)] -fn __action1350< +fn __action1400< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62029,11 +63049,11 @@ fn __action1350< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1275( + let __temp0 = __action1325( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action899( + __action925( __0, __temp0, __2, @@ -62041,7 +63061,7 @@ fn __action1350< } #[allow(clippy::too_many_arguments)] -fn __action1351< +fn __action1401< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62051,12 +63071,12 @@ fn __action1351< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1276( + let __temp0 = __action1326( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action899( + __action925( __0, __temp0, __3, @@ -62064,24 +63084,24 @@ fn __action1351< } #[allow(clippy::too_many_arguments)] -fn __action1352< +fn __action1402< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1275( + let __temp0 = __action1325( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action153( + __action1125( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1353< +fn __action1403< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -62089,18 +63109,18 @@ fn __action1353< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1276( + let __temp0 = __action1326( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action153( + __action1125( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1354< +fn __action1404< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -62108,7 +63128,7 @@ fn __action1354< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1346( + let __temp0 = __action1396( __0, __1, ); @@ -62119,7 +63139,7 @@ fn __action1354< } #[allow(clippy::too_many_arguments)] -fn __action1355< +fn __action1405< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -62128,7 +63148,7 @@ fn __action1355< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1347( + let __temp0 = __action1397( __0, __1, __2, @@ -62140,7 +63160,7 @@ fn __action1355< } #[allow(clippy::too_many_arguments)] -fn __action1356< +fn __action1406< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62152,12 +63172,12 @@ fn __action1356< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action900( + __action926( __0, __temp0, __3, @@ -62167,7 +63187,7 @@ fn __action1356< } #[allow(clippy::too_many_arguments)] -fn __action1357< +fn __action1407< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62180,13 +63200,13 @@ fn __action1357< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action900( + __action926( __0, __temp0, __4, @@ -62196,7 +63216,7 @@ fn __action1357< } #[allow(clippy::too_many_arguments)] -fn __action1358< +fn __action1408< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62211,7 +63231,7 @@ fn __action1358< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action900( + __action926( __0, __temp0, __1, @@ -62221,7 +63241,7 @@ fn __action1358< } #[allow(clippy::too_many_arguments)] -fn __action1359< +fn __action1409< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62234,12 +63254,12 @@ fn __action1359< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action901( + __action927( __0, __temp0, __3, @@ -62250,7 +63270,7 @@ fn __action1359< } #[allow(clippy::too_many_arguments)] -fn __action1360< +fn __action1410< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62264,13 +63284,13 @@ fn __action1360< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action901( + __action927( __0, __temp0, __4, @@ -62281,7 +63301,7 @@ fn __action1360< } #[allow(clippy::too_many_arguments)] -fn __action1361< +fn __action1411< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62297,7 +63317,7 @@ fn __action1361< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action901( + __action927( __0, __temp0, __1, @@ -62308,7 +63328,7 @@ fn __action1361< } #[allow(clippy::too_many_arguments)] -fn __action1362< +fn __action1412< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62319,12 +63339,12 @@ fn __action1362< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action902( + __action928( __0, __temp0, __3, @@ -62333,7 +63353,7 @@ fn __action1362< } #[allow(clippy::too_many_arguments)] -fn __action1363< +fn __action1413< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62345,13 +63365,13 @@ fn __action1363< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action902( + __action928( __0, __temp0, __4, @@ -62360,7 +63380,7 @@ fn __action1363< } #[allow(clippy::too_many_arguments)] -fn __action1364< +fn __action1414< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62374,7 +63394,7 @@ fn __action1364< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action902( + __action928( __0, __temp0, __1, @@ -62383,7 +63403,7 @@ fn __action1364< } #[allow(clippy::too_many_arguments)] -fn __action1365< +fn __action1415< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62395,12 +63415,12 @@ fn __action1365< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action903( + __action929( __0, __temp0, __3, @@ -62410,7 +63430,7 @@ fn __action1365< } #[allow(clippy::too_many_arguments)] -fn __action1366< +fn __action1416< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62423,13 +63443,13 @@ fn __action1366< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action903( + __action929( __0, __temp0, __4, @@ -62439,7 +63459,7 @@ fn __action1366< } #[allow(clippy::too_many_arguments)] -fn __action1367< +fn __action1417< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62454,7 +63474,7 @@ fn __action1367< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action903( + __action929( __0, __temp0, __1, @@ -62464,7 +63484,7 @@ fn __action1367< } #[allow(clippy::too_many_arguments)] -fn __action1368< +fn __action1418< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62476,12 +63496,12 @@ fn __action1368< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action920( + __action946( __0, __temp0, __3, @@ -62491,7 +63511,7 @@ fn __action1368< } #[allow(clippy::too_many_arguments)] -fn __action1369< +fn __action1419< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62504,13 +63524,13 @@ fn __action1369< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action920( + __action946( __0, __temp0, __4, @@ -62520,7 +63540,7 @@ fn __action1369< } #[allow(clippy::too_many_arguments)] -fn __action1370< +fn __action1420< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62535,7 +63555,7 @@ fn __action1370< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action920( + __action946( __0, __temp0, __1, @@ -62545,7 +63565,7 @@ fn __action1370< } #[allow(clippy::too_many_arguments)] -fn __action1371< +fn __action1421< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62558,12 +63578,12 @@ fn __action1371< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action921( + __action947( __0, __temp0, __3, @@ -62574,7 +63594,7 @@ fn __action1371< } #[allow(clippy::too_many_arguments)] -fn __action1372< +fn __action1422< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62588,13 +63608,13 @@ fn __action1372< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action921( + __action947( __0, __temp0, __4, @@ -62605,7 +63625,7 @@ fn __action1372< } #[allow(clippy::too_many_arguments)] -fn __action1373< +fn __action1423< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62621,7 +63641,7 @@ fn __action1373< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action921( + __action947( __0, __temp0, __1, @@ -62632,7 +63652,7 @@ fn __action1373< } #[allow(clippy::too_many_arguments)] -fn __action1374< +fn __action1424< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62643,12 +63663,12 @@ fn __action1374< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action922( + __action948( __0, __temp0, __3, @@ -62657,7 +63677,7 @@ fn __action1374< } #[allow(clippy::too_many_arguments)] -fn __action1375< +fn __action1425< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62669,13 +63689,13 @@ fn __action1375< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action922( + __action948( __0, __temp0, __4, @@ -62684,7 +63704,7 @@ fn __action1375< } #[allow(clippy::too_many_arguments)] -fn __action1376< +fn __action1426< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62698,7 +63718,7 @@ fn __action1376< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action922( + __action948( __0, __temp0, __1, @@ -62707,7 +63727,7 @@ fn __action1376< } #[allow(clippy::too_many_arguments)] -fn __action1377< +fn __action1427< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62719,12 +63739,12 @@ fn __action1377< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1354( + let __temp0 = __action1404( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action923( + __action949( __0, __temp0, __3, @@ -62734,7 +63754,7 @@ fn __action1377< } #[allow(clippy::too_many_arguments)] -fn __action1378< +fn __action1428< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62747,13 +63767,13 @@ fn __action1378< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1355( + let __temp0 = __action1405( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action923( + __action949( __0, __temp0, __4, @@ -62763,7 +63783,7 @@ fn __action1378< } #[allow(clippy::too_many_arguments)] -fn __action1379< +fn __action1429< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62778,7 +63798,7 @@ fn __action1379< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action923( + __action949( __0, __temp0, __1, @@ -62788,7 +63808,7 @@ fn __action1379< } #[allow(clippy::too_many_arguments)] -fn __action1380< +fn __action1430< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -62807,7 +63827,7 @@ fn __action1380< } #[allow(clippy::too_many_arguments)] -fn __action1381< +fn __action1431< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -62828,7 +63848,7 @@ fn __action1381< } #[allow(clippy::too_many_arguments)] -fn __action1382< +fn __action1432< >( __0: (TextSize, core::option::Option, TextSize), ) -> Vec @@ -62847,7 +63867,7 @@ fn __action1382< } #[allow(clippy::too_many_arguments)] -fn __action1383< +fn __action1433< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, core::option::Option, TextSize), @@ -62866,7 +63886,7 @@ fn __action1383< } #[allow(clippy::too_many_arguments)] -fn __action1384< +fn __action1434< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -62874,7 +63894,7 @@ fn __action1384< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1352( + let __temp0 = __action1402( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -62885,7 +63905,7 @@ fn __action1384< } #[allow(clippy::too_many_arguments)] -fn __action1385< +fn __action1435< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -62894,7 +63914,7 @@ fn __action1385< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1353( + let __temp0 = __action1403( __0, __1, ); @@ -62906,7 +63926,7 @@ fn __action1385< } #[allow(clippy::too_many_arguments)] -fn __action1386< +fn __action1436< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62916,7 +63936,7 @@ fn __action1386< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1352( + let __temp0 = __action1402( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -62929,7 +63949,7 @@ fn __action1386< } #[allow(clippy::too_many_arguments)] -fn __action1387< +fn __action1437< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62940,7 +63960,7 @@ fn __action1387< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1353( + let __temp0 = __action1403( __1, __2, ); @@ -62954,7 +63974,7 @@ fn __action1387< } #[allow(clippy::too_many_arguments)] -fn __action1388< +fn __action1438< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62963,7 +63983,7 @@ fn __action1388< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1352( + let __temp0 = __action1402( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -62975,7 +63995,7 @@ fn __action1388< } #[allow(clippy::too_many_arguments)] -fn __action1389< +fn __action1439< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -62985,7 +64005,7 @@ fn __action1389< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1353( + let __temp0 = __action1403( __1, __2, ); @@ -62998,7 +64018,7 @@ fn __action1389< } #[allow(clippy::too_many_arguments)] -fn __action1390< +fn __action1440< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -63006,7 +64026,7 @@ fn __action1390< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1384( + let __temp0 = __action1434( __0, __1, ); @@ -63017,7 +64037,7 @@ fn __action1390< } #[allow(clippy::too_many_arguments)] -fn __action1391< +fn __action1441< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -63026,7 +64046,7 @@ fn __action1391< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1385( + let __temp0 = __action1435( __0, __1, __2, @@ -63038,7 +64058,7 @@ fn __action1391< } #[allow(clippy::too_many_arguments)] -fn __action1392< +fn __action1442< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63050,7 +64070,7 @@ fn __action1392< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1390( + let __temp0 = __action1440( __1, __2, ); @@ -63065,7 +64085,7 @@ fn __action1392< } #[allow(clippy::too_many_arguments)] -fn __action1393< +fn __action1443< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63078,7 +64098,7 @@ fn __action1393< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1391( + let __temp0 = __action1441( __1, __2, __3, @@ -63094,7 +64114,7 @@ fn __action1393< } #[allow(clippy::too_many_arguments)] -fn __action1394< +fn __action1444< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Withitem, TextSize), @@ -63119,7 +64139,7 @@ fn __action1394< } #[allow(clippy::too_many_arguments)] -fn __action1395< +fn __action1445< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63132,7 +64152,7 @@ fn __action1395< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1390( + let __temp0 = __action1440( __1, __2, ); @@ -63148,7 +64168,7 @@ fn __action1395< } #[allow(clippy::too_many_arguments)] -fn __action1396< +fn __action1446< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63162,7 +64182,7 @@ fn __action1396< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1391( + let __temp0 = __action1441( __1, __2, __3, @@ -63179,7 +64199,7 @@ fn __action1396< } #[allow(clippy::too_many_arguments)] -fn __action1397< +fn __action1447< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Withitem, TextSize), @@ -63206,7 +64226,7 @@ fn __action1397< } #[allow(clippy::too_many_arguments)] -fn __action1398< +fn __action1448< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63217,7 +64237,7 @@ fn __action1398< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1390( + let __temp0 = __action1440( __1, __2, ); @@ -63231,7 +64251,7 @@ fn __action1398< } #[allow(clippy::too_many_arguments)] -fn __action1399< +fn __action1449< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63243,7 +64263,7 @@ fn __action1399< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1391( + let __temp0 = __action1441( __1, __2, __3, @@ -63258,7 +64278,7 @@ fn __action1399< } #[allow(clippy::too_many_arguments)] -fn __action1400< +fn __action1450< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Withitem, TextSize), @@ -63281,7 +64301,7 @@ fn __action1400< } #[allow(clippy::too_many_arguments)] -fn __action1401< +fn __action1451< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63293,7 +64313,7 @@ fn __action1401< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1390( + let __temp0 = __action1440( __1, __2, ); @@ -63308,7 +64328,7 @@ fn __action1401< } #[allow(clippy::too_many_arguments)] -fn __action1402< +fn __action1452< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63321,7 +64341,7 @@ fn __action1402< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1391( + let __temp0 = __action1441( __1, __2, __3, @@ -63337,7 +64357,7 @@ fn __action1402< } #[allow(clippy::too_many_arguments)] -fn __action1403< +fn __action1453< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Withitem, TextSize), @@ -63362,7 +64382,7 @@ fn __action1403< } #[allow(clippy::too_many_arguments)] -fn __action1404< +fn __action1454< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63372,7 +64392,7 @@ fn __action1404< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action882( + let __temp0 = __action908( __0, __1, __2, @@ -63385,7 +64405,7 @@ fn __action1404< } #[allow(clippy::too_many_arguments)] -fn __action1405< +fn __action1455< >( __0: (TextSize, alloc::vec::Vec<(TextSize, token::Tok, ast::Expr, token::Tok, ast::Suite)>, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -63396,7 +64416,7 @@ fn __action1405< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action882( + let __temp0 = __action908( __1, __2, __3, @@ -63410,7 +64430,7 @@ fn __action1405< } #[allow(clippy::too_many_arguments)] -fn __action1406< +fn __action1456< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63428,7 +64448,7 @@ fn __action1406< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1317( + __action1367( __0, __1, __2, @@ -63441,7 +64461,7 @@ fn __action1406< } #[allow(clippy::too_many_arguments)] -fn __action1407< +fn __action1457< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63459,7 +64479,7 @@ fn __action1407< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1317( + __action1367( __0, __1, __2, @@ -63472,7 +64492,7 @@ fn __action1407< } #[allow(clippy::too_many_arguments)] -fn __action1408< +fn __action1458< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63487,7 +64507,7 @@ fn __action1408< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1318( + __action1368( __0, __1, __2, @@ -63497,7 +64517,7 @@ fn __action1408< } #[allow(clippy::too_many_arguments)] -fn __action1409< +fn __action1459< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63512,7 +64532,7 @@ fn __action1409< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1318( + __action1368( __0, __1, __2, @@ -63522,14 +64542,14 @@ fn __action1409< } #[allow(clippy::too_many_arguments)] -fn __action1410< +fn __action1460< >( __0: (TextSize, (String, StringKind, bool), TextSize), ) -> alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)> { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action883( + let __temp0 = __action909( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -63539,7 +64559,7 @@ fn __action1410< } #[allow(clippy::too_many_arguments)] -fn __action1411< +fn __action1461< >( __0: (TextSize, alloc::vec::Vec<(TextSize, (String, StringKind, bool), TextSize)>, TextSize), __1: (TextSize, (String, StringKind, bool), TextSize), @@ -63547,7 +64567,7 @@ fn __action1411< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action883( + let __temp0 = __action909( __1, ); let __temp0 = (__start0, __temp0, __end0); @@ -63558,7 +64578,7 @@ fn __action1411< } #[allow(clippy::too_many_arguments)] -fn __action1412< +fn __action1462< >( __0: (TextSize, ast::Cmpop, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63577,7 +64597,7 @@ fn __action1412< } #[allow(clippy::too_many_arguments)] -fn __action1413< +fn __action1463< >( __0: (TextSize, alloc::vec::Vec<(ast::Cmpop, ast::Expr)>, TextSize), __1: (TextSize, ast::Cmpop, TextSize), @@ -63598,7 +64618,7 @@ fn __action1413< } #[allow(clippy::too_many_arguments)] -fn __action1414< +fn __action1464< >( __0: (TextSize, ast::Expr, TextSize), ) -> core::option::Option @@ -63615,7 +64635,7 @@ fn __action1414< } #[allow(clippy::too_many_arguments)] -fn __action1415< +fn __action1465< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -63626,11 +64646,11 @@ fn __action1415< { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action1414( + let __temp0 = __action1464( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action80( + __action1049( __0, __1, __temp0, @@ -63640,7 +64660,7 @@ fn __action1415< } #[allow(clippy::too_many_arguments)] -fn __action1416< +fn __action1466< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -63655,7 +64675,7 @@ fn __action1416< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action80( + __action1049( __0, __1, __temp0, @@ -63665,7 +64685,7 @@ fn __action1416< } #[allow(clippy::too_many_arguments)] -fn __action1417< +fn __action1467< >( __0: (TextSize, ast::Arguments, TextSize), ) -> core::option::Option @@ -63682,7 +64702,7 @@ fn __action1417< } #[allow(clippy::too_many_arguments)] -fn __action1418< +fn __action1468< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Arguments, TextSize), @@ -63691,11 +64711,11 @@ fn __action1418< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1417( + let __temp0 = __action1467( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action155( + __action1082( __0, __temp0, __2, @@ -63703,7 +64723,7 @@ fn __action1418< } #[allow(clippy::too_many_arguments)] -fn __action1419< +fn __action1469< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -63716,7 +64736,7 @@ fn __action1419< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action155( + __action1082( __0, __temp0, __1, @@ -63724,7 +64744,7 @@ fn __action1419< } #[allow(clippy::too_many_arguments)] -fn __action1420< +fn __action1470< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -63742,7 +64762,7 @@ fn __action1420< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action974( + __action993( __0, __temp0, __4, @@ -63751,7 +64771,7 @@ fn __action1420< } #[allow(clippy::too_many_arguments)] -fn __action1421< +fn __action1471< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -63770,7 +64790,7 @@ fn __action1421< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action976( + __action995( __0, __1, __temp0, @@ -63780,7 +64800,7 @@ fn __action1421< } #[allow(clippy::too_many_arguments)] -fn __action1422< +fn __action1472< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Stmt @@ -63792,14 +64812,14 @@ fn __action1422< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action979( + __action998( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1423< +fn __action1473< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec, TextSize), @@ -63811,14 +64831,14 @@ fn __action1423< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action979( + __action998( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1424< +fn __action1474< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -63832,7 +64852,7 @@ fn __action1424< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action981( + __action1000( __0, __1, __2, @@ -63841,7 +64861,7 @@ fn __action1424< } #[allow(clippy::too_many_arguments)] -fn __action1425< +fn __action1475< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -63855,7 +64875,7 @@ fn __action1425< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action981( + __action1000( __0, __1, __2, @@ -63864,7 +64884,7 @@ fn __action1425< } #[allow(clippy::too_many_arguments)] -fn __action1426< +fn __action1476< >( __0: (TextSize, (Option<(TextSize, TextSize, Option)>, ast::Expr), TextSize), ) -> Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)> @@ -63875,13 +64895,13 @@ fn __action1426< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1344( + __action1394( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1427< +fn __action1477< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -63894,13 +64914,13 @@ fn __action1427< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1344( + __action1394( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1428< +fn __action1478< >( __0: (TextSize, alloc::vec::Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), __1: (TextSize, (Option<(TextSize, TextSize, Option)>, ast::Expr), TextSize), @@ -63912,14 +64932,14 @@ fn __action1428< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1345( + __action1395( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1429< +fn __action1479< >( __0: (TextSize, alloc::vec::Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), ) -> Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)> @@ -63931,21 +64951,21 @@ fn __action1429< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1345( + __action1395( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1430< +fn __action1480< >( __0: (TextSize, (Option<(TextSize, TextSize, Option)>, ast::Expr), TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1426( + let __temp0 = __action1476( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -63955,7 +64975,7 @@ fn __action1430< } #[allow(clippy::too_many_arguments)] -fn __action1431< +fn __action1481< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -63963,7 +64983,7 @@ fn __action1431< { let __start0 = *__lookbehind; let __end0 = *__lookahead; - let __temp0 = __action1427( + let __temp0 = __action1477( &__start0, &__end0, ); @@ -63974,7 +64994,7 @@ fn __action1431< } #[allow(clippy::too_many_arguments)] -fn __action1432< +fn __action1482< >( __0: (TextSize, alloc::vec::Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), __1: (TextSize, (Option<(TextSize, TextSize, Option)>, ast::Expr), TextSize), @@ -63982,7 +65002,7 @@ fn __action1432< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1428( + let __temp0 = __action1478( __0, __1, ); @@ -63993,14 +65013,14 @@ fn __action1432< } #[allow(clippy::too_many_arguments)] -fn __action1433< +fn __action1483< >( __0: (TextSize, alloc::vec::Vec<(Option<(TextSize, TextSize, Option)>, ast::Expr)>, TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1429( + let __temp0 = __action1479( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -64010,7 +65030,7 @@ fn __action1433< } #[allow(clippy::too_many_arguments)] -fn __action1434< +fn __action1484< >( __0: (TextSize, ast::Pattern, TextSize), ) -> Vec @@ -64021,13 +65041,13 @@ fn __action1434< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1382( + __action1432( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1435< +fn __action1485< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -64040,13 +65060,13 @@ fn __action1435< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1382( + __action1432( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1436< +fn __action1486< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -64058,14 +65078,14 @@ fn __action1436< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1383( + __action1433( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1437< +fn __action1487< >( __0: (TextSize, alloc::vec::Vec, TextSize), ) -> Vec @@ -64077,29 +65097,29 @@ fn __action1437< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1383( + __action1433( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1438< +fn __action1488< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, ast::Pattern, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.0; let __end0 = __3.2; - let __temp0 = __action1434( + let __temp0 = __action1484( __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1053( + __action1093( __0, __1, __2, @@ -64109,22 +65129,22 @@ fn __action1438< } #[allow(clippy::too_many_arguments)] -fn __action1439< +fn __action1489< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.2; let __end0 = __3.0; - let __temp0 = __action1435( + let __temp0 = __action1485( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1053( + __action1093( __0, __1, __2, @@ -64134,7 +65154,7 @@ fn __action1439< } #[allow(clippy::too_many_arguments)] -fn __action1440< +fn __action1490< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), @@ -64142,16 +65162,16 @@ fn __action1440< __3: (TextSize, alloc::vec::Vec, TextSize), __4: (TextSize, ast::Pattern, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.0; let __end0 = __4.2; - let __temp0 = __action1436( + let __temp0 = __action1486( __3, __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1053( + __action1093( __0, __1, __2, @@ -64161,22 +65181,22 @@ fn __action1440< } #[allow(clippy::too_many_arguments)] -fn __action1441< +fn __action1491< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, alloc::vec::Vec, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __3.0; let __end0 = __3.2; - let __temp0 = __action1437( + let __temp0 = __action1487( __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1053( + __action1093( __0, __1, __2, @@ -64186,20 +65206,20 @@ fn __action1441< } #[allow(clippy::too_many_arguments)] -fn __action1442< +fn __action1492< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Pattern, TextSize), __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1434( + let __temp0 = __action1484( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1054( + __action1094( __0, __temp0, __2, @@ -64207,20 +65227,20 @@ fn __action1442< } #[allow(clippy::too_many_arguments)] -fn __action1443< +fn __action1493< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __0.2; let __end0 = __1.0; - let __temp0 = __action1435( + let __temp0 = __action1485( &__start0, &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1054( + __action1094( __0, __temp0, __1, @@ -64228,22 +65248,22 @@ fn __action1443< } #[allow(clippy::too_many_arguments)] -fn __action1444< +fn __action1494< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, alloc::vec::Vec, TextSize), __2: (TextSize, ast::Pattern, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1436( + let __temp0 = __action1486( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1054( + __action1094( __0, __temp0, __3, @@ -64251,20 +65271,20 @@ fn __action1444< } #[allow(clippy::too_many_arguments)] -fn __action1445< +fn __action1495< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, alloc::vec::Vec, TextSize), __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1437( + let __temp0 = __action1487( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1054( + __action1094( __0, __temp0, __2, @@ -64272,7 +65292,7 @@ fn __action1445< } #[allow(clippy::too_many_arguments)] -fn __action1446< +fn __action1496< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, Vec, TextSize), @@ -64284,14 +65304,14 @@ fn __action1446< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action992( + __action1011( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1447< +fn __action1497< >( __0: (TextSize, ast::Expr, TextSize), ) -> (Option<(TextSize, TextSize, Option)>, ast::Expr) @@ -64303,14 +65323,14 @@ fn __action1447< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action992( + __action1011( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1448< +fn __action1498< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64326,7 +65346,7 @@ fn __action1448< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1057( + __action1097( __0, __1, __2, @@ -64337,7 +65357,7 @@ fn __action1448< } #[allow(clippy::too_many_arguments)] -fn __action1449< +fn __action1499< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64353,7 +65373,7 @@ fn __action1449< __5, ); let __temp0 = (__start0, __temp0, __end0); - __action1057( + __action1097( __0, __1, __2, @@ -64364,7 +65384,7 @@ fn __action1449< } #[allow(clippy::too_many_arguments)] -fn __action1450< +fn __action1500< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -64379,7 +65399,7 @@ fn __action1450< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1058( + __action1098( __0, __1, __2, @@ -64389,7 +65409,7 @@ fn __action1450< } #[allow(clippy::too_many_arguments)] -fn __action1451< +fn __action1501< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -64404,7 +65424,7 @@ fn __action1451< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1058( + __action1098( __0, __1, __2, @@ -64414,7 +65434,7 @@ fn __action1451< } #[allow(clippy::too_many_arguments)] -fn __action1452< +fn __action1502< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -64432,7 +65452,7 @@ fn __action1452< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action944( + __action970( __temp0, __0, __1, @@ -64445,7 +65465,7 @@ fn __action1452< } #[allow(clippy::too_many_arguments)] -fn __action1453< +fn __action1503< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64463,7 +65483,7 @@ fn __action1453< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action944( + __action970( __temp0, __1, __2, @@ -64476,7 +65496,7 @@ fn __action1453< } #[allow(clippy::too_many_arguments)] -fn __action1454< +fn __action1504< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -64491,7 +65511,7 @@ fn __action1454< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action945( + __action971( __temp0, __0, __1, @@ -64501,7 +65521,7 @@ fn __action1454< } #[allow(clippy::too_many_arguments)] -fn __action1455< +fn __action1505< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64516,7 +65536,7 @@ fn __action1455< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action945( + __action971( __temp0, __1, __2, @@ -64526,7 +65546,7 @@ fn __action1455< } #[allow(clippy::too_many_arguments)] -fn __action1456< +fn __action1506< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64545,7 +65565,7 @@ fn __action1456< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1288( + __action1338( __temp0, __0, __1, @@ -64559,7 +65579,7 @@ fn __action1456< } #[allow(clippy::too_many_arguments)] -fn __action1457< +fn __action1507< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64578,7 +65598,7 @@ fn __action1457< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1288( + __action1338( __temp0, __1, __2, @@ -64592,7 +65612,7 @@ fn __action1457< } #[allow(clippy::too_many_arguments)] -fn __action1458< +fn __action1508< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64609,7 +65629,7 @@ fn __action1458< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1289( + __action1339( __temp0, __0, __1, @@ -64621,7 +65641,7 @@ fn __action1458< } #[allow(clippy::too_many_arguments)] -fn __action1459< +fn __action1509< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64638,7 +65658,7 @@ fn __action1459< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1289( + __action1339( __temp0, __1, __2, @@ -64650,7 +65670,7 @@ fn __action1459< } #[allow(clippy::too_many_arguments)] -fn __action1460< +fn __action1510< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -64668,7 +65688,7 @@ fn __action1460< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1290( + __action1340( __temp0, __0, __1, @@ -64681,7 +65701,7 @@ fn __action1460< } #[allow(clippy::too_many_arguments)] -fn __action1461< +fn __action1511< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64699,7 +65719,7 @@ fn __action1461< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1290( + __action1340( __temp0, __1, __2, @@ -64712,7 +65732,7 @@ fn __action1461< } #[allow(clippy::too_many_arguments)] -fn __action1462< +fn __action1512< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -64728,7 +65748,7 @@ fn __action1462< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1291( + __action1341( __temp0, __0, __1, @@ -64739,7 +65759,7 @@ fn __action1462< } #[allow(clippy::too_many_arguments)] -fn __action1463< +fn __action1513< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64755,7 +65775,7 @@ fn __action1463< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1291( + __action1341( __temp0, __1, __2, @@ -64766,7 +65786,7 @@ fn __action1463< } #[allow(clippy::too_many_arguments)] -fn __action1464< +fn __action1514< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec<(Option>, ast::Expr)>, TextSize), @@ -64779,7 +65799,7 @@ fn __action1464< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action907( + __action933( __0, __temp0, __2, @@ -64787,7 +65807,7 @@ fn __action1464< } #[allow(clippy::too_many_arguments)] -fn __action1465< +fn __action1515< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64800,7 +65820,7 @@ fn __action1465< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action907( + __action933( __0, __temp0, __1, @@ -64808,7 +65828,7 @@ fn __action1465< } #[allow(clippy::too_many_arguments)] -fn __action1466< +fn __action1516< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec<(Option>, ast::Expr)>, TextSize), @@ -64821,7 +65841,7 @@ fn __action1466< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action927( + __action953( __0, __temp0, __2, @@ -64829,7 +65849,7 @@ fn __action1466< } #[allow(clippy::too_many_arguments)] -fn __action1467< +fn __action1517< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64842,7 +65862,7 @@ fn __action1467< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action927( + __action953( __0, __temp0, __1, @@ -64850,7 +65870,7 @@ fn __action1467< } #[allow(clippy::too_many_arguments)] -fn __action1468< +fn __action1518< >( __lookbehind: &TextSize, __lookahead: &TextSize, @@ -64858,7 +65878,7 @@ fn __action1468< { let __start0 = *__lookbehind; let __end0 = *__lookahead; - let __temp0 = __action351( + let __temp0 = __action349( &__start0, &__end0, ); @@ -64869,14 +65889,14 @@ fn __action1468< } #[allow(clippy::too_many_arguments)] -fn __action1469< +fn __action1519< >( __0: (TextSize, alloc::vec::Vec, TextSize), ) -> ast::Suite { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action352( + let __temp0 = __action350( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -64886,7 +65906,7 @@ fn __action1469< } #[allow(clippy::too_many_arguments)] -fn __action1470< +fn __action1520< >( __0: (TextSize, ast::Identifier, TextSize), ) -> (Option, Option) @@ -64905,7 +65925,7 @@ fn __action1470< } #[allow(clippy::too_many_arguments)] -fn __action1471< +fn __action1521< >( __0: (TextSize, alloc::vec::Vec, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -64924,7 +65944,7 @@ fn __action1471< } #[allow(clippy::too_many_arguments)] -fn __action1472< +fn __action1522< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -64937,7 +65957,7 @@ fn __action1472< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action896( + __action922( __0, __temp0, __2, @@ -64945,7 +65965,7 @@ fn __action1472< } #[allow(clippy::too_many_arguments)] -fn __action1473< +fn __action1523< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -64958,7 +65978,7 @@ fn __action1473< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action896( + __action922( __0, __temp0, __1, @@ -64966,7 +65986,7 @@ fn __action1473< } #[allow(clippy::too_many_arguments)] -fn __action1474< +fn __action1524< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Vec, TextSize), @@ -64979,7 +65999,7 @@ fn __action1474< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action918( + __action944( __0, __temp0, __2, @@ -64987,7 +66007,7 @@ fn __action1474< } #[allow(clippy::too_many_arguments)] -fn __action1475< +fn __action1525< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -65000,7 +66020,7 @@ fn __action1475< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action918( + __action944( __0, __temp0, __1, @@ -65008,7 +66028,7 @@ fn __action1475< } #[allow(clippy::too_many_arguments)] -fn __action1476< +fn __action1526< >( __0: (TextSize, (Option>, ast::Expr), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -65027,7 +66047,7 @@ fn __action1476< } #[allow(clippy::too_many_arguments)] -fn __action1477< +fn __action1527< >( __0: (TextSize, (Option>, ast::Expr), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (Option>, ast::Expr))>, TextSize), @@ -65048,7 +66068,7 @@ fn __action1477< } #[allow(clippy::too_many_arguments)] -fn __action1478< +fn __action1528< >( __0: (TextSize, (Option>, ast::Expr), TextSize), ) -> Vec<(Option>, ast::Expr)> @@ -65065,7 +66085,7 @@ fn __action1478< } #[allow(clippy::too_many_arguments)] -fn __action1479< +fn __action1529< >( __0: (TextSize, (Option>, ast::Expr), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (Option>, ast::Expr))>, TextSize), @@ -65084,7 +66104,7 @@ fn __action1479< } #[allow(clippy::too_many_arguments)] -fn __action1480< +fn __action1530< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -65103,7 +66123,7 @@ fn __action1480< } #[allow(clippy::too_many_arguments)] -fn __action1481< +fn __action1531< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -65124,7 +66144,7 @@ fn __action1481< } #[allow(clippy::too_many_arguments)] -fn __action1482< +fn __action1532< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec @@ -65141,7 +66161,7 @@ fn __action1482< } #[allow(clippy::too_many_arguments)] -fn __action1483< +fn __action1533< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -65160,7 +66180,7 @@ fn __action1483< } #[allow(clippy::too_many_arguments)] -fn __action1484< +fn __action1534< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -65172,14 +66192,14 @@ fn __action1484< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action996( + __action1015( __temp0, __1, ) } #[allow(clippy::too_many_arguments)] -fn __action1485< +fn __action1535< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -65193,14 +66213,14 @@ fn __action1485< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action996( + __action1015( __temp0, __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1486< +fn __action1536< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Expr @@ -65211,13 +66231,13 @@ fn __action1486< __0, ); let __temp0 = (__start0, __temp0, __end0); - __action997( + __action1016( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1487< +fn __action1537< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -65230,13 +66250,13 @@ fn __action1487< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action997( + __action1016( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1488< +fn __action1538< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65248,14 +66268,14 @@ fn __action1488< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1000( + __action1019( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1489< +fn __action1539< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65269,14 +66289,14 @@ fn __action1489< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1000( + __action1019( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1490< +fn __action1540< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65288,14 +66308,14 @@ fn __action1490< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1035( + __action1058( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1491< +fn __action1541< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65309,14 +66329,14 @@ fn __action1491< __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1035( + __action1058( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1492< +fn __action1542< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65326,20 +66346,20 @@ fn __action1492< { let __start0 = __1.0; let __end0 = __3.2; - let __temp0 = __action1090( + let __temp0 = __action1140( __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1010( + __action1029( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1493< +fn __action1543< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65350,21 +66370,21 @@ fn __action1493< { let __start0 = __1.0; let __end0 = __4.2; - let __temp0 = __action1091( + let __temp0 = __action1141( __1, __2, __3, __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1010( + __action1029( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1494< +fn __action1544< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65372,18 +66392,18 @@ fn __action1494< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1092( + let __temp0 = __action1142( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1010( + __action1029( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1495< +fn __action1545< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Identifier, TextSize), @@ -65392,19 +66412,19 @@ fn __action1495< { let __start0 = __1.0; let __end0 = __2.2; - let __temp0 = __action1093( + let __temp0 = __action1143( __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1010( + __action1029( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1496< +fn __action1546< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -65413,19 +66433,19 @@ fn __action1496< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1102( + let __temp0 = __action1152( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1006( + __action1025( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1497< +fn __action1547< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -65435,37 +66455,37 @@ fn __action1497< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1103( + let __temp0 = __action1153( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1006( + __action1025( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1498< +fn __action1548< >( __0: (TextSize, ast::Identifier, TextSize), ) -> Vec { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1104( + let __temp0 = __action1154( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1006( + __action1025( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1499< +fn __action1549< >( __0: (TextSize, ast::Identifier, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), @@ -65473,1509 +66493,213 @@ fn __action1499< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1105( + let __temp0 = __action1155( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1006( - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1500< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Identifier, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1102( - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1007( - __0, - __temp0, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1501< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Identifier, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1103( - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1007( - __0, - __temp0, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1502< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1104( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1007( - __0, - __temp0, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1503< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1105( - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1007( - __0, - __temp0, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1504< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Identifier, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __3.2; - let __temp0 = __action1102( - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1008( - __0, - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1505< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Identifier, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __4.2; - let __temp0 = __action1103( - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1008( - __0, - __temp0, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1506< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1104( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1008( - __0, - __temp0, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1507< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, ast::Identifier, TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Vec -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1105( - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1008( - __0, - __temp0, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1508< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __4.2; - let __temp0 = __action1118( - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action946( - __0, - __1, - __2, - __3, - __temp0, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1509< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __5.2; - let __temp0 = __action1119( - __4, - __5, - ); - let __temp0 = (__start0, __temp0, __end0); - __action946( - __0, - __1, - __2, - __3, - __temp0, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1510< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __4.2; - let __temp0 = __action1118( - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action947( - __0, - __1, - __2, - __3, - __temp0, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1511< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __5.2; - let __temp0 = __action1119( - __4, - __5, - ); - let __temp0 = (__start0, __temp0, __end0); - __action947( - __0, - __1, - __2, - __3, - __temp0, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1512< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1118( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action950( - __0, - __1, - __temp0, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1513< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1119( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action950( - __0, - __1, - __temp0, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1514< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1118( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action951( - __0, - __1, - __temp0, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1515< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1119( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action951( - __0, - __1, - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1516< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __4.2; - let __temp0 = __action1118( - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action953( - __0, - __1, - __2, - __3, - __temp0, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1517< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __5.2; - let __temp0 = __action1119( - __4, - __5, - ); - let __temp0 = (__start0, __temp0, __end0); - __action953( - __0, - __1, - __2, - __3, - __temp0, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1518< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __4.2; - let __temp0 = __action1118( - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action954( - __0, - __1, - __2, - __3, - __temp0, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1519< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Vec, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __4.0; - let __end0 = __5.2; - let __temp0 = __action1119( - __4, - __5, - ); - let __temp0 = (__start0, __temp0, __end0); - __action954( - __0, - __1, - __2, - __3, - __temp0, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1520< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1118( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action957( - __0, - __1, - __temp0, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1521< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1119( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action957( - __0, - __1, - __temp0, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1522< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1118( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action958( - __0, - __1, - __temp0, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1523< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1119( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action958( - __0, - __1, - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1524< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1122( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1021( - __0, - __temp0, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1525< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1123( - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1021( - __0, - __temp0, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1526< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1122( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1022( - __0, - __temp0, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1527< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1123( - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1022( - __0, - __temp0, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1528< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Identifier, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1122( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); __action1025( - __0, __temp0, - __2, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1529< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Identifier, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1123( - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1025( - __0, - __temp0, - __3, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1530< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Identifier, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __1.2; - let __temp0 = __action1122( - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1026( - __0, - __temp0, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1531< ->( - __0: (TextSize, token::Tok, TextSize), - __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), - __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Identifier, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __1.0; - let __end0 = __2.2; - let __temp0 = __action1123( - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1026( - __0, - __temp0, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1532< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1126( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action408( - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1533< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1127( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action408( - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1534< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1126( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1128( - __temp0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1535< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1127( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1128( - __temp0, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1536< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1126( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1129( - __temp0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1537< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1127( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1129( - __temp0, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1538< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1136( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action416( - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1539< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1137( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action416( - __temp0, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1540< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1136( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1138( - __temp0, - __1, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1541< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1137( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1138( - __temp0, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1542< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1136( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1139( - __temp0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1543< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), -) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1137( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1139( - __temp0, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1544< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1508( - __0, - __1, - __temp0, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1545< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1508( - __0, - __1, - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1546< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1509( - __0, - __1, - __temp0, - __3, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1547< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1509( - __0, - __1, - __temp0, - __4, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1548< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1510( - __0, - __1, - __temp0, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1549< ->( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind -{ - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1510( - __0, - __1, - __temp0, - __4, - __5, - __6, ) } #[allow(clippy::too_many_arguments)] fn __action1550< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Identifier, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Vec { - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1152( + __1, __2, + __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1511( + __action1026( __0, - __1, __temp0, - __3, __4, __5, - __6, ) } #[allow(clippy::too_many_arguments)] fn __action1551< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Identifier, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> Vec { - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1153( + __1, __2, __3, + __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1511( + __action1026( __0, - __1, __temp0, - __4, __5, __6, - __7, ) } #[allow(clippy::too_many_arguments)] fn __action1552< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> Vec { - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1154( + __1, ); let __temp0 = (__start0, __temp0, __end0); - __action948( + __action1026( __0, - __1, __temp0, + __2, __3, - __4, ) } #[allow(clippy::too_many_arguments)] fn __action1553< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), + __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> Vec { - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1155( + __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action948( + __action1026( __0, - __1, __temp0, + __3, __4, - __5, ) } #[allow(clippy::too_many_arguments)] fn __action1554< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Identifier, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Vec { - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( + let __start0 = __1.0; + let __end0 = __3.2; + let __temp0 = __action1152( + __1, __2, + __3, ); let __temp0 = (__start0, __temp0, __end0); - __action949( + __action1027( __0, - __1, __temp0, - __3, + __4, ) } #[allow(clippy::too_many_arguments)] fn __action1555< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Identifier, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Vec { - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( + let __start0 = __1.0; + let __end0 = __4.2; + let __temp0 = __action1153( + __1, __2, __3, + __4, ); let __temp0 = (__start0, __temp0, __end0); - __action949( + __action1027( __0, - __1, __temp0, - __4, + __5, ) } #[allow(clippy::too_many_arguments)] fn __action1556< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Vec { - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1154( + __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1516( + __action1027( __0, - __1, __temp0, - __3, - __4, - __5, - __6, + __2, ) } #[allow(clippy::too_many_arguments)] fn __action1557< >( - __0: (TextSize, ast::Expr, TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, ast::Identifier, TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, ast::Alias)>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Vec { - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1155( + __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1516( + __action1027( __0, - __1, __temp0, - __4, - __5, - __6, - __7, + __3, ) } @@ -66984,29 +66708,27 @@ fn __action1558< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), + __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __5: (TextSize, token::Tok, TextSize), __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, + let __start0 = __4.0; + let __end0 = __4.2; + let __temp0 = __action1168( + __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1517( + __action972( __0, __1, - __temp0, + __2, __3, - __4, + __temp0, __5, __6, - __7, ) } @@ -67015,31 +66737,29 @@ fn __action1559< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __2: (TextSize, Vec, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1517( - __0, - __1, - __temp0, + let __start0 = __4.0; + let __end0 = __5.2; + let __temp0 = __action1169( __4, __5, + ); + let __temp0 = (__start0, __temp0, __end0); + __action972( + __0, + __1, + __2, + __3, + __temp0, __6, __7, - __8, ) } @@ -67048,24 +66768,24 @@ fn __action1560< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), + __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { - let __start0 = __2.0; - let __end0 = __2.2; - let __temp0 = __action1264( - __2, + let __start0 = __4.0; + let __end0 = __4.2; + let __temp0 = __action1168( + __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1518( + __action973( __0, __1, - __temp0, + __2, __3, - __4, + __temp0, __5, ) } @@ -67075,26 +66795,26 @@ fn __action1561< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __2: (TextSize, Vec, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { - let __start0 = __2.0; - let __end0 = __3.2; - let __temp0 = __action1265( - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1518( - __0, - __1, - __temp0, + let __start0 = __4.0; + let __end0 = __5.2; + let __temp0 = __action1169( __4, __5, + ); + let __temp0 = (__start0, __temp0, __end0); + __action973( + __0, + __1, + __2, + __3, + __temp0, __6, ) } @@ -67104,20 +66824,800 @@ fn __action1562< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, ast::Pattern, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1168( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action976( + __0, + __1, + __temp0, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1563< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1169( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action976( + __0, + __1, + __temp0, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1564< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1168( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action977( + __0, + __1, + __temp0, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1565< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1169( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action977( + __0, + __1, + __temp0, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1566< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Vec, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __4.0; + let __end0 = __4.2; + let __temp0 = __action1168( + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action979( + __0, + __1, + __2, + __3, + __temp0, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1567< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Vec, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), __6: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __4.0; + let __end0 = __5.2; + let __temp0 = __action1169( + __4, + __5, + ); + let __temp0 = (__start0, __temp0, __end0); + __action979( + __0, + __1, + __2, + __3, + __temp0, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1568< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Vec, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __4.0; + let __end0 = __4.2; + let __temp0 = __action1168( + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action980( + __0, + __1, + __2, + __3, + __temp0, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1569< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Vec, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __4.0; + let __end0 = __5.2; + let __temp0 = __action1169( + __4, + __5, + ); + let __temp0 = (__start0, __temp0, __end0); + __action980( + __0, + __1, + __2, + __3, + __temp0, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1570< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action1264( + let __temp0 = __action1168( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1519( + __action983( + __0, + __1, + __temp0, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1571< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1169( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action983( + __0, + __1, + __temp0, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1572< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1168( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action984( + __0, + __1, + __temp0, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1573< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1169( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action984( + __0, + __1, + __temp0, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1574< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1172( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1043( + __0, + __temp0, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1575< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1173( + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1043( + __0, + __temp0, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1576< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1172( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1044( + __0, + __temp0, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1577< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1173( + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1044( + __0, + __temp0, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1578< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Identifier, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1172( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1047( + __0, + __temp0, + __2, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1579< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Identifier, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1173( + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1047( + __0, + __temp0, + __3, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1580< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Identifier, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __1.2; + let __temp0 = __action1172( + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1048( + __0, + __temp0, + __2, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1581< +>( + __0: (TextSize, token::Tok, TextSize), + __1: (TextSize, (ast::Expr, ast::Pattern), TextSize), + __2: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Expr, ast::Pattern))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Identifier, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __1.0; + let __end0 = __2.2; + let __temp0 = __action1173( + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1048( + __0, + __temp0, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1582< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1176( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action408( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1583< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1177( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action408( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1584< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1176( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1178( + __temp0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1585< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1177( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1178( + __temp0, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1586< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1176( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1179( + __temp0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1587< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1177( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1179( + __temp0, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1588< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1186( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action416( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1589< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1187( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action416( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1590< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1186( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1188( + __temp0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1591< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1187( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1188( + __temp0, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1592< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1186( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1189( + __temp0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1593< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> (Vec<(ast::Arg, Option)>, Vec<(ast::Arg, Option)>) +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1187( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1189( + __temp0, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1594< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1558( __0, __1, __temp0, @@ -67129,7 +67629,7 @@ fn __action1562< } #[allow(clippy::too_many_arguments)] -fn __action1563< +fn __action1595< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67137,18 +67637,18 @@ fn __action1563< __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), __7: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1265( + let __temp0 = __action1315( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1519( + __action1558( __0, __1, __temp0, @@ -67160,22 +67660,202 @@ fn __action1563< } #[allow(clippy::too_many_arguments)] -fn __action1564< +fn __action1596< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1559( + __0, + __1, + __temp0, + __3, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1597< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1559( + __0, + __1, + __temp0, + __4, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1598< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1560( + __0, + __1, + __temp0, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1599< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1560( + __0, + __1, + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1600< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1561( + __0, + __1, + __temp0, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1601< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1561( + __0, + __1, + __temp0, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1602< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, ast::Pattern, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action1264( + let __temp0 = __action1314( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action955( + __action974( __0, __1, __temp0, @@ -67185,7 +67865,7 @@ fn __action1564< } #[allow(clippy::too_many_arguments)] -fn __action1565< +fn __action1603< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67193,16 +67873,16 @@ fn __action1565< __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1265( + let __temp0 = __action1315( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action955( + __action974( __0, __1, __temp0, @@ -67212,21 +67892,21 @@ fn __action1565< } #[allow(clippy::too_many_arguments)] -fn __action1566< +fn __action1604< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, ast::Pattern, TextSize), __3: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action1264( + let __temp0 = __action1314( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action956( + __action975( __0, __1, __temp0, @@ -67235,23 +67915,23 @@ fn __action1566< } #[allow(clippy::too_many_arguments)] -fn __action1567< +fn __action1605< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, ast::Pattern, TextSize), __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), __4: (TextSize, token::Tok, TextSize), -) -> ast::PatternKind +) -> ast::Pattern { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1265( + let __temp0 = __action1315( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action956( + __action975( __0, __1, __temp0, @@ -67260,7 +67940,347 @@ fn __action1567< } #[allow(clippy::too_many_arguments)] -fn __action1568< +fn __action1606< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1566( + __0, + __1, + __temp0, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1607< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1566( + __0, + __1, + __temp0, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1608< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1567( + __0, + __1, + __temp0, + __3, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1609< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1567( + __0, + __1, + __temp0, + __4, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1610< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1568( + __0, + __1, + __temp0, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1611< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1568( + __0, + __1, + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1612< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1569( + __0, + __1, + __temp0, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1613< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, (ast::Identifier, ast::Pattern), TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Identifier, ast::Pattern))>, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1569( + __0, + __1, + __temp0, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1614< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action981( + __0, + __1, + __temp0, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1615< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action981( + __0, + __1, + __temp0, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1616< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __2.2; + let __temp0 = __action1314( + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action982( + __0, + __1, + __temp0, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1617< +>( + __0: (TextSize, ast::Expr, TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, ast::Pattern, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, ast::Pattern)>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> ast::Pattern +{ + let __start0 = __2.0; + let __end0 = __3.2; + let __temp0 = __action1315( + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action982( + __0, + __1, + __temp0, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1618< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67270,11 +68290,11 @@ fn __action1568< { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action1264( + let __temp0 = __action1314( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1045( + __action1085( __0, __1, __temp0, @@ -67283,7 +68303,7 @@ fn __action1568< } #[allow(clippy::too_many_arguments)] -fn __action1569< +fn __action1619< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67294,12 +68314,12 @@ fn __action1569< { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1265( + let __temp0 = __action1315( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1045( + __action1085( __0, __1, __temp0, @@ -67308,7 +68328,7 @@ fn __action1569< } #[allow(clippy::too_many_arguments)] -fn __action1570< +fn __action1620< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67317,11 +68337,11 @@ fn __action1570< { let __start0 = __2.0; let __end0 = __2.2; - let __temp0 = __action1264( + let __temp0 = __action1314( __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1046( + __action1086( __0, __1, __temp0, @@ -67329,7 +68349,7 @@ fn __action1570< } #[allow(clippy::too_many_arguments)] -fn __action1571< +fn __action1621< >( __0: (TextSize, ast::Pattern, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67339,12 +68359,12 @@ fn __action1571< { let __start0 = __2.0; let __end0 = __3.2; - let __temp0 = __action1265( + let __temp0 = __action1315( __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1046( + __action1086( __0, __1, __temp0, @@ -67352,7 +68372,7 @@ fn __action1571< } #[allow(clippy::too_many_arguments)] -fn __action1572< +fn __action1622< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67360,18 +68380,18 @@ fn __action1572< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1281( + let __temp0 = __action1331( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action998( + __action1017( __temp0, __1, ) } #[allow(clippy::too_many_arguments)] -fn __action1573< +fn __action1623< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -67380,36 +68400,36 @@ fn __action1573< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1282( + let __temp0 = __action1332( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action998( + __action1017( __temp0, __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1574< +fn __action1624< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Expr { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1281( + let __temp0 = __action1331( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action999( + __action1018( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1575< +fn __action1625< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -67417,18 +68437,18 @@ fn __action1575< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1282( + let __temp0 = __action1332( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action999( + __action1018( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1576< +fn __action1626< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67436,7 +68456,7 @@ fn __action1576< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1285( + let __temp0 = __action1335( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -67447,7 +68467,7 @@ fn __action1576< } #[allow(clippy::too_many_arguments)] -fn __action1577< +fn __action1627< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -67456,7 +68476,7 @@ fn __action1577< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1286( + let __temp0 = __action1336( __0, __1, ); @@ -67468,14 +68488,14 @@ fn __action1577< } #[allow(clippy::too_many_arguments)] -fn __action1578< +fn __action1628< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1285( + let __temp0 = __action1335( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -67485,7 +68505,7 @@ fn __action1578< } #[allow(clippy::too_many_arguments)] -fn __action1579< +fn __action1629< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -67493,7 +68513,7 @@ fn __action1579< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1286( + let __temp0 = __action1336( __0, __1, ); @@ -67504,7 +68524,7 @@ fn __action1579< } #[allow(clippy::too_many_arguments)] -fn __action1580< +fn __action1630< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -67520,11 +68540,11 @@ fn __action1580< { let __start0 = __3.0; let __end0 = __3.2; - let __temp0 = __action1285( + let __temp0 = __action1335( __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1032( + __action1055( __0, __1, __2, @@ -67539,7 +68559,7 @@ fn __action1580< } #[allow(clippy::too_many_arguments)] -fn __action1581< +fn __action1631< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -67556,12 +68576,12 @@ fn __action1581< { let __start0 = __3.0; let __end0 = __4.2; - let __temp0 = __action1286( + let __temp0 = __action1336( __3, __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1032( + __action1055( __0, __1, __2, @@ -67576,7 +68596,7 @@ fn __action1581< } #[allow(clippy::too_many_arguments)] -fn __action1582< +fn __action1632< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -67591,11 +68611,11 @@ fn __action1582< { let __start0 = __3.0; let __end0 = __3.2; - let __temp0 = __action1285( + let __temp0 = __action1335( __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1033( + __action1056( __0, __1, __2, @@ -67609,7 +68629,7 @@ fn __action1582< } #[allow(clippy::too_many_arguments)] -fn __action1583< +fn __action1633< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -67625,12 +68645,12 @@ fn __action1583< { let __start0 = __3.0; let __end0 = __4.2; - let __temp0 = __action1286( + let __temp0 = __action1336( __3, __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1033( + __action1056( __0, __1, __2, @@ -67644,7 +68664,7 @@ fn __action1583< } #[allow(clippy::too_many_arguments)] -fn __action1584< +fn __action1634< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67652,7 +68672,7 @@ fn __action1584< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1285( + let __temp0 = __action1335( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -67663,7 +68683,7 @@ fn __action1584< } #[allow(clippy::too_many_arguments)] -fn __action1585< +fn __action1635< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -67672,7 +68692,7 @@ fn __action1585< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1286( + let __temp0 = __action1336( __0, __1, ); @@ -67684,14 +68704,14 @@ fn __action1585< } #[allow(clippy::too_many_arguments)] -fn __action1586< +fn __action1636< >( __0: (TextSize, ast::Expr, TextSize), ) -> Vec { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1285( + let __temp0 = __action1335( __0, ); let __temp0 = (__start0, __temp0, __end0); @@ -67701,7 +68721,7 @@ fn __action1586< } #[allow(clippy::too_many_arguments)] -fn __action1587< +fn __action1637< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, ast::Expr)>, TextSize), @@ -67709,7 +68729,7 @@ fn __action1587< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1286( + let __temp0 = __action1336( __0, __1, ); @@ -67720,7 +68740,7 @@ fn __action1587< } #[allow(clippy::too_many_arguments)] -fn __action1588< +fn __action1638< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67733,11 +68753,11 @@ fn __action1588< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1532( + let __temp0 = __action1582( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1184( + __action1234( __temp0, __1, __2, @@ -67749,7 +68769,7 @@ fn __action1588< } #[allow(clippy::too_many_arguments)] -fn __action1589< +fn __action1639< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -67763,12 +68783,12 @@ fn __action1589< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1533( + let __temp0 = __action1583( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1184( + __action1234( __temp0, __2, __3, @@ -67780,7 +68800,7 @@ fn __action1589< } #[allow(clippy::too_many_arguments)] -fn __action1590< +fn __action1640< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67795,13 +68815,13 @@ fn __action1590< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1534( + let __temp0 = __action1584( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1184( + __action1234( __temp0, __3, __4, @@ -67813,7 +68833,7 @@ fn __action1590< } #[allow(clippy::too_many_arguments)] -fn __action1591< +fn __action1641< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -67829,14 +68849,14 @@ fn __action1591< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1535( + let __temp0 = __action1585( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1184( + __action1234( __temp0, __4, __5, @@ -67848,7 +68868,7 @@ fn __action1591< } #[allow(clippy::too_many_arguments)] -fn __action1592< +fn __action1642< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67864,14 +68884,14 @@ fn __action1592< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1536( + let __temp0 = __action1586( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1184( + __action1234( __temp0, __4, __5, @@ -67883,7 +68903,7 @@ fn __action1592< } #[allow(clippy::too_many_arguments)] -fn __action1593< +fn __action1643< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -67900,7 +68920,7 @@ fn __action1593< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1537( + let __temp0 = __action1587( __0, __1, __2, @@ -67908,7 +68928,7 @@ fn __action1593< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1184( + __action1234( __temp0, __5, __6, @@ -67920,7 +68940,7 @@ fn __action1593< } #[allow(clippy::too_many_arguments)] -fn __action1594< +fn __action1644< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67932,11 +68952,11 @@ fn __action1594< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1532( + let __temp0 = __action1582( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1185( + __action1235( __temp0, __1, __2, @@ -67947,7 +68967,7 @@ fn __action1594< } #[allow(clippy::too_many_arguments)] -fn __action1595< +fn __action1645< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -67960,12 +68980,12 @@ fn __action1595< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1533( + let __temp0 = __action1583( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1185( + __action1235( __temp0, __2, __3, @@ -67976,7 +68996,7 @@ fn __action1595< } #[allow(clippy::too_many_arguments)] -fn __action1596< +fn __action1646< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -67990,13 +69010,13 @@ fn __action1596< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1534( + let __temp0 = __action1584( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1185( + __action1235( __temp0, __3, __4, @@ -68007,7 +69027,7 @@ fn __action1596< } #[allow(clippy::too_many_arguments)] -fn __action1597< +fn __action1647< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68022,14 +69042,14 @@ fn __action1597< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1535( + let __temp0 = __action1585( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1185( + __action1235( __temp0, __4, __5, @@ -68040,7 +69060,7 @@ fn __action1597< } #[allow(clippy::too_many_arguments)] -fn __action1598< +fn __action1648< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68055,14 +69075,14 @@ fn __action1598< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1536( + let __temp0 = __action1586( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1185( + __action1235( __temp0, __4, __5, @@ -68073,7 +69093,7 @@ fn __action1598< } #[allow(clippy::too_many_arguments)] -fn __action1599< +fn __action1649< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68089,7 +69109,7 @@ fn __action1599< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1537( + let __temp0 = __action1587( __0, __1, __2, @@ -68097,7 +69117,7 @@ fn __action1599< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1185( + __action1235( __temp0, __5, __6, @@ -68108,7 +69128,7 @@ fn __action1599< } #[allow(clippy::too_many_arguments)] -fn __action1600< +fn __action1650< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68122,11 +69142,11 @@ fn __action1600< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1532( + let __temp0 = __action1582( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1186( + __action1236( __temp0, __1, __2, @@ -68139,7 +69159,7 @@ fn __action1600< } #[allow(clippy::too_many_arguments)] -fn __action1601< +fn __action1651< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68154,12 +69174,12 @@ fn __action1601< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1533( + let __temp0 = __action1583( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1186( + __action1236( __temp0, __2, __3, @@ -68172,7 +69192,7 @@ fn __action1601< } #[allow(clippy::too_many_arguments)] -fn __action1602< +fn __action1652< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68188,13 +69208,13 @@ fn __action1602< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1534( + let __temp0 = __action1584( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1186( + __action1236( __temp0, __3, __4, @@ -68207,7 +69227,7 @@ fn __action1602< } #[allow(clippy::too_many_arguments)] -fn __action1603< +fn __action1653< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68224,14 +69244,14 @@ fn __action1603< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1535( + let __temp0 = __action1585( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1186( + __action1236( __temp0, __4, __5, @@ -68244,7 +69264,7 @@ fn __action1603< } #[allow(clippy::too_many_arguments)] -fn __action1604< +fn __action1654< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68261,14 +69281,14 @@ fn __action1604< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1536( + let __temp0 = __action1586( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1186( + __action1236( __temp0, __4, __5, @@ -68281,7 +69301,7 @@ fn __action1604< } #[allow(clippy::too_many_arguments)] -fn __action1605< +fn __action1655< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68299,7 +69319,7 @@ fn __action1605< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1537( + let __temp0 = __action1587( __0, __1, __2, @@ -68307,7 +69327,7 @@ fn __action1605< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1186( + __action1236( __temp0, __5, __6, @@ -68320,7 +69340,7 @@ fn __action1605< } #[allow(clippy::too_many_arguments)] -fn __action1606< +fn __action1656< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68333,11 +69353,11 @@ fn __action1606< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1532( + let __temp0 = __action1582( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1187( + __action1237( __temp0, __1, __2, @@ -68349,7 +69369,7 @@ fn __action1606< } #[allow(clippy::too_many_arguments)] -fn __action1607< +fn __action1657< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68363,12 +69383,12 @@ fn __action1607< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1533( + let __temp0 = __action1583( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1187( + __action1237( __temp0, __2, __3, @@ -68380,7 +69400,7 @@ fn __action1607< } #[allow(clippy::too_many_arguments)] -fn __action1608< +fn __action1658< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68395,13 +69415,13 @@ fn __action1608< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1534( + let __temp0 = __action1584( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1187( + __action1237( __temp0, __3, __4, @@ -68413,7 +69433,7 @@ fn __action1608< } #[allow(clippy::too_many_arguments)] -fn __action1609< +fn __action1659< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68429,14 +69449,14 @@ fn __action1609< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1535( + let __temp0 = __action1585( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1187( + __action1237( __temp0, __4, __5, @@ -68448,7 +69468,7 @@ fn __action1609< } #[allow(clippy::too_many_arguments)] -fn __action1610< +fn __action1660< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -68464,14 +69484,14 @@ fn __action1610< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1536( + let __temp0 = __action1586( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1187( + __action1237( __temp0, __4, __5, @@ -68483,7 +69503,7 @@ fn __action1610< } #[allow(clippy::too_many_arguments)] -fn __action1611< +fn __action1661< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -68500,7 +69520,7 @@ fn __action1611< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1537( + let __temp0 = __action1587( __0, __1, __2, @@ -68508,7 +69528,7 @@ fn __action1611< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1187( + __action1237( __temp0, __5, __6, @@ -68519,1498 +69539,28 @@ fn __action1611< ) } -#[allow(clippy::too_many_arguments)] -fn __action1612< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1188( - __temp0, - __1, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1613< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Arg, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1188( - __temp0, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1614< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Arg, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1188( - __temp0, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1615< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1188( - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1616< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1188( - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1617< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, ast::Arg, TextSize), - __8: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1188( - __temp0, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1618< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1189( - __temp0, - __1, - __2, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1619< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1189( - __temp0, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1620< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1189( - __temp0, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1621< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1189( - __temp0, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1622< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1189( - __temp0, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1623< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1189( - __temp0, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1624< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1190( - __temp0, - __1, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1625< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Arg, TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1190( - __temp0, - __2, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1626< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Arg, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1190( - __temp0, - __3, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1627< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __8: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1190( - __temp0, - __4, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1628< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __8: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1190( - __temp0, - __4, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1629< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, ast::Arg, TextSize), - __8: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __9: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1190( - __temp0, - __5, - __6, - __7, - __8, - __9, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1630< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1191( - __temp0, - __1, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1631< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1191( - __temp0, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1632< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __6: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1191( - __temp0, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1633< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1191( - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1634< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __7: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1191( - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1635< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __8: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1191( - __temp0, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1636< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1192( - __temp0, - __1, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1637< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1192( - __temp0, - __2, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1638< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1192( - __temp0, - __3, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1639< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1192( - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1640< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1192( - __temp0, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1641< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1192( - __temp0, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1642< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1193( - __temp0, - __1, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1643< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Arg, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1193( - __temp0, - __2, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1644< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Arg, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1193( - __temp0, - __3, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1645< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1193( - __temp0, - __4, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1646< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1193( - __temp0, - __4, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1647< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, ast::Arg, TextSize), - __8: (TextSize, token::Tok, TextSize), - __9: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1193( - __temp0, - __5, - __6, - __7, - __8, - __9, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1648< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1194( - __temp0, - __1, - __2, - __3, - __4, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1649< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1194( - __temp0, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1650< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1194( - __temp0, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1651< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1194( - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1652< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1194( - __temp0, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1653< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1194( - __temp0, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1654< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1195( - __temp0, - __1, - __2, - __3, - __4, - __5, - __6, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1655< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Arg, TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1195( - __temp0, - __2, - __3, - __4, - __5, - __6, - __7, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1656< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Arg, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( - __0, - __1, - __2, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1195( - __temp0, - __3, - __4, - __5, - __6, - __7, - __8, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1657< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __8: (TextSize, token::Tok, TextSize), - __9: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1195( - __temp0, - __4, - __5, - __6, - __7, - __8, - __9, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1658< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __8: (TextSize, token::Tok, TextSize), - __9: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( - __0, - __1, - __2, - __3, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1195( - __temp0, - __4, - __5, - __6, - __7, - __8, - __9, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1659< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, ast::Arg, TextSize), - __8: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __9: (TextSize, token::Tok, TextSize), - __10: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( - __0, - __1, - __2, - __3, - __4, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1195( - __temp0, - __5, - __6, - __7, - __8, - __9, - __10, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1660< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( - __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1196( - __temp0, - __1, - __2, - __3, - __4, - __5, - ) -} - -#[allow(clippy::too_many_arguments)] -fn __action1661< ->( - __0: (TextSize, (ast::Arg, Option), TextSize), - __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), -) -> Result> -{ - let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( - __0, - __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1196( - __temp0, - __2, - __3, - __4, - __5, - __6, - ) -} - #[allow(clippy::too_many_arguments)] fn __action1662< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1196( + __action1238( __temp0, + __1, + __2, __3, __4, - __5, - __6, - __7, ) } @@ -70021,29 +69571,23 @@ fn __action1663< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Arg, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1196( + __action1238( __temp0, + __2, + __3, __4, __5, - __6, - __7, - __8, ) } @@ -70053,30 +69597,26 @@ fn __action1664< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __7: (TextSize, token::Tok, TextSize), - __8: (TextSize, Option>, TextSize), + __5: (TextSize, ast::Arg, TextSize), + __6: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1196( + __action1238( __temp0, + __3, __4, __5, __6, - __7, - __8, ) } @@ -70087,31 +69627,27 @@ fn __action1665< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __8: (TextSize, token::Tok, TextSize), - __9: (TextSize, Option>, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1196( + __action1238( __temp0, + __4, __5, __6, __7, - __8, - __9, ) } @@ -70121,20 +69657,28 @@ fn __action1666< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1197( - __temp0, __1, __2, __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1238( + __temp0, + __4, + __5, + __6, + __7, ) } @@ -70145,21 +69689,29 @@ fn __action1667< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, ast::Arg, TextSize), + __8: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( + let __end0 = __4.2; + let __temp0 = __action1587( __0, __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1197( - __temp0, __2, __3, __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1238( + __temp0, + __5, + __6, + __7, + __8, ) } @@ -70170,23 +69722,19 @@ fn __action1668< __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Arg, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1197( + __action1239( __temp0, + __1, + __2, __3, - __4, - __5, ) } @@ -70198,24 +69746,20 @@ fn __action1669< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1197( + __action1239( __temp0, + __2, + __3, __4, - __5, - __6, ) } @@ -70225,26 +69769,24 @@ fn __action1670< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1197( + __action1239( __temp0, + __3, __4, __5, - __6, ) } @@ -70255,27 +69797,25 @@ fn __action1671< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, ast::Arg, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1197( + __action1239( __temp0, + __4, __5, __6, - __7, ) } @@ -70285,18 +69825,26 @@ fn __action1672< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1198( - __temp0, __1, __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1239( + __temp0, + __4, + __5, + __6, ) } @@ -70307,19 +69855,27 @@ fn __action1673< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( + let __end0 = __4.2; + let __temp0 = __action1587( __0, __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1198( - __temp0, __2, __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1239( + __temp0, + __5, + __6, + __7, ) } @@ -70329,22 +69885,24 @@ fn __action1674< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1198( + __action1240( __temp0, + __1, + __2, __3, __4, + __5, ) } @@ -70355,23 +69913,25 @@ fn __action1675< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Arg, TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __6: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1198( + __action1240( __temp0, + __2, + __3, __4, __5, + __6, ) } @@ -70381,24 +69941,28 @@ fn __action1676< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Arg, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __7: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1198( + __action1240( __temp0, + __3, __4, __5, + __6, + __7, ) } @@ -70409,25 +69973,29 @@ fn __action1677< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __8: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1198( + __action1240( __temp0, + __4, __5, __6, + __7, + __8, ) } @@ -70437,22 +70005,30 @@ fn __action1678< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, ast::Arg, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __8: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1199( - __temp0, __1, __2, __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1240( + __temp0, __4, + __5, + __6, + __7, + __8, ) } @@ -70463,23 +70039,31 @@ fn __action1679< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, ast::Arg, TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, ast::Arg, TextSize), + __8: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __9: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( + let __end0 = __4.2; + let __temp0 = __action1587( __0, __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1199( - __temp0, __2, __3, __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1240( + __temp0, __5, + __6, + __7, + __8, + __9, ) } @@ -70489,26 +70073,22 @@ fn __action1680< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, ast::Arg, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1199( + __action1241( __temp0, + __1, + __2, __3, __4, - __5, - __6, ) } @@ -70519,27 +70099,23 @@ fn __action1681< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1199( + __action1241( __temp0, + __2, + __3, __4, __5, - __6, - __7, ) } @@ -70549,28 +70125,26 @@ fn __action1682< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, ast::Arg, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __6: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1199( + __action1241( __temp0, + __3, __4, __5, __6, - __7, ) } @@ -70581,29 +70155,27 @@ fn __action1683< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, ast::Arg, TextSize), - __8: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __7: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1199( + __action1241( __temp0, + __4, __5, __6, __7, - __8, ) } @@ -70614,19 +70186,27 @@ fn __action1684< __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __7: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1200( - __temp0, __1, __2, __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1241( + __temp0, + __4, + __5, + __6, + __7, ) } @@ -70638,20 +70218,28 @@ fn __action1685< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __8: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( + let __end0 = __4.2; + let __temp0 = __action1587( __0, __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1200( - __temp0, __2, __3, __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1241( + __temp0, + __5, + __6, + __7, + __8, ) } @@ -70660,25 +70248,17 @@ fn __action1686< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1200( + __action1242( __temp0, - __3, - __4, - __5, + __1, ) } @@ -70688,26 +70268,18 @@ fn __action1687< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1200( + __action1242( __temp0, - __4, - __5, - __6, + __2, ) } @@ -70717,26 +70289,20 @@ fn __action1688< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1200( + __action1242( __temp0, - __4, - __5, - __6, + __3, ) } @@ -70747,27 +70313,21 @@ fn __action1689< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), - __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, token::Tok, TextSize), - __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1200( + __action1242( __temp0, - __5, - __6, - __7, + __4, ) } @@ -70775,16 +70335,24 @@ fn __action1689< fn __action1690< >( __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, + __1, + __2, + __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1201( + __action1242( __temp0, + __4, ) } @@ -70793,17 +70361,25 @@ fn __action1691< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( + let __end0 = __4.2; + let __temp0 = __action1587( __0, __1, + __2, + __3, + __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1201( + __action1242( __temp0, + __5, ) } @@ -70813,18 +70389,24 @@ fn __action1692< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1201( + __action1243( __temp0, + __1, + __2, + __3, + __4, + __5, ) } @@ -70835,19 +70417,25 @@ fn __action1693< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Arg, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1201( + __action1243( __temp0, + __2, + __3, + __4, + __5, + __6, ) } @@ -70857,20 +70445,28 @@ fn __action1694< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Arg, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1201( + __action1243( __temp0, + __3, + __4, + __5, + __6, + __7, ) } @@ -70881,21 +70477,29 @@ fn __action1695< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1201( + __action1243( __temp0, + __4, + __5, + __6, + __7, + __8, ) } @@ -70904,21 +70508,31 @@ fn __action1696< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), - __3: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1107( - __temp0, __1, __2, __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1243( + __temp0, + __4, + __5, + __6, + __7, + __8, ) } @@ -70928,22 +70542,32 @@ fn __action1697< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), - __4: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, ast::Arg, TextSize), + __8: (TextSize, token::Tok, TextSize), + __9: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __1.2; - let __temp0 = __action1533( + let __end0 = __4.2; + let __temp0 = __action1587( __0, __1, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1107( - __temp0, __2, __3, __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1243( + __temp0, + __5, + __6, + __7, + __8, + __9, ) } @@ -70955,22 +70579,20 @@ fn __action1698< __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), __4: (TextSize, Option>, TextSize), - __5: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __2.2; - let __temp0 = __action1534( + let __end0 = __0.2; + let __temp0 = __action1582( __0, - __1, - __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1107( + __action1244( __temp0, + __1, + __2, __3, __4, - __5, ) } @@ -70983,23 +70605,21 @@ fn __action1699< __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), __5: (TextSize, Option>, TextSize), - __6: (TextSize, token::Tok, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1535( + let __end0 = __1.2; + let __temp0 = __action1583( __0, __1, - __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1107( + __action1244( __temp0, + __2, + __3, __4, __5, - __6, ) } @@ -71009,23 +70629,23 @@ fn __action1700< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __3: (TextSize, token::Tok, TextSize), __4: (TextSize, token::Tok, TextSize), - __5: (TextSize, Option>, TextSize), - __6: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __3.2; - let __temp0 = __action1536( + let __end0 = __2.2; + let __temp0 = __action1584( __0, __1, __2, - __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1107( + __action1244( __temp0, + __3, __4, __5, __6, @@ -71039,24 +70659,24 @@ fn __action1701< __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), __3: (TextSize, token::Tok, TextSize), - __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), __5: (TextSize, token::Tok, TextSize), - __6: (TextSize, Option>, TextSize), - __7: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __4.2; - let __temp0 = __action1537( + let __end0 = __3.2; + let __temp0 = __action1585( __0, __1, __2, __3, - __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1107( + __action1244( __temp0, + __4, __5, __6, __7, @@ -71068,19 +70688,29 @@ fn __action1702< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), - __2: (TextSize, Option>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; - let __end0 = __0.2; - let __temp0 = __action1532( + let __end0 = __3.2; + let __temp0 = __action1586( __0, - ); - let __temp0 = (__start0, __temp0, __end0); - __action1108( - __temp0, __1, __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1244( + __temp0, + __4, + __5, + __6, + __7, ) } @@ -71090,17 +70720,623 @@ fn __action1703< __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), __2: (TextSize, token::Tok, TextSize), - __3: (TextSize, Option>, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1244( + __temp0, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1704< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1245( + __temp0, + __1, + __2, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1705< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Arg, TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, Option>, TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1533( + let __temp0 = __action1583( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1108( + __action1245( + __temp0, + __2, + __3, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1706< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Arg, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1245( + __temp0, + __3, + __4, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1707< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __8: (TextSize, token::Tok, TextSize), + __9: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1245( + __temp0, + __4, + __5, + __6, + __7, + __8, + __9, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1708< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __8: (TextSize, token::Tok, TextSize), + __9: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1245( + __temp0, + __4, + __5, + __6, + __7, + __8, + __9, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1709< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, ast::Arg, TextSize), + __8: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __9: (TextSize, token::Tok, TextSize), + __10: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1245( + __temp0, + __5, + __6, + __7, + __8, + __9, + __10, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1710< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1246( + __temp0, + __1, + __2, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1711< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1246( + __temp0, + __2, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1712< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1246( + __temp0, + __3, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1713< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1246( + __temp0, + __4, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1714< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __7: (TextSize, token::Tok, TextSize), + __8: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1246( + __temp0, + __4, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1715< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __8: (TextSize, token::Tok, TextSize), + __9: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1246( + __temp0, + __5, + __6, + __7, + __8, + __9, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1716< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1247( + __temp0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1717< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1247( + __temp0, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1718< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1247( + __temp0, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1719< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1247( + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1720< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1247( + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1721< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, ast::Arg, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1247( + __temp0, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1722< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1248( + __temp0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1723< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1248( __temp0, __2, __3, @@ -71108,7 +71344,791 @@ fn __action1703< } #[allow(clippy::too_many_arguments)] -fn __action1704< +fn __action1724< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1248( + __temp0, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1725< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1248( + __temp0, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1726< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1248( + __temp0, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1727< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1248( + __temp0, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1728< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, ast::Arg, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1249( + __temp0, + __1, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1729< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, ast::Arg, TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1249( + __temp0, + __2, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1730< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, ast::Arg, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1249( + __temp0, + __3, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1731< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1249( + __temp0, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1732< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, ast::Arg, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1249( + __temp0, + __4, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1733< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, ast::Arg, TextSize), + __8: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1249( + __temp0, + __5, + __6, + __7, + __8, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1734< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1250( + __temp0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1735< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1250( + __temp0, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1736< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1250( + __temp0, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1737< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1250( + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1738< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1250( + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1739< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, token::Tok, TextSize), + __7: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1250( + __temp0, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1740< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1251( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1741< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1251( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1742< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1251( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1743< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1251( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1744< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1251( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1745< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1251( + __temp0, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1746< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Option>, TextSize), + __3: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1157( + __temp0, + __1, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1747< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), + __4: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1157( + __temp0, + __2, + __3, + __4, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1748< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, Option>, TextSize), + __5: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __2.2; + let __temp0 = __action1584( + __0, + __1, + __2, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1157( + __temp0, + __3, + __4, + __5, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1749< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1585( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1157( + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1750< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __4: (TextSize, token::Tok, TextSize), + __5: (TextSize, Option>, TextSize), + __6: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __3.2; + let __temp0 = __action1586( + __0, + __1, + __2, + __3, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1157( + __temp0, + __4, + __5, + __6, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1751< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, token::Tok, TextSize), + __4: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __5: (TextSize, token::Tok, TextSize), + __6: (TextSize, Option>, TextSize), + __7: (TextSize, token::Tok, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __4.2; + let __temp0 = __action1587( + __0, + __1, + __2, + __3, + __4, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1157( + __temp0, + __5, + __6, + __7, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1752< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, token::Tok, TextSize), + __2: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __0.2; + let __temp0 = __action1582( + __0, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1158( + __temp0, + __1, + __2, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1753< +>( + __0: (TextSize, (ast::Arg, Option), TextSize), + __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), + __2: (TextSize, token::Tok, TextSize), + __3: (TextSize, Option>, TextSize), +) -> Result> +{ + let __start0 = __0.0; + let __end0 = __1.2; + let __temp0 = __action1583( + __0, + __1, + ); + let __temp0 = (__start0, __temp0, __end0); + __action1158( + __temp0, + __2, + __3, + ) +} + +#[allow(clippy::too_many_arguments)] +fn __action1754< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71119,13 +72139,13 @@ fn __action1704< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1534( + let __temp0 = __action1584( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1108( + __action1158( __temp0, __3, __4, @@ -71133,7 +72153,7 @@ fn __action1704< } #[allow(clippy::too_many_arguments)] -fn __action1705< +fn __action1755< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71145,14 +72165,14 @@ fn __action1705< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1535( + let __temp0 = __action1585( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1108( + __action1158( __temp0, __4, __5, @@ -71160,7 +72180,7 @@ fn __action1705< } #[allow(clippy::too_many_arguments)] -fn __action1706< +fn __action1756< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71172,14 +72192,14 @@ fn __action1706< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1536( + let __temp0 = __action1586( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1108( + __action1158( __temp0, __4, __5, @@ -71187,7 +72207,7 @@ fn __action1706< } #[allow(clippy::too_many_arguments)] -fn __action1707< +fn __action1757< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71200,7 +72220,7 @@ fn __action1707< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1537( + let __temp0 = __action1587( __0, __1, __2, @@ -71208,7 +72228,7 @@ fn __action1707< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1108( + __action1158( __temp0, __5, __6, @@ -71216,7 +72236,7 @@ fn __action1707< } #[allow(clippy::too_many_arguments)] -fn __action1708< +fn __action1758< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71229,11 +72249,11 @@ fn __action1708< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1244( + __action1294( __temp0, __1, __2, @@ -71245,7 +72265,7 @@ fn __action1708< } #[allow(clippy::too_many_arguments)] -fn __action1709< +fn __action1759< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71259,12 +72279,12 @@ fn __action1709< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1244( + __action1294( __temp0, __2, __3, @@ -71276,7 +72296,7 @@ fn __action1709< } #[allow(clippy::too_many_arguments)] -fn __action1710< +fn __action1760< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71291,13 +72311,13 @@ fn __action1710< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1244( + __action1294( __temp0, __3, __4, @@ -71309,7 +72329,7 @@ fn __action1710< } #[allow(clippy::too_many_arguments)] -fn __action1711< +fn __action1761< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71325,14 +72345,14 @@ fn __action1711< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1244( + __action1294( __temp0, __4, __5, @@ -71344,7 +72364,7 @@ fn __action1711< } #[allow(clippy::too_many_arguments)] -fn __action1712< +fn __action1762< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71360,14 +72380,14 @@ fn __action1712< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1244( + __action1294( __temp0, __4, __5, @@ -71379,7 +72399,7 @@ fn __action1712< } #[allow(clippy::too_many_arguments)] -fn __action1713< +fn __action1763< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71396,7 +72416,7 @@ fn __action1713< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -71404,7 +72424,7 @@ fn __action1713< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1244( + __action1294( __temp0, __5, __6, @@ -71416,7 +72436,7 @@ fn __action1713< } #[allow(clippy::too_many_arguments)] -fn __action1714< +fn __action1764< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71428,11 +72448,11 @@ fn __action1714< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1245( + __action1295( __temp0, __1, __2, @@ -71443,7 +72463,7 @@ fn __action1714< } #[allow(clippy::too_many_arguments)] -fn __action1715< +fn __action1765< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71456,12 +72476,12 @@ fn __action1715< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1245( + __action1295( __temp0, __2, __3, @@ -71472,7 +72492,7 @@ fn __action1715< } #[allow(clippy::too_many_arguments)] -fn __action1716< +fn __action1766< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71486,13 +72506,13 @@ fn __action1716< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1245( + __action1295( __temp0, __3, __4, @@ -71503,7 +72523,7 @@ fn __action1716< } #[allow(clippy::too_many_arguments)] -fn __action1717< +fn __action1767< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71518,14 +72538,14 @@ fn __action1717< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1245( + __action1295( __temp0, __4, __5, @@ -71536,7 +72556,7 @@ fn __action1717< } #[allow(clippy::too_many_arguments)] -fn __action1718< +fn __action1768< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71551,14 +72571,14 @@ fn __action1718< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1245( + __action1295( __temp0, __4, __5, @@ -71569,7 +72589,7 @@ fn __action1718< } #[allow(clippy::too_many_arguments)] -fn __action1719< +fn __action1769< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71585,7 +72605,7 @@ fn __action1719< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -71593,7 +72613,7 @@ fn __action1719< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1245( + __action1295( __temp0, __5, __6, @@ -71604,7 +72624,7 @@ fn __action1719< } #[allow(clippy::too_many_arguments)] -fn __action1720< +fn __action1770< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71618,11 +72638,11 @@ fn __action1720< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1246( + __action1296( __temp0, __1, __2, @@ -71635,7 +72655,7 @@ fn __action1720< } #[allow(clippy::too_many_arguments)] -fn __action1721< +fn __action1771< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71650,12 +72670,12 @@ fn __action1721< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1246( + __action1296( __temp0, __2, __3, @@ -71668,7 +72688,7 @@ fn __action1721< } #[allow(clippy::too_many_arguments)] -fn __action1722< +fn __action1772< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71684,13 +72704,13 @@ fn __action1722< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1246( + __action1296( __temp0, __3, __4, @@ -71703,7 +72723,7 @@ fn __action1722< } #[allow(clippy::too_many_arguments)] -fn __action1723< +fn __action1773< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71720,14 +72740,14 @@ fn __action1723< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1246( + __action1296( __temp0, __4, __5, @@ -71740,7 +72760,7 @@ fn __action1723< } #[allow(clippy::too_many_arguments)] -fn __action1724< +fn __action1774< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71757,14 +72777,14 @@ fn __action1724< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1246( + __action1296( __temp0, __4, __5, @@ -71777,7 +72797,7 @@ fn __action1724< } #[allow(clippy::too_many_arguments)] -fn __action1725< +fn __action1775< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71795,7 +72815,7 @@ fn __action1725< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -71803,7 +72823,7 @@ fn __action1725< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1246( + __action1296( __temp0, __5, __6, @@ -71816,7 +72836,7 @@ fn __action1725< } #[allow(clippy::too_many_arguments)] -fn __action1726< +fn __action1776< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71829,11 +72849,11 @@ fn __action1726< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1247( + __action1297( __temp0, __1, __2, @@ -71845,7 +72865,7 @@ fn __action1726< } #[allow(clippy::too_many_arguments)] -fn __action1727< +fn __action1777< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71859,12 +72879,12 @@ fn __action1727< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1247( + __action1297( __temp0, __2, __3, @@ -71876,7 +72896,7 @@ fn __action1727< } #[allow(clippy::too_many_arguments)] -fn __action1728< +fn __action1778< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71891,13 +72911,13 @@ fn __action1728< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1247( + __action1297( __temp0, __3, __4, @@ -71909,7 +72929,7 @@ fn __action1728< } #[allow(clippy::too_many_arguments)] -fn __action1729< +fn __action1779< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71925,14 +72945,14 @@ fn __action1729< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1247( + __action1297( __temp0, __4, __5, @@ -71944,7 +72964,7 @@ fn __action1729< } #[allow(clippy::too_many_arguments)] -fn __action1730< +fn __action1780< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -71960,14 +72980,14 @@ fn __action1730< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1247( + __action1297( __temp0, __4, __5, @@ -71979,7 +72999,7 @@ fn __action1730< } #[allow(clippy::too_many_arguments)] -fn __action1731< +fn __action1781< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -71996,7 +73016,7 @@ fn __action1731< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -72004,7 +73024,7 @@ fn __action1731< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1247( + __action1297( __temp0, __5, __6, @@ -72016,7 +73036,7 @@ fn __action1731< } #[allow(clippy::too_many_arguments)] -fn __action1732< +fn __action1782< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72027,11 +73047,11 @@ fn __action1732< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1248( + __action1298( __temp0, __1, __2, @@ -72041,7 +73061,7 @@ fn __action1732< } #[allow(clippy::too_many_arguments)] -fn __action1733< +fn __action1783< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72053,12 +73073,12 @@ fn __action1733< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1248( + __action1298( __temp0, __2, __3, @@ -72068,7 +73088,7 @@ fn __action1733< } #[allow(clippy::too_many_arguments)] -fn __action1734< +fn __action1784< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72081,13 +73101,13 @@ fn __action1734< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1248( + __action1298( __temp0, __3, __4, @@ -72097,7 +73117,7 @@ fn __action1734< } #[allow(clippy::too_many_arguments)] -fn __action1735< +fn __action1785< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72111,14 +73131,14 @@ fn __action1735< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1248( + __action1298( __temp0, __4, __5, @@ -72128,7 +73148,7 @@ fn __action1735< } #[allow(clippy::too_many_arguments)] -fn __action1736< +fn __action1786< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72142,14 +73162,14 @@ fn __action1736< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1248( + __action1298( __temp0, __4, __5, @@ -72159,7 +73179,7 @@ fn __action1736< } #[allow(clippy::too_many_arguments)] -fn __action1737< +fn __action1787< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72174,7 +73194,7 @@ fn __action1737< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -72182,7 +73202,7 @@ fn __action1737< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1248( + __action1298( __temp0, __5, __6, @@ -72192,7 +73212,7 @@ fn __action1737< } #[allow(clippy::too_many_arguments)] -fn __action1738< +fn __action1788< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72202,11 +73222,11 @@ fn __action1738< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1249( + __action1299( __temp0, __1, __2, @@ -72215,7 +73235,7 @@ fn __action1738< } #[allow(clippy::too_many_arguments)] -fn __action1739< +fn __action1789< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72226,12 +73246,12 @@ fn __action1739< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1249( + __action1299( __temp0, __2, __3, @@ -72240,7 +73260,7 @@ fn __action1739< } #[allow(clippy::too_many_arguments)] -fn __action1740< +fn __action1790< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72252,13 +73272,13 @@ fn __action1740< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1249( + __action1299( __temp0, __3, __4, @@ -72267,7 +73287,7 @@ fn __action1740< } #[allow(clippy::too_many_arguments)] -fn __action1741< +fn __action1791< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72280,14 +73300,14 @@ fn __action1741< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1249( + __action1299( __temp0, __4, __5, @@ -72296,7 +73316,7 @@ fn __action1741< } #[allow(clippy::too_many_arguments)] -fn __action1742< +fn __action1792< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72309,14 +73329,14 @@ fn __action1742< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1249( + __action1299( __temp0, __4, __5, @@ -72325,7 +73345,7 @@ fn __action1742< } #[allow(clippy::too_many_arguments)] -fn __action1743< +fn __action1793< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72339,7 +73359,7 @@ fn __action1743< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -72347,7 +73367,7 @@ fn __action1743< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1249( + __action1299( __temp0, __5, __6, @@ -72356,7 +73376,7 @@ fn __action1743< } #[allow(clippy::too_many_arguments)] -fn __action1744< +fn __action1794< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72368,11 +73388,11 @@ fn __action1744< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1250( + __action1300( __temp0, __1, __2, @@ -72383,7 +73403,7 @@ fn __action1744< } #[allow(clippy::too_many_arguments)] -fn __action1745< +fn __action1795< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72396,12 +73416,12 @@ fn __action1745< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1250( + __action1300( __temp0, __2, __3, @@ -72412,7 +73432,7 @@ fn __action1745< } #[allow(clippy::too_many_arguments)] -fn __action1746< +fn __action1796< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72426,13 +73446,13 @@ fn __action1746< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1250( + __action1300( __temp0, __3, __4, @@ -72443,7 +73463,7 @@ fn __action1746< } #[allow(clippy::too_many_arguments)] -fn __action1747< +fn __action1797< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72458,14 +73478,14 @@ fn __action1747< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1250( + __action1300( __temp0, __4, __5, @@ -72476,7 +73496,7 @@ fn __action1747< } #[allow(clippy::too_many_arguments)] -fn __action1748< +fn __action1798< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72491,14 +73511,14 @@ fn __action1748< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1250( + __action1300( __temp0, __4, __5, @@ -72509,7 +73529,7 @@ fn __action1748< } #[allow(clippy::too_many_arguments)] -fn __action1749< +fn __action1799< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72525,7 +73545,7 @@ fn __action1749< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -72533,7 +73553,7 @@ fn __action1749< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1250( + __action1300( __temp0, __5, __6, @@ -72544,7 +73564,7 @@ fn __action1749< } #[allow(clippy::too_many_arguments)] -fn __action1750< +fn __action1800< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72555,11 +73575,11 @@ fn __action1750< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1251( + __action1301( __temp0, __1, __2, @@ -72569,7 +73589,7 @@ fn __action1750< } #[allow(clippy::too_many_arguments)] -fn __action1751< +fn __action1801< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72581,12 +73601,12 @@ fn __action1751< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1251( + __action1301( __temp0, __2, __3, @@ -72596,7 +73616,7 @@ fn __action1751< } #[allow(clippy::too_many_arguments)] -fn __action1752< +fn __action1802< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72609,13 +73629,13 @@ fn __action1752< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1251( + __action1301( __temp0, __3, __4, @@ -72625,7 +73645,7 @@ fn __action1752< } #[allow(clippy::too_many_arguments)] -fn __action1753< +fn __action1803< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72639,14 +73659,14 @@ fn __action1753< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1251( + __action1301( __temp0, __4, __5, @@ -72656,7 +73676,7 @@ fn __action1753< } #[allow(clippy::too_many_arguments)] -fn __action1754< +fn __action1804< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72670,14 +73690,14 @@ fn __action1754< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1251( + __action1301( __temp0, __4, __5, @@ -72687,7 +73707,7 @@ fn __action1754< } #[allow(clippy::too_many_arguments)] -fn __action1755< +fn __action1805< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72702,7 +73722,7 @@ fn __action1755< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -72710,7 +73730,7 @@ fn __action1755< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1251( + __action1301( __temp0, __5, __6, @@ -72720,7 +73740,7 @@ fn __action1755< } #[allow(clippy::too_many_arguments)] -fn __action1756< +fn __action1806< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72728,18 +73748,18 @@ fn __action1756< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1252( + __action1302( __temp0, __1, ) } #[allow(clippy::too_many_arguments)] -fn __action1757< +fn __action1807< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72748,19 +73768,19 @@ fn __action1757< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1252( + __action1302( __temp0, __2, ) } #[allow(clippy::too_many_arguments)] -fn __action1758< +fn __action1808< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72770,20 +73790,20 @@ fn __action1758< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1252( + __action1302( __temp0, __3, ) } #[allow(clippy::too_many_arguments)] -fn __action1759< +fn __action1809< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72794,21 +73814,21 @@ fn __action1759< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1252( + __action1302( __temp0, __4, ) } #[allow(clippy::too_many_arguments)] -fn __action1760< +fn __action1810< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72819,21 +73839,21 @@ fn __action1760< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1252( + __action1302( __temp0, __4, ) } #[allow(clippy::too_many_arguments)] -fn __action1761< +fn __action1811< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72845,7 +73865,7 @@ fn __action1761< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -72853,14 +73873,14 @@ fn __action1761< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1252( + __action1302( __temp0, __5, ) } #[allow(clippy::too_many_arguments)] -fn __action1762< +fn __action1812< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72872,11 +73892,11 @@ fn __action1762< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1253( + __action1303( __temp0, __1, __2, @@ -72887,7 +73907,7 @@ fn __action1762< } #[allow(clippy::too_many_arguments)] -fn __action1763< +fn __action1813< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72900,12 +73920,12 @@ fn __action1763< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1253( + __action1303( __temp0, __2, __3, @@ -72916,7 +73936,7 @@ fn __action1763< } #[allow(clippy::too_many_arguments)] -fn __action1764< +fn __action1814< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72930,13 +73950,13 @@ fn __action1764< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1253( + __action1303( __temp0, __3, __4, @@ -72947,7 +73967,7 @@ fn __action1764< } #[allow(clippy::too_many_arguments)] -fn __action1765< +fn __action1815< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -72962,14 +73982,14 @@ fn __action1765< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1253( + __action1303( __temp0, __4, __5, @@ -72980,7 +74000,7 @@ fn __action1765< } #[allow(clippy::too_many_arguments)] -fn __action1766< +fn __action1816< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -72995,14 +74015,14 @@ fn __action1766< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1253( + __action1303( __temp0, __4, __5, @@ -73013,7 +74033,7 @@ fn __action1766< } #[allow(clippy::too_many_arguments)] -fn __action1767< +fn __action1817< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73029,7 +74049,7 @@ fn __action1767< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -73037,7 +74057,7 @@ fn __action1767< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1253( + __action1303( __temp0, __5, __6, @@ -73048,7 +74068,7 @@ fn __action1767< } #[allow(clippy::too_many_arguments)] -fn __action1768< +fn __action1818< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73059,11 +74079,11 @@ fn __action1768< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1254( + __action1304( __temp0, __1, __2, @@ -73073,7 +74093,7 @@ fn __action1768< } #[allow(clippy::too_many_arguments)] -fn __action1769< +fn __action1819< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73085,12 +74105,12 @@ fn __action1769< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1254( + __action1304( __temp0, __2, __3, @@ -73100,7 +74120,7 @@ fn __action1769< } #[allow(clippy::too_many_arguments)] -fn __action1770< +fn __action1820< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73113,13 +74133,13 @@ fn __action1770< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1254( + __action1304( __temp0, __3, __4, @@ -73129,7 +74149,7 @@ fn __action1770< } #[allow(clippy::too_many_arguments)] -fn __action1771< +fn __action1821< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73143,14 +74163,14 @@ fn __action1771< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1254( + __action1304( __temp0, __4, __5, @@ -73160,7 +74180,7 @@ fn __action1771< } #[allow(clippy::too_many_arguments)] -fn __action1772< +fn __action1822< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73174,14 +74194,14 @@ fn __action1772< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1254( + __action1304( __temp0, __4, __5, @@ -73191,7 +74211,7 @@ fn __action1772< } #[allow(clippy::too_many_arguments)] -fn __action1773< +fn __action1823< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73206,7 +74226,7 @@ fn __action1773< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -73214,7 +74234,7 @@ fn __action1773< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1254( + __action1304( __temp0, __5, __6, @@ -73224,7 +74244,7 @@ fn __action1773< } #[allow(clippy::too_many_arguments)] -fn __action1774< +fn __action1824< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73237,11 +74257,11 @@ fn __action1774< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1255( + __action1305( __temp0, __1, __2, @@ -73253,7 +74273,7 @@ fn __action1774< } #[allow(clippy::too_many_arguments)] -fn __action1775< +fn __action1825< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73267,12 +74287,12 @@ fn __action1775< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1255( + __action1305( __temp0, __2, __3, @@ -73284,7 +74304,7 @@ fn __action1775< } #[allow(clippy::too_many_arguments)] -fn __action1776< +fn __action1826< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73299,13 +74319,13 @@ fn __action1776< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1255( + __action1305( __temp0, __3, __4, @@ -73317,7 +74337,7 @@ fn __action1776< } #[allow(clippy::too_many_arguments)] -fn __action1777< +fn __action1827< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73333,14 +74353,14 @@ fn __action1777< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1255( + __action1305( __temp0, __4, __5, @@ -73352,7 +74372,7 @@ fn __action1777< } #[allow(clippy::too_many_arguments)] -fn __action1778< +fn __action1828< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73368,14 +74388,14 @@ fn __action1778< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1255( + __action1305( __temp0, __4, __5, @@ -73387,7 +74407,7 @@ fn __action1778< } #[allow(clippy::too_many_arguments)] -fn __action1779< +fn __action1829< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73404,7 +74424,7 @@ fn __action1779< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -73412,7 +74432,7 @@ fn __action1779< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1255( + __action1305( __temp0, __5, __6, @@ -73424,7 +74444,7 @@ fn __action1779< } #[allow(clippy::too_many_arguments)] -fn __action1780< +fn __action1830< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73436,11 +74456,11 @@ fn __action1780< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1256( + __action1306( __temp0, __1, __2, @@ -73451,7 +74471,7 @@ fn __action1780< } #[allow(clippy::too_many_arguments)] -fn __action1781< +fn __action1831< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73464,12 +74484,12 @@ fn __action1781< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1256( + __action1306( __temp0, __2, __3, @@ -73480,7 +74500,7 @@ fn __action1781< } #[allow(clippy::too_many_arguments)] -fn __action1782< +fn __action1832< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73494,13 +74514,13 @@ fn __action1782< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1256( + __action1306( __temp0, __3, __4, @@ -73511,7 +74531,7 @@ fn __action1782< } #[allow(clippy::too_many_arguments)] -fn __action1783< +fn __action1833< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73526,14 +74546,14 @@ fn __action1783< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1256( + __action1306( __temp0, __4, __5, @@ -73544,7 +74564,7 @@ fn __action1783< } #[allow(clippy::too_many_arguments)] -fn __action1784< +fn __action1834< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73559,14 +74579,14 @@ fn __action1784< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1256( + __action1306( __temp0, __4, __5, @@ -73577,7 +74597,7 @@ fn __action1784< } #[allow(clippy::too_many_arguments)] -fn __action1785< +fn __action1835< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73593,7 +74613,7 @@ fn __action1785< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -73601,7 +74621,7 @@ fn __action1785< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1256( + __action1306( __temp0, __5, __6, @@ -73612,7 +74632,7 @@ fn __action1785< } #[allow(clippy::too_many_arguments)] -fn __action1786< +fn __action1836< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73622,11 +74642,11 @@ fn __action1786< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1257( + __action1307( __temp0, __1, __2, @@ -73635,7 +74655,7 @@ fn __action1786< } #[allow(clippy::too_many_arguments)] -fn __action1787< +fn __action1837< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73646,12 +74666,12 @@ fn __action1787< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1257( + __action1307( __temp0, __2, __3, @@ -73660,7 +74680,7 @@ fn __action1787< } #[allow(clippy::too_many_arguments)] -fn __action1788< +fn __action1838< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73672,13 +74692,13 @@ fn __action1788< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1257( + __action1307( __temp0, __3, __4, @@ -73687,7 +74707,7 @@ fn __action1788< } #[allow(clippy::too_many_arguments)] -fn __action1789< +fn __action1839< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73700,14 +74720,14 @@ fn __action1789< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1257( + __action1307( __temp0, __4, __5, @@ -73716,7 +74736,7 @@ fn __action1789< } #[allow(clippy::too_many_arguments)] -fn __action1790< +fn __action1840< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73729,14 +74749,14 @@ fn __action1790< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1257( + __action1307( __temp0, __4, __5, @@ -73745,7 +74765,7 @@ fn __action1790< } #[allow(clippy::too_many_arguments)] -fn __action1791< +fn __action1841< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73759,7 +74779,7 @@ fn __action1791< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -73767,7 +74787,7 @@ fn __action1791< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1257( + __action1307( __temp0, __5, __6, @@ -73776,7 +74796,7 @@ fn __action1791< } #[allow(clippy::too_many_arguments)] -fn __action1792< +fn __action1842< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73785,11 +74805,11 @@ fn __action1792< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1258( + __action1308( __temp0, __1, __2, @@ -73797,7 +74817,7 @@ fn __action1792< } #[allow(clippy::too_many_arguments)] -fn __action1793< +fn __action1843< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73807,12 +74827,12 @@ fn __action1793< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1258( + __action1308( __temp0, __2, __3, @@ -73820,7 +74840,7 @@ fn __action1793< } #[allow(clippy::too_many_arguments)] -fn __action1794< +fn __action1844< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73831,13 +74851,13 @@ fn __action1794< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1258( + __action1308( __temp0, __3, __4, @@ -73845,7 +74865,7 @@ fn __action1794< } #[allow(clippy::too_many_arguments)] -fn __action1795< +fn __action1845< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73857,14 +74877,14 @@ fn __action1795< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1258( + __action1308( __temp0, __4, __5, @@ -73872,7 +74892,7 @@ fn __action1795< } #[allow(clippy::too_many_arguments)] -fn __action1796< +fn __action1846< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73884,14 +74904,14 @@ fn __action1796< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1258( + __action1308( __temp0, __4, __5, @@ -73899,7 +74919,7 @@ fn __action1796< } #[allow(clippy::too_many_arguments)] -fn __action1797< +fn __action1847< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73912,7 +74932,7 @@ fn __action1797< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -73920,7 +74940,7 @@ fn __action1797< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1258( + __action1308( __temp0, __5, __6, @@ -73928,7 +74948,7 @@ fn __action1797< } #[allow(clippy::too_many_arguments)] -fn __action1798< +fn __action1848< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73939,11 +74959,11 @@ fn __action1798< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1259( + __action1309( __temp0, __1, __2, @@ -73953,7 +74973,7 @@ fn __action1798< } #[allow(clippy::too_many_arguments)] -fn __action1799< +fn __action1849< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -73965,12 +74985,12 @@ fn __action1799< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1259( + __action1309( __temp0, __2, __3, @@ -73980,7 +75000,7 @@ fn __action1799< } #[allow(clippy::too_many_arguments)] -fn __action1800< +fn __action1850< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -73993,13 +75013,13 @@ fn __action1800< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1259( + __action1309( __temp0, __3, __4, @@ -74009,7 +75029,7 @@ fn __action1800< } #[allow(clippy::too_many_arguments)] -fn __action1801< +fn __action1851< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74023,14 +75043,14 @@ fn __action1801< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1259( + __action1309( __temp0, __4, __5, @@ -74040,7 +75060,7 @@ fn __action1801< } #[allow(clippy::too_many_arguments)] -fn __action1802< +fn __action1852< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74054,14 +75074,14 @@ fn __action1802< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1259( + __action1309( __temp0, __4, __5, @@ -74071,7 +75091,7 @@ fn __action1802< } #[allow(clippy::too_many_arguments)] -fn __action1803< +fn __action1853< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74086,7 +75106,7 @@ fn __action1803< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -74094,7 +75114,7 @@ fn __action1803< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1259( + __action1309( __temp0, __5, __6, @@ -74104,7 +75124,7 @@ fn __action1803< } #[allow(clippy::too_many_arguments)] -fn __action1804< +fn __action1854< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74114,11 +75134,11 @@ fn __action1804< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1260( + __action1310( __temp0, __1, __2, @@ -74127,7 +75147,7 @@ fn __action1804< } #[allow(clippy::too_many_arguments)] -fn __action1805< +fn __action1855< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74138,12 +75158,12 @@ fn __action1805< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1260( + __action1310( __temp0, __2, __3, @@ -74152,7 +75172,7 @@ fn __action1805< } #[allow(clippy::too_many_arguments)] -fn __action1806< +fn __action1856< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74164,13 +75184,13 @@ fn __action1806< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1260( + __action1310( __temp0, __3, __4, @@ -74179,7 +75199,7 @@ fn __action1806< } #[allow(clippy::too_many_arguments)] -fn __action1807< +fn __action1857< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74192,14 +75212,14 @@ fn __action1807< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1260( + __action1310( __temp0, __4, __5, @@ -74208,7 +75228,7 @@ fn __action1807< } #[allow(clippy::too_many_arguments)] -fn __action1808< +fn __action1858< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74221,14 +75241,14 @@ fn __action1808< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1260( + __action1310( __temp0, __4, __5, @@ -74237,7 +75257,7 @@ fn __action1808< } #[allow(clippy::too_many_arguments)] -fn __action1809< +fn __action1859< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74251,7 +75271,7 @@ fn __action1809< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -74259,7 +75279,7 @@ fn __action1809< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1260( + __action1310( __temp0, __5, __6, @@ -74268,24 +75288,24 @@ fn __action1809< } #[allow(clippy::too_many_arguments)] -fn __action1810< +fn __action1860< >( __0: (TextSize, (ast::Arg, Option), TextSize), ) -> Result> { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1261( + __action1311( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1811< +fn __action1861< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74293,18 +75313,18 @@ fn __action1811< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1261( + __action1311( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1812< +fn __action1862< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74313,19 +75333,19 @@ fn __action1812< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1261( + __action1311( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1813< +fn __action1863< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74335,20 +75355,20 @@ fn __action1813< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1261( + __action1311( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1814< +fn __action1864< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74358,20 +75378,20 @@ fn __action1814< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1261( + __action1311( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1815< +fn __action1865< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74382,7 +75402,7 @@ fn __action1815< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -74390,13 +75410,13 @@ fn __action1815< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1261( + __action1311( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1816< +fn __action1866< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74406,11 +75426,11 @@ fn __action1816< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1112( + __action1162( __temp0, __1, __2, @@ -74419,7 +75439,7 @@ fn __action1816< } #[allow(clippy::too_many_arguments)] -fn __action1817< +fn __action1867< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74430,12 +75450,12 @@ fn __action1817< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1112( + __action1162( __temp0, __2, __3, @@ -74444,7 +75464,7 @@ fn __action1817< } #[allow(clippy::too_many_arguments)] -fn __action1818< +fn __action1868< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74456,13 +75476,13 @@ fn __action1818< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1112( + __action1162( __temp0, __3, __4, @@ -74471,7 +75491,7 @@ fn __action1818< } #[allow(clippy::too_many_arguments)] -fn __action1819< +fn __action1869< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74484,14 +75504,14 @@ fn __action1819< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1112( + __action1162( __temp0, __4, __5, @@ -74500,7 +75520,7 @@ fn __action1819< } #[allow(clippy::too_many_arguments)] -fn __action1820< +fn __action1870< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74513,14 +75533,14 @@ fn __action1820< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1112( + __action1162( __temp0, __4, __5, @@ -74529,7 +75549,7 @@ fn __action1820< } #[allow(clippy::too_many_arguments)] -fn __action1821< +fn __action1871< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74543,7 +75563,7 @@ fn __action1821< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -74551,7 +75571,7 @@ fn __action1821< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1112( + __action1162( __temp0, __5, __6, @@ -74560,7 +75580,7 @@ fn __action1821< } #[allow(clippy::too_many_arguments)] -fn __action1822< +fn __action1872< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74569,11 +75589,11 @@ fn __action1822< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1538( + let __temp0 = __action1588( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1113( + __action1163( __temp0, __1, __2, @@ -74581,7 +75601,7 @@ fn __action1822< } #[allow(clippy::too_many_arguments)] -fn __action1823< +fn __action1873< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74591,12 +75611,12 @@ fn __action1823< { let __start0 = __0.0; let __end0 = __1.2; - let __temp0 = __action1539( + let __temp0 = __action1589( __0, __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1113( + __action1163( __temp0, __2, __3, @@ -74604,7 +75624,7 @@ fn __action1823< } #[allow(clippy::too_many_arguments)] -fn __action1824< +fn __action1874< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74615,13 +75635,13 @@ fn __action1824< { let __start0 = __0.0; let __end0 = __2.2; - let __temp0 = __action1540( + let __temp0 = __action1590( __0, __1, __2, ); let __temp0 = (__start0, __temp0, __end0); - __action1113( + __action1163( __temp0, __3, __4, @@ -74629,7 +75649,7 @@ fn __action1824< } #[allow(clippy::too_many_arguments)] -fn __action1825< +fn __action1875< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74641,14 +75661,14 @@ fn __action1825< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1541( + let __temp0 = __action1591( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1113( + __action1163( __temp0, __4, __5, @@ -74656,7 +75676,7 @@ fn __action1825< } #[allow(clippy::too_many_arguments)] -fn __action1826< +fn __action1876< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74668,14 +75688,14 @@ fn __action1826< { let __start0 = __0.0; let __end0 = __3.2; - let __temp0 = __action1542( + let __temp0 = __action1592( __0, __1, __2, __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1113( + __action1163( __temp0, __4, __5, @@ -74683,7 +75703,7 @@ fn __action1826< } #[allow(clippy::too_many_arguments)] -fn __action1827< +fn __action1877< >( __0: (TextSize, (ast::Arg, Option), TextSize), __1: (TextSize, alloc::vec::Vec<(token::Tok, (ast::Arg, Option))>, TextSize), @@ -74696,7 +75716,7 @@ fn __action1827< { let __start0 = __0.0; let __end0 = __4.2; - let __temp0 = __action1543( + let __temp0 = __action1593( __0, __1, __2, @@ -74704,7 +75724,7 @@ fn __action1827< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1113( + __action1163( __temp0, __5, __6, @@ -74712,7 +75732,7 @@ fn __action1827< } #[allow(clippy::too_many_arguments)] -fn __action1828< +fn __action1878< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Arguments, TextSize), @@ -74726,7 +75746,7 @@ fn __action1828< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1012( + __action1031( __0, __temp0, __2, @@ -74735,7 +75755,7 @@ fn __action1828< } #[allow(clippy::too_many_arguments)] -fn __action1829< +fn __action1879< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74749,7 +75769,7 @@ fn __action1829< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1012( + __action1031( __0, __temp0, __1, @@ -74758,7 +75778,7 @@ fn __action1829< } #[allow(clippy::too_many_arguments)] -fn __action1830< +fn __action1880< >( __0: (TextSize, core::option::Option, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74772,7 +75792,7 @@ fn __action1830< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1063( + __action1103( __0, __1, __2, @@ -74781,7 +75801,7 @@ fn __action1830< } #[allow(clippy::too_many_arguments)] -fn __action1831< +fn __action1881< >( __0: (TextSize, core::option::Option, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74795,7 +75815,7 @@ fn __action1831< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1063( + __action1103( __0, __1, __2, @@ -74804,7 +75824,7 @@ fn __action1831< } #[allow(clippy::too_many_arguments)] -fn __action1832< +fn __action1882< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -74818,7 +75838,7 @@ fn __action1832< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action973( + __action992( __0, __temp0, __2, @@ -74827,7 +75847,7 @@ fn __action1832< } #[allow(clippy::too_many_arguments)] -fn __action1833< +fn __action1883< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74841,7 +75861,7 @@ fn __action1833< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action973( + __action992( __0, __temp0, __1, @@ -74850,7 +75870,7 @@ fn __action1833< } #[allow(clippy::too_many_arguments)] -fn __action1834< +fn __action1884< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -74862,14 +75882,14 @@ fn __action1834< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1059( + __action1099( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1835< +fn __action1885< >( __0: (TextSize, token::Tok, TextSize), ) -> Option @@ -74881,14 +75901,14 @@ fn __action1835< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1059( + __action1099( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1836< +fn __action1886< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74908,7 +75928,7 @@ fn __action1836< __2, ); let __temp1 = (__start1, __temp1, __end1); - __action1830( + __action1880( __temp0, __1, __temp1, @@ -74917,7 +75937,7 @@ fn __action1836< } #[allow(clippy::too_many_arguments)] -fn __action1837< +fn __action1887< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -74937,7 +75957,7 @@ fn __action1837< &__end1, ); let __temp1 = (__start1, __temp1, __end1); - __action1830( + __action1880( __temp0, __1, __temp1, @@ -74946,7 +75966,7 @@ fn __action1837< } #[allow(clippy::too_many_arguments)] -fn __action1838< +fn __action1888< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -74966,7 +75986,7 @@ fn __action1838< __1, ); let __temp1 = (__start1, __temp1, __end1); - __action1830( + __action1880( __temp0, __0, __temp1, @@ -74975,7 +75995,7 @@ fn __action1838< } #[allow(clippy::too_many_arguments)] -fn __action1839< +fn __action1889< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, Option, TextSize), @@ -74995,7 +76015,7 @@ fn __action1839< &__end1, ); let __temp1 = (__start1, __temp1, __end1); - __action1830( + __action1880( __temp0, __0, __temp1, @@ -75004,7 +76024,7 @@ fn __action1839< } #[allow(clippy::too_many_arguments)] -fn __action1840< +fn __action1890< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -75023,7 +76043,7 @@ fn __action1840< __2, ); let __temp1 = (__start1, __temp1, __end1); - __action1831( + __action1881( __temp0, __1, __temp1, @@ -75031,7 +76051,7 @@ fn __action1840< } #[allow(clippy::too_many_arguments)] -fn __action1841< +fn __action1891< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -75050,7 +76070,7 @@ fn __action1841< &__end1, ); let __temp1 = (__start1, __temp1, __end1); - __action1831( + __action1881( __temp0, __1, __temp1, @@ -75058,7 +76078,7 @@ fn __action1841< } #[allow(clippy::too_many_arguments)] -fn __action1842< +fn __action1892< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75077,7 +76097,7 @@ fn __action1842< __1, ); let __temp1 = (__start1, __temp1, __end1); - __action1831( + __action1881( __temp0, __0, __temp1, @@ -75085,7 +76105,7 @@ fn __action1842< } #[allow(clippy::too_many_arguments)] -fn __action1843< +fn __action1893< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr @@ -75104,7 +76124,7 @@ fn __action1843< &__end1, ); let __temp1 = (__start1, __temp1, __end1); - __action1831( + __action1881( __temp0, __0, __temp1, @@ -75112,7 +76132,7 @@ fn __action1843< } #[allow(clippy::too_many_arguments)] -fn __action1844< +fn __action1894< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -75132,7 +76152,7 @@ fn __action1844< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1313( + __action1363( __0, __1, __2, @@ -75147,7 +76167,7 @@ fn __action1844< } #[allow(clippy::too_many_arguments)] -fn __action1845< +fn __action1895< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, token::Tok, TextSize), @@ -75164,7 +76184,7 @@ fn __action1845< __4, ); let __temp0 = (__start0, __temp0, __end0); - __action1314( + __action1364( __0, __1, __2, @@ -75176,7 +76196,7 @@ fn __action1845< } #[allow(clippy::too_many_arguments)] -fn __action1846< +fn __action1896< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75195,7 +76215,7 @@ fn __action1846< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1315( + __action1365( __0, __1, __2, @@ -75209,7 +76229,7 @@ fn __action1846< } #[allow(clippy::too_many_arguments)] -fn __action1847< +fn __action1897< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75225,7 +76245,7 @@ fn __action1847< __3, ); let __temp0 = (__start0, __temp0, __end0); - __action1316( + __action1366( __0, __1, __2, @@ -75236,7 +76256,7 @@ fn __action1847< } #[allow(clippy::too_many_arguments)] -fn __action1848< +fn __action1898< >( __0: (TextSize, ast::Expr, TextSize), ) -> core::option::Option @@ -75253,7 +76273,7 @@ fn __action1848< } #[allow(clippy::too_many_arguments)] -fn __action1849< +fn __action1899< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Expr @@ -75270,7 +76290,7 @@ fn __action1849< } #[allow(clippy::too_many_arguments)] -fn __action1850< +fn __action1900< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Expr @@ -75287,7 +76307,7 @@ fn __action1850< } #[allow(clippy::too_many_arguments)] -fn __action1851< +fn __action1901< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75299,14 +76319,14 @@ fn __action1851< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1308( + __action1358( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1852< +fn __action1902< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75319,7 +76339,7 @@ fn __action1852< __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1309( + __action1359( __0, __temp0, __2, @@ -75327,7 +76347,7 @@ fn __action1852< } #[allow(clippy::too_many_arguments)] -fn __action1853< +fn __action1903< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75335,18 +76355,18 @@ fn __action1853< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1848( + let __temp0 = __action1898( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action986( + __action1005( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1854< +fn __action1904< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Stmt @@ -75358,14 +76378,14 @@ fn __action1854< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action986( + __action1005( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1855< +fn __action1905< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Expr, TextSize), @@ -75373,18 +76393,18 @@ fn __action1855< { let __start0 = __1.0; let __end0 = __1.2; - let __temp0 = __action1848( + let __temp0 = __action1898( __1, ); let __temp0 = (__start0, __temp0, __end0); - __action1080( + __action1130( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1856< +fn __action1906< >( __0: (TextSize, token::Tok, TextSize), ) -> ast::Expr @@ -75396,31 +76416,31 @@ fn __action1856< &__end0, ); let __temp0 = (__start0, __temp0, __end0); - __action1080( + __action1130( __0, __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1857< +fn __action1907< >( __0: (TextSize, ast::Expr, TextSize), ) -> ast::Stmt { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1850( + let __temp0 = __action1900( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1422( + __action1472( __temp0, ) } #[allow(clippy::too_many_arguments)] -fn __action1858< +fn __action1908< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, alloc::vec::Vec, TextSize), @@ -75428,18 +76448,18 @@ fn __action1858< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1850( + let __temp0 = __action1900( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action1423( + __action1473( __temp0, __1, ) } #[allow(clippy::too_many_arguments)] -fn __action1859< +fn __action1909< >( __0: (TextSize, ast::Expr, TextSize), __1: (TextSize, ast::Operator, TextSize), @@ -75448,11 +76468,11 @@ fn __action1859< { let __start0 = __0.0; let __end0 = __0.2; - let __temp0 = __action1850( + let __temp0 = __action1900( __0, ); let __temp0 = (__start0, __temp0, __end0); - __action980( + __action999( __temp0, __1, __2, @@ -75460,7 +76480,7 @@ fn __action1859< } #[allow(clippy::too_many_arguments)] -fn __action1860< +fn __action1910< >( __0: (TextSize, token::Tok, TextSize), __1: (TextSize, ast::Arg, TextSize), @@ -75479,7 +76499,7 @@ fn __action1860< } #[allow(clippy::too_many_arguments)] -fn __action1861< +fn __action1911< >( __0: (TextSize, token::Tok, TextSize), ) -> Option> diff --git a/parser/src/snapshots/rustpython_parser__context__tests__ann_assign_name.snap b/parser/src/snapshots/rustpython_parser__context__tests__ann_assign_name.snap index 62d03f71bb..9ef7e7d1c7 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__ann_assign_name.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__ann_assign_name.snap @@ -3,51 +3,39 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..10, - custom: (), - node: AnnAssign( - StmtAnnAssign { - target: Attributed { + AnnAssign( + StmtAnnAssign { + range: 0..10, + target: Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, - annotation: Attributed { + ), + annotation: Name( + ExprName { range: 3..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "int", - ), - ctx: Load, - }, + id: Identifier( + "int", ), + ctx: Load, }, - value: Some( - Attributed { + ), + value: Some( + Constant( + ExprConstant { range: 9..10, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, ), - simple: true, - }, - ), - }, + ), + simple: true, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_attribute.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_attribute.snap index 2fa09ca908..51d45cf3bb 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_attribute.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_attribute.snap @@ -3,86 +3,65 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..15, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..15, + targets: [ + Attribute( + ExprAttribute { range: 0..3, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - attr: Identifier( - "y", + value: Name( + ExprName { + range: 0..1, + id: Identifier( + "x", ), - ctx: Store, + ctx: Load, }, ), + attr: Identifier( + "y", + ), + ctx: Store, }, - ], - value: Attributed { + ), + ], + value: Tuple( + ExprTuple { range: 6..15, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 7..8, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 10..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 13..14, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + elts: [ + Constant( + ExprConstant { + range: 7..8, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 10..11, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 13..14, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_for.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_for.snap index 5f9b2c65cb..26c7e5af47 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_for.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_for.snap @@ -3,80 +3,62 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..24, - custom: (), - node: For( - StmtFor { - target: Attributed { + For( + StmtFor { + range: 0..24, + target: Name( + ExprName { range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, - iter: Attributed { + ), + iter: Tuple( + ExprTuple { range: 9..18, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 10..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 13..14, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 16..17, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + elts: [ + Constant( + ExprConstant { + range: 10..11, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 13..14, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 16..17, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - body: [ - Attributed { + ), + body: [ + Pass( + StmtPass { range: 20..24, - custom: (), - node: Pass, }, - ], - orelse: [], - type_comment: None, - }, - ), - }, + ), + ], + orelse: [], + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_list.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_list.snap index d504a0beaa..df421275e1 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_list.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_list.snap @@ -3,97 +3,73 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..18, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..18, + targets: [ + List( + ExprList { range: 0..6, - custom: (), - node: List( - ExprList { - elts: [ - Attributed { - range: 1..2, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - Attributed { - range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - ctx: Store, + elts: [ + Name( + ExprName { + range: 1..2, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + Name( + ExprName { + range: 4..5, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + ctx: Store, + }, + ), + ], + value: Tuple( + ExprTuple { + range: 9..18, + elts: [ + Constant( + ExprConstant { + range: 10..11, + value: Int( + 1, + ), + kind: None, }, ), - }, - ], - value: Attributed { - range: 9..18, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 10..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 13..14, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 16..17, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + Constant( + ExprConstant { + range: 13..14, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 16..17, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_list_comp.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_list_comp.snap index 9748204d4f..5dd7c862c8 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_list_comp.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_list_comp.snap @@ -3,112 +3,86 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..26, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..26, + targets: [ + Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, - ], - value: Attributed { + ), + ], + value: ListComp( + ExprListComp { range: 4..26, - custom: (), - node: ListComp( - ExprListComp { - elt: Attributed { - range: 5..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - generators: [ - Comprehension { - target: Attributed { - range: 11..12, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 16..25, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 17..18, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 20..21, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 23..24, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - ], + elt: Name( + ExprName { + range: 5..6, + id: Identifier( + "y", + ), + ctx: Load, }, ), + generators: [ + Comprehension { + target: Name( + ExprName { + range: 11..12, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + iter: Tuple( + ExprTuple { + range: 16..25, + elts: [ + Constant( + ExprConstant { + range: 17..18, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 20..21, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 23..24, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + ifs: [], + is_async: false, + range: (), + }, + ], }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_name.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_name.snap index 6077dc475a..d947f5e9cf 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_name.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_name.snap @@ -3,74 +3,56 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..13, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..13, + targets: [ + Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ], + value: Tuple( + ExprTuple { + range: 4..13, + elts: [ + Constant( + ExprConstant { + range: 5..6, + value: Int( + 1, ), - ctx: Store, + kind: None, }, ), - }, - ], - value: Attributed { - range: 4..13, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 5..6, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 8..9, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 11..12, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + Constant( + ExprConstant { + range: 8..9, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 11..12, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_named_expr.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_named_expr.snap index 9cd8afbd87..46bdb5a291 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_named_expr.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_named_expr.snap @@ -3,52 +3,40 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..14, - custom: (), - node: If( - StmtIf { - test: Attributed { + If( + StmtIf { + range: 0..14, + test: NamedExpr( + ExprNamedExpr { range: 3..8, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 3..4, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 7..8, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, + target: Name( + ExprName { + range: 3..4, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 7..8, + value: Int( + 1, + ), + kind: None, }, ), }, - body: [ - Attributed { + ), + body: [ + Pass( + StmtPass { range: 10..14, - custom: (), - node: Pass, }, - ], - orelse: [], - }, - ), - }, + ), + ], + orelse: [], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_set_comp.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_set_comp.snap index 8c20e8d6ce..7affc47829 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_set_comp.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_set_comp.snap @@ -3,112 +3,86 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..26, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..26, + targets: [ + Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, - ], - value: Attributed { + ), + ], + value: SetComp( + ExprSetComp { range: 4..26, - custom: (), - node: SetComp( - ExprSetComp { - elt: Attributed { - range: 5..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - generators: [ - Comprehension { - target: Attributed { - range: 11..12, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 16..25, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 17..18, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 20..21, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 23..24, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - ], + elt: Name( + ExprName { + range: 5..6, + id: Identifier( + "y", + ), + ctx: Load, }, ), + generators: [ + Comprehension { + target: Name( + ExprName { + range: 11..12, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + iter: Tuple( + ExprTuple { + range: 16..25, + elts: [ + Constant( + ExprConstant { + range: 17..18, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 20..21, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 23..24, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + ifs: [], + is_async: false, + range: (), + }, + ], }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_starred.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_starred.snap index 682e67a356..7d589a2b44 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_starred.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_starred.snap @@ -3,106 +3,79 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..19, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..19, + targets: [ + Tuple( + ExprTuple { range: 0..7, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 1..2, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - Attributed { - range: 4..6, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 5..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ctx: Store, - }, - ), - }, - ], - ctx: Store, + elts: [ + Name( + ExprName { + range: 1..2, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + Starred( + ExprStarred { + range: 4..6, + value: Name( + ExprName { + range: 5..6, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ctx: Store, + }, + ), + ], + ctx: Store, + }, + ), + ], + value: Tuple( + ExprTuple { + range: 10..19, + elts: [ + Constant( + ExprConstant { + range: 11..12, + value: Int( + 1, + ), + kind: None, }, ), - }, - ], - value: Attributed { - range: 10..19, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 11..12, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 14..15, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 17..18, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + Constant( + ExprConstant { + range: 14..15, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 17..18, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_subscript.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_subscript.snap index d266d5ff31..520c44cd02 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_subscript.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_subscript.snap @@ -3,95 +3,71 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..16, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..16, + targets: [ + Subscript( + ExprSubscript { range: 0..4, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 2..3, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - ctx: Store, + value: Name( + ExprName { + range: 0..1, + id: Identifier( + "x", + ), + ctx: Load, }, ), + slice: Name( + ExprName { + range: 2..3, + id: Identifier( + "y", + ), + ctx: Load, + }, + ), + ctx: Store, }, - ], - value: Attributed { + ), + ], + value: Tuple( + ExprTuple { range: 7..16, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 8..9, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 11..12, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 14..15, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + elts: [ + Constant( + ExprConstant { + range: 8..9, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 11..12, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 14..15, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_tuple.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_tuple.snap index 68f0381746..ca889e969e 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_tuple.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_tuple.snap @@ -3,97 +3,73 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..18, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..18, + targets: [ + Tuple( + ExprTuple { range: 0..6, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 1..2, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - Attributed { - range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - ctx: Store, + elts: [ + Name( + ExprName { + range: 1..2, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + Name( + ExprName { + range: 4..5, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + ctx: Store, + }, + ), + ], + value: Tuple( + ExprTuple { + range: 9..18, + elts: [ + Constant( + ExprConstant { + range: 10..11, + value: Int( + 1, + ), + kind: None, }, ), - }, - ], - value: Attributed { - range: 9..18, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 10..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 13..14, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 16..17, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + Constant( + ExprConstant { + range: 13..14, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 16..17, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__assign_with.snap b/parser/src/snapshots/rustpython_parser__context__tests__assign_with.snap index f9b7c0841e..b9f9334232 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__assign_with.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__assign_with.snap @@ -3,50 +3,42 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..17, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + With( + StmtWith { + range: 0..17, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 5..6, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 10..11, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 13..17, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, + ), + ], + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_attribute.snap b/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_attribute.snap index c90a263c51..8250db5f28 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_attribute.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_attribute.snap @@ -3,84 +3,63 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..16, - custom: (), - node: AugAssign( - StmtAugAssign { - target: Attributed { + AugAssign( + StmtAugAssign { + range: 0..16, + target: Attribute( + ExprAttribute { range: 0..3, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - attr: Identifier( - "y", + value: Name( + ExprName { + range: 0..1, + id: Identifier( + "x", ), - ctx: Store, - }, - ), - }, - op: Add, - value: Attributed { - range: 7..16, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 8..9, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 11..12, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 14..15, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], ctx: Load, }, ), + attr: Identifier( + "y", + ), + ctx: Store, }, - }, - ), - }, + ), + op: Add, + value: Tuple( + ExprTuple { + range: 7..16, + elts: [ + Constant( + ExprConstant { + range: 8..9, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 11..12, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 14..15, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_name.snap b/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_name.snap index 5436e4698f..42e9ed88ce 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_name.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_name.snap @@ -3,37 +3,28 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..6, - custom: (), - node: AugAssign( - StmtAugAssign { - target: Attributed { + AugAssign( + StmtAugAssign { + range: 0..6, + target: Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, - op: Add, - value: Attributed { + ), + op: Add, + value: Constant( + ExprConstant { range: 5..6, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_subscript.snap b/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_subscript.snap index 2fc9a89a84..476b9c91ab 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_subscript.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__aug_assign_subscript.snap @@ -3,93 +3,69 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..17, - custom: (), - node: AugAssign( - StmtAugAssign { - target: Attributed { + AugAssign( + StmtAugAssign { + range: 0..17, + target: Subscript( + ExprSubscript { range: 0..4, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 2..3, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - ctx: Store, - }, - ), - }, - op: Add, - value: Attributed { - range: 8..17, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 9..10, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 12..13, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - Attributed { - range: 15..16, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], + value: Name( + ExprName { + range: 0..1, + id: Identifier( + "x", + ), ctx: Load, }, ), + slice: Name( + ExprName { + range: 2..3, + id: Identifier( + "y", + ), + ctx: Load, + }, + ), + ctx: Store, }, - }, - ), - }, + ), + op: Add, + value: Tuple( + ExprTuple { + range: 8..17, + elts: [ + Constant( + ExprConstant { + range: 9..10, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 12..13, + value: Int( + 2, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 15..16, + value: Int( + 3, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__del_attribute.snap b/parser/src/snapshots/rustpython_parser__context__tests__del_attribute.snap index 23bdb53440..1de7d6bf2d 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__del_attribute.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__del_attribute.snap @@ -3,38 +3,29 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..7, - custom: (), - node: Delete( - StmtDelete { - targets: [ - Attributed { + Delete( + StmtDelete { + range: 0..7, + targets: [ + Attribute( + ExprAttribute { range: 4..7, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - attr: Identifier( - "y", + value: Name( + ExprName { + range: 4..5, + id: Identifier( + "x", ), - ctx: Del, + ctx: Load, }, ), + attr: Identifier( + "y", + ), + ctx: Del, }, - ], - }, - ), - }, + ), + ], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__del_name.snap b/parser/src/snapshots/rustpython_parser__context__tests__del_name.snap index b5a6b8e9cc..d87ac27b62 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__del_name.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__del_name.snap @@ -3,26 +3,20 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..5, - custom: (), - node: Delete( - StmtDelete { - targets: [ - Attributed { + Delete( + StmtDelete { + range: 0..5, + targets: [ + Name( + ExprName { range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Del, - }, + id: Identifier( + "x", ), + ctx: Del, }, - ], - }, - ), - }, + ), + ], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__context__tests__del_subscript.snap b/parser/src/snapshots/rustpython_parser__context__tests__del_subscript.snap index 23592b0bac..067401c258 100644 --- a/parser/src/snapshots/rustpython_parser__context__tests__del_subscript.snap +++ b/parser/src/snapshots/rustpython_parser__context__tests__del_subscript.snap @@ -3,47 +3,35 @@ source: parser/src/context.rs expression: parse_ast --- [ - Attributed { - range: 0..8, - custom: (), - node: Delete( - StmtDelete { - targets: [ - Attributed { + Delete( + StmtDelete { + range: 0..8, + targets: [ + Subscript( + ExprSubscript { range: 4..8, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - ctx: Del, + value: Name( + ExprName { + range: 4..5, + id: Identifier( + "x", + ), + ctx: Load, }, ), + slice: Name( + ExprName { + range: 6..7, + id: Identifier( + "y", + ), + ctx: Load, + }, + ), + ctx: Del, }, - ], - }, - ), - }, + ), + ], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args.snap index f0ca1100bc..b034e5bfb1 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args.snap @@ -4,69 +4,58 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..23, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [], - vararg: None, - kwonlyargs: [ - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 15..16, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 19..23, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..23, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [], + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 12..13, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 15..16, }, ], - decorator_list: [], - returns: None, - type_comment: None, + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 19..23, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args_with_defaults.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args_with_defaults.snap index 4f0b3a14e5..b372b44d50 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args_with_defaults.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_kw_only_args_with_defaults.snap @@ -4,94 +4,77 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..29, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [], - vararg: None, - kwonlyargs: [ - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 18..19, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [ - Attributed { - range: 14..16, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 20..22, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 25..29, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..29, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [], + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 12..13, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 18..19, }, ], - decorator_list: [], - returns: None, - type_comment: None, + kw_defaults: [ + Constant( + ExprConstant { + range: 14..16, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 20..22, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 25..29, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_no_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_no_args.snap index 322b08c554..1b418a6cb0 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_no_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_no_args.snap @@ -4,35 +4,33 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..13, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 9..13, - custom: (), - node: Pass, - }, - ], - decorator_list: [], - returns: None, - type_comment: None, + FunctionDef( + StmtFunctionDef { + range: 0..13, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 9..13, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args.snap index f7c045f510..88f1c75eaa 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args.snap @@ -4,103 +4,83 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..32, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 6..7, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [ - Attributed { - range: 18..19, - custom: (), - node: ArgData { - arg: Identifier( - "d", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 21..22, - custom: (), - node: ArgData { - arg: Identifier( - "e", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 24..25, - custom: (), - node: ArgData { - arg: Identifier( - "f", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 28..32, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..32, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 6..7, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 12..13, }, ], - decorator_list: [], - returns: None, - type_comment: None, + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "d", + ), + annotation: None, + type_comment: None, + range: 18..19, + }, + Arg { + arg: Identifier( + "e", + ), + annotation: None, + type_comment: None, + range: 21..22, + }, + Arg { + arg: Identifier( + "f", + ), + annotation: None, + type_comment: None, + range: 24..25, + }, + ], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 28..32, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults.snap index 6e23907e87..98e9ea72f9 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults.snap @@ -4,128 +4,102 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..38, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 6..7, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [ - Attributed { - range: 18..19, - custom: (), - node: ArgData { - arg: Identifier( - "d", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 21..22, - custom: (), - node: ArgData { - arg: Identifier( - "e", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 27..28, - custom: (), - node: ArgData { - arg: Identifier( - "f", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [ - Attributed { - range: 23..25, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 29..31, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 34..38, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..38, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 6..7, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 12..13, }, ], - decorator_list: [], - returns: None, - type_comment: None, + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "d", + ), + annotation: None, + type_comment: None, + range: 18..19, + }, + Arg { + arg: Identifier( + "e", + ), + annotation: None, + type_comment: None, + range: 21..22, + }, + Arg { + arg: Identifier( + "f", + ), + annotation: None, + type_comment: None, + range: 27..28, + }, + ], + kw_defaults: [ + Constant( + ExprConstant { + range: 23..25, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 29..31, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 34..38, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs.snap index a3d42c6784..180ed1829c 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs.snap @@ -4,140 +4,111 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..42, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 6..7, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: Some( - Attributed { - range: 16..20, - custom: (), - node: ArgData { - arg: Identifier( - "args", - ), - annotation: None, - type_comment: None, - }, - }, - ), - kwonlyargs: [ - Attributed { - range: 22..23, - custom: (), - node: ArgData { - arg: Identifier( - "d", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 25..26, - custom: (), - node: ArgData { - arg: Identifier( - "e", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 31..32, - custom: (), - node: ArgData { - arg: Identifier( - "f", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [ - Attributed { - range: 27..29, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 33..35, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 38..42, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..42, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 6..7, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 12..13, }, ], - decorator_list: [], - returns: None, - type_comment: None, + vararg: Some( + Arg { + arg: Identifier( + "args", + ), + annotation: None, + type_comment: None, + range: 16..20, + }, + ), + kwonlyargs: [ + Arg { + arg: Identifier( + "d", + ), + annotation: None, + type_comment: None, + range: 22..23, + }, + Arg { + arg: Identifier( + "e", + ), + annotation: None, + type_comment: None, + range: 25..26, + }, + Arg { + arg: Identifier( + "f", + ), + annotation: None, + type_comment: None, + range: 31..32, + }, + ], + kw_defaults: [ + Constant( + ExprConstant { + range: 27..29, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 33..35, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 38..42, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs_and_kwargs.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs_and_kwargs.snap index 0bc46b2f4a..769345106d 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs_and_kwargs.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_and_kw_only_args_with_defaults_and_varargs_and_kwargs.snap @@ -4,152 +4,120 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..52, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 6..7, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: Some( - Attributed { - range: 16..20, - custom: (), - node: ArgData { - arg: Identifier( - "args", - ), - annotation: None, - type_comment: None, - }, - }, - ), - kwonlyargs: [ - Attributed { - range: 22..23, - custom: (), - node: ArgData { - arg: Identifier( - "d", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 25..26, - custom: (), - node: ArgData { - arg: Identifier( - "e", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 31..32, - custom: (), - node: ArgData { - arg: Identifier( - "f", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [ - Attributed { - range: 27..29, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 33..35, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - kwarg: Some( - Attributed { - range: 39..45, - custom: (), - node: ArgData { - arg: Identifier( - "kwargs", - ), - annotation: None, - type_comment: None, - }, - }, - ), - defaults: [], - }, - body: [ - Attributed { - range: 48..52, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..52, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 6..7, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 12..13, }, ], - decorator_list: [], - returns: None, - type_comment: None, + vararg: Some( + Arg { + arg: Identifier( + "args", + ), + annotation: None, + type_comment: None, + range: 16..20, + }, + ), + kwonlyargs: [ + Arg { + arg: Identifier( + "d", + ), + annotation: None, + type_comment: None, + range: 22..23, + }, + Arg { + arg: Identifier( + "e", + ), + annotation: None, + type_comment: None, + range: 25..26, + }, + Arg { + arg: Identifier( + "f", + ), + annotation: None, + type_comment: None, + range: 31..32, + }, + ], + kw_defaults: [ + Constant( + ExprConstant { + range: 27..29, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 33..35, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + kwarg: Some( + Arg { + arg: Identifier( + "kwargs", + ), + annotation: None, + type_comment: None, + range: 39..45, + }, + ), + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 48..52, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args.snap index 8b130b4fe0..7d36cd2892 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args.snap @@ -4,69 +4,58 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..20, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 6..7, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 12..13, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 16..20, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..20, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 6..7, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 12..13, }, ], - decorator_list: [], - returns: None, - type_comment: None, + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 16..20, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args_with_defaults.snap b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args_with_defaults.snap index 68b6e04b67..ee875693e1 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args_with_defaults.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__function_pos_args_with_defaults.snap @@ -4,94 +4,77 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..26, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "f", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 6..7, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 9..10, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 15..16, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [ - Attributed { - range: 11..13, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 17..19, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - }, - body: [ - Attributed { - range: 22..26, - custom: (), - node: Pass, + FunctionDef( + StmtFunctionDef { + range: 0..26, + name: Identifier( + "f", + ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", + ), + annotation: None, + type_comment: None, + range: 6..7, + }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 9..10, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 15..16, }, ], - decorator_list: [], - returns: None, - type_comment: None, + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [ + Constant( + ExprConstant { + range: 11..13, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 17..19, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + range: (), }, - ), - }, + body: [ + Pass( + StmtPass { + range: 22..26, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args.snap index de1d41d230..5f11e33ecf 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args.snap @@ -4,76 +4,59 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..20, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..20, + value: Lambda( + ExprLambda { range: 0..20, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [], - vararg: None, - kwonlyargs: [ - Attributed { - range: 10..11, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 13..14, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 16..17, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 19..20, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + args: Arguments { + posonlyargs: [], + args: [], + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "a", ), + annotation: None, + type_comment: None, + range: 10..11, }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 13..14, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 16..17, + }, + ], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: Constant( + ExprConstant { + range: 19..20, + value: Int( + 1, + ), + kind: None, }, ), }, - }, - ), - }, + ), + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args_with_defaults.snap b/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args_with_defaults.snap index 7ada5b69c0..3bc17f4e7b 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args_with_defaults.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__lambda_kw_only_args_with_defaults.snap @@ -4,101 +4,78 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..26, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..26, + value: Lambda( + ExprLambda { range: 0..26, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [], - vararg: None, - kwonlyargs: [ - Attributed { - range: 10..11, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 13..14, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 19..20, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [ - Attributed { - range: 15..17, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 21..23, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 25..26, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + args: Arguments { + posonlyargs: [], + args: [], + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "a", ), + annotation: None, + type_comment: None, + range: 10..11, }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 13..14, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 19..20, + }, + ], + kw_defaults: [ + Constant( + ExprConstant { + range: 15..17, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 21..23, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + kwarg: None, + defaults: [], + range: (), + }, + body: Constant( + ExprConstant { + range: 25..26, + value: Int( + 1, + ), + kind: None, }, ), }, - }, - ), - }, + ), + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__lambda_no_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__lambda_no_args.snap index 3a92e72e2c..3670b4a21d 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__lambda_no_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__lambda_no_args.snap @@ -4,42 +4,34 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..9, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..9, + value: Lambda( + ExprLambda { range: 0..9, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 8..9, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, + args: Arguments { + posonlyargs: [], + args: [], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: Constant( + ExprConstant { + range: 8..9, + value: Int( + 1, + ), + kind: None, }, ), }, - }, - ), - }, + ), + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_and_kw_only_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_and_kw_only_args.snap index a317abbf31..93f2fb4c42 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_and_kw_only_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_and_kw_only_args.snap @@ -4,99 +4,76 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..26, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..26, + value: Lambda( + ExprLambda { range: 0..26, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 7..8, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 10..11, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 13..14, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [ - Attributed { - range: 19..20, - custom: (), - node: ArgData { - arg: Identifier( - "d", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 22..23, - custom: (), - node: ArgData { - arg: Identifier( - "e", - ), - annotation: None, - type_comment: None, - }, - }, - ], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 25..26, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", ), + annotation: None, + type_comment: None, + range: 7..8, }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 10..11, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 13..14, + }, + ], + vararg: None, + kwonlyargs: [ + Arg { + arg: Identifier( + "d", + ), + annotation: None, + type_comment: None, + range: 19..20, + }, + Arg { + arg: Identifier( + "e", + ), + annotation: None, + type_comment: None, + range: 22..23, + }, + ], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: Constant( + ExprConstant { + range: 25..26, + value: Int( + 0, + ), + kind: None, }, ), }, - }, - ), - }, + ), + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args.snap b/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args.snap index 06b339e8c8..39fcaaa437 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args.snap @@ -4,76 +4,59 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..17, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..17, + value: Lambda( + ExprLambda { range: 0..17, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 7..8, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 10..11, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 13..14, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 16..17, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", ), + annotation: None, + type_comment: None, + range: 7..8, }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 10..11, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 13..14, + }, + ], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: Constant( + ExprConstant { + range: 16..17, + value: Int( + 1, + ), + kind: None, }, ), }, - }, - ), - }, + ), + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args_with_defaults.snap b/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args_with_defaults.snap index a2525d5b34..ee28116143 100644 --- a/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args_with_defaults.snap +++ b/parser/src/snapshots/rustpython_parser__function__tests__lambda_pos_args_with_defaults.snap @@ -4,101 +4,78 @@ expression: parse_ast --- Ok( [ - Attributed { - range: 0..23, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..23, + value: Lambda( + ExprLambda { range: 0..23, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 7..8, - custom: (), - node: ArgData { - arg: Identifier( - "a", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 10..11, - custom: (), - node: ArgData { - arg: Identifier( - "b", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 16..17, - custom: (), - node: ArgData { - arg: Identifier( - "c", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [ - Attributed { - range: 12..14, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - Attributed { - range: 18..20, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - ], - }, - body: Attributed { - range: 22..23, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "a", ), + annotation: None, + type_comment: None, + range: 7..8, }, + Arg { + arg: Identifier( + "b", + ), + annotation: None, + type_comment: None, + range: 10..11, + }, + Arg { + arg: Identifier( + "c", + ), + annotation: None, + type_comment: None, + range: 16..17, + }, + ], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [ + Constant( + ExprConstant { + range: 12..14, + value: Int( + 20, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 18..20, + value: Int( + 30, + ), + kind: None, + }, + ), + ], + range: (), + }, + body: Constant( + ExprConstant { + range: 22..23, + value: Int( + 1, + ), + kind: None, }, ), }, - }, - ), - }, + ), + }, + ), ], ) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__dict_unpacking.snap b/parser/src/snapshots/rustpython_parser__parser__tests__dict_unpacking.snap index d0c008d830..bfe86746b3 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__dict_unpacking.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__dict_unpacking.snap @@ -2,80 +2,62 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..25, - custom: (), - node: Dict( - ExprDict { - keys: [ - Some( - Attributed { +Dict( + ExprDict { + range: 0..25, + keys: [ + Some( + Constant( + ExprConstant { range: 1..4, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "a", - ), - kind: None, - }, + value: Str( + "a", ), + kind: None, }, ), - None, - Some( - Attributed { + ), + None, + Some( + Constant( + ExprConstant { range: 16..19, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "d", - ), - kind: None, - }, + value: Str( + "d", ), + kind: None, }, ), - ], - values: [ - Attributed { + ), + ], + values: [ + Constant( + ExprConstant { range: 6..9, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "b", - ), - kind: None, - }, + value: Str( + "b", ), + kind: None, }, - Attributed { + ), + Name( + ExprName { range: 13..14, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, + id: Identifier( + "c", ), + ctx: Load, }, - Attributed { + ), + Constant( + ExprConstant { range: 21..24, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "e", - ), - kind: None, - }, + value: Str( + "e", ), + kind: None, }, - ], - }, - ), -} + ), + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__generator_expression_argument.snap b/parser/src/snapshots/rustpython_parser__parser__tests__generator_expression_argument.snap index 4cc59786c5..814cb86165 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__generator_expression_argument.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__generator_expression_argument.snap @@ -2,213 +2,157 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..141, - custom: (), - node: Call( - ExprCall { - func: Attributed { +Call( + ExprCall { + range: 0..141, + func: Attribute( + ExprAttribute { range: 0..8, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 0..3, - custom: (), - node: Constant( - ExprConstant { - value: Str( - " ", - ), - kind: None, - }, - ), - }, - attr: Identifier( - "join", + value: Constant( + ExprConstant { + range: 0..3, + value: Str( + " ", ), - ctx: Load, + kind: None, }, ), + attr: Identifier( + "join", + ), + ctx: Load, }, - args: [ - Attributed { + ), + args: [ + GeneratorExp( + ExprGeneratorExp { range: 14..139, - custom: (), - node: GeneratorExp( - ExprGeneratorExp { - elt: Attributed { - range: 14..17, - custom: (), - node: Name( - ExprName { - id: Identifier( - "sql", - ), - ctx: Load, - }, - ), - }, - generators: [ - Comprehension { - target: Attributed { - range: 26..29, - custom: (), - node: Name( - ExprName { - id: Identifier( - "sql", - ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 33..139, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 43..80, - custom: (), - node: IfExp( - ExprIfExp { - test: Attributed { - range: 65..70, - custom: (), - node: Name( - ExprName { - id: Identifier( - "limit", - ), - ctx: Load, - }, - ), - }, - body: Attributed { - range: 43..61, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 43..53, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "LIMIT %d", - ), - kind: None, - }, - ), - }, - op: Mod, - right: Attributed { - range: 56..61, - custom: (), - node: Name( - ExprName { - id: Identifier( - "limit", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - orelse: Attributed { - range: 76..80, - custom: (), - node: Constant( - ExprConstant { - value: None, - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 90..132, - custom: (), - node: IfExp( - ExprIfExp { - test: Attributed { - range: 116..122, - custom: (), - node: Name( - ExprName { - id: Identifier( - "offset", - ), - ctx: Load, - }, - ), - }, - body: Attributed { - range: 91..111, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 91..102, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "OFFSET %d", - ), - kind: None, - }, - ), - }, - op: Mod, - right: Attributed { - range: 105..111, - custom: (), - node: Name( - ExprName { - id: Identifier( - "offset", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - orelse: Attributed { - range: 128..132, - custom: (), - node: Constant( - ExprConstant { - value: None, - kind: None, - }, - ), - }, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - ], + elt: Name( + ExprName { + range: 14..17, + id: Identifier( + "sql", + ), + ctx: Load, }, ), + generators: [ + Comprehension { + target: Name( + ExprName { + range: 26..29, + id: Identifier( + "sql", + ), + ctx: Store, + }, + ), + iter: Tuple( + ExprTuple { + range: 33..139, + elts: [ + IfExp( + ExprIfExp { + range: 43..80, + test: Name( + ExprName { + range: 65..70, + id: Identifier( + "limit", + ), + ctx: Load, + }, + ), + body: BinOp( + ExprBinOp { + range: 43..61, + left: Constant( + ExprConstant { + range: 43..53, + value: Str( + "LIMIT %d", + ), + kind: None, + }, + ), + op: Mod, + right: Name( + ExprName { + range: 56..61, + id: Identifier( + "limit", + ), + ctx: Load, + }, + ), + }, + ), + orelse: Constant( + ExprConstant { + range: 76..80, + value: None, + kind: None, + }, + ), + }, + ), + IfExp( + ExprIfExp { + range: 90..132, + test: Name( + ExprName { + range: 116..122, + id: Identifier( + "offset", + ), + ctx: Load, + }, + ), + body: BinOp( + ExprBinOp { + range: 91..111, + left: Constant( + ExprConstant { + range: 91..102, + value: Str( + "OFFSET %d", + ), + kind: None, + }, + ), + op: Mod, + right: Name( + ExprName { + range: 105..111, + id: Identifier( + "offset", + ), + ctx: Load, + }, + ), + }, + ), + orelse: Constant( + ExprConstant { + range: 128..132, + value: None, + kind: None, + }, + ), + }, + ), + ], + ctx: Load, + }, + ), + ifs: [], + is_async: false, + range: (), + }, + ], }, - ], - keywords: [], - }, - ), -} + ), + ], + keywords: [], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__match.snap b/parser/src/snapshots/rustpython_parser__parser__tests__match.snap index 1517eccbac..2a87e7557c 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__match.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__match.snap @@ -3,609 +3,458 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 1..73, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + Match( + StmtMatch { + range: 1..73, + subject: Dict( + ExprDict { range: 7..18, - custom: (), - node: Dict( - ExprDict { - keys: [ - Some( - Attributed { - range: 8..14, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "test", - ), - kind: None, - }, - ), - }, - ), - ], - values: [ - Attributed { - range: 16..17, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 29..52, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: Some( - Identifier( - "rest", - ), + keys: [ + Some( + Constant( + ExprConstant { + range: 8..14, + value: Str( + "test", ), + kind: None, }, ), + ), + ], + values: [ + Constant( + ExprConstant { + range: 16..17, + value: Int( + 1, + ), + kind: None, + }, + ), + ], + }, + ), + cases: [ + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 29..52, + keys: [], + patterns: [], + rest: Some( + Identifier( + "rest", + ), + ), }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Expr( + StmtExpr { range: 62..73, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 62..73, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 62..67, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 68..72, - custom: (), - node: Name( - ExprName { - id: Identifier( - "rest", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], + value: Call( + ExprCall { + range: 62..73, + func: Name( + ExprName { + range: 62..67, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + Name( + ExprName { + range: 68..72, + id: Identifier( + "rest", + ), + ctx: Load, }, ), - }, + ], + keywords: [], }, ), }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 74..177, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 74..177, + subject: Dict( + ExprDict { range: 80..97, - custom: (), - node: Dict( - ExprDict { + keys: [ + Some( + Constant( + ExprConstant { + range: 81..88, + value: Str( + "label", + ), + kind: None, + }, + ), + ), + ], + values: [ + Constant( + ExprConstant { + range: 90..96, + value: Str( + "test", + ), + kind: None, + }, + ), + ], + }, + ), + cases: [ + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 108..155, keys: [ - Some( - Attributed { - range: 81..88, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "label", - ), - kind: None, - }, + Constant( + ExprConstant { + range: 118..125, + value: Str( + "label", + ), + kind: None, + }, + ), + ], + patterns: [ + MatchAs( + PatternMatchAs { + range: 127..148, + pattern: Some( + MatchOr( + PatternMatchOr { + range: 127..139, + patterns: [ + MatchClass( + PatternMatchClass { + range: 127..132, + cls: Name( + ExprName { + range: 127..130, + id: Identifier( + "str", + ), + ctx: Load, + }, + ), + patterns: [], + kwd_attrs: [], + kwd_patterns: [], + }, + ), + MatchSingleton( + PatternMatchSingleton { + range: 135..139, + value: None, + }, + ), + ], + }, + ), + ), + name: Some( + Identifier( + "label", + ), ), }, ), ], - values: [ - Attributed { - range: 90..96, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "test", - ), - kind: None, - }, - ), - }, - ], + rest: None, }, ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 108..155, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 118..125, - custom: (), - node: Constant( - ExprConstant { - value: Str( + guard: None, + body: [ + Expr( + StmtExpr { + range: 165..177, + value: Call( + ExprCall { + range: 165..177, + func: Name( + ExprName { + range: 165..170, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + Name( + ExprName { + range: 171..176, + id: Identifier( "label", ), - kind: None, + ctx: Load, }, ), - }, - ], - patterns: [ - Attributed { - range: 127..148, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: Some( - Attributed { - range: 127..139, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 127..132, - custom: (), - node: MatchClass( - PatternMatchClass { - cls: Attributed { - range: 127..130, - custom: (), - node: Name( - ExprName { - id: Identifier( - "str", - ), - ctx: Load, - }, - ), - }, - patterns: [], - kwd_attrs: [], - kwd_patterns: [], - }, - ), - }, - Attributed { - range: 135..139, - custom: (), - node: MatchSingleton( - PatternMatchSingleton { - value: None, - }, - ), - }, - ], - }, - ), - }, - ), - name: Some( - Identifier( - "label", - ), - ), - }, - ), - }, - ], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 165..177, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 165..177, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 165..170, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 171..176, - custom: (), - node: Name( - ExprName { - id: Identifier( - "label", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, + ], + keywords: [], }, ), }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 178..218, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 178..218, + subject: Name( + ExprName { range: 184..185, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 196..203, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 197..198, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 197..198, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 200..201, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 200..201, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), + patterns: [ + MatchValue( + PatternMatchValue { + range: 197..198, + value: Constant( + ExprConstant { + range: 197..198, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 200..201, + value: Constant( + ExprConstant { + range: 200..201, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ], }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Assign( + StmtAssign { range: 213..218, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 213..214, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 217..218, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + targets: [ + Name( + ExprName { + range: 213..214, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 217..218, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 219..259, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 219..259, + subject: Name( + ExprName { range: 225..226, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 237..244, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 238..239, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 238..239, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 241..242, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 241..242, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 254..259, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 254..255, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, + patterns: [ + MatchValue( + PatternMatchValue { + range: 238..239, + value: Constant( + ExprConstant { + range: 238..239, + value: Int( + 0, ), + kind: None, }, - ], - value: Attributed { - range: 258..259, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, + ), }, ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 260..297, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 266..267, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, + MatchValue( + PatternMatchValue { + range: 241..242, + value: Constant( + ExprConstant { + range: 241..242, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ], }, ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 278..282, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 279..280, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 279..280, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, + guard: None, + body: [ + Assign( + StmtAssign { + range: 254..259, + targets: [ + Name( + ExprName { + range: 254..255, + id: Identifier( + "y", ), + ctx: Store, }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 292..297, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 292..293, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 296..297, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 258..259, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 260..297, + subject: Name( + ExprName { + range: 266..267, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 278..282, + patterns: [ + MatchValue( + PatternMatchValue { + range: 279..280, + value: Constant( + ExprConstant { + range: 279..280, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 292..297, + targets: [ + Name( + ExprName { + range: 292..293, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 296..297, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__match_as_identifier.snap b/parser/src/snapshots/rustpython_parser__parser__tests__match_as_identifier.snap index 562152751d..46bfa21e1d 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__match_as_identifier.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__match_as_identifier.snap @@ -3,893 +3,336 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 1..16, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 1..16, + value: Tuple( + ExprTuple { range: 1..16, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 1..13, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 1..9, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 1..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - op: Mult, - right: Attributed { - range: 8..9, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - }, + elts: [ + BinOp( + ExprBinOp { + range: 1..13, + left: BinOp( + ExprBinOp { + range: 1..9, + left: Name( + ExprName { + range: 1..6, + id: Identifier( + "match", ), + ctx: Load, }, - op: Add, - right: Attributed { - range: 12..13, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, + ), + op: Mult, + right: Name( + ExprName { + range: 8..9, + id: Identifier( + "a", ), + ctx: Load, }, - }, - ), - }, - Attributed { - range: 15..16, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 42..59, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 42..59, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 42..56, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 42..47, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - op: Mult, - right: Attributed { - range: 50..55, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 50..51, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - op: Add, - right: Attributed { - range: 54..55, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - }, - ), - }, - Attributed { - range: 58..59, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 85..102, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 85..102, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 85..90, - custom: (), - node: Name( + ), + }, + ), + op: Add, + right: Name( ExprName { + range: 12..13, + id: Identifier( + "b", + ), + ctx: Load, + }, + ), + }, + ), + Name( + ExprName { + range: 15..16, + id: Identifier( + "c", + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + }, + ), + Expr( + StmtExpr { + range: 42..59, + value: Tuple( + ExprTuple { + range: 42..59, + elts: [ + BinOp( + ExprBinOp { + range: 42..56, + left: Name( + ExprName { + range: 42..47, id: Identifier( "match", ), ctx: Load, }, ), - }, - args: [ - Attributed { - range: 92..98, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 93..98, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 93..94, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - op: Add, - right: Attributed { - range: 97..98, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, + op: Mult, + right: BinOp( + ExprBinOp { + range: 50..55, + left: Name( + ExprName { + range: 50..51, + id: Identifier( + "a", ), + ctx: Load, }, - ctx: Load, - }, - ), - }, - Attributed { - range: 100..101, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], + ), + op: Add, + right: Name( + ExprName { + range: 54..55, + id: Identifier( + "b", + ), + ctx: Load, + }, + ), + }, + ), + }, + ), + Name( + ExprName { + range: 58..59, + id: Identifier( + "c", + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + }, + ), + Expr( + StmtExpr { + range: 85..102, + value: Call( + ExprCall { + range: 85..102, + func: Name( + ExprName { + range: 85..90, + id: Identifier( + "match", + ), + ctx: Load, }, ), + args: [ + Starred( + ExprStarred { + range: 92..98, + value: BinOp( + ExprBinOp { + range: 93..98, + left: Name( + ExprName { + range: 93..94, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + op: Add, + right: Name( + ExprName { + range: 97..98, + id: Identifier( + "b", + ), + ctx: Load, + }, + ), + }, + ), + ctx: Load, + }, + ), + Name( + ExprName { + range: 100..101, + id: Identifier( + "c", + ), + ctx: Load, + }, + ), + ], + keywords: [], }, - }, - ), - }, - Attributed { - range: 129..145, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + ), + }, + ), + Expr( + StmtExpr { + range: 129..145, + value: BinOp( + ExprBinOp { range: 129..145, - custom: (), - node: BinOp( + left: BinOp( ExprBinOp { - left: Attributed { - range: 129..141, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 129..134, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, + range: 129..141, + left: Name( + ExprName { + range: 129..134, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + op: Sub, + right: BinOp( + ExprBinOp { + range: 136..141, + left: Name( + ExprName { + range: 136..137, + id: Identifier( + "a", ), + ctx: Load, }, - op: Sub, - right: Attributed { - range: 136..141, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 136..137, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - op: Mult, - right: Attributed { - range: 140..141, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, + ), + op: Mult, + right: Name( + ExprName { + range: 140..141, + id: Identifier( + "b", ), + ctx: Load, }, - }, - ), - }, - op: Add, - right: Attributed { - range: 144..145, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, - ), - }, + ), + }, + ), + }, + ), + op: Add, + right: Name( + ExprName { + range: 144..145, + id: Identifier( + "c", + ), + ctx: Load, }, ), }, - }, - ), - }, - Attributed { - range: 172..190, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + ), + }, + ), + Expr( + StmtExpr { + range: 172..190, + value: BinOp( + ExprBinOp { range: 172..190, - custom: (), - node: BinOp( + left: BinOp( ExprBinOp { - left: Attributed { - range: 172..186, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 172..177, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, + range: 172..186, + left: Name( + ExprName { + range: 172..177, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + op: Sub, + right: BinOp( + ExprBinOp { + range: 180..185, + left: Name( + ExprName { + range: 180..181, + id: Identifier( + "a", ), + ctx: Load, }, - op: Sub, - right: Attributed { - range: 180..185, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 180..181, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - op: Mult, - right: Attributed { - range: 184..185, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, + ), + op: Mult, + right: Name( + ExprName { + range: 184..185, + id: Identifier( + "b", ), + ctx: Load, }, - }, - ), - }, - op: Add, - right: Attributed { - range: 189..190, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, - ), - }, + ), + }, + ), + }, + ), + op: Add, + right: Name( + ExprName { + range: 189..190, + id: Identifier( + "c", + ), + ctx: Load, }, ), }, - }, - ), - }, - Attributed { - range: 217..235, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + ), + }, + ), + Expr( + StmtExpr { + range: 217..235, + value: BinOp( + ExprBinOp { range: 217..235, - custom: (), - node: BinOp( + left: BinOp( ExprBinOp { - left: Attributed { - range: 217..231, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 217..227, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 217..222, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 224..226, - custom: (), - node: UnaryOp( - ExprUnaryOp { - op: USub, - operand: Attributed { - range: 225..226, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - ], - keywords: [], - }, + range: 217..231, + left: Call( + ExprCall { + range: 217..227, + func: Name( + ExprName { + range: 217..222, + id: Identifier( + "match", ), + ctx: Load, }, - op: Mult, - right: Attributed { - range: 230..231, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - op: Add, - right: Attributed { - range: 234..235, - custom: (), - node: Name( - ExprName { - id: Identifier( - "c", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - }, - ), - }, - Attributed { - range: 263..273, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 263..273, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 263..271, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 263..268, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - args: [], - keywords: [], - }, - ), - }, - attr: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 290..302, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 290..302, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 290..300, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 290..295, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 297..299, - custom: (), - node: Tuple( - ExprTuple { - elts: [], - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - attr: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 321..334, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 321..334, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 321..332, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 321..326, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 328..330, - custom: (), - node: Tuple( - ExprTuple { - elts: [], - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - attr: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 353..364, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 353..364, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 353..362, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 353..358, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 360..361, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - attr: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 382..394, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 382..394, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 382..392, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 382..387, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 389..391, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 389..390, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - attr: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 435..449, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 435..449, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 435..447, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 435..440, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 442..446, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 443..444, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - attr: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - Attributed { - range: 470..487, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 470..487, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 470..477, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 470..475, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - args: [], - keywords: [], - }, - ), - }, - slice: Attributed { - range: 478..486, - custom: (), - node: Slice( - ExprSlice { - lower: Some( - Attributed { - range: 478..479, - custom: (), - node: Name( + ), + args: [ + UnaryOp( + ExprUnaryOp { + range: 224..226, + op: USub, + operand: Name( ExprName { + range: 225..226, id: Identifier( "a", ), @@ -898,314 +341,544 @@ expression: parse_ast ), }, ), - upper: Some( - Attributed { - range: 485..486, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, - ), - }, - ), - step: None, - }, - ), - }, - ctx: Load, + ], + keywords: [], + }, + ), + op: Mult, + right: Name( + ExprName { + range: 230..231, + id: Identifier( + "b", + ), + ctx: Load, + }, + ), }, ), - }, - }, - ), - }, - Attributed { - range: 507..526, - custom: (), - node: If( - StmtIf { - test: Attributed { - range: 510..520, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 510..515, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 519..520, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - body: [ - Attributed { - range: 522..526, - custom: (), - node: Pass, - }, - ], - orelse: [], - }, - ), - }, - Attributed { - range: 527..581, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 533..538, - custom: (), - node: Name( + op: Add, + right: Name( ExprName { + range: 234..235, id: Identifier( - "match", + "c", ), ctx: Load, }, ), }, - cases: [ - MatchCase { - pattern: Attributed { - range: 549..550, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 549..550, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, + ), + }, + ), + Expr( + StmtExpr { + range: 263..273, + value: Attribute( + ExprAttribute { + range: 263..273, + value: Call( + ExprCall { + range: 263..271, + func: Name( + ExprName { + range: 263..268, + id: Identifier( + "match", + ), + ctx: Load, }, ), - }, - guard: None, - body: [ - Attributed { - range: 552..556, - custom: (), - node: Pass, - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 566..567, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 566..567, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 577..581, - custom: (), - node: Pass, - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 582..618, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 582..587, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 590..618, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 597..602, - custom: (), - node: ArgData { - arg: Identifier( - "query", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 604..618, - custom: (), - node: Compare( - ExprCompare { - left: Attributed { - range: 604..609, - custom: (), - node: Name( - ExprName { - id: Identifier( - "query", - ), - ctx: Load, - }, - ), - }, - ops: [ - Eq, - ], - comparators: [ - Attributed { - range: 613..618, - custom: (), - node: Name( - ExprName { - id: Identifier( - "event", - ), - ctx: Load, - }, - ), - }, - ], - }, - ), - }, + args: [], + keywords: [], }, ), + attr: Identifier( + "a", + ), + ctx: Load, }, - type_comment: None, - }, - ), - }, - Attributed { - range: 619..635, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 619..635, - custom: (), - node: Call( + ), + }, + ), + Expr( + StmtExpr { + range: 290..302, + value: Attribute( + ExprAttribute { + range: 290..302, + value: Call( ExprCall { - func: Attributed { - range: 619..624, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), + range: 290..300, + func: Name( + ExprName { + range: 290..295, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + args: [ + Tuple( + ExprTuple { + range: 297..299, + elts: [], ctx: Load, }, ), - }, - args: [ - Attributed { - range: 625..634, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 625..630, - custom: (), - node: Name( - ExprName { - id: Identifier( - "match", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 631..633, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 12, - ), - kind: None, - }, - ), - }, - ], - keywords: [], - }, - ), - }, ], keywords: [], }, ), + attr: Identifier( + "a", + ), + ctx: Load, }, - }, - ), - }, + ), + }, + ), + Expr( + StmtExpr { + range: 321..334, + value: Attribute( + ExprAttribute { + range: 321..334, + value: Call( + ExprCall { + range: 321..332, + func: Name( + ExprName { + range: 321..326, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + args: [ + Tuple( + ExprTuple { + range: 328..330, + elts: [], + ctx: Load, + }, + ), + ], + keywords: [], + }, + ), + attr: Identifier( + "a", + ), + ctx: Load, + }, + ), + }, + ), + Expr( + StmtExpr { + range: 353..364, + value: Attribute( + ExprAttribute { + range: 353..364, + value: Subscript( + ExprSubscript { + range: 353..362, + value: Name( + ExprName { + range: 353..358, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + slice: Name( + ExprName { + range: 360..361, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + attr: Identifier( + "b", + ), + ctx: Load, + }, + ), + }, + ), + Expr( + StmtExpr { + range: 382..394, + value: Attribute( + ExprAttribute { + range: 382..394, + value: Subscript( + ExprSubscript { + range: 382..392, + value: Name( + ExprName { + range: 382..387, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + slice: Tuple( + ExprTuple { + range: 389..391, + elts: [ + Name( + ExprName { + range: 389..390, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + ctx: Load, + }, + ), + attr: Identifier( + "b", + ), + ctx: Load, + }, + ), + }, + ), + Expr( + StmtExpr { + range: 435..449, + value: Attribute( + ExprAttribute { + range: 435..449, + value: Subscript( + ExprSubscript { + range: 435..447, + value: Name( + ExprName { + range: 435..440, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + slice: Tuple( + ExprTuple { + range: 442..446, + elts: [ + Name( + ExprName { + range: 443..444, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + ctx: Load, + }, + ), + attr: Identifier( + "b", + ), + ctx: Load, + }, + ), + }, + ), + Expr( + StmtExpr { + range: 470..487, + value: Subscript( + ExprSubscript { + range: 470..487, + value: Call( + ExprCall { + range: 470..477, + func: Name( + ExprName { + range: 470..475, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + args: [], + keywords: [], + }, + ), + slice: Slice( + ExprSlice { + range: 478..486, + lower: Some( + Name( + ExprName { + range: 478..479, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ), + upper: Some( + Name( + ExprName { + range: 485..486, + id: Identifier( + "b", + ), + ctx: Load, + }, + ), + ), + step: None, + }, + ), + ctx: Load, + }, + ), + }, + ), + If( + StmtIf { + range: 507..526, + test: NamedExpr( + ExprNamedExpr { + range: 510..520, + target: Name( + ExprName { + range: 510..515, + id: Identifier( + "match", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 519..520, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + body: [ + Pass( + StmtPass { + range: 522..526, + }, + ), + ], + orelse: [], + }, + ), + Match( + StmtMatch { + range: 527..581, + subject: Name( + ExprName { + range: 533..538, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 549..550, + value: Constant( + ExprConstant { + range: 549..550, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + guard: None, + body: [ + Pass( + StmtPass { + range: 552..556, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 566..567, + value: Constant( + ExprConstant { + range: 566..567, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + guard: None, + body: [ + Pass( + StmtPass { + range: 577..581, + }, + ), + ], + range: (), + }, + ], + }, + ), + Assign( + StmtAssign { + range: 582..618, + targets: [ + Name( + ExprName { + range: 582..587, + id: Identifier( + "match", + ), + ctx: Store, + }, + ), + ], + value: Lambda( + ExprLambda { + range: 590..618, + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "query", + ), + annotation: None, + type_comment: None, + range: 597..602, + }, + ], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: Compare( + ExprCompare { + range: 604..618, + left: Name( + ExprName { + range: 604..609, + id: Identifier( + "query", + ), + ctx: Load, + }, + ), + ops: [ + Eq, + ], + comparators: [ + Name( + ExprName { + range: 613..618, + id: Identifier( + "event", + ), + ctx: Load, + }, + ), + ], + }, + ), + }, + ), + type_comment: None, + }, + ), + Expr( + StmtExpr { + range: 619..635, + value: Call( + ExprCall { + range: 619..635, + func: Name( + ExprName { + range: 619..624, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + Call( + ExprCall { + range: 625..634, + func: Name( + ExprName { + range: 625..630, + id: Identifier( + "match", + ), + ctx: Load, + }, + ), + args: [ + Constant( + ExprConstant { + range: 631..633, + value: Int( + 12, + ), + kind: None, + }, + ), + ], + keywords: [], + }, + ), + ], + keywords: [], + }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_and.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_and.snap index 6434b62849..aba6bff5bf 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_and.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_and.snap @@ -2,38 +2,29 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..7, - custom: (), - node: BoolOp( - ExprBoolOp { - op: And, - values: [ - Attributed { +BoolOp( + ExprBoolOp { + range: 0..7, + op: And, + values: [ + Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - Attributed { + ), + Name( + ExprName { range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, + id: Identifier( + "y", ), + ctx: Load, }, - ], - }, - ), -} + ), + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_or.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_or.snap index 729d6eb97e..c7f31caaf5 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_or.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_bool_op_or.snap @@ -2,38 +2,29 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..6, - custom: (), - node: BoolOp( - ExprBoolOp { - op: Or, - values: [ - Attributed { +BoolOp( + ExprBoolOp { + range: 0..6, + op: Or, + values: [ + Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - Attributed { + ), + Name( + ExprName { range: 5..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, + id: Identifier( + "y", ), + ctx: Load, }, - ], - }, - ), -} + ), + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_class.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_class.snap index 2b896f474e..3b254781ef 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_class.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_class.snap @@ -3,153 +3,128 @@ source: parser/src/parser.rs expression: "parse_program(source, \"\").unwrap()" --- [ - Attributed { - range: 0..98, - custom: (), - node: ClassDef( - StmtClassDef { - name: Identifier( - "Foo", - ), - bases: [ - Attributed { + ClassDef( + StmtClassDef { + range: 0..98, + name: Identifier( + "Foo", + ), + bases: [ + Name( + ExprName { range: 10..11, - custom: (), - node: Name( - ExprName { - id: Identifier( - "A", - ), - ctx: Load, - }, + id: Identifier( + "A", ), + ctx: Load, }, - Attributed { + ), + Name( + ExprName { range: 13..14, - custom: (), - node: Name( - ExprName { - id: Identifier( - "B", - ), - ctx: Load, - }, + id: Identifier( + "B", ), + ctx: Load, }, - ], - keywords: [], - body: [ - Attributed { + ), + ], + keywords: [], + body: [ + FunctionDef( + StmtFunctionDef { range: 18..44, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "__init__", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 31..35, - custom: (), - node: ArgData { - arg: Identifier( - "self", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 40..44, - custom: (), - node: Pass, - }, - ], - decorator_list: [], - returns: None, - type_comment: None, - }, + name: Identifier( + "__init__", ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "self", + ), + annotation: None, + type_comment: None, + range: 31..35, + }, + ], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: [ + Pass( + StmtPass { + range: 40..44, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, }, - Attributed { + ), + FunctionDef( + StmtFunctionDef { range: 46..98, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "method_with_default", - ), - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 70..74, - custom: (), - node: ArgData { - arg: Identifier( - "self", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 76..79, - custom: (), - node: ArgData { - arg: Identifier( - "arg", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [ - Attributed { - range: 80..89, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "default", - ), - kind: None, - }, - ), - }, - ], - }, - body: [ - Attributed { - range: 94..98, - custom: (), - node: Pass, - }, - ], - decorator_list: [], - returns: None, - type_comment: None, - }, + name: Identifier( + "method_with_default", ), + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "self", + ), + annotation: None, + type_comment: None, + range: 70..74, + }, + Arg { + arg: Identifier( + "arg", + ), + annotation: None, + type_comment: None, + range: 76..79, + }, + ], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [ + Constant( + ExprConstant { + range: 80..89, + value: Str( + "default", + ), + kind: None, + }, + ), + ], + range: (), + }, + body: [ + Pass( + StmtPass { + range: 94..98, + }, + ), + ], + decorator_list: [], + returns: None, + type_comment: None, }, - ], - decorator_list: [], - }, - ), - }, + ), + ], + decorator_list: [], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_dict_comprehension.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_dict_comprehension.snap index 29dbce0088..38fcb30194 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_dict_comprehension.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_dict_comprehension.snap @@ -2,65 +2,51 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..19, - custom: (), - node: DictComp( - ExprDictComp { - key: Attributed { +DictComp( + ExprDictComp { + range: 0..19, + key: Name( + ExprName { range: 1..3, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x1", - ), - ctx: Load, - }, + id: Identifier( + "x1", ), + ctx: Load, }, - value: Attributed { + ), + value: Name( + ExprName { range: 5..7, - custom: (), - node: Name( + id: Identifier( + "x2", + ), + ctx: Load, + }, + ), + generators: [ + Comprehension { + target: Name( ExprName { + range: 12..13, id: Identifier( - "x2", + "y", + ), + ctx: Store, + }, + ), + iter: Name( + ExprName { + range: 17..18, + id: Identifier( + "z", ), ctx: Load, }, ), + ifs: [], + is_async: false, + range: (), }, - generators: [ - Comprehension { - target: Attributed { - range: 12..13, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 17..18, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - ], - }, - ), -} + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_double_list_comprehension.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_double_list_comprehension.snap index 7e924f96ee..d81ad35fd4 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_double_list_comprehension.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_double_list_comprehension.snap @@ -2,179 +2,139 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..48, - custom: (), - node: ListComp( - ExprListComp { - elt: Attributed { +ListComp( + ExprListComp { + range: 0..48, + elt: Name( + ExprName { range: 1..2, - custom: (), - node: Name( + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + generators: [ + Comprehension { + target: Tuple( + ExprTuple { + range: 7..12, + elts: [ + Name( + ExprName { + range: 7..8, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + Name( + ExprName { + range: 10..12, + id: Identifier( + "y2", + ), + ctx: Store, + }, + ), + ], + ctx: Store, + }, + ), + iter: Name( ExprName { + range: 16..17, id: Identifier( - "x", + "z", ), ctx: Load, }, ), + ifs: [], + is_async: false, + range: (), }, - generators: [ - Comprehension { - target: Attributed { - range: 7..12, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 7..8, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - Attributed { - range: 10..12, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y2", - ), - ctx: Store, - }, - ), - }, - ], - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 16..17, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - Comprehension { - target: Attributed { + Comprehension { + target: Name( + ExprName { range: 22..23, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, + id: Identifier( + "a", ), + ctx: Store, }, - iter: Attributed { + ), + iter: Name( + ExprName { range: 27..28, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, + id: Identifier( + "b", ), + ctx: Load, }, - ifs: [ - Attributed { + ), + ifs: [ + Compare( + ExprCompare { range: 32..37, - custom: (), - node: Compare( - ExprCompare { - left: Attributed { - range: 32..33, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ops: [ - Lt, - ], - comparators: [ - Attributed { - range: 36..37, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 5, - ), - kind: None, - }, - ), - }, - ], + left: Name( + ExprName { + range: 32..33, + id: Identifier( + "a", + ), + ctx: Load, }, ), + ops: [ + Lt, + ], + comparators: [ + Constant( + ExprConstant { + range: 36..37, + value: Int( + 5, + ), + kind: None, + }, + ), + ], }, - Attributed { + ), + Compare( + ExprCompare { range: 41..47, - custom: (), - node: Compare( - ExprCompare { - left: Attributed { - range: 41..42, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ops: [ - Gt, - ], - comparators: [ - Attributed { - range: 45..47, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 10, - ), - kind: None, - }, - ), - }, - ], + left: Name( + ExprName { + range: 41..42, + id: Identifier( + "a", + ), + ctx: Load, }, ), + ops: [ + Gt, + ], + comparators: [ + Constant( + ExprConstant { + range: 45..47, + value: Int( + 10, + ), + kind: None, + }, + ), + ], }, - ], - is_async: false, - }, - ], - }, - ), -} + ), + ], + is_async: false, + range: (), + }, + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_f_string.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_f_string.snap index 7fd3d4fdd6..ee547558a3 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_f_string.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_f_string.snap @@ -3,34 +3,25 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..14, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..14, + value: JoinedStr( + ExprJoinedStr { range: 0..14, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..14, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..14, + value: Str( + "Hello world", + ), + kind: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_generator_comprehension.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_generator_comprehension.snap index e1bfe1c4ca..560fe2fcd5 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_generator_comprehension.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_generator_comprehension.snap @@ -2,53 +2,42 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..14, - custom: (), - node: GeneratorExp( - ExprGeneratorExp { - elt: Attributed { +GeneratorExp( + ExprGeneratorExp { + range: 0..14, + elt: Name( + ExprName { range: 1..2, - custom: (), - node: Name( + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + generators: [ + Comprehension { + target: Name( ExprName { + range: 7..8, id: Identifier( - "x", + "y", + ), + ctx: Store, + }, + ), + iter: Name( + ExprName { + range: 12..13, + id: Identifier( + "z", ), ctx: Load, }, ), + ifs: [], + is_async: false, + range: (), }, - generators: [ - Comprehension { - target: Attributed { - range: 7..8, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 12..13, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - ], - }, - ), -} + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_elif_else.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_elif_else.snap index 9d0d3b365d..76a73d2a74 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_elif_else.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_elif_else.snap @@ -3,112 +3,82 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..28, - custom: (), - node: If( - StmtIf { - test: Attributed { + If( + StmtIf { + range: 0..28, + test: Constant( + ExprConstant { range: 3..4, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - body: [ - Attributed { + ), + body: [ + Expr( + StmtExpr { range: 6..8, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 6..8, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 10, - ), - kind: None, - }, - ), - }, + value: Constant( + ExprConstant { + range: 6..8, + value: Int( + 10, + ), + kind: None, }, ), }, - ], - orelse: [ - Attributed { + ), + ], + orelse: [ + If( + StmtIf { range: 9..28, - custom: (), - node: If( - StmtIf { - test: Attributed { - range: 14..15, - custom: (), - node: Constant( + test: Constant( + ExprConstant { + range: 14..15, + value: Int( + 2, + ), + kind: None, + }, + ), + body: [ + Expr( + StmtExpr { + range: 17..19, + value: Constant( ExprConstant { + range: 17..19, value: Int( - 2, + 20, ), kind: None, }, ), }, - body: [ - Attributed { - range: 17..19, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 17..19, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 20, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - orelse: [ - Attributed { - range: 26..28, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 26..28, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 30, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), + ), + ], + orelse: [ + Expr( + StmtExpr { + range: 26..28, + value: Constant( + ExprConstant { + range: 26..28, + value: Int( + 30, + ), + kind: None, + }, + ), + }, + ), + ], }, - ], - }, - ), - }, + ), + ], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_else_generator_comprehension.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_else_generator_comprehension.snap index 16e578dff1..d0ec95f1f8 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_else_generator_comprehension.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_if_else_generator_comprehension.snap @@ -2,85 +2,65 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..26, - custom: (), - node: GeneratorExp( - ExprGeneratorExp { - elt: Attributed { +GeneratorExp( + ExprGeneratorExp { + range: 0..26, + elt: IfExp( + ExprIfExp { range: 1..14, - custom: (), - node: IfExp( - ExprIfExp { - test: Attributed { - range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - body: Attributed { - range: 1..2, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - orelse: Attributed { - range: 13..14, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, + test: Name( + ExprName { + range: 6..7, + id: Identifier( + "y", + ), + ctx: Load, + }, + ), + body: Name( + ExprName { + range: 1..2, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + orelse: Name( + ExprName { + range: 13..14, + id: Identifier( + "y", + ), + ctx: Load, }, ), }, - generators: [ - Comprehension { - target: Attributed { + ), + generators: [ + Comprehension { + target: Name( + ExprName { range: 19..20, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, + id: Identifier( + "y", ), + ctx: Store, }, - iter: Attributed { + ), + iter: Name( + ExprName { range: 24..25, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Load, - }, + id: Identifier( + "z", ), + ctx: Load, }, - ifs: [], - is_async: false, - }, - ], - }, - ), -} + ), + ifs: [], + is_async: false, + range: (), + }, + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_kwargs.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_kwargs.snap index b1a81b7b94..c190539bc8 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_kwargs.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_kwargs.snap @@ -3,71 +3,53 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..32, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..32, + value: Call( + ExprCall { range: 0..32, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 0..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "my_func", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 8..20, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "positional", - ), - kind: None, - }, - ), - }, - ], - keywords: [ - Attributed { - range: 22..31, - custom: (), - node: KeywordData { - arg: Some( - Identifier( - "keyword", - ), - ), - value: Attributed { - range: 30..31, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - }, - ], + func: Name( + ExprName { + range: 0..7, + id: Identifier( + "my_func", + ), + ctx: Load, }, ), + args: [ + Constant( + ExprConstant { + range: 8..20, + value: Str( + "positional", + ), + kind: None, + }, + ), + ], + keywords: [ + Keyword { + arg: Some( + Identifier( + "keyword", + ), + ), + value: Constant( + ExprConstant { + range: 30..31, + value: Int( + 2, + ), + kind: None, + }, + ), + range: 22..31, + }, + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_lambda.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_lambda.snap index a250e2b0d6..9e0aec440c 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_lambda.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_lambda.snap @@ -3,85 +3,65 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..18, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..18, + value: Lambda( + ExprLambda { range: 0..18, - custom: (), - node: Lambda( - ExprLambda { - args: Arguments { - posonlyargs: [], - args: [ - Attributed { - range: 7..8, - custom: (), - node: ArgData { - arg: Identifier( - "x", - ), - annotation: None, - type_comment: None, - }, - }, - Attributed { - range: 10..11, - custom: (), - node: ArgData { - arg: Identifier( - "y", - ), - annotation: None, - type_comment: None, - }, - }, - ], - vararg: None, - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: Attributed { - range: 13..18, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 13..14, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - op: Mult, - right: Attributed { - range: 17..18, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - }, + args: Arguments { + posonlyargs: [], + args: [ + Arg { + arg: Identifier( + "x", ), + annotation: None, + type_comment: None, + range: 7..8, }, + Arg { + arg: Identifier( + "y", + ), + annotation: None, + type_comment: None, + range: 10..11, + }, + ], + vararg: None, + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: BinOp( + ExprBinOp { + range: 13..18, + left: Name( + ExprName { + range: 13..14, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + op: Mult, + right: Name( + ExprName { + range: 17..18, + id: Identifier( + "y", + ), + ctx: Load, + }, + ), }, ), }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_list_comprehension.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_list_comprehension.snap index ba05d3dec7..d935d00640 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_list_comprehension.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_list_comprehension.snap @@ -2,53 +2,42 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..14, - custom: (), - node: ListComp( - ExprListComp { - elt: Attributed { +ListComp( + ExprListComp { + range: 0..14, + elt: Name( + ExprName { range: 1..2, - custom: (), - node: Name( + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + generators: [ + Comprehension { + target: Name( ExprName { + range: 7..8, id: Identifier( - "x", + "y", + ), + ctx: Store, + }, + ), + iter: Name( + ExprName { + range: 12..13, + id: Identifier( + "z", ), ctx: Load, }, ), + ifs: [], + is_async: false, + range: (), }, - generators: [ - Comprehension { - target: Attributed { - range: 7..8, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 12..13, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Load, - }, - ), - }, - ifs: [], - is_async: false, - }, - ], - }, - ), -} + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_named_expression_generator_comprehension.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_named_expression_generator_comprehension.snap index 1b6cadd0cf..cfe0bafc8e 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_named_expression_generator_comprehension.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_named_expression_generator_comprehension.snap @@ -2,94 +2,71 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..23, - custom: (), - node: GeneratorExp( - ExprGeneratorExp { - elt: Attributed { +GeneratorExp( + ExprGeneratorExp { + range: 0..23, + elt: NamedExpr( + ExprNamedExpr { range: 1..11, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 1..2, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 6..11, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Load, - }, - ), - }, - op: Add, - right: Attributed { - range: 10..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, + target: Name( + ExprName { + range: 1..2, + id: Identifier( + "x", + ), + ctx: Store, }, ), - }, - generators: [ - Comprehension { - target: Attributed { - range: 16..17, - custom: (), - node: Name( + value: BinOp( + ExprBinOp { + range: 6..11, + left: Name( ExprName { + range: 6..7, id: Identifier( "y", ), - ctx: Store, - }, - ), - }, - iter: Attributed { - range: 21..22, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), ctx: Load, }, ), + op: Add, + right: Constant( + ExprConstant { + range: 10..11, + value: Int( + 1, + ), + kind: None, + }, + ), }, - ifs: [], - is_async: false, - }, - ], - }, - ), -} + ), + }, + ), + generators: [ + Comprehension { + target: Name( + ExprName { + range: 16..17, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + iter: Name( + ExprName { + range: 21..22, + id: Identifier( + "z", + ), + ctx: Load, + }, + ), + ifs: [], + is_async: false, + range: (), + }, + ], + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_2.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_2.snap index 3c4772db68..af722c3e45 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_2.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_2.snap @@ -3,59 +3,44 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..23, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..23, + value: Call( + ExprCall { range: 0..23, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 0..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 6..19, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, - ), - }, - Attributed { - range: 21..22, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - ], - keywords: [], + func: Name( + ExprName { + range: 0..5, + id: Identifier( + "print", + ), + ctx: Load, }, ), + args: [ + Constant( + ExprConstant { + range: 6..19, + value: Str( + "Hello world", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 21..22, + value: Int( + 2, + ), + kind: None, + }, + ), + ], + keywords: [], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_hello.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_hello.snap index 18ac00dc2b..68b751195d 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_hello.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_print_hello.snap @@ -3,47 +3,35 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..20, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..20, + value: Call( + ExprCall { range: 0..20, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 0..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 6..19, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, - ), - }, - ], - keywords: [], + func: Name( + ExprName { + range: 0..5, + id: Identifier( + "print", + ), + ctx: Load, }, ), + args: [ + Constant( + ExprConstant { + range: 6..19, + value: Str( + "Hello world", + ), + kind: None, + }, + ), + ], + keywords: [], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_string.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_string.snap index 726f4c606f..ab4a453730 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_string.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_string.snap @@ -3,24 +3,18 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..13, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..13, + value: Constant( + ExprConstant { range: 0..13, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, + value: Str( + "Hello world", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__parse_tuples.snap b/parser/src/snapshots/rustpython_parser__parser__tests__parse_tuples.snap index ab544fc63b..c0172d1b34 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__parse_tuples.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__parse_tuples.snap @@ -3,85 +3,64 @@ source: parser/src/parser.rs expression: "parse_program(source, \"\").unwrap()" --- [ - Attributed { - range: 0..11, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..11, + targets: [ + Tuple( + ExprTuple { range: 0..4, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, - ), - }, - Attributed { - range: 3..4, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Store, - }, - ), - }, - ], - ctx: Store, + elts: [ + Name( + ExprName { + range: 0..1, + id: Identifier( + "a", + ), + ctx: Store, + }, + ), + Name( + ExprName { + range: 3..4, + id: Identifier( + "b", + ), + ctx: Store, + }, + ), + ], + ctx: Store, + }, + ), + ], + value: Tuple( + ExprTuple { + range: 7..11, + elts: [ + Constant( + ExprConstant { + range: 7..8, + value: Int( + 4, + ), + kind: None, }, ), - }, - ], - value: Attributed { - range: 7..11, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 7..8, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 4, - ), - kind: None, - }, - ), - }, - Attributed { - range: 10..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 5, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + Constant( + ExprConstant { + range: 10..11, + value: Int( + 5, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - type_comment: None, - }, - ), - }, + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__patma.snap b/parser/src/snapshots/rustpython_parser__parser__tests__patma.snap index 5c475be451..4ef5f8c512 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__patma.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__patma.snap @@ -3,3399 +3,1154 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 67..103, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + Match( + StmtMatch { + range: 67..103, + subject: Name( + ExprName { range: 73..74, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { range: 85..88, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 85..88, - custom: (), - node: UnaryOp( - ExprUnaryOp { - op: USub, - operand: Attributed { - range: 86..88, - custom: (), - node: Constant( - ExprConstant { - value: Complex { - real: 0.0, - imag: 0.0, - }, - kind: None, - }, - ), - }, + value: UnaryOp( + ExprUnaryOp { + range: 85..88, + op: USub, + operand: Constant( + ExprConstant { + range: 86..88, + value: Complex { + real: 0.0, + imag: 0.0, }, - ), - }, + kind: None, + }, + ), }, ), }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Assign( + StmtAssign { range: 98..103, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 98..99, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 102..103, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + targets: [ + Name( + ExprName { + range: 98..99, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 126..167, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 132..133, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 144..152, - custom: (), - node: MatchClass( - PatternMatchClass { - cls: Attributed { - range: 144..149, - custom: (), - node: Name( - ExprName { - id: Identifier( - "bytes", - ), - ctx: Load, - }, - ), - }, - patterns: [ - Attributed { - range: 150..151, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "z", - ), - ), - }, - ), - }, - ], - kwd_attrs: [], - kwd_patterns: [], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 162..167, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 162..163, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 166..167, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 190..260, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 196..197, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 208..209, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 208..209, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - guard: Some( - Attributed { - range: 213..214, - custom: (), - node: Constant( + ), + ], + value: Constant( ExprConstant { + range: 102..103, value: Int( 0, ), kind: None, }, ), + type_comment: None, }, ), - body: [ - Attributed { - range: 224..229, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 224..225, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 228..229, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 126..167, + subject: Name( + ExprName { + range: 132..133, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchClass( + PatternMatchClass { + range: 144..152, + cls: Name( + ExprName { + range: 144..149, + id: Identifier( + "bytes", + ), + ctx: Load, + }, + ), + patterns: [ + MatchAs( + PatternMatchAs { + range: 150..151, + pattern: None, + name: Some( + Identifier( + "z", ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 239..240, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 239..240, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, ), }, + ), + ], + kwd_attrs: [], + kwd_patterns: [], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 162..167, + targets: [ + Name( + ExprName { + range: 162..163, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 166..167, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 190..260, + subject: Name( + ExprName { + range: 196..197, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 208..209, + value: Constant( + ExprConstant { + range: 208..209, + value: Int( + 0, + ), + kind: None, }, ), }, - guard: Some( - Attributed { - range: 244..245, - custom: (), - node: Constant( + ), + guard: Some( + Constant( + ExprConstant { + range: 213..214, + value: Int( + 0, + ), + kind: None, + }, + ), + ), + body: [ + Assign( + StmtAssign { + range: 224..229, + targets: [ + Name( + ExprName { + range: 224..225, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( ExprConstant { + range: 228..229, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 239..240, + value: Constant( + ExprConstant { + range: 239..240, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + guard: Some( + Constant( + ExprConstant { + range: 244..245, + value: Int( + 1, + ), + kind: None, + }, + ), + ), + body: [ + Assign( + StmtAssign { + range: 255..260, + targets: [ + Name( + ExprName { + range: 255..256, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 259..260, value: Int( 1, ), kind: None, }, ), + type_comment: None, }, ), - body: [ - Attributed { - range: 255..260, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 255..256, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 259..260, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 283..332, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 283..332, + subject: Constant( + ExprConstant { range: 289..290, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, + value: Int( + 3, ), + kind: None, }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchOr( + PatternMatchOr { range: 301..314, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 301..302, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 301..302, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 305..306, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 305..306, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 309..310, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 309..310, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 313..314, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 313..314, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), + patterns: [ + MatchValue( + PatternMatchValue { + range: 301..302, + value: Constant( + ExprConstant { + range: 301..302, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 305..306, + value: Constant( + ExprConstant { + range: 305..306, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 309..310, + value: Constant( + ExprConstant { + range: 309..310, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 313..314, + value: Constant( + ExprConstant { + range: 313..314, + value: Int( + 3, + ), + kind: None, + }, + ), + }, + ), + ], }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Assign( + StmtAssign { range: 324..332, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 324..325, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 328..332, - custom: (), - node: Constant( - ExprConstant { - value: Bool( - true, - ), - kind: None, - }, + targets: [ + Name( + ExprName { + range: 324..325, + id: Identifier( + "x", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 328..332, + value: Bool( + true, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 355..403, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 355..403, + subject: Name( + ExprName { range: 361..362, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchOr( + PatternMatchOr { range: 373..388, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 373..379, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 374..375, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 374..375, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 377..378, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 377..378, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - Attributed { - range: 382..388, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 383..384, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 383..384, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 386..387, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 386..387, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 398..403, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 398..399, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 402..403, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 445..523, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 451..452, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 463..467, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 464..466, - custom: (), - node: MatchStar( - PatternMatchStar { - name: None, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 477..489, - custom: (), - node: Return( - StmtReturn { - value: Some( - Attributed { - range: 484..489, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "seq", - ), - kind: None, - }, - ), - }, - ), - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 499..501, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 511..523, - custom: (), - node: Return( - StmtReturn { - value: Some( - Attributed { - range: 518..523, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "map", - ), - kind: None, - }, - ), - }, - ), - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 546..714, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 552..553, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 564..579, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 565..566, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 568..578, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 569..570, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 569..570, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 572..573, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 572..573, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 575..577, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 589..594, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 589..590, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 593..594, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 604..672, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 604..626, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 605..606, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 608..625, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 608..618, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 609..610, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 609..610, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 612..613, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 612..613, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 615..617, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - ], - }, - ), - }, - Attributed { - range: 621..625, - custom: (), - node: MatchSingleton( - PatternMatchSingleton { - value: Bool( - true, - ), - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - Attributed { - range: 629..638, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 630..631, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 633..637, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 634..636, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - Attributed { - range: 641..656, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 642..643, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 645..655, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 646..647, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 646..647, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 649..650, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 649..650, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 652..654, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - Attributed { - range: 659..661, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), - }, - Attributed { - range: 664..667, - custom: (), - node: MatchValue( + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 373..379, + patterns: [ + MatchValue( PatternMatchValue { - value: Attributed { - range: 664..667, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "X", - ), - kind: None, - }, - ), - }, + range: 374..375, + value: Constant( + ExprConstant { + range: 374..375, + value: Int( + 0, + ), + kind: None, + }, + ), }, ), + MatchValue( + PatternMatchValue { + range: 377..378, + value: Constant( + ExprConstant { + range: 377..378, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + MatchSequence( + PatternMatchSequence { + range: 382..388, + patterns: [ + MatchValue( + PatternMatchValue { + range: 383..384, + value: Constant( + ExprConstant { + range: 383..384, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 386..387, + value: Constant( + ExprConstant { + range: 386..387, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 398..403, + targets: [ + Name( + ExprName { + range: 398..399, + id: Identifier( + "y", + ), + ctx: Store, }, - Attributed { - range: 670..672, - custom: (), - node: MatchMapping( + ), + ], + value: Constant( + ExprConstant { + range: 402..403, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 445..523, + subject: Name( + ExprName { + range: 451..452, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 463..467, + patterns: [ + MatchStar( + PatternMatchStar { + range: 464..466, + name: None, + }, + ), + ], + }, + ), + guard: None, + body: [ + Return( + StmtReturn { + range: 477..489, + value: Some( + Constant( + ExprConstant { + range: 484..489, + value: Str( + "seq", + ), + kind: None, + }, + ), + ), + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 499..501, + keys: [], + patterns: [], + rest: None, + }, + ), + guard: None, + body: [ + Return( + StmtReturn { + range: 511..523, + value: Some( + Constant( + ExprConstant { + range: 518..523, + value: Str( + "map", + ), + kind: None, + }, + ), + ), + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 546..714, + subject: Name( + ExprName { + range: 552..553, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 564..579, + keys: [ + Constant( + ExprConstant { + range: 565..566, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 568..578, + patterns: [ + MatchValue( + PatternMatchValue { + range: 569..570, + value: Constant( + ExprConstant { + range: 569..570, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 572..573, + value: Constant( + ExprConstant { + range: 572..573, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchMapping( PatternMatchMapping { + range: 575..577, keys: [], patterns: [], rest: None, }, ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 682..687, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 682..683, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, ], - value: Attributed { - range: 686..687, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - type_comment: None, }, ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 697..699, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 709..714, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 709..710, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 713..714, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 737..782, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 743..744, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 755..767, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 755..767, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 755..759, - custom: (), - node: Constant( - ExprConstant { - value: Float( - 0.25, - ), - kind: None, - }, - ), - }, - op: Add, - right: Attributed { - range: 762..767, - custom: (), - node: Constant( - ExprConstant { - value: Complex { - real: 0.0, - imag: 1.75, - }, - kind: None, - }, - ), - }, - }, - ), - }, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 777..782, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 777..778, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 781..782, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 805..841, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 811..812, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 823..826, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 823..826, - custom: (), - node: UnaryOp( - ExprUnaryOp { - op: USub, - operand: Attributed { - range: 824..826, - custom: (), - node: Constant( - ExprConstant { - value: Complex { - real: 0.0, - imag: 0.0, - }, - kind: None, - }, - ), - }, - }, - ), - }, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 836..841, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 836..837, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 840..841, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 864..913, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 870..871, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 4, - ), - kind: None, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 882..895, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 882..883, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 882..883, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 886..887, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 886..887, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 890..891, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 890..891, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 894..895, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 894..895, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 905..913, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 905..906, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 909..913, - custom: (), - node: Constant( - ExprConstant { - value: Bool( - true, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 936..975, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 942..943, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 954..955, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 954..955, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - guard: Some( - Attributed { - range: 959..960, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - ), - body: [ - Attributed { - range: 970..975, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 970..971, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 974..975, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 998..1098, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1004..1005, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1016..1022, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 1017..1018, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 1020..1021, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1020..1021, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1032..1037, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1032..1033, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1036..1037, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 1047..1053, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 1048..1049, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 1051..1052, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1051..1052, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1063..1068, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1063..1064, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1067..1068, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 1078..1083, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: Some( - Identifier( - "z", - ), - ), - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1093..1098, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1093..1094, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1097..1098, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1121..1162, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1127..1132, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 1127..1130, - custom: (), - node: Name( - ExprName { - id: Identifier( - "Seq", - ), - ctx: Load, - }, - ), - }, - args: [], - keywords: [], - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1143..1147, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1144..1146, - custom: (), - node: MatchStar( - PatternMatchStar { - name: None, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1157..1162, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1157..1158, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1161..1162, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1185..1245, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1191..1192, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1203..1204, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1203..1204, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1214..1219, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1214..1215, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1218..1219, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 1229..1230, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1229..1230, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1240..1245, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1240..1241, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1244..1245, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1268..1315, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1274..1275, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1286..1298, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 1287..1292, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "foo", - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 1294..1297, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "bar", - ), - ), - }, - ), - }, - ], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1308..1315, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1308..1309, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1312..1315, - custom: (), - node: Name( - ExprName { - id: Identifier( - "bar", - ), - ctx: Load, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1338..1392, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1344..1353, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 1345..1346, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 1348..1349, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 1351..1352, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, ], - ctx: Load, + rest: None, }, ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1364..1377, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1365..1366, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1365..1366, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 1368..1369, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1368..1369, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 1371..1373, - custom: (), - node: MatchStar( - PatternMatchStar { - name: Some( - Identifier( - "x", - ), - ), - }, - ), - }, - Attributed { - range: 1375..1376, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1375..1376, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1387..1392, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1387..1388, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1391..1392, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1415..1529, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1421..1422, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1433..1436, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1434..1435, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1434..1435, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1446..1451, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1446..1447, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1450..1451, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 1461..1467, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1462..1463, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1462..1463, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 1465..1466, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1465..1466, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: Some( - Attributed { - range: 1472..1482, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 1472..1473, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 1477..1482, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 1477..1478, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 1479..1481, - custom: (), - node: Slice( - ExprSlice { - lower: None, - upper: Some( - Attributed { - range: 1480..1481, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ), - step: None, - }, - ), - }, - ctx: Load, - }, + guard: None, + body: [ + Assign( + StmtAssign { + range: 589..594, + targets: [ + Name( + ExprName { + range: 589..590, + id: Identifier( + "y", ), + ctx: Store, }, + ), + ], + value: Constant( + ExprConstant { + range: 593..594, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, ), - body: [ - Attributed { - range: 1493..1498, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1493..1494, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1497..1498, - custom: (), - node: Constant( + ], + range: (), + }, + MatchCase { + pattern: MatchOr( + PatternMatchOr { + range: 604..672, + patterns: [ + MatchMapping( + PatternMatchMapping { + range: 604..626, + keys: [ + Constant( ExprConstant { + range: 605..606, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchOr( + PatternMatchOr { + range: 608..625, + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 608..618, + patterns: [ + MatchValue( + PatternMatchValue { + range: 609..610, + value: Constant( + ExprConstant { + range: 609..610, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 612..613, + value: Constant( + ExprConstant { + range: 612..613, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchMapping( + PatternMatchMapping { + range: 615..617, + keys: [], + patterns: [], + rest: None, + }, + ), + ], + }, + ), + MatchSingleton( + PatternMatchSingleton { + range: 621..625, + value: Bool( + true, + ), + }, + ), + ], + }, + ), + ], + rest: None, + }, + ), + MatchMapping( + PatternMatchMapping { + range: 629..638, + keys: [ + Constant( + ExprConstant { + range: 630..631, value: Int( 1, ), kind: None, }, ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 1508..1514, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1509..1510, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1509..1510, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, + ], + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 633..637, + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 634..636, + patterns: [], }, ), - }, + ], }, ), - }, - Attributed { - range: 1512..1513, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1512..1513, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1524..1529, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1524..1525, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, ], - value: Attributed { - range: 1528..1529, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - type_comment: None, + rest: None, }, ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1552..1595, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1558..1559, - custom: (), - node: Name( - ExprName { - id: Identifier( - "w", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1570..1580, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1571..1572, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "x", - ), - ), - }, - ), - }, - Attributed { - range: 1574..1575, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "y", - ), - ), - }, - ), - }, - Attributed { - range: 1577..1579, - custom: (), - node: MatchStar( - PatternMatchStar { - name: None, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1590..1595, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1590..1591, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1594..1595, - custom: (), - node: Constant( + MatchMapping( + PatternMatchMapping { + range: 641..656, + keys: [ + Constant( ExprConstant { + range: 642..643, value: Int( 0, ), kind: None, }, ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1618..1664, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1624..1625, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1636..1649, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1636..1649, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 1636..1641, - custom: (), - node: UnaryOp( - ExprUnaryOp { - op: USub, - operand: Attributed { - range: 1637..1641, - custom: (), - node: Constant( + ], + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 645..655, + patterns: [ + MatchValue( + PatternMatchValue { + range: 646..647, + value: Constant( ExprConstant { - value: Float( - 0.25, + range: 646..647, + value: Int( + 1, ), kind: None, }, ), }, - }, - ), - }, - op: Sub, - right: Attributed { - range: 1644..1649, - custom: (), - node: Constant( - ExprConstant { - value: Complex { - real: 0.0, - imag: 1.75, - }, - kind: None, - }, - ), - }, - }, - ), - }, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1659..1664, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1659..1660, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1663..1664, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1687..1726, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1693..1697, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 1694..1695, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1708..1711, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 1709..1710, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "y", - ), - ), - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 1721..1726, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1721..1722, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1725..1726, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1749..1789, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1755..1756, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1767..1774, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1767..1774, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 1767..1772, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 1767..1770, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 1767..1768, - custom: (), - node: Name( - ExprName { - id: Identifier( - "A", - ), - ctx: Load, - }, - ), - }, - attr: Identifier( - "B", + MatchValue( + PatternMatchValue { + range: 649..650, + value: Constant( + ExprConstant { + range: 649..650, + value: Int( + 2, ), - ctx: Load, + kind: None, }, ), }, - attr: Identifier( - "C", - ), - ctx: Load, - }, - ), + ), + MatchMapping( + PatternMatchMapping { + range: 652..654, + keys: [], + patterns: [], + rest: None, + }, + ), + ], }, - attr: Identifier( - "D", + ), + ], + rest: None, + }, + ), + MatchSequence( + PatternMatchSequence { + range: 659..661, + patterns: [], + }, + ), + MatchValue( + PatternMatchValue { + range: 664..667, + value: Constant( + ExprConstant { + range: 664..667, + value: Str( + "X", ), - ctx: Load, + kind: None, }, ), }, + ), + MatchMapping( + PatternMatchMapping { + range: 670..672, + keys: [], + patterns: [], + rest: None, + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 682..687, + targets: [ + Name( + ExprName { + range: 682..683, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 686..687, + value: Int( + 1, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 697..699, + patterns: [], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 709..714, + targets: [ + Name( + ExprName { + range: 709..710, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 713..714, + value: Int( + 2, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 737..782, + subject: Name( + ExprName { + range: 743..744, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 755..767, + value: BinOp( + ExprBinOp { + range: 755..767, + left: Constant( + ExprConstant { + range: 755..759, + value: Float( + 0.25, + ), + kind: None, + }, + ), + op: Add, + right: Constant( + ExprConstant { + range: 762..767, + value: Complex { + real: 0.0, + imag: 1.75, + }, + kind: None, + }, + ), }, ), }, - guard: None, - body: [ - Attributed { - range: 1784..1789, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1784..1785, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1788..1789, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 777..782, + targets: [ + Name( + ExprName { + range: 777..778, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 781..782, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1812..1849, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1818..1819, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), + ), + ], + range: (), }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1830..1834, - custom: (), - node: MatchSingleton( - PatternMatchSingleton { - value: None, + ], + }, + ), + Match( + StmtMatch { + range: 805..841, + subject: Name( + ExprName { + range: 811..812, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 823..826, + value: UnaryOp( + ExprUnaryOp { + range: 823..826, + op: USub, + operand: Constant( + ExprConstant { + range: 824..826, + value: Complex { + real: 0.0, + imag: 0.0, + }, + kind: None, + }, + ), }, ), }, - guard: None, - body: [ - Attributed { - range: 1844..1849, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1844..1845, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1848..1849, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 836..841, + targets: [ + Name( + ExprName { + range: 836..837, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 840..841, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1872..1906, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1878..1879, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), + ), + ], + range: (), }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1890..1891, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 1890..1891, - custom: (), - node: Constant( + ], + }, + ), + Match( + StmtMatch { + range: 864..913, + subject: Constant( + ExprConstant { + range: 870..871, + value: Int( + 4, + ), + kind: None, + }, + ), + cases: [ + MatchCase { + pattern: MatchOr( + PatternMatchOr { + range: 882..895, + patterns: [ + MatchValue( + PatternMatchValue { + range: 882..883, + value: Constant( ExprConstant { + range: 882..883, value: Int( 0, ), @@ -3403,273 +1158,1550 @@ expression: parse_ast }, ), }, + ), + MatchValue( + PatternMatchValue { + range: 886..887, + value: Constant( + ExprConstant { + range: 886..887, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 890..891, + value: Constant( + ExprConstant { + range: 890..891, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 894..895, + value: Constant( + ExprConstant { + range: 894..895, + value: Int( + 3, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 905..913, + targets: [ + Name( + ExprName { + range: 905..906, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 909..913, + value: Bool( + true, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 936..975, + subject: Name( + ExprName { + range: 942..943, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 954..955, + value: Constant( + ExprConstant { + range: 954..955, + value: Int( + 0, + ), + kind: None, }, ), }, - guard: None, - body: [ - Attributed { - range: 1901..1906, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1901..1902, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, + ), + guard: Some( + Name( + ExprName { + range: 959..960, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + ), + body: [ + Assign( + StmtAssign { + range: 970..975, + targets: [ + Name( + ExprName { + range: 970..971, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 974..975, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 998..1098, + subject: Name( + ExprName { + range: 1004..1005, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 1016..1022, + keys: [ + Constant( + ExprConstant { + range: 1017..1018, + value: Int( + 1, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchValue( + PatternMatchValue { + range: 1020..1021, + value: Constant( + ExprConstant { + range: 1020..1021, + value: Int( + 0, ), + kind: None, }, - ], - value: Attributed { - range: 1905..1906, - custom: (), - node: Constant( + ), + }, + ), + ], + rest: None, + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1032..1037, + targets: [ + Name( + ExprName { + range: 1032..1033, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1036..1037, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 1047..1053, + keys: [ + Constant( + ExprConstant { + range: 1048..1049, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchValue( + PatternMatchValue { + range: 1051..1052, + value: Constant( + ExprConstant { + range: 1051..1052, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ], + rest: None, + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1063..1068, + targets: [ + Name( + ExprName { + range: 1063..1064, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1067..1068, + value: Int( + 1, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 1078..1083, + keys: [], + patterns: [], + rest: Some( + Identifier( + "z", + ), + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1093..1098, + targets: [ + Name( + ExprName { + range: 1093..1094, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1097..1098, + value: Int( + 2, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1121..1162, + subject: Call( + ExprCall { + range: 1127..1132, + func: Name( + ExprName { + range: 1127..1130, + id: Identifier( + "Seq", + ), + ctx: Load, + }, + ), + args: [], + keywords: [], + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1143..1147, + patterns: [ + MatchStar( + PatternMatchStar { + range: 1144..1146, + name: None, + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1157..1162, + targets: [ + Name( + ExprName { + range: 1157..1158, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1161..1162, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1185..1245, + subject: Name( + ExprName { + range: 1191..1192, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 1203..1204, + value: Constant( + ExprConstant { + range: 1203..1204, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1214..1219, + targets: [ + Name( + ExprName { + range: 1214..1215, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1218..1219, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 1229..1230, + value: Constant( + ExprConstant { + range: 1229..1230, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1240..1245, + targets: [ + Name( + ExprName { + range: 1240..1241, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1244..1245, + value: Int( + 1, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1268..1315, + subject: Name( + ExprName { + range: 1274..1275, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 1286..1298, + keys: [ + Constant( + ExprConstant { + range: 1287..1292, + value: Str( + "foo", + ), + kind: None, + }, + ), + ], + patterns: [ + MatchAs( + PatternMatchAs { + range: 1294..1297, + pattern: None, + name: Some( + Identifier( + "bar", + ), + ), + }, + ), + ], + rest: None, + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1308..1315, + targets: [ + Name( + ExprName { + range: 1308..1309, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Name( + ExprName { + range: 1312..1315, + id: Identifier( + "bar", + ), + ctx: Load, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1338..1392, + subject: Tuple( + ExprTuple { + range: 1344..1353, + elts: [ + Constant( + ExprConstant { + range: 1345..1346, + value: Int( + 0, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 1348..1349, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 1351..1352, + value: Int( + 2, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1364..1377, + patterns: [ + MatchValue( + PatternMatchValue { + range: 1365..1366, + value: Constant( + ExprConstant { + range: 1365..1366, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 1368..1369, + value: Constant( + ExprConstant { + range: 1368..1369, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchStar( + PatternMatchStar { + range: 1371..1373, + name: Some( + Identifier( + "x", + ), + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 1375..1376, + value: Constant( + ExprConstant { + range: 1375..1376, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1387..1392, + targets: [ + Name( + ExprName { + range: 1387..1388, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1391..1392, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1415..1529, + subject: Name( + ExprName { + range: 1421..1422, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1433..1436, + patterns: [ + MatchValue( + PatternMatchValue { + range: 1434..1435, + value: Constant( + ExprConstant { + range: 1434..1435, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1446..1451, + targets: [ + Name( + ExprName { + range: 1446..1447, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1450..1451, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1461..1467, + patterns: [ + MatchValue( + PatternMatchValue { + range: 1462..1463, + value: Constant( + ExprConstant { + range: 1462..1463, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 1465..1466, + value: Constant( + ExprConstant { + range: 1465..1466, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: Some( + NamedExpr( + ExprNamedExpr { + range: 1472..1482, + target: Name( + ExprName { + range: 1472..1473, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + value: Subscript( + ExprSubscript { + range: 1477..1482, + value: Name( + ExprName { + range: 1477..1478, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + slice: Slice( + ExprSlice { + range: 1479..1481, + lower: None, + upper: Some( + Constant( + ExprConstant { + range: 1480..1481, + value: Int( + 0, + ), + kind: None, + }, + ), + ), + step: None, + }, + ), + ctx: Load, + }, + ), + }, + ), + ), + body: [ + Assign( + StmtAssign { + range: 1493..1498, + targets: [ + Name( + ExprName { + range: 1493..1494, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1497..1498, + value: Int( + 1, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1508..1514, + patterns: [ + MatchValue( + PatternMatchValue { + range: 1509..1510, + value: Constant( + ExprConstant { + range: 1509..1510, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 1512..1513, + value: Constant( + ExprConstant { + range: 1512..1513, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1524..1529, + targets: [ + Name( + ExprName { + range: 1524..1525, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1528..1529, + value: Int( + 2, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1552..1595, + subject: Name( + ExprName { + range: 1558..1559, + id: Identifier( + "w", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1570..1580, + patterns: [ + MatchAs( + PatternMatchAs { + range: 1571..1572, + pattern: None, + name: Some( + Identifier( + "x", + ), + ), + }, + ), + MatchAs( + PatternMatchAs { + range: 1574..1575, + pattern: None, + name: Some( + Identifier( + "y", + ), + ), + }, + ), + MatchStar( + PatternMatchStar { + range: 1577..1579, + name: None, + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1590..1595, + targets: [ + Name( + ExprName { + range: 1590..1591, + id: Identifier( + "z", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1594..1595, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1618..1664, + subject: Name( + ExprName { + range: 1624..1625, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 1636..1649, + value: BinOp( + ExprBinOp { + range: 1636..1649, + left: UnaryOp( + ExprUnaryOp { + range: 1636..1641, + op: USub, + operand: Constant( ExprConstant { - value: Int( - 0, + range: 1637..1641, + value: Float( + 0.25, ), kind: None, }, ), }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1929..1967, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1935..1936, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 1947..1952, - custom: (), - node: MatchSingleton( - PatternMatchSingleton { - value: Bool( - false, + ), + op: Sub, + right: Constant( + ExprConstant { + range: 1644..1649, + value: Complex { + real: 0.0, + imag: 1.75, + }, + kind: None, + }, ), }, ), }, - guard: None, - body: [ - Attributed { - range: 1962..1967, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 1962..1963, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 1966..1967, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1659..1664, + targets: [ + Name( + ExprName { + range: 1659..1660, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 1663..1664, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 1990..2081, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 1996..1997, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1687..1726, + subject: Tuple( + ExprTuple { + range: 1693..1697, + elts: [ + Name( + ExprName { + range: 1694..1695, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 1708..1711, + patterns: [ + MatchAs( + PatternMatchAs { + range: 1709..1710, + pattern: None, + name: Some( + Identifier( + "y", + ), + ), + }, + ), + ], }, ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1721..1726, + targets: [ + Name( + ExprName { + range: 1721..1722, + id: Identifier( + "z", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1725..1726, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), }, - cases: [ - MatchCase { - pattern: Attributed { + ], + }, + ), + Match( + StmtMatch { + range: 1749..1789, + subject: Name( + ExprName { + range: 1755..1756, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 1767..1774, + value: Attribute( + ExprAttribute { + range: 1767..1774, + value: Attribute( + ExprAttribute { + range: 1767..1772, + value: Attribute( + ExprAttribute { + range: 1767..1770, + value: Name( + ExprName { + range: 1767..1768, + id: Identifier( + "A", + ), + ctx: Load, + }, + ), + attr: Identifier( + "B", + ), + ctx: Load, + }, + ), + attr: Identifier( + "C", + ), + ctx: Load, + }, + ), + attr: Identifier( + "D", + ), + ctx: Load, + }, + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1784..1789, + targets: [ + Name( + ExprName { + range: 1784..1785, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1788..1789, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1812..1849, + subject: Name( + ExprName { + range: 1818..1819, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSingleton( + PatternMatchSingleton { + range: 1830..1834, + value: None, + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1844..1849, + targets: [ + Name( + ExprName { + range: 1844..1845, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1848..1849, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1872..1906, + subject: Name( + ExprName { + range: 1878..1879, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 1890..1891, + value: Constant( + ExprConstant { + range: 1890..1891, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1901..1906, + targets: [ + Name( + ExprName { + range: 1901..1902, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1905..1906, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1929..1967, + subject: Name( + ExprName { + range: 1935..1936, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSingleton( + PatternMatchSingleton { + range: 1947..1952, + value: Bool( + false, + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 1962..1967, + targets: [ + Name( + ExprName { + range: 1962..1963, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 1966..1967, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 1990..2081, + subject: Name( + ExprName { + range: 1996..1997, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 2008..2010, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), + patterns: [], }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Assign( + StmtAssign { range: 2020..2025, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2020..2021, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2024..2025, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + targets: [ + Name( + ExprName { + range: 2020..2021, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 2024..2025, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - MatchCase { - pattern: Attributed { + ), + ], + range: (), + }, + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 2035..2039, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2036..2038, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2036..2038, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "", - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2049..2054, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2049..2050, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2053..2054, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - MatchCase { - pattern: Attributed { - range: 2064..2066, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2064..2066, - custom: (), - node: Constant( + patterns: [ + MatchValue( + PatternMatchValue { + range: 2036..2038, + value: Constant( ExprConstant { + range: 2036..2038, value: Str( "", ), @@ -3677,35 +2709,368 @@ expression: parse_ast }, ), }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2049..2054, + targets: [ + Name( + ExprName { + range: 2049..2050, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2053..2054, + value: Int( + 1, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchValue( + PatternMatchValue { + range: 2064..2066, + value: Constant( + ExprConstant { + range: 2064..2066, + value: Str( + "", + ), + kind: None, }, ), }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Assign( + StmtAssign { range: 2076..2081, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2076..2077, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2080..2081, - custom: (), - node: Constant( + targets: [ + Name( + ExprName { + range: 2076..2077, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2080..2081, + value: Int( + 2, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2104..2138, + subject: Name( + ExprName { + range: 2110..2111, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchAs( + PatternMatchAs { + range: 2122..2123, + pattern: None, + name: Some( + Identifier( + "z", + ), + ), + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2133..2138, + targets: [ + Name( + ExprName { + range: 2133..2134, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2137..2138, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2161..2207, + subject: Name( + ExprName { + range: 2167..2168, + id: Identifier( + "w", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 2179..2192, + patterns: [ + MatchAs( + PatternMatchAs { + range: 2180..2181, + pattern: None, + name: Some( + Identifier( + "x", + ), + ), + }, + ), + MatchAs( + PatternMatchAs { + range: 2183..2184, + pattern: None, + name: Some( + Identifier( + "y", + ), + ), + }, + ), + MatchStar( + PatternMatchStar { + range: 2186..2191, + name: Some( + Identifier( + "rest", + ), + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2202..2207, + targets: [ + Name( + ExprName { + range: 2202..2203, + id: Identifier( + "z", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2206..2207, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2230..2307, + subject: Name( + ExprName { + range: 2236..2237, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchOr( + PatternMatchOr { + range: 2248..2278, + patterns: [ + MatchAs( + PatternMatchAs { + range: 2249..2255, + pattern: Some( + MatchValue( + PatternMatchValue { + range: 2249..2250, + value: Constant( + ExprConstant { + range: 2249..2250, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + ), + name: Some( + Identifier( + "z", + ), + ), + }, + ), + MatchAs( + PatternMatchAs { + range: 2260..2266, + pattern: Some( + MatchValue( + PatternMatchValue { + range: 2260..2261, + value: Constant( + ExprConstant { + range: 2260..2261, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ), + name: Some( + Identifier( + "z", + ), + ), + }, + ), + MatchAs( + PatternMatchAs { + range: 2271..2277, + pattern: Some( + MatchValue( + PatternMatchValue { + range: 2271..2272, + value: Constant( + ExprConstant { + range: 2271..2272, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + ), + name: Some( + Identifier( + "z", + ), + ), + }, + ), + ], + }, + ), + guard: Some( + Compare( + ExprCompare { + range: 2282..2292, + left: Name( + ExprName { + range: 2282..2283, + id: Identifier( + "z", + ), + ctx: Load, + }, + ), + ops: [ + Eq, + ], + comparators: [ + BinOp( + ExprBinOp { + range: 2287..2292, + left: Name( + ExprName { + range: 2287..2288, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + op: Mod, + right: Constant( ExprConstant { + range: 2291..2292, value: Int( 2, ), @@ -3713,1255 +3078,818 @@ expression: parse_ast }, ), }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2104..2138, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2110..2111, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2122..2123, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "z", - ), ), - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2133..2138, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2133..2134, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2137..2138, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2161..2207, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2167..2168, - custom: (), - node: Name( - ExprName { - id: Identifier( - "w", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2179..2192, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2180..2181, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "x", - ), - ), - }, - ), - }, - Attributed { - range: 2183..2184, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "y", - ), - ), - }, - ), - }, - Attributed { - range: 2186..2191, - custom: (), - node: MatchStar( - PatternMatchStar { - name: Some( - Identifier( - "rest", - ), - ), - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2202..2207, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2202..2203, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2206..2207, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2230..2307, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2236..2237, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2248..2278, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 2248..2256, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: Some( - Attributed { - range: 2249..2250, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2249..2250, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ), - name: Some( - Identifier( - "z", - ), - ), - }, - ), - }, - Attributed { - range: 2259..2267, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: Some( - Attributed { - range: 2260..2261, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2260..2261, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ), - name: Some( - Identifier( - "z", - ), - ), - }, - ), - }, - Attributed { - range: 2270..2278, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: Some( - Attributed { - range: 2271..2272, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2271..2272, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ), - name: Some( - Identifier( - "z", - ), - ), - }, - ), - }, - ], - }, - ), - }, - guard: Some( - Attributed { - range: 2282..2292, - custom: (), - node: Compare( - ExprCompare { - left: Attributed { - range: 2282..2283, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Load, - }, - ), - }, - ops: [ - Eq, - ], - comparators: [ - Attributed { - range: 2287..2292, - custom: (), - node: BinOp( - ExprBinOp { - left: Attributed { - range: 2287..2288, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - op: Mod, - right: Attributed { - range: 2291..2292, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), + ], }, ), - body: [ - Attributed { - range: 2302..2307, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2302..2303, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2306..2307, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2330..2499, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2336..2337, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2348..2363, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 2349..2350, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + body: [ + Assign( + StmtAssign { + range: 2302..2307, + targets: [ + Name( + ExprName { + range: 2302..2303, + id: Identifier( + "y", ), + ctx: Store, }, - ], - patterns: [ - Attributed { - range: 2352..2362, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2353..2354, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2353..2354, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2356..2357, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2356..2357, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2359..2361, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2373..2378, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2373..2374, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2377..2378, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 2306..2307, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - MatchCase { - pattern: Attributed { - range: 2388..2457, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 2388..2411, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 2389..2390, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 2392..2410, - custom: (), - node: MatchOr( - PatternMatchOr { - patterns: [ - Attributed { - range: 2392..2402, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2393..2394, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2393..2394, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2396..2397, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2396..2397, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2399..2401, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - ], - }, - ), - }, - Attributed { - range: 2405..2410, - custom: (), - node: MatchSingleton( - PatternMatchSingleton { - value: Bool( - false, - ), - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - Attributed { - range: 2414..2423, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 2415..2416, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 2418..2422, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2419..2421, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - Attributed { - range: 2426..2441, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [ - Attributed { - range: 2427..2428, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - patterns: [ - Attributed { - range: 2430..2440, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2431..2432, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2431..2432, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2434..2435, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2434..2435, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2437..2439, - custom: (), - node: MatchMapping( - PatternMatchMapping { - keys: [], - patterns: [], - rest: None, - }, - ), - }, - ], - }, - ), - }, - ], - rest: None, - }, - ), - }, - Attributed { - range: 2444..2446, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), - }, - Attributed { - range: 2449..2452, - custom: (), - node: MatchValue( + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2330..2499, + subject: Name( + ExprName { + range: 2336..2337, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchMapping( + PatternMatchMapping { + range: 2348..2363, + keys: [ + Constant( + ExprConstant { + range: 2349..2350, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 2352..2362, + patterns: [ + MatchValue( PatternMatchValue { - value: Attributed { - range: 2449..2452, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "X", - ), - kind: None, - }, - ), - }, + range: 2353..2354, + value: Constant( + ExprConstant { + range: 2353..2354, + value: Int( + 1, + ), + kind: None, + }, + ), }, ), - }, - Attributed { - range: 2455..2457, - custom: (), - node: MatchMapping( + MatchValue( + PatternMatchValue { + range: 2356..2357, + value: Constant( + ExprConstant { + range: 2356..2357, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchMapping( PatternMatchMapping { + range: 2359..2361, keys: [], patterns: [], rest: None, }, ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2467..2472, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2467..2468, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, ], - value: Attributed { - range: 2471..2472, - custom: (), - node: Constant( + }, + ), + ], + rest: None, + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2373..2378, + targets: [ + Name( + ExprName { + range: 2373..2374, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2377..2378, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + MatchCase { + pattern: MatchOr( + PatternMatchOr { + range: 2388..2457, + patterns: [ + MatchMapping( + PatternMatchMapping { + range: 2388..2411, + keys: [ + Constant( ExprConstant { + range: 2389..2390, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchOr( + PatternMatchOr { + range: 2392..2410, + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 2392..2402, + patterns: [ + MatchValue( + PatternMatchValue { + range: 2393..2394, + value: Constant( + ExprConstant { + range: 2393..2394, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 2396..2397, + value: Constant( + ExprConstant { + range: 2396..2397, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchMapping( + PatternMatchMapping { + range: 2399..2401, + keys: [], + patterns: [], + rest: None, + }, + ), + ], + }, + ), + MatchSingleton( + PatternMatchSingleton { + range: 2405..2410, + value: Bool( + false, + ), + }, + ), + ], + }, + ), + ], + rest: None, + }, + ), + MatchMapping( + PatternMatchMapping { + range: 2414..2423, + keys: [ + Constant( + ExprConstant { + range: 2415..2416, value: Int( 1, ), kind: None, }, ), - }, - type_comment: None, + ], + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 2418..2422, + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 2419..2421, + patterns: [], + }, + ), + ], + }, + ), + ], + rest: None, }, ), + MatchMapping( + PatternMatchMapping { + range: 2426..2441, + keys: [ + Constant( + ExprConstant { + range: 2427..2428, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + patterns: [ + MatchSequence( + PatternMatchSequence { + range: 2430..2440, + patterns: [ + MatchValue( + PatternMatchValue { + range: 2431..2432, + value: Constant( + ExprConstant { + range: 2431..2432, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 2434..2435, + value: Constant( + ExprConstant { + range: 2434..2435, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + MatchMapping( + PatternMatchMapping { + range: 2437..2439, + keys: [], + patterns: [], + rest: None, + }, + ), + ], + }, + ), + ], + rest: None, + }, + ), + MatchSequence( + PatternMatchSequence { + range: 2444..2446, + patterns: [], + }, + ), + MatchValue( + PatternMatchValue { + range: 2449..2452, + value: Constant( + ExprConstant { + range: 2449..2452, + value: Str( + "X", + ), + kind: None, + }, + ), + }, + ), + MatchMapping( + PatternMatchMapping { + range: 2455..2457, + keys: [], + patterns: [], + rest: None, + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2467..2472, + targets: [ + Name( + ExprName { + range: 2467..2468, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2471..2472, + value: Int( + 1, + ), + kind: None, + }, + ), + type_comment: None, }, - ], - }, - MatchCase { - pattern: Attributed { + ), + ], + range: (), + }, + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 2482..2484, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [], - }, - ), + patterns: [], }, - guard: None, - body: [ - Attributed { + ), + guard: None, + body: [ + Assign( + StmtAssign { range: 2494..2499, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2494..2495, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2498..2499, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, + targets: [ + Name( + ExprName { + range: 2494..2495, + id: Identifier( + "y", ), + ctx: Store, }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 2498..2499, + value: Int( + 2, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2522..2568, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2522..2568, + subject: Tuple( + ExprTuple { range: 2528..2537, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 2529..2530, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 2532..2533, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 2535..2536, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), + elts: [ + Constant( + ExprConstant { + range: 2529..2530, + value: Int( + 0, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 2532..2533, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 2535..2536, + value: Int( + 2, + ), + kind: None, + }, + ), + ], + ctx: Load, }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 2548..2553, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2548..2549, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2548..2549, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 2551..2553, - custom: (), - node: MatchStar( - PatternMatchStar { - name: Some( - Identifier( - "x", - ), - ), - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2563..2568, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2563..2564, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, + patterns: [ + MatchValue( + PatternMatchValue { + range: 2548..2549, + value: Constant( + ExprConstant { + range: 2548..2549, + value: Int( + 0, ), + kind: None, }, - ], - value: Attributed { - range: 2567..2568, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, + ), }, ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2591..2638, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2597..2606, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 2598..2599, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, + MatchStar( + PatternMatchStar { + range: 2551..2553, + name: Some( + Identifier( + "x", ), - kind: None, - }, - ), - }, - Attributed { - range: 2601..2602, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - Attributed { - range: 2604..2605, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, + ), + }, + ), ], - ctx: Load, }, ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2617..2623, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2617..2619, - custom: (), - node: MatchStar( - PatternMatchStar { - name: Some( - Identifier( - "x", - ), - ), - }, + guard: None, + body: [ + Assign( + StmtAssign { + range: 2563..2568, + targets: [ + Name( + ExprName { + range: 2563..2564, + id: Identifier( + "y", ), + ctx: Store, }, - Attributed { - range: 2621..2622, - custom: (), - node: MatchValue( - PatternMatchValue { - value: Attributed { - range: 2621..2622, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2633..2638, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2633..2634, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2637..2638, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, + ), + ], + value: Constant( + ExprConstant { + range: 2567..2568, + value: Int( + 0, + ), + kind: None, }, ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2661..2697, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2591..2638, + subject: Tuple( + ExprTuple { + range: 2597..2606, + elts: [ + Constant( + ExprConstant { + range: 2598..2599, + value: Int( + 0, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 2601..2602, + value: Int( + 1, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 2604..2605, + value: Int( + 2, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 2617..2623, + patterns: [ + MatchStar( + PatternMatchStar { + range: 2617..2619, + name: Some( + Identifier( + "x", + ), + ), + }, + ), + MatchValue( + PatternMatchValue { + range: 2621..2622, + value: Constant( + ExprConstant { + range: 2621..2622, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2633..2638, + targets: [ + Name( + ExprName { + range: 2633..2634, + id: Identifier( + "y", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2637..2638, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2661..2697, + subject: Name( + ExprName { range: 2667..2668, - custom: (), - node: Name( + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 2680..2682, + patterns: [ + MatchAs( + PatternMatchAs { + range: 2680..2681, + pattern: None, + name: Some( + Identifier( + "y", + ), + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2692..2697, + targets: [ + Name( + ExprName { + range: 2692..2693, + id: Identifier( + "z", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2696..2697, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2720..2760, + subject: Tuple( + ExprTuple { + range: 2720..2760, + elts: [ + Name( + ExprName { + range: 2726..2727, + id: Identifier( + "w", + ), + ctx: Load, + }, + ), + Name( + ExprName { + range: 2729..2730, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { + range: 2741..2745, + patterns: [ + MatchAs( + PatternMatchAs { + range: 2741..2742, + pattern: None, + name: Some( + Identifier( + "y", + ), + ), + }, + ), + MatchAs( + PatternMatchAs { + range: 2744..2745, + pattern: None, + name: Some( + Identifier( + "z", + ), + ), + }, + ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2755..2760, + targets: [ + Name( + ExprName { + range: 2755..2756, + id: Identifier( + "v", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2759..2760, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, + }, + ), + ], + range: (), + }, + ], + }, + ), + Match( + StmtMatch { + range: 2783..2829, + subject: NamedExpr( + ExprNamedExpr { + range: 2789..2795, + target: Name( ExprName { + range: 2789..2790, + id: Identifier( + "w", + ), + ctx: Store, + }, + ), + value: Name( + ExprName { + range: 2794..2795, id: Identifier( "x", ), @@ -4969,317 +3897,71 @@ expression: parse_ast }, ), }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2680..2682, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2680..2681, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "y", - ), - ), - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2692..2697, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2692..2693, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2696..2697, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2720..2760, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2720..2760, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 2726..2727, - custom: (), - node: Name( - ExprName { - id: Identifier( - "w", - ), - ctx: Load, - }, - ), - }, - Attributed { - range: 2729..2730, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { - range: 2741..2745, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2741..2742, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "y", - ), - ), - }, - ), - }, - Attributed { - range: 2744..2745, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "z", - ), - ), - }, - ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2755..2760, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2755..2756, - custom: (), - node: Name( - ExprName { - id: Identifier( - "v", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2759..2760, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - type_comment: None, - }, - ), - }, - ], - }, - ], - }, - ), - }, - Attributed { - range: 2783..2829, - custom: (), - node: Match( - StmtMatch { - subject: Attributed { - range: 2789..2795, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 2789..2790, - custom: (), - node: Name( - ExprName { - id: Identifier( - "w", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 2794..2795, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - }, - ), - }, - cases: [ - MatchCase { - pattern: Attributed { + ), + cases: [ + MatchCase { + pattern: MatchSequence( + PatternMatchSequence { range: 2807..2814, - custom: (), - node: MatchSequence( - PatternMatchSequence { - patterns: [ - Attributed { - range: 2807..2813, - custom: (), - node: MatchAs( + patterns: [ + MatchAs( + PatternMatchAs { + range: 2807..2813, + pattern: Some( + MatchAs( PatternMatchAs { - pattern: Some( - Attributed { - range: 2807..2808, - custom: (), - node: MatchAs( - PatternMatchAs { - pattern: None, - name: Some( - Identifier( - "y", - ), - ), - }, - ), - }, - ), + range: 2807..2808, + pattern: None, name: Some( Identifier( - "v", + "y", ), ), }, ), - }, - ], - }, - ), - }, - guard: None, - body: [ - Attributed { - range: 2824..2829, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 2824..2825, - custom: (), - node: Name( - ExprName { - id: Identifier( - "z", - ), - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 2828..2829, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + ), + name: Some( + Identifier( + "v", ), - }, - type_comment: None, + ), }, ), + ], + }, + ), + guard: None, + body: [ + Assign( + StmtAssign { + range: 2824..2829, + targets: [ + Name( + ExprName { + range: 2824..2825, + id: Identifier( + "z", + ), + ctx: Store, + }, + ), + ], + value: Constant( + ExprConstant { + range: 2828..2829, + value: Int( + 0, + ), + kind: None, + }, + ), + type_comment: None, }, - ], - }, - ], - }, - ), - }, + ), + ], + range: (), + }, + ], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__slice.snap b/parser/src/snapshots/rustpython_parser__parser__tests__slice.snap index 1aa7425950..8622a681ea 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__slice.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__slice.snap @@ -2,74 +2,56 @@ source: parser/src/parser.rs expression: parse_ast --- -Attributed { - range: 0..8, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { +Subscript( + ExprSubscript { + range: 0..8, + value: Name( + ExprName { range: 0..1, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - slice: Attributed { + ), + slice: Slice( + ExprSlice { range: 2..7, - custom: (), - node: Slice( - ExprSlice { - lower: Some( - Attributed { - range: 2..3, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ), - upper: Some( - Attributed { - range: 4..5, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - ), - step: Some( - Attributed { - range: 6..7, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ), - }, + lower: Some( + Constant( + ExprConstant { + range: 2..3, + value: Int( + 1, + ), + kind: None, + }, + ), + ), + upper: Some( + Constant( + ExprConstant { + range: 4..5, + value: Int( + 2, + ), + kind: None, + }, + ), + ), + step: Some( + Constant( + ExprConstant { + range: 6..7, + value: Int( + 3, + ), + kind: None, + }, + ), ), }, - ctx: Load, - }, - ), -} + ), + ctx: Load, + }, +) diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__star_index.snap b/parser/src/snapshots/rustpython_parser__parser__tests__star_index.snap index 277cdb03de..8a43e4db9e 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__star_index.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__star_index.snap @@ -3,402 +3,291 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..36, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { + Assign( + StmtAssign { + range: 0..36, + targets: [ + Name( + ExprName { range: 0..11, - custom: (), - node: Name( - ExprName { - id: Identifier( - "array_slice", - ), - ctx: Store, - }, + id: Identifier( + "array_slice", ), + ctx: Store, }, - ], - value: Attributed { + ), + ], + value: Subscript( + ExprSubscript { range: 14..36, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 14..19, - custom: (), - node: Name( - ExprName { - id: Identifier( - "array", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 20..35, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 20..21, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 23..31, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 24..31, - custom: (), - node: Name( - ExprName { - id: Identifier( - "indexes", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - Attributed { - range: 33..35, - custom: (), - node: UnaryOp( - ExprUnaryOp { - op: USub, - operand: Attributed { - range: 34..35, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - type_comment: None, - }, - ), - }, - Attributed { - range: 37..73, - custom: (), - node: Assign( - StmtAssign { - targets: [ - Attributed { - range: 37..59, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 37..42, - custom: (), - node: Name( - ExprName { - id: Identifier( - "array", - ), - ctx: Load, - }, - ), - }, - slice: Attributed { - range: 43..58, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 43..44, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 46..54, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 47..54, - custom: (), - node: Name( - ExprName { - id: Identifier( - "indexes", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - Attributed { - range: 56..58, - custom: (), - node: UnaryOp( - ExprUnaryOp { - op: USub, - operand: Attributed { - range: 57..58, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - ctx: Store, - }, - ), - }, - ], - value: Attributed { - range: 62..73, - custom: (), - node: Name( + value: Name( ExprName { + range: 14..19, id: Identifier( - "array_slice", + "array", ), ctx: Load, }, ), + slice: Tuple( + ExprTuple { + range: 20..35, + elts: [ + Constant( + ExprConstant { + range: 20..21, + value: Int( + 0, + ), + kind: None, + }, + ), + Starred( + ExprStarred { + range: 23..31, + value: Name( + ExprName { + range: 24..31, + id: Identifier( + "indexes", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + UnaryOp( + ExprUnaryOp { + range: 33..35, + op: USub, + operand: Constant( + ExprConstant { + range: 34..35, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ], + ctx: Load, + }, + ), + ctx: Load, }, - type_comment: None, - }, - ), - }, - Attributed { - range: 74..119, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + ), + type_comment: None, + }, + ), + Assign( + StmtAssign { + range: 37..73, + targets: [ + Subscript( + ExprSubscript { + range: 37..59, + value: Name( + ExprName { + range: 37..42, + id: Identifier( + "array", + ), + ctx: Load, + }, + ), + slice: Tuple( + ExprTuple { + range: 43..58, + elts: [ + Constant( + ExprConstant { + range: 43..44, + value: Int( + 0, + ), + kind: None, + }, + ), + Starred( + ExprStarred { + range: 46..54, + value: Name( + ExprName { + range: 47..54, + id: Identifier( + "indexes", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + UnaryOp( + ExprUnaryOp { + range: 56..58, + op: USub, + operand: Constant( + ExprConstant { + range: 57..58, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ], + ctx: Load, + }, + ), + ctx: Store, + }, + ), + ], + value: Name( + ExprName { + range: 62..73, + id: Identifier( + "array_slice", + ), + ctx: Load, + }, + ), + type_comment: None, + }, + ), + Expr( + StmtExpr { + range: 74..119, + value: Subscript( + ExprSubscript { range: 74..119, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 74..79, - custom: (), - node: Name( - ExprName { - id: Identifier( - "array", + value: Name( + ExprName { + range: 74..79, + id: Identifier( + "array", + ), + ctx: Load, + }, + ), + slice: Tuple( + ExprTuple { + range: 80..118, + elts: [ + Starred( + ExprStarred { + range: 80..98, + value: Name( + ExprName { + range: 81..98, + id: Identifier( + "indexes_to_select", + ), + ctx: Load, + }, ), ctx: Load, }, ), - }, - slice: Attributed { - range: 80..118, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 80..98, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 81..98, - custom: (), - node: Name( - ExprName { - id: Identifier( - "indexes_to_select", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, + Starred( + ExprStarred { + range: 100..118, + value: Name( + ExprName { + range: 101..118, + id: Identifier( + "indexes_to_select", ), + ctx: Load, }, - Attributed { - range: 100..118, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 101..118, - custom: (), - node: Name( - ExprName { - id: Identifier( - "indexes_to_select", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ], + ), ctx: Load, }, ), - }, + ], ctx: Load, }, ), + ctx: Load, }, - }, - ), - }, - Attributed { - range: 120..150, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + ), + }, + ), + Expr( + StmtExpr { + range: 120..150, + value: Subscript( + ExprSubscript { range: 120..150, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 120..125, - custom: (), - node: Name( - ExprName { - id: Identifier( - "array", + value: Name( + ExprName { + range: 120..125, + id: Identifier( + "array", + ), + ctx: Load, + }, + ), + slice: Tuple( + ExprTuple { + range: 126..149, + elts: [ + Slice( + ExprSlice { + range: 126..129, + lower: Some( + Constant( + ExprConstant { + range: 126..127, + value: Int( + 3, + ), + kind: None, + }, + ), + ), + upper: Some( + Constant( + ExprConstant { + range: 128..129, + value: Int( + 5, + ), + kind: None, + }, + ), + ), + step: None, + }, + ), + Starred( + ExprStarred { + range: 131..149, + value: Name( + ExprName { + range: 132..149, + id: Identifier( + "indexes_to_select", + ), + ctx: Load, + }, ), ctx: Load, }, ), - }, - slice: Attributed { - range: 126..149, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 126..129, - custom: (), - node: Slice( - ExprSlice { - lower: Some( - Attributed { - range: 126..127, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ), - upper: Some( - Attributed { - range: 128..129, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 5, - ), - kind: None, - }, - ), - }, - ), - step: None, - }, - ), - }, - Attributed { - range: 131..149, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 132..149, - custom: (), - node: Name( - ExprName { - id: Identifier( - "indexes_to_select", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, + ], ctx: Load, }, ), + ctx: Load, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__try.snap b/parser/src/snapshots/rustpython_parser__parser__tests__try.snap index 76fb4452a2..c147b276a0 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__try.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__try.snap @@ -3,322 +3,241 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..134, - custom: (), - node: Try( - StmtTry { - body: [ - Attributed { + Try( + StmtTry { + range: 0..134, + body: [ + Raise( + StmtRaise { range: 9..28, - custom: (), - node: Raise( - StmtRaise { - exc: Some( - Attributed { - range: 15..28, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 15..25, - custom: (), - node: Name( - ExprName { - id: Identifier( - "ValueError", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 26..27, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - keywords: [], + exc: Some( + Call( + ExprCall { + range: 15..28, + func: Name( + ExprName { + range: 15..25, + id: Identifier( + "ValueError", + ), + ctx: Load, + }, + ), + args: [ + Constant( + ExprConstant { + range: 26..27, + value: Int( + 1, + ), + kind: None, }, ), - }, - ), - cause: None, - }, + ], + keywords: [], + }, + ), ), + cause: None, }, - ], - handlers: [ - Attributed { + ), + ], + handlers: [ + ExceptHandler( + ExcepthandlerExceptHandler { range: 29..82, - custom: (), - node: ExceptHandler( - ExcepthandlerExceptHandler { - type_: Some( - Attributed { - range: 36..45, - custom: (), - node: Name( - ExprName { - id: Identifier( - "TypeError", - ), - ctx: Load, - }, - ), - }, - ), - name: Some( - Identifier( - "e", + type_: Some( + Name( + ExprName { + range: 36..45, + id: Identifier( + "TypeError", ), - ), - body: [ - Attributed { - range: 56..82, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 56..82, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 56..61, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { + ctx: Load, + }, + ), + ), + name: Some( + Identifier( + "e", + ), + ), + body: [ + Expr( + StmtExpr { + range: 56..82, + value: Call( + ExprCall { + range: 56..82, + func: Name( + ExprName { + range: 56..61, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + JoinedStr( + ExprJoinedStr { + range: 62..81, + values: [ + Constant( + ExprConstant { range: 62..81, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 62..81, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "caught ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 62..81, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 72..79, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 72..76, - custom: (), - node: Name( - ExprName { - id: Identifier( - "type", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 77..78, - custom: (), - node: Name( - ExprName { - id: Identifier( - "e", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, + value: Str( + "caught ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 62..81, + value: Call( + ExprCall { + range: 72..79, + func: Name( + ExprName { + range: 72..76, + id: Identifier( + "type", ), + ctx: Load, }, + ), + args: [ + Name( + ExprName { + range: 77..78, + id: Identifier( + "e", + ), + ctx: Load, + }, + ), ], + keywords: [], }, ), + conversion: Int( + 0, + ), + format_spec: None, }, - ], - keywords: [], - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - Attributed { - range: 83..134, - custom: (), - node: ExceptHandler( - ExcepthandlerExceptHandler { - type_: Some( - Attributed { - range: 90..97, - custom: (), - node: Name( - ExprName { - id: Identifier( - "OSError", + ), + ], + }, ), - ctx: Load, - }, - ), - }, - ), - name: Some( - Identifier( - "e", + ], + keywords: [], + }, ), - ), - body: [ - Attributed { - range: 108..134, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 108..134, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 108..113, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { + }, + ), + ], + }, + ), + ExceptHandler( + ExcepthandlerExceptHandler { + range: 83..134, + type_: Some( + Name( + ExprName { + range: 90..97, + id: Identifier( + "OSError", + ), + ctx: Load, + }, + ), + ), + name: Some( + Identifier( + "e", + ), + ), + body: [ + Expr( + StmtExpr { + range: 108..134, + value: Call( + ExprCall { + range: 108..134, + func: Name( + ExprName { + range: 108..113, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + JoinedStr( + ExprJoinedStr { + range: 114..133, + values: [ + Constant( + ExprConstant { range: 114..133, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 114..133, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "caught ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 114..133, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 124..131, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 124..128, - custom: (), - node: Name( - ExprName { - id: Identifier( - "type", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 129..130, - custom: (), - node: Name( - ExprName { - id: Identifier( - "e", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, + value: Str( + "caught ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 114..133, + value: Call( + ExprCall { + range: 124..131, + func: Name( + ExprName { + range: 124..128, + id: Identifier( + "type", ), + ctx: Load, }, + ), + args: [ + Name( + ExprName { + range: 129..130, + id: Identifier( + "e", + ), + ctx: Load, + }, + ), ], + keywords: [], }, ), + conversion: Int( + 0, + ), + format_spec: None, }, - ], - keywords: [], - }, - ), - }, - }, - ), - }, - ], - }, - ), + ), + ], + }, + ), + ], + keywords: [], + }, + ), + }, + ), + ], }, - ], - orelse: [], - finalbody: [], - }, - ), - }, + ), + ], + orelse: [], + finalbody: [], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__try_star.snap b/parser/src/snapshots/rustpython_parser__parser__tests__try_star.snap index f5164a8b53..9634857831 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__try_star.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__try_star.snap @@ -3,569 +3,425 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 0..260, - custom: (), - node: TryStar( - StmtTryStar { - body: [ - Attributed { + TryStar( + StmtTryStar { + range: 0..260, + body: [ + Raise( + StmtRaise { range: 9..98, - custom: (), - node: Raise( - StmtRaise { - exc: Some( - Attributed { - range: 15..98, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 15..29, - custom: (), - node: Name( - ExprName { - id: Identifier( - "ExceptionGroup", + exc: Some( + Call( + ExprCall { + range: 15..98, + func: Name( + ExprName { + range: 15..29, + id: Identifier( + "ExceptionGroup", + ), + ctx: Load, + }, + ), + args: [ + Constant( + ExprConstant { + range: 30..34, + value: Str( + "eg", + ), + kind: None, + }, + ), + List( + ExprList { + range: 44..97, + elts: [ + Call( + ExprCall { + range: 45..58, + func: Name( + ExprName { + range: 45..55, + id: Identifier( + "ValueError", + ), + ctx: Load, + }, ), - ctx: Load, + args: [ + Constant( + ExprConstant { + range: 56..57, + value: Int( + 1, + ), + kind: None, + }, + ), + ], + keywords: [], }, ), - }, - args: [ - Attributed { - range: 30..34, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "eg", + Call( + ExprCall { + range: 60..72, + func: Name( + ExprName { + range: 60..69, + id: Identifier( + "TypeError", + ), + ctx: Load, + }, + ), + args: [ + Constant( + ExprConstant { + range: 70..71, + value: Int( + 2, + ), + kind: None, + }, ), - kind: None, - }, - ), - }, - Attributed { - range: 44..97, - custom: (), - node: List( - ExprList { - elts: [ - Attributed { - range: 45..58, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 45..55, - custom: (), - node: Name( - ExprName { - id: Identifier( - "ValueError", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 56..57, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - keywords: [], - }, + ], + keywords: [], + }, + ), + Call( + ExprCall { + range: 74..84, + func: Name( + ExprName { + range: 74..81, + id: Identifier( + "OSError", + ), + ctx: Load, + }, + ), + args: [ + Constant( + ExprConstant { + range: 82..83, + value: Int( + 3, ), + kind: None, }, - Attributed { - range: 60..72, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 60..69, - custom: (), - node: Name( - ExprName { - id: Identifier( - "TypeError", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 70..71, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - ], - keywords: [], - }, + ), + ], + keywords: [], + }, + ), + Call( + ExprCall { + range: 86..96, + func: Name( + ExprName { + range: 86..93, + id: Identifier( + "OSError", + ), + ctx: Load, + }, + ), + args: [ + Constant( + ExprConstant { + range: 94..95, + value: Int( + 4, ), + kind: None, }, - Attributed { - range: 74..84, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 74..81, - custom: (), - node: Name( - ExprName { - id: Identifier( - "OSError", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 82..83, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 3, - ), - kind: None, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - Attributed { - range: 86..96, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 86..93, - custom: (), - node: Name( - ExprName { - id: Identifier( - "OSError", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 94..95, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 4, - ), - kind: None, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - ], - ctx: Load, - }, - ), - }, + ), + ], + keywords: [], + }, + ), ], - keywords: [], + ctx: Load, }, ), - }, - ), - cause: None, - }, + ], + keywords: [], + }, + ), ), + cause: None, }, - ], - handlers: [ - Attributed { + ), + ], + handlers: [ + ExceptHandler( + ExcepthandlerExceptHandler { range: 99..180, - custom: (), - node: ExceptHandler( - ExcepthandlerExceptHandler { - type_: Some( - Attributed { - range: 107..116, - custom: (), - node: Name( - ExprName { - id: Identifier( - "TypeError", - ), - ctx: Load, - }, - ), - }, - ), - name: Some( - Identifier( - "e", + type_: Some( + Name( + ExprName { + range: 107..116, + id: Identifier( + "TypeError", ), - ), - body: [ - Attributed { - range: 127..180, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 127..180, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 127..132, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { + ctx: Load, + }, + ), + ), + name: Some( + Identifier( + "e", + ), + ), + body: [ + Expr( + StmtExpr { + range: 127..180, + value: Call( + ExprCall { + range: 127..180, + func: Name( + ExprName { + range: 127..132, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + JoinedStr( + ExprJoinedStr { + range: 133..179, + values: [ + Constant( + ExprConstant { range: 133..179, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 133..179, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "caught ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 133..179, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 143..150, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 143..147, - custom: (), - node: Name( - ExprName { - id: Identifier( - "type", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 148..149, - custom: (), - node: Name( - ExprName { - id: Identifier( - "e", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - Attributed { - range: 133..179, - custom: (), - node: Constant( - ExprConstant { - value: Str( - " with nested ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 133..179, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 165..177, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 165..166, - custom: (), - node: Name( - ExprName { - id: Identifier( - "e", - ), - ctx: Load, - }, - ), - }, - attr: Identifier( - "exceptions", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, + value: Str( + "caught ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 133..179, + value: Call( + ExprCall { + range: 143..150, + func: Name( + ExprName { + range: 143..147, + id: Identifier( + "type", ), + ctx: Load, }, + ), + args: [ + Name( + ExprName { + range: 148..149, + id: Identifier( + "e", + ), + ctx: Load, + }, + ), ], + keywords: [], }, ), + conversion: Int( + 0, + ), + format_spec: None, }, - ], - keywords: [], - }, - ), - }, - }, - ), - }, - ], - }, - ), - }, - Attributed { - range: 181..260, - custom: (), - node: ExceptHandler( - ExcepthandlerExceptHandler { - type_: Some( - Attributed { - range: 189..196, - custom: (), - node: Name( - ExprName { - id: Identifier( - "OSError", + ), + Constant( + ExprConstant { + range: 133..179, + value: Str( + " with nested ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 133..179, + value: Attribute( + ExprAttribute { + range: 165..177, + value: Name( + ExprName { + range: 165..166, + id: Identifier( + "e", + ), + ctx: Load, + }, + ), + attr: Identifier( + "exceptions", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], + }, ), - ctx: Load, - }, - ), - }, - ), - name: Some( - Identifier( - "e", + ], + keywords: [], + }, ), - ), - body: [ - Attributed { - range: 207..260, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 207..260, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 207..212, - custom: (), - node: Name( - ExprName { - id: Identifier( - "print", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { + }, + ), + ], + }, + ), + ExceptHandler( + ExcepthandlerExceptHandler { + range: 181..260, + type_: Some( + Name( + ExprName { + range: 189..196, + id: Identifier( + "OSError", + ), + ctx: Load, + }, + ), + ), + name: Some( + Identifier( + "e", + ), + ), + body: [ + Expr( + StmtExpr { + range: 207..260, + value: Call( + ExprCall { + range: 207..260, + func: Name( + ExprName { + range: 207..212, + id: Identifier( + "print", + ), + ctx: Load, + }, + ), + args: [ + JoinedStr( + ExprJoinedStr { + range: 213..259, + values: [ + Constant( + ExprConstant { range: 213..259, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 213..259, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "caught ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 213..259, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 223..230, - custom: (), - node: Call( - ExprCall { - func: Attributed { - range: 223..227, - custom: (), - node: Name( - ExprName { - id: Identifier( - "type", - ), - ctx: Load, - }, - ), - }, - args: [ - Attributed { - range: 228..229, - custom: (), - node: Name( - ExprName { - id: Identifier( - "e", - ), - ctx: Load, - }, - ), - }, - ], - keywords: [], - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - Attributed { - range: 213..259, - custom: (), - node: Constant( - ExprConstant { - value: Str( - " with nested ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 213..259, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 245..257, - custom: (), - node: Attribute( - ExprAttribute { - value: Attributed { - range: 245..246, - custom: (), - node: Name( - ExprName { - id: Identifier( - "e", - ), - ctx: Load, - }, - ), - }, - attr: Identifier( - "exceptions", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, + value: Str( + "caught ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 213..259, + value: Call( + ExprCall { + range: 223..230, + func: Name( + ExprName { + range: 223..227, + id: Identifier( + "type", ), + ctx: Load, }, + ), + args: [ + Name( + ExprName { + range: 228..229, + id: Identifier( + "e", + ), + ctx: Load, + }, + ), ], + keywords: [], }, ), + conversion: Int( + 0, + ), + format_spec: None, }, - ], - keywords: [], - }, - ), - }, - }, - ), - }, - ], - }, - ), + ), + Constant( + ExprConstant { + range: 213..259, + value: Str( + " with nested ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 213..259, + value: Attribute( + ExprAttribute { + range: 245..257, + value: Name( + ExprName { + range: 245..246, + id: Identifier( + "e", + ), + ctx: Load, + }, + ), + attr: Identifier( + "exceptions", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], + }, + ), + ], + keywords: [], + }, + ), + }, + ), + ], }, - ], - orelse: [], - finalbody: [], - }, - ), - }, + ), + ], + orelse: [], + finalbody: [], + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__variadic_generics.snap b/parser/src/snapshots/rustpython_parser__parser__tests__variadic_generics.snap index 0409eda97c..ada949279d 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__variadic_generics.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__variadic_generics.snap @@ -3,124 +3,95 @@ source: parser/src/parser.rs expression: parse_ast --- [ - Attributed { - range: 1..49, - custom: (), - node: FunctionDef( - StmtFunctionDef { - name: Identifier( - "args_to_tuple", - ), - args: Arguments { - posonlyargs: [], - args: [], - vararg: Some( - Attributed { - range: 20..29, - custom: (), - node: ArgData { - arg: Identifier( - "args", - ), - annotation: Some( - Attributed { - range: 26..29, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 27..29, - custom: (), - node: Name( - ExprName { - id: Identifier( - "Ts", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ), - type_comment: None, - }, - }, - ), - kwonlyargs: [], - kw_defaults: [], - kwarg: None, - defaults: [], - }, - body: [ - Attributed { - range: 46..49, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { - range: 46..49, - custom: (), - node: Constant( - ExprConstant { - value: Ellipsis, - kind: None, - }, - ), - }, - }, + FunctionDef( + StmtFunctionDef { + range: 1..49, + name: Identifier( + "args_to_tuple", + ), + args: Arguments { + posonlyargs: [], + args: [], + vararg: Some( + Arg { + arg: Identifier( + "args", ), - }, - ], - decorator_list: [], - returns: Some( - Attributed { - range: 34..44, - custom: (), - node: Subscript( - ExprSubscript { - value: Attributed { - range: 34..39, - custom: (), - node: Name( + annotation: Some( + Starred( + ExprStarred { + range: 26..29, + value: Name( ExprName { + range: 27..29, id: Identifier( - "Tuple", + "Ts", ), ctx: Load, }, ), + ctx: Load, }, - slice: Attributed { - range: 40..43, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 41..43, - custom: (), - node: Name( - ExprName { - id: Identifier( - "Ts", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ctx: Load, + ), + ), + type_comment: None, + range: 20..29, + }, + ), + kwonlyargs: [], + kw_defaults: [], + kwarg: None, + defaults: [], + range: (), + }, + body: [ + Expr( + StmtExpr { + range: 46..49, + value: Constant( + ExprConstant { + range: 46..49, + value: Ellipsis, + kind: None, }, ), }, ), - type_comment: None, - }, - ), - }, + ], + decorator_list: [], + returns: Some( + Subscript( + ExprSubscript { + range: 34..44, + value: Name( + ExprName { + range: 34..39, + id: Identifier( + "Tuple", + ), + ctx: Load, + }, + ), + slice: Starred( + ExprStarred { + range: 40..43, + value: Name( + ExprName { + range: 41..43, + id: Identifier( + "Ts", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + ), + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__parser__tests__with_statement.snap b/parser/src/snapshots/rustpython_parser__parser__tests__with_statement.snap index 23911fbd30..e00266748b 100644 --- a/parser/src/snapshots/rustpython_parser__parser__tests__with_statement.snap +++ b/parser/src/snapshots/rustpython_parser__parser__tests__with_statement.snap @@ -3,289 +3,931 @@ source: parser/src/parser.rs expression: "parse_program(source, \"\").unwrap()" --- [ - Attributed { - range: 0..12, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + With( + StmtWith { + range: 0..12, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 5..6, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: None, - }, - ], - body: [ - Attributed { + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 8..12, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 13..30, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 13..30, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 18..19, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 23..24, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 26..30, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 31..46, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 31..46, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 36..37, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: None, - }, - Withitem { - context_expr: Attributed { + ), + optional_vars: None, + range: (), + }, + Withitem { + context_expr: Constant( + ExprConstant { range: 39..40, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - optional_vars: None, - }, - ], - body: [ - Attributed { + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 42..46, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 47..72, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 47..72, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 52..53, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 57..58, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, ), - }, - Withitem { - context_expr: Attributed { + ), + range: (), + }, + Withitem { + context_expr: Constant( + ExprConstant { range: 60..61, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 65..66, - custom: (), - node: Name( - ExprName { - id: Identifier( - "y", - ), - ctx: Store, - }, + id: Identifier( + "y", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 68..72, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 73..97, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 73..97, + items: [ + Withitem { + context_expr: IfExp( + ExprIfExp { range: 78..91, - custom: (), - node: IfExp( - ExprIfExp { - test: Attributed { - range: 83..84, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - body: Attributed { - range: 78..79, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - orelse: Attributed { - range: 90..91, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, + test: Constant( + ExprConstant { + range: 83..84, + value: Int( + 1, + ), + kind: None, + }, + ), + body: Constant( + ExprConstant { + range: 78..79, + value: Int( + 0, + ), + kind: None, + }, + ), + orelse: Constant( + ExprConstant { + range: 90..91, + value: Int( + 2, + ), + kind: None, }, ), }, - optional_vars: None, - }, - ], - body: [ - Attributed { + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 93..97, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 98..127, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 98..127, + items: [ + Withitem { + context_expr: IfExp( + ExprIfExp { range: 103..116, - custom: (), - node: IfExp( - ExprIfExp { - test: Attributed { - range: 108..109, - custom: (), - node: Constant( + test: Constant( + ExprConstant { + range: 108..109, + value: Int( + 1, + ), + kind: None, + }, + ), + body: Constant( + ExprConstant { + range: 103..104, + value: Int( + 0, + ), + kind: None, + }, + ), + orelse: Constant( + ExprConstant { + range: 115..116, + value: Int( + 2, + ), + kind: None, + }, + ), + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 120..121, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 123..127, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 128..141, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 133..135, + elts: [], + ctx: Load, + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 137..141, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 142..160, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 147..149, + elts: [], + ctx: Load, + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 153..154, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 156..160, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 161..175, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { + range: 167..168, + value: Int( + 0, + ), + kind: None, + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 171..175, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 176..195, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { + range: 182..183, + value: Int( + 0, + ), + kind: None, + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 188..189, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 191..195, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 196..211, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { + range: 202..203, + value: Int( + 0, + ), + kind: None, + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 207..211, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 212..232, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 217..221, + elts: [ + Constant( + ExprConstant { + range: 218..219, + value: Int( + 0, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 225..226, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 228..232, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 233..250, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { + range: 239..240, + value: Int( + 0, + ), + kind: None, + }, + ), + optional_vars: None, + range: (), + }, + Withitem { + context_expr: Constant( + ExprConstant { + range: 242..243, + value: Int( + 1, + ), + kind: None, + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 246..250, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 251..273, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 256..262, + elts: [ + Constant( + ExprConstant { + range: 257..258, + value: Int( + 0, + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 260..261, + value: Int( + 1, + ), + kind: None, + }, + ), + ], + ctx: Load, + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 266..267, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 269..273, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 274..290, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 279..284, + elts: [ + Starred( + ExprStarred { + range: 280..282, + value: Name( + ExprName { + range: 281..282, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 286..290, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 291..312, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 296..301, + elts: [ + Starred( + ExprStarred { + range: 297..299, + value: Name( + ExprName { + range: 298..299, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 305..306, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 308..312, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 313..331, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 318..325, + elts: [ + Constant( + ExprConstant { + range: 319..320, + value: Int( + 0, + ), + kind: None, + }, + ), + Starred( + ExprStarred { + range: 322..324, + value: Name( + ExprName { + range: 323..324, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 327..331, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 332..355, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 337..344, + elts: [ + Constant( + ExprConstant { + range: 338..339, + value: Int( + 0, + ), + kind: None, + }, + ), + Starred( + ExprStarred { + range: 341..343, + value: Name( + ExprName { + range: 342..343, + id: Identifier( + "a", + ), + ctx: Load, + }, + ), + ctx: Load, + }, + ), + ], + ctx: Load, + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 348..349, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 351..355, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 356..375, + items: [ + Withitem { + context_expr: NamedExpr( + ExprNamedExpr { + range: 362..368, + target: Name( + ExprName { + range: 362..363, + id: Identifier( + "a", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 367..368, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 371..375, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 376..400, + items: [ + Withitem { + context_expr: NamedExpr( + ExprNamedExpr { + range: 382..388, + target: Name( + ExprName { + range: 382..383, + id: Identifier( + "a", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 387..388, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + optional_vars: Some( + Name( + ExprName { + range: 393..394, + id: Identifier( + "x", + ), + ctx: Store, + }, + ), + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { + range: 396..400, + }, + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 401..428, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { + range: 406..422, + elts: [ + NamedExpr( + ExprNamedExpr { + range: 407..413, + target: Name( + ExprName { + range: 407..408, + id: Identifier( + "a", + ), + ctx: Store, + }, + ), + value: Constant( ExprConstant { + range: 412..413, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + NamedExpr( + ExprNamedExpr { + range: 415..421, + target: Name( + ExprName { + range: 415..416, + id: Identifier( + "b", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 420..421, value: Int( 1, ), @@ -293,1245 +935,304 @@ expression: "parse_program(source, \"\").unwrap()" }, ), }, - body: Attributed { - range: 103..104, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - orelse: Attributed { - range: 115..116, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 120..121, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, ), - }, - ), - }, - ], - body: [ - Attributed { - range: 123..127, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 128..141, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 133..135, - custom: (), - node: Tuple( - ExprTuple { - elts: [], - ctx: Load, - }, - ), + ], + ctx: Load, }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 137..141, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 142..160, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 147..149, - custom: (), - node: Tuple( - ExprTuple { - elts: [], - ctx: Load, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 153..154, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 156..160, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 161..175, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 167..168, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 171..175, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 176..195, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 182..183, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 188..189, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 191..195, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 196..211, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 202..203, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 207..211, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 212..232, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 217..221, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 218..219, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 225..226, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 228..232, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 233..250, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 239..240, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - optional_vars: None, - }, - Withitem { - context_expr: Attributed { - range: 242..243, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 246..250, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 251..273, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 256..262, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 257..258, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 260..261, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 266..267, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 269..273, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 274..290, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 279..284, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 280..282, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 281..282, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 286..290, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 291..312, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 296..301, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 297..299, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 298..299, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 305..306, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 308..312, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 313..331, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 318..325, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 319..320, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 322..324, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 323..324, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 327..331, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 332..355, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 337..344, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 338..339, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - Attributed { - range: 341..343, - custom: (), - node: Starred( - ExprStarred { - value: Attributed { - range: 342..343, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, - ), - }, - ctx: Load, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 348..349, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 351..355, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 356..375, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 362..368, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 362..363, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 367..368, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { - range: 371..375, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 376..400, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 382..388, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 382..383, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 387..388, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - optional_vars: Some( - Attributed { - range: 393..394, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, - ), - }, - ), - }, - ], - body: [ - Attributed { - range: 396..400, - custom: (), - node: Pass, - }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 401..428, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { - range: 406..422, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 407..413, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 407..408, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 412..413, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 415..421, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 415..416, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 420..421, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - ctx: Load, - }, - ), - }, - optional_vars: None, - }, - ], - body: [ - Attributed { + ), + optional_vars: None, + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 424..428, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 429..461, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 429..461, + items: [ + Withitem { + context_expr: Tuple( + ExprTuple { range: 434..450, - custom: (), - node: Tuple( - ExprTuple { - elts: [ - Attributed { - range: 435..441, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 435..436, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 440..441, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, - ), - }, - }, - ), - }, - Attributed { - range: 443..449, - custom: (), - node: NamedExpr( - ExprNamedExpr { - target: Attributed { - range: 443..444, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Store, - }, - ), - }, - value: Attributed { - range: 448..449, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - }, - ), - }, - ], - ctx: Load, - }, - ), + elts: [ + NamedExpr( + ExprNamedExpr { + range: 435..441, + target: Name( + ExprName { + range: 435..436, + id: Identifier( + "a", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 440..441, + value: Int( + 0, + ), + kind: None, + }, + ), + }, + ), + NamedExpr( + ExprNamedExpr { + range: 443..449, + target: Name( + ExprName { + range: 443..444, + id: Identifier( + "b", + ), + ctx: Store, + }, + ), + value: Constant( + ExprConstant { + range: 448..449, + value: Int( + 1, + ), + kind: None, + }, + ), + }, + ), + ], + ctx: Load, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 454..455, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Store, - }, + id: Identifier( + "x", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 457..461, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 462..481, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 462..481, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 468..469, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 473..474, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, + id: Identifier( + "a", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 477..481, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 482..502, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 482..502, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 488..489, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 493..494, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, + id: Identifier( + "a", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 498..502, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 503..530, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 503..530, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 509..510, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 514..515, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, + id: Identifier( + "a", ), + ctx: Store, }, ), - }, - Withitem { - context_expr: Attributed { + ), + range: (), + }, + Withitem { + context_expr: Constant( + ExprConstant { range: 517..518, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 522..523, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Store, - }, + id: Identifier( + "b", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 526..530, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, - Attributed { - range: 531..559, - custom: (), - node: With( - StmtWith { - items: [ - Withitem { - context_expr: Attributed { + ), + ], + type_comment: None, + }, + ), + With( + StmtWith { + range: 531..559, + items: [ + Withitem { + context_expr: Constant( + ExprConstant { range: 537..538, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 0, - ), - kind: None, - }, + value: Int( + 0, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 542..543, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Store, - }, + id: Identifier( + "a", ), + ctx: Store, }, ), - }, - Withitem { - context_expr: Attributed { + ), + range: (), + }, + Withitem { + context_expr: Constant( + ExprConstant { range: 545..546, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, + value: Int( + 1, ), + kind: None, }, - optional_vars: Some( - Attributed { + ), + optional_vars: Some( + Name( + ExprName { range: 550..551, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Store, - }, + id: Identifier( + "b", ), + ctx: Store, }, ), - }, - ], - body: [ - Attributed { + ), + range: (), + }, + ], + body: [ + Pass( + StmtPass { range: 555..559, - custom: (), - node: Pass, }, - ], - type_comment: None, - }, - ), - }, + ), + ], + type_comment: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__backspace_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__backspace_alias.snap index c84bc9e569..2b010efaca 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__backspace_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__backspace_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..15, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..15, + value: Constant( + ExprConstant { range: 0..15, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{8}", - ), - kind: None, - }, + value: Str( + "\u{8}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__bell_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__bell_alias.snap index 45959718ff..8ea0075e5b 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__bell_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__bell_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..9, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..9, + value: Constant( + ExprConstant { range: 0..9, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{7}", - ), - kind: None, - }, + value: Str( + "\u{7}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__carriage_return_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__carriage_return_alias.snap index 270ad7546f..133911b93f 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__carriage_return_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__carriage_return_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..21, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..21, + value: Constant( + ExprConstant { range: 0..21, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\r", - ), - kind: None, - }, + value: Str( + "\r", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__character_tabulation_with_justification_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__character_tabulation_with_justification_alias.snap index de8d1f2394..49d820ac0c 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__character_tabulation_with_justification_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__character_tabulation_with_justification_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..45, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..45, + value: Constant( + ExprConstant { range: 0..45, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{89}", - ), - kind: None, - }, + value: Str( + "\u{89}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__delete_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__delete_alias.snap index 2ce4feeeca..7aaa024902 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__delete_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__delete_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..12, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..12, + value: Constant( + ExprConstant { range: 0..12, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{7f}", - ), - kind: None, - }, + value: Str( + "\u{7f}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__double_quoted_byte.snap b/parser/src/snapshots/rustpython_parser__string__tests__double_quoted_byte.snap index edac5d018d..79ef9ba634 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__double_quoted_byte.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__double_quoted_byte.snap @@ -3,281 +3,275 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..738, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..738, + value: Constant( + ExprConstant { range: 0..738, - custom: (), - node: Constant( - ExprConstant { - value: Bytes( - [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48, - 49, - 50, - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 59, - 60, - 61, - 62, - 63, - 64, - 65, - 66, - 67, - 68, - 69, - 70, - 71, - 72, - 73, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 100, - 101, - 102, - 103, - 104, - 105, - 106, - 107, - 108, - 109, - 110, - 111, - 112, - 113, - 114, - 115, - 116, - 117, - 118, - 119, - 120, - 121, - 122, - 123, - 124, - 125, - 126, - 127, - 128, - 129, - 130, - 131, - 132, - 133, - 134, - 135, - 136, - 137, - 138, - 139, - 140, - 141, - 142, - 143, - 144, - 145, - 146, - 147, - 148, - 149, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 174, - 175, - 176, - 177, - 178, - 179, - 180, - 181, - 182, - 183, - 184, - 185, - 186, - 187, - 188, - 189, - 190, - 191, - 192, - 193, - 194, - 195, - 196, - 197, - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 210, - 211, - 212, - 213, - 214, - 215, - 216, - 217, - 218, - 219, - 220, - 221, - 222, - 223, - 224, - 225, - 226, - 227, - 228, - 229, - 230, - 231, - 232, - 233, - 234, - 235, - 236, - 237, - 238, - 239, - 240, - 241, - 242, - 243, - 244, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - ], - ), - kind: None, - }, + value: Bytes( + [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + ], ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__escape_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__escape_alias.snap index f487e47663..45ed6b342e 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__escape_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__escape_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..12, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..12, + value: Constant( + ExprConstant { range: 0..12, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{1b}", - ), - kind: None, - }, + value: Str( + "\u{1b}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__escape_char_in_byte_literal.snap b/parser/src/snapshots/rustpython_parser__string__tests__escape_char_in_byte_literal.snap index 45ca76ef80..d1898ba286 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__escape_char_in_byte_literal.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__escape_char_in_byte_literal.snap @@ -3,35 +3,29 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..13, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..13, + value: Constant( + ExprConstant { range: 0..13, - custom: (), - node: Constant( - ExprConstant { - value: Bytes( - [ - 111, - 109, - 107, - 109, - 111, - 107, - 92, - 88, - 97, - 97, - ], - ), - kind: None, - }, + value: Bytes( + [ + 111, + 109, + 107, + 109, + 111, + 107, + 92, + 88, + 97, + 97, + ], ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__escape_octet.snap b/parser/src/snapshots/rustpython_parser__string__tests__escape_octet.snap index c17950223b..dfb9c9a6c4 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__escape_octet.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__escape_octet.snap @@ -3,30 +3,24 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..14, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..14, + value: Constant( + ExprConstant { range: 0..14, - custom: (), - node: Constant( - ExprConstant { - value: Bytes( - [ - 35, - 97, - 4, - 83, - 52, - ], - ), - kind: None, - }, + value: Bytes( + [ + 35, + 97, + 4, + 83, + 52, + ], ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__form_feed_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__form_feed_alias.snap index 09ea9346d5..9dbbc7f502 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__form_feed_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__form_feed_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..15, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..15, + value: Constant( + ExprConstant { range: 0..15, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{c}", - ), - kind: None, - }, + value: Str( + "\u{c}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_character.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_character.snap index 26a83a0c1e..47f4b470df 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_character.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_character.snap @@ -3,58 +3,43 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..8, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..8, + value: JoinedStr( + ExprJoinedStr { range: 0..8, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..8, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\\", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..8, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 5..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..8, + value: Str( + "\\", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..8, + value: Name( + ExprName { + range: 5..6, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_newline.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_newline.snap index 95f7607b15..eb5d75cbe2 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_newline.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_escaped_newline.snap @@ -3,58 +3,43 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..8, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..8, + value: JoinedStr( + ExprJoinedStr { range: 0..8, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..8, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\n", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..8, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 5..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..8, + value: Str( + "\n", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..8, + value: Name( + ExprName { + range: 5..6, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_line_continuation.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_line_continuation.snap index 7134bd9781..3cae4ff9e5 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_line_continuation.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_line_continuation.snap @@ -3,58 +3,43 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..9, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..9, + value: JoinedStr( + ExprJoinedStr { range: 0..9, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..9, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\\\n", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..9, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..9, + value: Str( + "\\\n", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..9, + value: Name( + ExprName { + range: 6..7, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base.snap index a2fa9e71af..40e0bb33db 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base.snap @@ -3,52 +3,40 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..10, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "user=", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..10, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..10, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + Constant( + ExprConstant { + range: 0..10, + value: Str( + "user=", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..10, + value: Str( + "", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..10, + value: Name( + ExprName { range: 3..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "user", - ), - ctx: Load, - }, + id: Identifier( + "user", ), + ctx: Load, }, - conversion: Int( - 114, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 114, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base_more.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base_more.snap index 9342af2234..e08a79d354 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base_more.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_base_more.snap @@ -3,124 +3,94 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..38, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "mix ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "user=", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + Constant( + ExprConstant { + range: 0..38, + value: Str( + "mix ", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..38, + value: Str( + "user=", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..38, + value: Str( + "", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..38, + value: Name( + ExprName { range: 7..11, - custom: (), - node: Name( - ExprName { - id: Identifier( - "user", - ), - ctx: Load, - }, + id: Identifier( + "user", ), + ctx: Load, }, - conversion: Int( - 114, - ), - format_spec: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: Constant( - ExprConstant { - value: Str( - " with text and ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "second=", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..38, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + ), + conversion: Int( + 114, + ), + format_spec: None, + }, + ), + Constant( + ExprConstant { + range: 0..38, + value: Str( + " with text and ", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..38, + value: Str( + "second=", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..38, + value: Str( + "", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..38, + value: Name( + ExprName { range: 29..35, - custom: (), - node: Name( - ExprName { - id: Identifier( - "second", - ), - ctx: Load, - }, + id: Identifier( + "second", ), + ctx: Load, }, - conversion: Int( - 114, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 114, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_format.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_format.snap index b4a9977b44..69f27ea3fb 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_format.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_parse_self_documenting_format.snap @@ -3,75 +3,57 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..14, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "user=", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..14, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..14, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + Constant( + ExprConstant { + range: 0..14, + value: Str( + "user=", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..14, + value: Str( + "", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..14, + value: Name( + ExprName { range: 3..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "user", - ), - ctx: Load, - }, + id: Identifier( + "user", ), + ctx: Load, }, - conversion: Int( - 0, - ), - format_spec: Some( - Attributed { + ), + conversion: Int( + 0, + ), + format_spec: Some( + JoinedStr( + ExprJoinedStr { range: 0..14, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..14, - custom: (), - node: Constant( - ExprConstant { - value: Str( - ">10", - ), - kind: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..14, + value: Str( + ">10", + ), + kind: None, + }, + ), + ], }, ), - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__fstring_unescaped_newline.snap b/parser/src/snapshots/rustpython_parser__string__tests__fstring_unescaped_newline.snap index 96931e8b8e..a1d7b535ab 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__fstring_unescaped_newline.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__fstring_unescaped_newline.snap @@ -3,58 +3,43 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..11, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..11, + value: JoinedStr( + ExprJoinedStr { range: 0..11, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..11, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\n", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..11, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..11, + value: Str( + "\n", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..11, + value: Name( + ExprName { + range: 6..7, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__hts_alias.snap b/parser/src/snapshots/rustpython_parser__string__tests__hts_alias.snap index fc8f2f8284..bcba9195bf 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__hts_alias.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__hts_alias.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..9, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..9, + value: Constant( + ExprConstant { range: 0..9, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "\u{88}", - ), - kind: None, - }, + value: Str( + "\u{88}", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_1.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_1.snap index fe659768aa..274823e85f 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_1.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_1.snap @@ -3,34 +3,25 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..17, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..17, + value: JoinedStr( + ExprJoinedStr { range: 0..17, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..17, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..17, + value: Str( + "Hello world", + ), + kind: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_2.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_2.snap index fe659768aa..274823e85f 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_2.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_2.snap @@ -3,34 +3,25 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..17, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..17, + value: JoinedStr( + ExprJoinedStr { range: 0..17, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..17, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..17, + value: Str( + "Hello world", + ), + kind: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_3.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_3.snap index f2bde28b04..ee1e801b7f 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_3.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_f_string_concat_3.snap @@ -3,58 +3,43 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..22, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..22, + value: JoinedStr( + ExprJoinedStr { range: 0..22, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..22, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, - ), - }, - Attributed { - range: 9..22, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 17..20, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "!", - ), - kind: None, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..22, + value: Str( + "Hello world", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 9..22, + value: Constant( + ExprConstant { + range: 17..20, + value: Str( + "!", + ), + kind: None, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring.snap index 7123bfbe45..85064e8732 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring.snap @@ -3,64 +3,49 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..18, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + FormattedValue( + ExprFormattedValue { + range: 0..18, + value: Name( + ExprName { range: 3..4, - custom: (), - node: Name( - ExprName { - id: Identifier( - "a", - ), - ctx: Load, - }, + id: Identifier( + "a", ), + ctx: Load, }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - Attributed { - range: 0..18, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..18, + value: Name( + ExprName { range: 7..8, - custom: (), - node: Name( - ExprName { - id: Identifier( - "b", - ), - ctx: Load, - }, + id: Identifier( + "b", ), + ctx: Load, }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - Attributed { - range: 0..18, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "{foo}", - ), - kind: None, - }, - ), - }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + Constant( + ExprConstant { + range: 0..18, + value: Str( + "{foo}", + ), + kind: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_equals.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_equals.snap index e2efeb407d..ed5516f825 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_equals.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_equals.snap @@ -3,53 +3,41 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..13, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + FormattedValue( + ExprFormattedValue { + range: 0..13, + value: Compare( + ExprCompare { range: 3..11, - custom: (), - node: Compare( - ExprCompare { - left: Attributed { - range: 3..5, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 42, - ), - kind: None, - }, - ), - }, - ops: [ - Eq, - ], - comparators: [ - Attributed { - range: 9..11, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 42, - ), - kind: None, - }, - ), - }, - ], + left: Constant( + ExprConstant { + range: 3..5, + value: Int( + 42, + ), + kind: None, }, ), + ops: [ + Eq, + ], + comparators: [ + Constant( + ExprConstant { + range: 9..11, + value: Int( + 42, + ), + kind: None, + }, + ), + ], }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_nested_spec.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_nested_spec.snap index 0b9085acb2..723801bcb3 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_nested_spec.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_nested_spec.snap @@ -3,63 +3,48 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..15, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + FormattedValue( + ExprFormattedValue { + range: 0..15, + value: Name( + ExprName { range: 3..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "foo", - ), - ctx: Load, - }, + id: Identifier( + "foo", ), + ctx: Load, }, - conversion: Int( - 0, - ), - format_spec: Some( - Attributed { + ), + conversion: Int( + 0, + ), + format_spec: Some( + JoinedStr( + ExprJoinedStr { range: 0..15, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..15, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 8..12, - custom: (), - node: Name( - ExprName { - id: Identifier( - "spec", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + FormattedValue( + ExprFormattedValue { + range: 0..15, + value: Name( + ExprName { + range: 8..12, + id: Identifier( + "spec", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, ), - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_equals.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_equals.snap index 7e856d38da..4a40d0a249 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_equals.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_equals.snap @@ -3,53 +3,41 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..11, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + FormattedValue( + ExprFormattedValue { + range: 0..11, + value: Compare( + ExprCompare { range: 3..9, - custom: (), - node: Compare( - ExprCompare { - left: Attributed { - range: 3..4, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 1, - ), - kind: None, - }, - ), - }, - ops: [ - NotEq, - ], - comparators: [ - Attributed { - range: 8..9, - custom: (), - node: Constant( - ExprConstant { - value: Int( - 2, - ), - kind: None, - }, - ), - }, - ], + left: Constant( + ExprConstant { + range: 3..4, + value: Int( + 1, + ), + kind: None, }, ), + ops: [ + NotEq, + ], + comparators: [ + Constant( + ExprConstant { + range: 8..9, + value: Int( + 2, + ), + kind: None, + }, + ), + ], }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_nested_spec.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_nested_spec.snap index c820f6e2a5..d860d649ea 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_nested_spec.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_not_nested_spec.snap @@ -3,51 +3,39 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..13, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + FormattedValue( + ExprFormattedValue { + range: 0..13, + value: Name( + ExprName { range: 3..6, - custom: (), - node: Name( - ExprName { - id: Identifier( - "foo", - ), - ctx: Load, - }, + id: Identifier( + "foo", ), + ctx: Load, }, - conversion: Int( - 0, - ), - format_spec: Some( - Attributed { + ), + conversion: Int( + 0, + ), + format_spec: Some( + JoinedStr( + ExprJoinedStr { range: 0..13, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..13, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "spec", - ), - kind: None, - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..13, + value: Str( + "spec", + ), + kind: None, + }, + ), + ], }, ), - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_prec_space.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_prec_space.snap index 169dff8123..0fb434c309 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_prec_space.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_prec_space.snap @@ -3,52 +3,40 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..10, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "x =", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..10, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..10, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + Constant( + ExprConstant { + range: 0..10, + value: Str( + "x =", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..10, + value: Str( + "", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..10, + value: Name( + ExprName { range: 3..4, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - conversion: Int( - 114, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 114, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_trailing_space.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_trailing_space.snap index e718bd794b..83daabf333 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_trailing_space.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_self_doc_trailing_space.snap @@ -3,52 +3,40 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..10, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "x=", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..10, - custom: (), - node: Constant( - ExprConstant { - value: Str( - " ", - ), - kind: None, - }, - ), - }, - Attributed { - range: 0..10, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + Constant( + ExprConstant { + range: 0..10, + value: Str( + "x=", + ), + kind: None, + }, + ), + Constant( + ExprConstant { + range: 0..10, + value: Str( + " ", + ), + kind: None, + }, + ), + FormattedValue( + ExprFormattedValue { + range: 0..10, + value: Name( + ExprName { range: 3..4, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, + id: Identifier( + "x", ), + ctx: Load, }, - conversion: Int( - 114, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 114, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_yield_expr.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_yield_expr.snap index 91d460a2d0..fe7d731d98 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_yield_expr.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_fstring_yield_expr.snap @@ -3,25 +3,19 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..10, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { + FormattedValue( + ExprFormattedValue { + range: 0..10, + value: Yield( + ExprYield { range: 3..8, - custom: (), - node: Yield( - ExprYield { - value: None, - }, - ), + value: None, }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_string_concat.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_string_concat.snap index 3826a28212..6429c7d8e5 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_string_concat.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_string_concat.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..16, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..16, + value: Constant( + ExprConstant { range: 0..16, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, + value: Str( + "Hello world", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_string_triple_quotes_with_kind.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_string_triple_quotes_with_kind.snap index 5fb8e0ce93..a6b2822f24 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_string_triple_quotes_with_kind.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_string_triple_quotes_with_kind.snap @@ -3,26 +3,20 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..20, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..20, + value: Constant( + ExprConstant { range: 0..20, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello, world!", - ), - kind: Some( - "u", - ), - }, + value: Str( + "Hello, world!", + ), + kind: Some( + "u", ), }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_1.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_1.snap index 69f7c86cc8..68aacbe07c 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_1.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_1.snap @@ -3,36 +3,27 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..18, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..18, + value: JoinedStr( + ExprJoinedStr { range: 0..18, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..18, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: Some( - "u", - ), - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..18, + value: Str( + "Hello world", + ), + kind: Some( + "u", + ), + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_2.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_2.snap index 434bc75128..c77d5090c5 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_2.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_f_string_concat_2.snap @@ -3,36 +3,27 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..22, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..22, + value: JoinedStr( + ExprJoinedStr { range: 0..22, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..22, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world!", - ), - kind: Some( - "u", - ), - }, - ), - }, - ], - }, - ), + values: [ + Constant( + ExprConstant { + range: 0..22, + value: Str( + "Hello world!", + ), + kind: Some( + "u", + ), + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_1.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_1.snap index c9a9a25738..bd730d8130 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_1.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_1.snap @@ -3,24 +3,18 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..17, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..17, + value: Constant( + ExprConstant { range: 0..17, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: None, - }, + value: Str( + "Hello world", ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_2.snap b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_2.snap index 2355467937..8be87509e8 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_2.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__parse_u_string_concat_2.snap @@ -3,26 +3,20 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..17, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..17, + value: Constant( + ExprConstant { range: 0..17, - custom: (), - node: Constant( - ExprConstant { - value: Str( - "Hello world", - ), - kind: Some( - "u", - ), - }, + value: Str( + "Hello world", + ), + kind: Some( + "u", ), }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_1.snap b/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_1.snap index 7e7234a4c6..decb6ece5d 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_1.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_1.snap @@ -3,29 +3,23 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..8, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..8, + value: Constant( + ExprConstant { range: 0..8, - custom: (), - node: Constant( - ExprConstant { - value: Bytes( - [ - 92, - 120, - 49, - 122, - ], - ), - kind: None, - }, + value: Bytes( + [ + 92, + 120, + 49, + 122, + ], ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_2.snap b/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_2.snap index 09c7f7c0b0..4972fc0de9 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_2.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__raw_byte_literal_2.snap @@ -3,27 +3,21 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..6, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..6, + value: Constant( + ExprConstant { range: 0..6, - custom: (), - node: Constant( - ExprConstant { - value: Bytes( - [ - 92, - 92, - ], - ), - kind: None, - }, + value: Bytes( + [ + 92, + 92, + ], ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__raw_fstring.snap b/parser/src/snapshots/rustpython_parser__string__tests__raw_fstring.snap index 7cf8c910ed..9ece93cc03 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__raw_fstring.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__raw_fstring.snap @@ -3,46 +3,34 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..7, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..7, + value: JoinedStr( + ExprJoinedStr { range: 0..7, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..7, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 4..5, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + FormattedValue( + ExprFormattedValue { + range: 0..7, + value: Name( + ExprName { + range: 4..5, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__single_quoted_byte.snap b/parser/src/snapshots/rustpython_parser__string__tests__single_quoted_byte.snap index edac5d018d..79ef9ba634 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__single_quoted_byte.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__single_quoted_byte.snap @@ -3,281 +3,275 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..738, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..738, + value: Constant( + ExprConstant { range: 0..738, - custom: (), - node: Constant( - ExprConstant { - value: Bytes( - [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48, - 49, - 50, - 51, - 52, - 53, - 54, - 55, - 56, - 57, - 58, - 59, - 60, - 61, - 62, - 63, - 64, - 65, - 66, - 67, - 68, - 69, - 70, - 71, - 72, - 73, - 74, - 75, - 76, - 77, - 78, - 79, - 80, - 81, - 82, - 83, - 84, - 85, - 86, - 87, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 96, - 97, - 98, - 99, - 100, - 101, - 102, - 103, - 104, - 105, - 106, - 107, - 108, - 109, - 110, - 111, - 112, - 113, - 114, - 115, - 116, - 117, - 118, - 119, - 120, - 121, - 122, - 123, - 124, - 125, - 126, - 127, - 128, - 129, - 130, - 131, - 132, - 133, - 134, - 135, - 136, - 137, - 138, - 139, - 140, - 141, - 142, - 143, - 144, - 145, - 146, - 147, - 148, - 149, - 150, - 151, - 152, - 153, - 154, - 155, - 156, - 157, - 158, - 159, - 160, - 161, - 162, - 163, - 164, - 165, - 166, - 167, - 168, - 169, - 170, - 171, - 172, - 173, - 174, - 175, - 176, - 177, - 178, - 179, - 180, - 181, - 182, - 183, - 184, - 185, - 186, - 187, - 188, - 189, - 190, - 191, - 192, - 193, - 194, - 195, - 196, - 197, - 198, - 199, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 208, - 209, - 210, - 211, - 212, - 213, - 214, - 215, - 216, - 217, - 218, - 219, - 220, - 221, - 222, - 223, - 224, - 225, - 226, - 227, - 228, - 229, - 230, - 231, - 232, - 233, - 234, - 235, - 236, - 237, - 238, - 239, - 240, - 241, - 242, - 243, - 244, - 245, - 246, - 247, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - ], - ), - kind: None, - }, + value: Bytes( + [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, + 100, + 101, + 102, + 103, + 104, + 105, + 106, + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114, + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123, + 124, + 125, + 126, + 127, + 128, + 129, + 130, + 131, + 132, + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140, + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 174, + 175, + 176, + 177, + 178, + 179, + 180, + 181, + 182, + 183, + 184, + 185, + 186, + 187, + 188, + 189, + 190, + 191, + 192, + 193, + 194, + 195, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 210, + 211, + 212, + 213, + 214, + 215, + 216, + 217, + 218, + 219, + 220, + 221, + 222, + 223, + 224, + 225, + 226, + 227, + 228, + 229, + 230, + 231, + 232, + 233, + 234, + 235, + 236, + 237, + 238, + 239, + 240, + 241, + 242, + 243, + 244, + 245, + 246, + 247, + 248, + 249, + 250, + 251, + 252, + 253, + 254, + 255, + ], ), + kind: None, }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/snapshots/rustpython_parser__string__tests__triple_quoted_raw_fstring.snap b/parser/src/snapshots/rustpython_parser__string__tests__triple_quoted_raw_fstring.snap index 52814376bb..7269b46102 100644 --- a/parser/src/snapshots/rustpython_parser__string__tests__triple_quoted_raw_fstring.snap +++ b/parser/src/snapshots/rustpython_parser__string__tests__triple_quoted_raw_fstring.snap @@ -3,46 +3,34 @@ source: parser/src/string.rs expression: parse_ast --- [ - Attributed { - range: 0..11, - custom: (), - node: Expr( - StmtExpr { - value: Attributed { + Expr( + StmtExpr { + range: 0..11, + value: JoinedStr( + ExprJoinedStr { range: 0..11, - custom: (), - node: JoinedStr( - ExprJoinedStr { - values: [ - Attributed { - range: 0..11, - custom: (), - node: FormattedValue( - ExprFormattedValue { - value: Attributed { - range: 6..7, - custom: (), - node: Name( - ExprName { - id: Identifier( - "x", - ), - ctx: Load, - }, - ), - }, - conversion: Int( - 0, - ), - format_spec: None, - }, - ), - }, - ], - }, - ), + values: [ + FormattedValue( + ExprFormattedValue { + range: 0..11, + value: Name( + ExprName { + range: 6..7, + id: Identifier( + "x", + ), + ctx: Load, + }, + ), + conversion: Int( + 0, + ), + format_spec: None, + }, + ), + ], }, - }, - ), - }, + ), + }, + ), ] diff --git a/parser/src/string.rs b/parser/src/string.rs index d80979763f..f1fa073c31 100644 --- a/parser/src/string.rs +++ b/parser/src/string.rs @@ -3,8 +3,9 @@ // The lexer doesn't do any special handling of f-strings, it just treats them as // regular strings. Since the parser has no definition of f-string formats (Pending PEP 701) // we have to do the parsing here, manually. +use crate::text_size::TextRange; use crate::{ - ast::{self, Constant, Expr, ExprKind, Int}, + ast::{self, Constant, Expr, Int}, lexer::{LexicalError, LexicalErrorType}, parser::{parse_expression_starts_at, LalrpopError, ParseError, ParseErrorType}, token::{StringKind, Tok}, @@ -67,8 +68,12 @@ impl<'a> StringParser<'a> { } #[inline] - fn expr(&self, node: ExprKind) -> Expr { - Expr::new(self.start..self.end, node) + fn expr(&self, node: Expr) -> Expr { + node + } + + fn range(&self) -> TextRange { + TextRange::new(self.start, self.end) } fn parse_unicode_literal(&mut self, literal_number: usize) -> Result { @@ -237,6 +242,7 @@ impl<'a> StringParser<'a> { self.expr( ast::ExprJoinedStr { values: parsed_spec, + range: self.range(), } .into(), ), @@ -316,6 +322,7 @@ impl<'a> StringParser<'a> { ), conversion: Int::new(conversion as _), format_spec: spec, + range: self.range(), } .into(), )] @@ -325,6 +332,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: Constant::Str(expression.to_owned() + "="), kind: None, + range: self.range(), } .into(), ), @@ -332,6 +340,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: trailing_seq.into(), kind: None, + range: self.range(), } .into(), ), @@ -353,6 +362,7 @@ impl<'a> StringParser<'a> { }) as _, ), format_spec: spec, + range: self.range(), } .into(), ), @@ -400,6 +410,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: constant_piece.drain(..).collect::().into(), kind: None, + range: self.range(), } .into(), ), @@ -424,6 +435,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: constant_piece.drain(..).collect::().into(), kind: None, + range: self.range(), } .into(), ), @@ -465,6 +477,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: content.drain(..).collect::().into(), kind: None, + range: self.range(), } .into(), ), @@ -503,6 +516,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: content.into(), kind: None, + range: self.range(), } .into(), ), @@ -537,6 +551,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: Constant::Bytes(content.chars().map(|c| c as u8).collect()), kind: None, + range: self.range(), } .into(), )) @@ -556,6 +571,7 @@ impl<'a> StringParser<'a> { ast::ExprConstant { value: Constant::Str(content), kind: self.kind.is_unicode().then(|| "u".to_string()), + range: self.range(), } .into(), )) @@ -615,8 +631,8 @@ pub(crate) fn parse_strings( let mut content: Vec = vec![]; for (start, (source, kind, triple_quoted), end) in values { for value in parse_string(&source, kind, triple_quoted, start, end)? { - match value.into_node() { - ExprKind::Constant(ast::ExprConstant { + match value { + Expr::Constant(ast::ExprConstant { value: Constant::Bytes(value), .. }) => content.extend(value), @@ -624,21 +640,20 @@ pub(crate) fn parse_strings( } } } - return Ok(Expr::new( - initial_start..last_end, - ast::ExprConstant { - value: Constant::Bytes(content), - kind: None, - }, - )); + return Ok(ast::ExprConstant { + value: Constant::Bytes(content), + kind: None, + range: TextRange::new(initial_start, last_end), + } + .into()); } if !has_fstring { let mut content: Vec = vec![]; for (start, (source, kind, triple_quoted), end) in values { for value in parse_string(&source, kind, triple_quoted, start, end)? { - match value.into_node() { - ExprKind::Constant(ast::ExprConstant { + match value { + Expr::Constant(ast::ExprConstant { value: Constant::Str(value), .. }) => content.push(value), @@ -646,13 +661,12 @@ pub(crate) fn parse_strings( } } } - return Ok(Expr::new( - initial_start..last_end, - ast::ExprConstant { - value: Constant::Str(content.join("")), - kind: initial_kind, - }, - )); + return Ok(ast::ExprConstant { + value: Constant::Str(content.join("")), + kind: initial_kind, + range: TextRange::new(initial_start, last_end), + } + .into()); } // De-duplicate adjacent constants. @@ -660,25 +674,23 @@ pub(crate) fn parse_strings( let mut current: Vec = vec![]; let take_current = |current: &mut Vec| -> Expr { - Expr::new( - initial_start..last_end, - ast::ExprConstant { - value: Constant::Str(current.drain(..).join("")), - kind: initial_kind.clone(), - }, - ) + Expr::Constant(ast::ExprConstant { + value: Constant::Str(current.drain(..).join("")), + kind: initial_kind.clone(), + range: TextRange::new(initial_start, last_end), + }) }; for (start, (source, kind, triple_quoted), end) in values { for value in parse_string(&source, kind, triple_quoted, start, end)? { - match value.node { - ExprKind::FormattedValue { .. } => { + match value { + Expr::FormattedValue { .. } => { if !current.is_empty() { deduped.push(take_current(&mut current)); } deduped.push(value) } - ExprKind::Constant(ast::ExprConstant { + Expr::Constant(ast::ExprConstant { value: Constant::Str(value), .. }) => current.push(value), @@ -690,10 +702,10 @@ pub(crate) fn parse_strings( deduped.push(take_current(&mut current)); } - Ok(Expr::new( - initial_start..last_end, - ast::ExprJoinedStr { values: deduped }, - )) + Ok(Expr::JoinedStr(ast::ExprJoinedStr { + values: deduped, + range: TextRange::new(initial_start, last_end), + })) } // TODO: consolidate these with ParseError