From 04541c748c27642782ca7f87d578d8315bc534d4 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Wed, 24 Apr 2024 09:57:34 +0100 Subject: [PATCH] Rename YulIdentifierPath(s) -> YulPath(s) --- .../inputs/language/src/definition.rs | 14 ++--- .../slang_solidity/src/generated/kinds.rs | 4 +- .../slang_solidity/src/generated/language.rs | 58 +++++++++---------- .../generated/napi_interface/ast_selectors.rs | 21 +++---- .../package/src/ast/generated/ast_types.ts | 57 +++++++++--------- .../npm/package/src/generated/index.d.ts | 4 +- .../outputs/spec/generated/grammar.ebnf | 10 ++-- .../public/06-yul/01-yul-statements.md | 4 +- .../public/06-yul/02-yul-expressions.md | 10 ++-- .../generated/0.4.11-success.yml | 4 +- .../generated/0.5.5-failure.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.18-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.5.0-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.5.0-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../generated/0.8.10-success.yml | 4 +- .../function_def/generated/0.4.11-success.yml | 8 +-- .../generated/0.4.11-failure.yml | 10 ++-- .../generated/0.4.12-failure.yml | 10 ++-- .../generated/0.5.0-failure.yml | 10 ++-- .../generated/0.6.0-failure.yml | 10 ++-- .../generated/0.8.10-failure.yml | 10 ++-- .../generated/0.8.18-failure.yml | 10 ++-- .../generated/0.8.24-failure.yml | 10 ++-- .../generated/0.8.7-failure.yml | 10 ++-- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.5.8-success.yml | 2 +- .../generated/0.7.0-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../built_in_sha3/generated/0.5.0-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.5.0-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.4.11-failure.yml | 4 +- .../generated/0.5.8-success.yml | 12 ++-- .../generated/0.7.0-failure.yml | 4 +- .../generated/0.8.10-success.yml | 12 ++-- .../generated/0.4.11-success.yml | 4 +- .../generated/0.5.5-failure.yml | 4 +- .../keyword_bytes/generated/0.7.1-success.yml | 4 +- .../generated/0.7.1-success.yml | 4 +- .../generated/0.7.1-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.7.1-success.yml | 4 +- .../generated/0.4.11-success.yml | 4 +- .../generated/0.7.1-success.yml | 4 +- .../generated/0.7.1-success.yml | 4 +- 143 files changed, 367 insertions(+), 379 deletions(-) diff --git a/crates/solidity/inputs/language/src/definition.rs b/crates/solidity/inputs/language/src/definition.rs index 1c4a44403e..dff6ec2f27 100644 --- a/crates/solidity/inputs/language/src/definition.rs +++ b/crates/solidity/inputs/language/src/definition.rs @@ -4209,7 +4209,7 @@ codegen_language_macros::compile!(Language( name = YulVariableDeclarationStatement, fields = ( let_keyword = Required(YulLetKeyword), - names = Required(YulIdentifierPaths), + names = Required(YulPaths), value = Optional(reference = YulVariableDeclarationValue) ) ), @@ -4223,7 +4223,7 @@ codegen_language_macros::compile!(Language( Struct( name = YulAssignmentStatement, fields = ( - names = Required(YulIdentifierPaths), + names = Required(YulPaths), assignment = Required(YulAssignmentOperator), expression = Required(YulExpression) ) @@ -4333,7 +4333,7 @@ codegen_language_macros::compile!(Language( primary_expressions = [ PrimaryExpression(reference = YulLiteral), PrimaryExpression(reference = YulBuiltInFunction), - PrimaryExpression(reference = YulIdentifierPath) + PrimaryExpression(reference = YulPath) ] ), Separated( @@ -4342,13 +4342,9 @@ codegen_language_macros::compile!(Language( separator = Comma, allow_empty = true ), + Separated(name = YulPaths, reference = YulPath, separator = Comma), Separated( - name = YulIdentifierPaths, - reference = YulIdentifierPath, - separator = Comma - ), - Separated( - name = YulIdentifierPath, + name = YulPath, reference = YulPathComponent, separator = Period ), diff --git a/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs b/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs index 354aba7d90..065845427e 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs @@ -213,15 +213,15 @@ pub enum RuleKind { YulForStatement, YulFunctionCallExpression, YulFunctionDefinition, - YulIdentifierPath, - YulIdentifierPaths, YulIfStatement, YulLabel, YulLeaveStatement, YulLiteral, YulParameters, YulParametersDeclaration, + YulPath, YulPathComponent, + YulPaths, YulReturnVariables, YulReturnsDeclaration, YulStatement, diff --git a/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs b/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs index f44019689f..ef7515e60a 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs @@ -5849,7 +5849,7 @@ impl Language { #[allow(unused_assignments, unused_parens)] fn yul_assignment_statement(&self, input: &mut ParserContext<'_>) -> ParserResult { SequenceHelper::run(|mut seq| { - seq.elem_labeled(NodeLabel::Names, self.yul_identifier_paths(input))?; + seq.elem_labeled(NodeLabel::Names, self.yul_paths(input))?; seq.elem_labeled(NodeLabel::Assignment, self.yul_assignment_operator(input))?; seq.elem_labeled(NodeLabel::Expression, self.yul_expression(input))?; seq.finish() @@ -6431,7 +6431,7 @@ impl Language { choice.consider(input, result)?; let result = self.yul_built_in_function(input); choice.consider(input, result)?; - let result = self.yul_identifier_path(input); + let result = self.yul_path(input); choice.consider(input, result)?; choice.finish(input) }) @@ -6531,30 +6531,6 @@ impl Language { .with_kind(RuleKind::YulFunctionDefinition) } - #[allow(unused_assignments, unused_parens)] - fn yul_identifier_path(&self, input: &mut ParserContext<'_>) -> ParserResult { - SeparatedHelper::run::<_, LexicalContextType::Yul>( - input, - self, - |input| self.yul_path_component(input).with_label(NodeLabel::Item), - TokenKind::Period, - NodeLabel::Separator, - ) - .with_kind(RuleKind::YulIdentifierPath) - } - - #[allow(unused_assignments, unused_parens)] - fn yul_identifier_paths(&self, input: &mut ParserContext<'_>) -> ParserResult { - SeparatedHelper::run::<_, LexicalContextType::Yul>( - input, - self, - |input| self.yul_identifier_path(input).with_label(NodeLabel::Item), - TokenKind::Comma, - NodeLabel::Separator, - ) - .with_kind(RuleKind::YulIdentifierPaths) - } - #[allow(unused_assignments, unused_parens)] fn yul_if_statement(&self, input: &mut ParserContext<'_>) -> ParserResult { SequenceHelper::run(|mut seq| { @@ -6697,6 +6673,18 @@ impl Language { .with_kind(RuleKind::YulParametersDeclaration) } + #[allow(unused_assignments, unused_parens)] + fn yul_path(&self, input: &mut ParserContext<'_>) -> ParserResult { + SeparatedHelper::run::<_, LexicalContextType::Yul>( + input, + self, + |input| self.yul_path_component(input).with_label(NodeLabel::Item), + TokenKind::Period, + NodeLabel::Separator, + ) + .with_kind(RuleKind::YulPath) + } + #[allow(unused_assignments, unused_parens)] fn yul_path_component(&self, input: &mut ParserContext<'_>) -> ParserResult { ChoiceHelper::run(input, |mut choice, input| { @@ -6715,6 +6703,18 @@ impl Language { .with_kind(RuleKind::YulPathComponent) } + #[allow(unused_assignments, unused_parens)] + fn yul_paths(&self, input: &mut ParserContext<'_>) -> ParserResult { + SeparatedHelper::run::<_, LexicalContextType::Yul>( + input, + self, + |input| self.yul_path(input).with_label(NodeLabel::Item), + TokenKind::Comma, + NodeLabel::Separator, + ) + .with_kind(RuleKind::YulPaths) + } + #[allow(unused_assignments, unused_parens)] fn yul_return_variables(&self, input: &mut ParserContext<'_>) -> ParserResult { SeparatedHelper::run::<_, LexicalContextType::Yul>( @@ -6859,7 +6859,7 @@ impl Language { TokenKind::YulLetKeyword, ), )?; - seq.elem_labeled(NodeLabel::Names, self.yul_identifier_paths(input))?; + seq.elem_labeled(NodeLabel::Names, self.yul_paths(input))?; seq.elem_labeled( NodeLabel::Value, OptionalHelper::transform(self.yul_variable_declaration_value(input)), @@ -9359,8 +9359,6 @@ impl Language { Self::yul_function_call_expression.parse(self, input) } RuleKind::YulFunctionDefinition => Self::yul_function_definition.parse(self, input), - RuleKind::YulIdentifierPath => Self::yul_identifier_path.parse(self, input), - RuleKind::YulIdentifierPaths => Self::yul_identifier_paths.parse(self, input), RuleKind::YulIfStatement => Self::yul_if_statement.parse(self, input), RuleKind::YulLabel => Self::yul_label.parse(self, input), RuleKind::YulLeaveStatement => Self::yul_leave_statement.parse(self, input), @@ -9369,7 +9367,9 @@ impl Language { RuleKind::YulParametersDeclaration => { Self::yul_parameters_declaration.parse(self, input) } + RuleKind::YulPath => Self::yul_path.parse(self, input), RuleKind::YulPathComponent => Self::yul_path_component.parse(self, input), + RuleKind::YulPaths => Self::yul_paths.parse(self, input), RuleKind::YulReturnVariables => Self::yul_return_variables.parse(self, input), RuleKind::YulReturnsDeclaration => Self::yul_returns_declaration.parse(self, input), RuleKind::YulStatement => Self::yul_statement.parse(self, input), diff --git a/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs b/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs index 58778d2cff..98655a0f07 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/napi_interface/ast_selectors.rs @@ -1349,7 +1349,7 @@ impl Selector { ) -> Result>>> { Ok(vec![ Some(self.select(|node| node.is_token_with_kind(TokenKind::YulLetKeyword))?), - Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulIdentifierPaths))?), + Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulPaths))?), self.try_select(|node| node.is_rule_with_kind(RuleKind::YulVariableDeclarationValue))?, ]) } @@ -1369,7 +1369,7 @@ impl Selector { impl Selector { fn yul_assignment_statement(&mut self) -> Result>>> { Ok(vec![ - Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulIdentifierPaths))?), + Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulPaths))?), Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulAssignmentOperator))?), Some(self.select(|node| node.is_rule_with_kind(RuleKind::YulExpression))?), ]) @@ -2105,7 +2105,7 @@ impl Selector { RuleKind::YulFunctionCallExpression, RuleKind::YulLiteral, RuleKind::YulBuiltInFunction, - RuleKind::YulIdentifierPath, + RuleKind::YulPath, ]) }) } @@ -2599,8 +2599,8 @@ pub fn select_separated( RuleKind::YulParameters => selector.yul_parameters()?, RuleKind::YulReturnVariables => selector.yul_return_variables()?, RuleKind::YulArguments => selector.yul_arguments()?, - RuleKind::YulIdentifierPaths => selector.yul_identifier_paths()?, - RuleKind::YulIdentifierPath => selector.yul_identifier_path()?, + RuleKind::YulPaths => selector.yul_paths()?, + RuleKind::YulPath => selector.yul_path()?, _ => { return Error::UnexpectedParent(node.kind()).into(); } @@ -3112,13 +3112,11 @@ impl Selector { } impl Selector { - fn yul_identifier_paths(&mut self) -> Result>>> { + fn yul_paths(&mut self) -> Result>>> { let mut separated = vec![]; let mut separators = vec![]; - if let Some(first) = - self.try_select(|node| node.is_rule_with_kind(RuleKind::YulIdentifierPath))? - { + if let Some(first) = self.try_select(|node| node.is_rule_with_kind(RuleKind::YulPath))? { separated.push(first); while let Some(separator) = @@ -3126,8 +3124,7 @@ impl Selector { { separators.push(separator); - separated - .push(self.select(|node| node.is_rule_with_kind(RuleKind::YulIdentifierPath))?); + separated.push(self.select(|node| node.is_rule_with_kind(RuleKind::YulPath))?); } } @@ -3136,7 +3133,7 @@ impl Selector { } impl Selector { - fn yul_identifier_path(&mut self) -> Result>>> { + fn yul_path(&mut self) -> Result>>> { let mut separated = vec![]; let mut separators = vec![]; diff --git a/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts b/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts index 22cb095112..c468ac179d 100644 --- a/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts +++ b/crates/solidity/outputs/npm/package/src/ast/generated/ast_types.ts @@ -3358,7 +3358,7 @@ export class YulVariableDeclarationStatement { return { letKeyword: $letKeyword as TokenNode, - names: new YulIdentifierPaths($names as RuleNode), + names: new YulPaths($names as RuleNode), value: $value === null ? undefined : new YulVariableDeclarationValue($value as RuleNode), }; }); @@ -3371,7 +3371,7 @@ export class YulVariableDeclarationStatement { return this.fetch().letKeyword; } - public get names(): YulIdentifierPaths { + public get names(): YulPaths { return this.fetch().names; } @@ -3408,7 +3408,7 @@ export class YulAssignmentStatement { const [$names, $assignment, $expression] = ast_internal.selectSequence(this.cst); return { - names: new YulIdentifierPaths($names as RuleNode), + names: new YulPaths($names as RuleNode), assignment: new YulAssignmentOperator($assignment as RuleNode), expression: new YulExpression($expression as RuleNode), }; @@ -3418,7 +3418,7 @@ export class YulAssignmentStatement { assertKind(this.cst.kind, RuleKind.YulAssignmentStatement); } - public get names(): YulIdentifierPaths { + public get names(): YulPaths { return this.fetch().names; } @@ -5081,31 +5081,29 @@ export class YulSwitchCase { } export class YulExpression { - private readonly fetch: () => YulFunctionCallExpression | YulLiteral | YulBuiltInFunction | YulIdentifierPath = once( - () => { - const variant = ast_internal.selectChoice(this.cst); + private readonly fetch: () => YulFunctionCallExpression | YulLiteral | YulBuiltInFunction | YulPath = once(() => { + const variant = ast_internal.selectChoice(this.cst); - switch (variant.kind) { - case RuleKind.YulFunctionCallExpression: - return new YulFunctionCallExpression(variant as RuleNode); - case RuleKind.YulLiteral: - return new YulLiteral(variant as RuleNode); - case RuleKind.YulBuiltInFunction: - return new YulBuiltInFunction(variant as RuleNode); - case RuleKind.YulIdentifierPath: - return new YulIdentifierPath(variant as RuleNode); + switch (variant.kind) { + case RuleKind.YulFunctionCallExpression: + return new YulFunctionCallExpression(variant as RuleNode); + case RuleKind.YulLiteral: + return new YulLiteral(variant as RuleNode); + case RuleKind.YulBuiltInFunction: + return new YulBuiltInFunction(variant as RuleNode); + case RuleKind.YulPath: + return new YulPath(variant as RuleNode); - default: - assert.fail(`Unexpected variant: ${variant.kind}`); - } - }, - ); + default: + assert.fail(`Unexpected variant: ${variant.kind}`); + } + }); public constructor(public readonly cst: RuleNode) { assertKind(this.cst.kind, RuleKind.YulExpression); } - public get variant(): YulFunctionCallExpression | YulLiteral | YulBuiltInFunction | YulIdentifierPath { + public get variant(): YulFunctionCallExpression | YulLiteral | YulBuiltInFunction | YulPath { return this.fetch(); } } @@ -6022,21 +6020,18 @@ export class YulArguments { } } -export class YulIdentifierPaths { +export class YulPaths { private readonly fetch = once(() => { const [items, separators] = ast_internal.selectSeparated(this.cst); - return { - items: items.map((item) => new YulIdentifierPath(item as RuleNode)), - separators: separators as TokenNode[], - }; + return { items: items.map((item) => new YulPath(item as RuleNode)), separators: separators as TokenNode[] }; }); public constructor(public readonly cst: RuleNode) { - assertKind(this.cst.kind, RuleKind.YulIdentifierPaths); + assertKind(this.cst.kind, RuleKind.YulPaths); } - public get items(): readonly YulIdentifierPath[] { + public get items(): readonly YulPath[] { return this.fetch().items; } @@ -6045,7 +6040,7 @@ export class YulIdentifierPaths { } } -export class YulIdentifierPath { +export class YulPath { private readonly fetch = once(() => { const [items, separators] = ast_internal.selectSeparated(this.cst); @@ -6056,7 +6051,7 @@ export class YulIdentifierPath { }); public constructor(public readonly cst: RuleNode) { - assertKind(this.cst.kind, RuleKind.YulIdentifierPath); + assertKind(this.cst.kind, RuleKind.YulPath); } public get items(): readonly YulPathComponent[] { diff --git a/crates/solidity/outputs/npm/package/src/generated/index.d.ts b/crates/solidity/outputs/npm/package/src/generated/index.d.ts index b2660c8142..dd115e2915 100644 --- a/crates/solidity/outputs/npm/package/src/generated/index.d.ts +++ b/crates/solidity/outputs/npm/package/src/generated/index.d.ts @@ -205,15 +205,15 @@ export namespace kinds { YulForStatement = "YulForStatement", YulFunctionCallExpression = "YulFunctionCallExpression", YulFunctionDefinition = "YulFunctionDefinition", - YulIdentifierPath = "YulIdentifierPath", - YulIdentifierPaths = "YulIdentifierPaths", YulIfStatement = "YulIfStatement", YulLabel = "YulLabel", YulLeaveStatement = "YulLeaveStatement", YulLiteral = "YulLiteral", YulParameters = "YulParameters", YulParametersDeclaration = "YulParametersDeclaration", + YulPath = "YulPath", YulPathComponent = "YulPathComponent", + YulPaths = "YulPaths", YulReturnVariables = "YulReturnVariables", YulReturnsDeclaration = "YulReturnsDeclaration", YulStatement = "YulStatement", diff --git a/crates/solidity/outputs/spec/generated/grammar.ebnf b/crates/solidity/outputs/spec/generated/grammar.ebnf index 5d66cf3f88..db12efe1fa 100644 --- a/crates/solidity/outputs/spec/generated/grammar.ebnf +++ b/crates/solidity/outputs/spec/generated/grammar.ebnf @@ -1372,13 +1372,13 @@ YulReturnsDeclaration = MINUS_GREATER_THAN YulReturnVariables = YUL_IDENTIFIER (COMMA YUL_IDENTIFIER)*; YulVariableDeclarationStatement = YUL_LET_KEYWORD - YulIdentifierPaths + YulPaths YulVariableDeclarationValue?; YulVariableDeclarationValue = YulAssignmentOperator YulExpression; -YulAssignmentStatement = YulIdentifierPaths +YulAssignmentStatement = YulPaths YulAssignmentOperator YulExpression; @@ -1431,13 +1431,13 @@ YulLabel = YUL_IDENTIFIER YulExpression = YulFunctionCallExpression | YulLiteral | YulBuiltInFunction - | YulIdentifierPath; + | YulPath; YulArguments = (YulExpression (COMMA YulExpression)*)?; -YulIdentifierPaths = YulIdentifierPath (COMMA YulIdentifierPath)*; +YulPaths = YulPath (COMMA YulPath)*; -YulIdentifierPath = YulPathComponent (PERIOD YulPathComponent)*; +YulPath = YulPathComponent (PERIOD YulPathComponent)*; YulPathComponent = YUL_IDENTIFIER | YulBuiltInFunction; (* Introduced in 0.8.10 *) diff --git a/crates/solidity/outputs/spec/generated/public/06-yul/01-yul-statements.md b/crates/solidity/outputs/spec/generated/public/06-yul/01-yul-statements.md index ca979a79e4..168615c383 100644 --- a/crates/solidity/outputs/spec/generated/public/06-yul/01-yul-statements.md +++ b/crates/solidity/outputs/spec/generated/public/06-yul/01-yul-statements.md @@ -56,7 +56,7 @@ ``` -
YulVariableDeclarationStatement = YUL_LET_KEYWORD
YulIdentifierPaths
YulVariableDeclarationValue?;
+
YulVariableDeclarationStatement = YUL_LET_KEYWORD
YulPaths
YulVariableDeclarationValue?;
```{ .ebnf #YulVariableDeclarationValue } @@ -68,7 +68,7 @@ ``` -
YulAssignmentStatement = YulIdentifierPaths
YulAssignmentOperator
YulExpression;
+
YulAssignmentStatement = YulPaths
YulAssignmentOperator
YulExpression;
```{ .ebnf #YulAssignmentOperator } diff --git a/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md b/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md index 2bb6285347..ab33c15f4b 100644 --- a/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md +++ b/crates/solidity/outputs/spec/generated/public/06-yul/02-yul-expressions.md @@ -8,7 +8,7 @@ ``` -
YulExpression = YulFunctionCallExpression
| YulLiteral
| YulBuiltInFunction
| YulIdentifierPath;
+
YulExpression = YulFunctionCallExpression
| YulLiteral
| YulBuiltInFunction
| YulPath;
```{ .ebnf #YulArguments } @@ -16,17 +16,17 @@
YulArguments = (YulExpression (COMMA YulExpression)*)?;
-```{ .ebnf #YulIdentifierPaths } +```{ .ebnf #YulPaths } ``` -
YulIdentifierPaths = YulIdentifierPath (COMMA YulIdentifierPath)*;
+
YulPaths = YulPath (COMMA YulPath)*;
-```{ .ebnf #YulIdentifierPath } +```{ .ebnf #YulPath } ``` -
YulIdentifierPath = YulPathComponent (PERIOD YulPathComponent)*;
+
YulPath = YulPathComponent (PERIOD YulPathComponent)*;
```{ .ebnf #YulPathComponent } diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.4.11-success.yml index d763257766..2852e4a44d 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.4.11-success.yml @@ -8,8 +8,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # '// ColonEqual was two separate tokens before "0.5....' (0..64) - - (names꞉ YulIdentifierPaths): # '// ColonEqual was two separate tokens before "0.5....' (0..57) - - (item꞉ YulIdentifierPath): # '// ColonEqual was two separate tokens before "0.5....' (0..57) + - (names꞉ YulPaths): # '// ColonEqual was two separate tokens before "0.5....' (0..57) + - (item꞉ YulPath): # '// ColonEqual was two separate tokens before "0.5....' (0..57) - (item꞉ YulPathComponent): # '// ColonEqual was two separate tokens before "0.5....' (0..57) - (leading_trivia꞉ SingleLineComment): '// ColonEqual was two separate tokens before "0.5....' # (0..53) - (leading_trivia꞉ EndOfLine): "\n" # (53..54) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.5.5-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.5.5-failure.yml index ceced22db8..90301c3c5a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.5.5-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/colon_equal_separated/generated/0.5.5-failure.yml @@ -16,8 +16,8 @@ Errors: # 1 total Tree: - (YulAssignmentStatement): # '// ColonEqual was two separate tokens before "0.5....' (0..64) - - (names꞉ YulIdentifierPaths): # '// ColonEqual was two separate tokens before "0.5....' (0..57) - - (item꞉ YulIdentifierPath): # '// ColonEqual was two separate tokens before "0.5....' (0..57) + - (names꞉ YulPaths): # '// ColonEqual was two separate tokens before "0.5....' (0..57) + - (item꞉ YulPath): # '// ColonEqual was two separate tokens before "0.5....' (0..57) - (item꞉ YulPathComponent): # '// ColonEqual was two separate tokens before "0.5....' (0..57) - (leading_trivia꞉ SingleLineComment): '// ColonEqual was two separate tokens before "0.5....' # (0..53) - (leading_trivia꞉ EndOfLine): "\n" # (53..54) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml index e067245ae9..68028bf9f4 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "add := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "add" (0..3) - - (item꞉ YulIdentifierPath): # "add" (0..3) + - (names꞉ YulPaths): # "add" (0..3) + - (item꞉ YulPath): # "add" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddKeyword): "add" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml index 53b2386f9c..15bd40b463 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "addmod := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "addmod" (0..6) - - (item꞉ YulIdentifierPath): # "addmod" (0..6) + - (names꞉ YulPaths): # "addmod" (0..6) + - (item꞉ YulPath): # "addmod" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddModKeyword): "addmod" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_address/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_address/generated/0.8.10-success.yml index 296ef05e35..6fe6487147 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_address/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_address/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "address := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "address" (0..7) - - (item꞉ YulIdentifierPath): # "address" (0..7) + - (names꞉ YulPaths): # "address" (0..7) + - (item꞉ YulPath): # "address" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddressKeyword): "address" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml index 3858e9e9d1..b46631ad94 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "and := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "and" (0..3) - - (item꞉ YulIdentifierPath): # "and" (0..3) + - (names꞉ YulPaths): # "and" (0..3) + - (item꞉ YulPath): # "and" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAndKeyword): "and" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml index bd13c58809..6b48cf1e7c 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "balance := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "balance" (0..7) - - (item꞉ YulIdentifierPath): # "balance" (0..7) + - (names꞉ YulPaths): # "balance" (0..7) + - (item꞉ YulPath): # "balance" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulBalanceKeyword): "balance" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.4.11-success.yml index 349f7d909d..174f77913c 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "basefee := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "basefee" (0..7) - - (item꞉ YulIdentifierPath): # "basefee" (0..7) + - (names꞉ YulPaths): # "basefee" (0..7) + - (item꞉ YulPath): # "basefee" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "basefee" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml index b955968da2..d45212eee9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "basefee := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "basefee" (0..7) - - (item꞉ YulIdentifierPath): # "basefee" (0..7) + - (names꞉ YulPaths): # "basefee" (0..7) + - (item꞉ YulPath): # "basefee" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulBaseFeeKeyword): "basefee" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml index 69fb35f25b..9ae19cdf26 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "blockhash := 0\n" (0..15) - - (names꞉ YulIdentifierPaths): # "blockhash" (0..9) - - (item꞉ YulIdentifierPath): # "blockhash" (0..9) + - (names꞉ YulPaths): # "blockhash" (0..9) + - (item꞉ YulPath): # "blockhash" (0..9) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulBlockHashKeyword): "blockhash" # (0..9) - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) - (leading_trivia꞉ Whitespace): " " # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml index f705594b43..3cbdf1fbc9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "byte := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "byte" (0..4) - - (item꞉ YulIdentifierPath): # "byte" (0..4) + - (names꞉ YulPaths): # "byte" (0..4) + - (item꞉ YulPath): # "byte" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulByteKeyword): "byte" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml index ea83491a84..b333935216 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "call := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "call" (0..4) - - (item꞉ YulIdentifierPath): # "call" (0..4) + - (names꞉ YulPaths): # "call" (0..4) + - (item꞉ YulPath): # "call" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallKeyword): "call" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml index 6ac439cba2..285c41e2eb 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "callcode := 0\n" (0..14) - - (names꞉ YulIdentifierPaths): # "callcode" (0..8) - - (item꞉ YulIdentifierPath): # "callcode" (0..8) + - (names꞉ YulPaths): # "callcode" (0..8) + - (item꞉ YulPath): # "callcode" (0..8) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallCodeKeyword): "callcode" # (0..8) - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) - (leading_trivia꞉ Whitespace): " " # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml index c646e6488e..5d792aa21c 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "calldatacopy := 0\n" (0..18) - - (names꞉ YulIdentifierPaths): # "calldatacopy" (0..12) - - (item꞉ YulIdentifierPath): # "calldatacopy" (0..12) + - (names꞉ YulPaths): # "calldatacopy" (0..12) + - (item꞉ YulPath): # "calldatacopy" (0..12) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallDataCopyKeyword): "calldatacopy" # (0..12) - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) - (leading_trivia꞉ Whitespace): " " # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml index 9ab3ab2847..cd6cafb1e5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "calldataload := 0\n" (0..18) - - (names꞉ YulIdentifierPaths): # "calldataload" (0..12) - - (item꞉ YulIdentifierPath): # "calldataload" (0..12) + - (names꞉ YulPaths): # "calldataload" (0..12) + - (item꞉ YulPath): # "calldataload" (0..12) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallDataLoadKeyword): "calldataload" # (0..12) - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) - (leading_trivia꞉ Whitespace): " " # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml index faecbffc1c..6974dcc3cb 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "calldatasize := 0\n" (0..18) - - (names꞉ YulIdentifierPaths): # "calldatasize" (0..12) - - (item꞉ YulIdentifierPath): # "calldatasize" (0..12) + - (names꞉ YulPaths): # "calldatasize" (0..12) + - (item꞉ YulPath): # "calldatasize" (0..12) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallDataSizeKeyword): "calldatasize" # (0..12) - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) - (leading_trivia꞉ Whitespace): " " # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml index ba2328af40..54336238b1 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "caller := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "caller" (0..6) - - (item꞉ YulIdentifierPath): # "caller" (0..6) + - (names꞉ YulPaths): # "caller" (0..6) + - (item꞉ YulPath): # "caller" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallerKeyword): "caller" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml index 57423d15f0..22e711ef8a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "callvalue := 0\n" (0..15) - - (names꞉ YulIdentifierPaths): # "callvalue" (0..9) - - (item꞉ YulIdentifierPath): # "callvalue" (0..9) + - (names꞉ YulPaths): # "callvalue" (0..9) + - (item꞉ YulPath): # "callvalue" (0..9) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallValueKeyword): "callvalue" # (0..9) - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) - (leading_trivia꞉ Whitespace): " " # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.4.11-success.yml index 3cc27db005..983ee76f8e 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "chainid := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "chainid" (0..7) - - (item꞉ YulIdentifierPath): # "chainid" (0..7) + - (names꞉ YulPaths): # "chainid" (0..7) + - (item꞉ YulPath): # "chainid" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "chainid" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml index 1971b774fd..b3bceb3e53 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "chainid := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "chainid" (0..7) - - (item꞉ YulIdentifierPath): # "chainid" (0..7) + - (names꞉ YulPaths): # "chainid" (0..7) + - (item꞉ YulPath): # "chainid" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulChainIdKeyword): "chainid" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml index f4f61d034d..c3da11e722 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "coinbase := 0\n" (0..14) - - (names꞉ YulIdentifierPaths): # "coinbase" (0..8) - - (item꞉ YulIdentifierPath): # "coinbase" (0..8) + - (names꞉ YulPaths): # "coinbase" (0..8) + - (item꞉ YulPath): # "coinbase" (0..8) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCoinBaseKeyword): "coinbase" # (0..8) - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) - (leading_trivia꞉ Whitespace): " " # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml index 6272da81af..88eb2aacc5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "create := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "create" (0..6) - - (item꞉ YulIdentifierPath): # "create" (0..6) + - (names꞉ YulPaths): # "create" (0..6) + - (item꞉ YulPath): # "create" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCreateKeyword): "create" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.4.11-success.yml index 8f3753661a..adbba89cbb 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "create2 := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "create2" (0..7) - - (item꞉ YulIdentifierPath): # "create2" (0..7) + - (names꞉ YulPaths): # "create2" (0..7) + - (item꞉ YulPath): # "create2" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "create2" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml index f0cea38d6c..ef56329358 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "create2 := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "create2" (0..7) - - (item꞉ YulIdentifierPath): # "create2" (0..7) + - (names꞉ YulPaths): # "create2" (0..7) + - (item꞉ YulPath): # "create2" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCreate2Keyword): "create2" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml index 60f5a7c78d..ef284dfc00 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "delegatecall := 0\n" (0..18) - - (names꞉ YulIdentifierPaths): # "delegatecall" (0..12) - - (item꞉ YulIdentifierPath): # "delegatecall" (0..12) + - (names꞉ YulPaths): # "delegatecall" (0..12) + - (item꞉ YulPath): # "delegatecall" (0..12) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulDelegateCallKeyword): "delegatecall" # (0..12) - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) - (leading_trivia꞉ Whitespace): " " # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml index 4ebaaa7ae8..8092682b29 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "difficulty := 0\n" (0..16) - - (names꞉ YulIdentifierPaths): # "difficulty" (0..10) - - (item꞉ YulIdentifierPath): # "difficulty" (0..10) + - (names꞉ YulPaths): # "difficulty" (0..10) + - (item꞉ YulPath): # "difficulty" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulDifficultyKeyword): "difficulty" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml index f6134ed8ee..e14da1ae3e 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "div := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "div" (0..3) - - (item꞉ YulIdentifierPath): # "div" (0..3) + - (names꞉ YulPaths): # "div" (0..3) + - (item꞉ YulPath): # "div" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulDivKeyword): "div" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml index bbca38060c..04bf20286f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "eq := 0\n" (0..8) - - (names꞉ YulIdentifierPaths): # "eq" (0..2) - - (item꞉ YulIdentifierPath): # "eq" (0..2) + - (names꞉ YulPaths): # "eq" (0..2) + - (item꞉ YulPath): # "eq" (0..2) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulEqKeyword): "eq" # (0..2) - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) - (leading_trivia꞉ Whitespace): " " # (2..3) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml index b83683fc94..81e86570e9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "exp := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "exp" (0..3) - - (item꞉ YulIdentifierPath): # "exp" (0..3) + - (names꞉ YulPaths): # "exp" (0..3) + - (item꞉ YulPath): # "exp" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExpKeyword): "exp" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml index cd40e8dae7..94e40b1ac9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "extcodecopy := 0\n" (0..17) - - (names꞉ YulIdentifierPaths): # "extcodecopy" (0..11) - - (item꞉ YulIdentifierPath): # "extcodecopy" (0..11) + - (names꞉ YulPaths): # "extcodecopy" (0..11) + - (item꞉ YulPath): # "extcodecopy" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExtCodeCopyKeyword): "extcodecopy" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.4.11-success.yml index 87f7875cd2..2107b19d1b 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "extcodehash := 0\n" (0..17) - - (names꞉ YulIdentifierPaths): # "extcodehash" (0..11) - - (item꞉ YulIdentifierPath): # "extcodehash" (0..11) + - (names꞉ YulPaths): # "extcodehash" (0..11) + - (item꞉ YulPath): # "extcodehash" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "extcodehash" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml index 5c863beb0c..a8b8fc9d5f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "extcodehash := 0\n" (0..17) - - (names꞉ YulIdentifierPaths): # "extcodehash" (0..11) - - (item꞉ YulIdentifierPath): # "extcodehash" (0..11) + - (names꞉ YulPaths): # "extcodehash" (0..11) + - (item꞉ YulPath): # "extcodehash" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExtCodeHashKeyword): "extcodehash" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml index f1962c2a77..f97f6637bc 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "extcodesize := 0\n" (0..17) - - (names꞉ YulIdentifierPaths): # "extcodesize" (0..11) - - (item꞉ YulIdentifierPath): # "extcodesize" (0..11) + - (names꞉ YulPaths): # "extcodesize" (0..11) + - (item꞉ YulPath): # "extcodesize" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExtCodeSizeKeyword): "extcodesize" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml index 7a792e5b83..93476a4b69 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "gas := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "gas" (0..3) - - (item꞉ YulIdentifierPath): # "gas" (0..3) + - (names꞉ YulPaths): # "gas" (0..3) + - (item꞉ YulPath): # "gas" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGasKeyword): "gas" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml index c921f0c2d5..d81768efd9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "gaslimit := 0\n" (0..14) - - (names꞉ YulIdentifierPaths): # "gaslimit" (0..8) - - (item꞉ YulIdentifierPath): # "gaslimit" (0..8) + - (names꞉ YulPaths): # "gaslimit" (0..8) + - (item꞉ YulPath): # "gaslimit" (0..8) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGasLimitKeyword): "gaslimit" # (0..8) - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) - (leading_trivia꞉ Whitespace): " " # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml index 98d9aef379..d4e1b99c31 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "gasprice := 0\n" (0..14) - - (names꞉ YulIdentifierPaths): # "gasprice" (0..8) - - (item꞉ YulIdentifierPath): # "gasprice" (0..8) + - (names꞉ YulPaths): # "gasprice" (0..8) + - (item꞉ YulPath): # "gasprice" (0..8) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGasPriceKeyword): "gasprice" # (0..8) - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) - (leading_trivia꞉ Whitespace): " " # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml index a6259501c3..0b305f87f6 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "gt := 0\n" (0..8) - - (names꞉ YulIdentifierPaths): # "gt" (0..2) - - (item꞉ YulIdentifierPath): # "gt" (0..2) + - (names꞉ YulPaths): # "gt" (0..2) + - (item꞉ YulPath): # "gt" (0..2) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGtKeyword): "gt" # (0..2) - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) - (leading_trivia꞉ Whitespace): " " # (2..3) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml index d65ea41556..e4355af347 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "invalid := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "invalid" (0..7) - - (item꞉ YulIdentifierPath): # "invalid" (0..7) + - (names꞉ YulPaths): # "invalid" (0..7) + - (item꞉ YulPath): # "invalid" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulInvalidKeyword): "invalid" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml index b5282f1830..31bc4b0fb6 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "iszero := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "iszero" (0..6) - - (item꞉ YulIdentifierPath): # "iszero" (0..6) + - (names꞉ YulPaths): # "iszero" (0..6) + - (item꞉ YulPath): # "iszero" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulIsZeroKeyword): "iszero" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.4.11-success.yml index b49b6e1aa9..4aa9bd9ec9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "keccak256 := 0\n" (0..15) - - (names꞉ YulIdentifierPaths): # "keccak256" (0..9) - - (item꞉ YulIdentifierPath): # "keccak256" (0..9) + - (names꞉ YulPaths): # "keccak256" (0..9) + - (item꞉ YulPath): # "keccak256" (0..9) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "keccak256" # (0..9) - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) - (leading_trivia꞉ Whitespace): " " # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml index f06b4058da..b76f35d55c 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "keccak256 := 0\n" (0..15) - - (names꞉ YulIdentifierPaths): # "keccak256" (0..9) - - (item꞉ YulIdentifierPath): # "keccak256" (0..9) + - (names꞉ YulPaths): # "keccak256" (0..9) + - (item꞉ YulPath): # "keccak256" (0..9) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulKeccak256Keyword): "keccak256" # (0..9) - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) - (leading_trivia꞉ Whitespace): " " # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml index a72035f2ac..16dabf6c38 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "log0 := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "log0" (0..4) - - (item꞉ YulIdentifierPath): # "log0" (0..4) + - (names꞉ YulPaths): # "log0" (0..4) + - (item꞉ YulPath): # "log0" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog0Keyword): "log0" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml index d759f1de90..59b9242abb 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "log1 := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "log1" (0..4) - - (item꞉ YulIdentifierPath): # "log1" (0..4) + - (names꞉ YulPaths): # "log1" (0..4) + - (item꞉ YulPath): # "log1" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog1Keyword): "log1" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml index 1a5acc2dd8..e1022678d8 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "log2 := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "log2" (0..4) - - (item꞉ YulIdentifierPath): # "log2" (0..4) + - (names꞉ YulPaths): # "log2" (0..4) + - (item꞉ YulPath): # "log2" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog2Keyword): "log2" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml index 2b69ec948c..91ac7ea5d1 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "log3 := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "log3" (0..4) - - (item꞉ YulIdentifierPath): # "log3" (0..4) + - (names꞉ YulPaths): # "log3" (0..4) + - (item꞉ YulPath): # "log3" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog3Keyword): "log3" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml index 9e7aa55f33..8dbceeda95 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "log4 := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "log4" (0..4) - - (item꞉ YulIdentifierPath): # "log4" (0..4) + - (names꞉ YulPaths): # "log4" (0..4) + - (item꞉ YulPath): # "log4" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog4Keyword): "log4" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml index 5f6be299cc..3a1357b86a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "lt := 0\n" (0..8) - - (names꞉ YulIdentifierPaths): # "lt" (0..2) - - (item꞉ YulIdentifierPath): # "lt" (0..2) + - (names꞉ YulPaths): # "lt" (0..2) + - (item꞉ YulPath): # "lt" (0..2) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLtKeyword): "lt" # (0..2) - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) - (leading_trivia꞉ Whitespace): " " # (2..3) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml index b15aa02333..45e31bfe73 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "mload := 0\n" (0..11) - - (names꞉ YulIdentifierPaths): # "mload" (0..5) - - (item꞉ YulIdentifierPath): # "mload" (0..5) + - (names꞉ YulPaths): # "mload" (0..5) + - (item꞉ YulPath): # "mload" (0..5) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMLoadKeyword): "mload" # (0..5) - (assignment꞉ YulAssignmentOperator): # " :=" (5..8) - (leading_trivia꞉ Whitespace): " " # (5..6) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml index a3f9a42297..24f09fdcaf 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "mod := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "mod" (0..3) - - (item꞉ YulIdentifierPath): # "mod" (0..3) + - (names꞉ YulPaths): # "mod" (0..3) + - (item꞉ YulPath): # "mod" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulModKeyword): "mod" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml index bdccc01048..9b3e1eb6c1 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "msize := 0\n" (0..11) - - (names꞉ YulIdentifierPaths): # "msize" (0..5) - - (item꞉ YulIdentifierPath): # "msize" (0..5) + - (names꞉ YulPaths): # "msize" (0..5) + - (item꞉ YulPath): # "msize" (0..5) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMSizeKeyword): "msize" # (0..5) - (assignment꞉ YulAssignmentOperator): # " :=" (5..8) - (leading_trivia꞉ Whitespace): " " # (5..6) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml index 369bd20f24..f5143988f2 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "mstore := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "mstore" (0..6) - - (item꞉ YulIdentifierPath): # "mstore" (0..6) + - (names꞉ YulPaths): # "mstore" (0..6) + - (item꞉ YulPath): # "mstore" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMStoreKeyword): "mstore" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml index 01184bd263..9f9efceb98 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "mstore8 := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "mstore8" (0..7) - - (item꞉ YulIdentifierPath): # "mstore8" (0..7) + - (names꞉ YulPaths): # "mstore8" (0..7) + - (item꞉ YulPath): # "mstore8" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMStore8Keyword): "mstore8" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml index f551801669..73d97c24ed 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "mul := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "mul" (0..3) - - (item꞉ YulIdentifierPath): # "mul" (0..3) + - (names꞉ YulPaths): # "mul" (0..3) + - (item꞉ YulPath): # "mul" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMulKeyword): "mul" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml index 2311f5bdb6..797ff5a7ee 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "mulmod := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "mulmod" (0..6) - - (item꞉ YulIdentifierPath): # "mulmod" (0..6) + - (names꞉ YulPaths): # "mulmod" (0..6) + - (item꞉ YulPath): # "mulmod" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMulModKeyword): "mulmod" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml index dacdb4ca54..351162a983 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "not := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "not" (0..3) - - (item꞉ YulIdentifierPath): # "not" (0..3) + - (names꞉ YulPaths): # "not" (0..3) + - (item꞉ YulPath): # "not" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulNotKeyword): "not" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml index 1b0aa3ef88..69bbf0cc9b 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "number := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "number" (0..6) - - (item꞉ YulIdentifierPath): # "number" (0..6) + - (names꞉ YulPaths): # "number" (0..6) + - (item꞉ YulPath): # "number" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulNumberKeyword): "number" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml index 408632788b..19ae449712 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "or := 0\n" (0..8) - - (names꞉ YulIdentifierPaths): # "or" (0..2) - - (item꞉ YulIdentifierPath): # "or" (0..2) + - (names꞉ YulPaths): # "or" (0..2) + - (item꞉ YulPath): # "or" (0..2) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulOrKeyword): "or" # (0..2) - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) - (leading_trivia꞉ Whitespace): " " # (2..3) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml index 9c2cbba020..a596354aee 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "origin := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "origin" (0..6) - - (item꞉ YulIdentifierPath): # "origin" (0..6) + - (names꞉ YulPaths): # "origin" (0..6) + - (item꞉ YulPath): # "origin" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulOriginKeyword): "origin" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml index 33b2318ff3..4ae91437df 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "pop := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "pop" (0..3) - - (item꞉ YulIdentifierPath): # "pop" (0..3) + - (names꞉ YulPaths): # "pop" (0..3) + - (item꞉ YulPath): # "pop" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulPopKeyword): "pop" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.4.11-success.yml index 381d5d1ab9..99149d5885 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "prevrandao := 0\n" (0..16) - - (names꞉ YulIdentifierPaths): # "prevrandao" (0..10) - - (item꞉ YulIdentifierPath): # "prevrandao" (0..10) + - (names꞉ YulPaths): # "prevrandao" (0..10) + - (item꞉ YulPath): # "prevrandao" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "prevrandao" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml index ba30fc04ad..0c85df2c6a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "prevrandao := 0\n" (0..16) - - (names꞉ YulIdentifierPaths): # "prevrandao" (0..10) - - (item꞉ YulIdentifierPath): # "prevrandao" (0..10) + - (names꞉ YulPaths): # "prevrandao" (0..10) + - (item꞉ YulPath): # "prevrandao" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulPrevRandaoKeyword): "prevrandao" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml index cf5e5d6083..69ea3b8805 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "return := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "return" (0..6) - - (item꞉ YulIdentifierPath): # "return" (0..6) + - (names꞉ YulPaths): # "return" (0..6) + - (item꞉ YulPath): # "return" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulReturnKeyword): "return" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.4.11-success.yml index 06b0c12eff..94359de0ae 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "returndatacopy := 0\n" (0..20) - - (names꞉ YulIdentifierPaths): # "returndatacopy" (0..14) - - (item꞉ YulIdentifierPath): # "returndatacopy" (0..14) + - (names꞉ YulPaths): # "returndatacopy" (0..14) + - (item꞉ YulPath): # "returndatacopy" (0..14) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatacopy" # (0..14) - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) - (leading_trivia꞉ Whitespace): " " # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml index d8df769e8d..b7cbd914b7 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "returndatacopy := 0\n" (0..20) - - (names꞉ YulIdentifierPaths): # "returndatacopy" (0..14) - - (item꞉ YulIdentifierPath): # "returndatacopy" (0..14) + - (names꞉ YulPaths): # "returndatacopy" (0..14) + - (item꞉ YulPath): # "returndatacopy" (0..14) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulReturnDataCopyKeyword): "returndatacopy" # (0..14) - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) - (leading_trivia꞉ Whitespace): " " # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.4.11-success.yml index 090804a96f..465b6b9417 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "returndatasize := 0\n" (0..20) - - (names꞉ YulIdentifierPaths): # "returndatasize" (0..14) - - (item꞉ YulIdentifierPath): # "returndatasize" (0..14) + - (names꞉ YulPaths): # "returndatasize" (0..14) + - (item꞉ YulPath): # "returndatasize" (0..14) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatasize" # (0..14) - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) - (leading_trivia꞉ Whitespace): " " # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml index b6bf4663ba..b283e960fb 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "returndatasize := 0\n" (0..20) - - (names꞉ YulIdentifierPaths): # "returndatasize" (0..14) - - (item꞉ YulIdentifierPath): # "returndatasize" (0..14) + - (names꞉ YulPaths): # "returndatasize" (0..14) + - (item꞉ YulPath): # "returndatasize" (0..14) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulReturnDataSizeKeyword): "returndatasize" # (0..14) - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) - (leading_trivia꞉ Whitespace): " " # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml index c8428b8086..49805ef81a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "revert := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "revert" (0..6) - - (item꞉ YulIdentifierPath): # "revert" (0..6) + - (names꞉ YulPaths): # "revert" (0..6) + - (item꞉ YulPath): # "revert" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulRevertKeyword): "revert" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.4.11-success.yml index b74d5b8113..5c4c3167c0 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sar := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "sar" (0..3) - - (item꞉ YulIdentifierPath): # "sar" (0..3) + - (names꞉ YulPaths): # "sar" (0..3) + - (item꞉ YulPath): # "sar" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "sar" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml index f84c133afa..14df63dc7d 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sar := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "sar" (0..3) - - (item꞉ YulIdentifierPath): # "sar" (0..3) + - (names꞉ YulPaths): # "sar" (0..3) + - (item꞉ YulPath): # "sar" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSarKeyword): "sar" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml index 5f75a62915..1c3dfc3e6d 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sdiv := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "sdiv" (0..4) - - (item꞉ YulIdentifierPath): # "sdiv" (0..4) + - (names꞉ YulPaths): # "sdiv" (0..4) + - (item꞉ YulPath): # "sdiv" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSDivKeyword): "sdiv" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.4.11-success.yml index 063b67525b..24069ef647 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "selfbalance := 0\n" (0..17) - - (names꞉ YulIdentifierPaths): # "selfbalance" (0..11) - - (item꞉ YulIdentifierPath): # "selfbalance" (0..11) + - (names꞉ YulPaths): # "selfbalance" (0..11) + - (item꞉ YulPath): # "selfbalance" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "selfbalance" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml index 1f0dcc6735..9aebda9a67 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "selfbalance := 0\n" (0..17) - - (names꞉ YulIdentifierPaths): # "selfbalance" (0..11) - - (item꞉ YulIdentifierPath): # "selfbalance" (0..11) + - (names꞉ YulPaths): # "selfbalance" (0..11) + - (item꞉ YulPath): # "selfbalance" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSelfBalanceKeyword): "selfbalance" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml index e5f88cc0c0..514c85c45f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "selfdestruct := 0\n" (0..18) - - (names꞉ YulIdentifierPaths): # "selfdestruct" (0..12) - - (item꞉ YulIdentifierPath): # "selfdestruct" (0..12) + - (names꞉ YulPaths): # "selfdestruct" (0..12) + - (item꞉ YulPath): # "selfdestruct" (0..12) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSelfDestructKeyword): "selfdestruct" # (0..12) - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) - (leading_trivia꞉ Whitespace): " " # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml index 1f54cd26cd..fc5e2b06e6 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sgt := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "sgt" (0..3) - - (item꞉ YulIdentifierPath): # "sgt" (0..3) + - (names꞉ YulPaths): # "sgt" (0..3) + - (item꞉ YulPath): # "sgt" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSgtKeyword): "sgt" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sha3/generated/0.5.0-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sha3/generated/0.5.0-success.yml index b8933eab11..68df56baf6 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sha3/generated/0.5.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sha3/generated/0.5.0-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sha3 := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "sha3" (0..4) - - (item꞉ YulIdentifierPath): # "sha3" (0..4) + - (names꞉ YulPaths): # "sha3" (0..4) + - (item꞉ YulPath): # "sha3" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "sha3" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.4.11-success.yml index e20d05748d..346a02dbbe 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "shl := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "shl" (0..3) - - (item꞉ YulIdentifierPath): # "shl" (0..3) + - (names꞉ YulPaths): # "shl" (0..3) + - (item꞉ YulPath): # "shl" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "shl" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml index c278a3df05..2d43b21a27 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "shl := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "shl" (0..3) - - (item꞉ YulIdentifierPath): # "shl" (0..3) + - (names꞉ YulPaths): # "shl" (0..3) + - (item꞉ YulPath): # "shl" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulShlKeyword): "shl" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.4.11-success.yml index f273b271b4..e4f50e80e6 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "shr := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "shr" (0..3) - - (item꞉ YulIdentifierPath): # "shr" (0..3) + - (names꞉ YulPaths): # "shr" (0..3) + - (item꞉ YulPath): # "shr" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "shr" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml index 1bb717d7fa..a854d8b39d 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "shr := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "shr" (0..3) - - (item꞉ YulIdentifierPath): # "shr" (0..3) + - (names꞉ YulPaths): # "shr" (0..3) + - (item꞉ YulPath): # "shr" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulShrKeyword): "shr" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml index 0f268fd6d4..51670a658d 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "signextend := 0\n" (0..16) - - (names꞉ YulIdentifierPaths): # "signextend" (0..10) - - (item꞉ YulIdentifierPath): # "signextend" (0..10) + - (names꞉ YulPaths): # "signextend" (0..10) + - (item꞉ YulPath): # "signextend" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSignExtendKeyword): "signextend" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml index 80fe9e1ff0..f16b7fc8f9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sload := 0\n" (0..11) - - (names꞉ YulIdentifierPaths): # "sload" (0..5) - - (item꞉ YulIdentifierPath): # "sload" (0..5) + - (names꞉ YulPaths): # "sload" (0..5) + - (item꞉ YulPath): # "sload" (0..5) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSLoadKeyword): "sload" # (0..5) - (assignment꞉ YulAssignmentOperator): # " :=" (5..8) - (leading_trivia꞉ Whitespace): " " # (5..6) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml index 5daacae2fa..79ec1f1017 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "slt := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "slt" (0..3) - - (item꞉ YulIdentifierPath): # "slt" (0..3) + - (names꞉ YulPaths): # "slt" (0..3) + - (item꞉ YulPath): # "slt" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSltKeyword): "slt" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml index 7576c39dd9..d7a0b118da 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "smod := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "smod" (0..4) - - (item꞉ YulIdentifierPath): # "smod" (0..4) + - (names꞉ YulPaths): # "smod" (0..4) + - (item꞉ YulPath): # "smod" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSModKeyword): "smod" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml index 8e4e3129be..cdaf7260a9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sstore := 0\n" (0..12) - - (names꞉ YulIdentifierPaths): # "sstore" (0..6) - - (item꞉ YulIdentifierPath): # "sstore" (0..6) + - (names꞉ YulPaths): # "sstore" (0..6) + - (item꞉ YulPath): # "sstore" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSStoreKeyword): "sstore" # (0..6) - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) - (leading_trivia꞉ Whitespace): " " # (6..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.4.11-success.yml index 7d3523f10a..bec5743f21 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.4.11-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "staticcall := 0\n" (0..16) - - (names꞉ YulIdentifierPaths): # "staticcall" (0..10) - - (item꞉ YulIdentifierPath): # "staticcall" (0..10) + - (names꞉ YulPaths): # "staticcall" (0..10) + - (item꞉ YulPath): # "staticcall" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "staticcall" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml index 5389c03287..75e2055e44 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "staticcall := 0\n" (0..16) - - (names꞉ YulIdentifierPaths): # "staticcall" (0..10) - - (item꞉ YulIdentifierPath): # "staticcall" (0..10) + - (names꞉ YulPaths): # "staticcall" (0..10) + - (item꞉ YulPath): # "staticcall" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulStaticCallKeyword): "staticcall" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml index b4bc7c4ac6..c6f91773f6 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "stop := 0\n" (0..10) - - (names꞉ YulIdentifierPaths): # "stop" (0..4) - - (item꞉ YulIdentifierPath): # "stop" (0..4) + - (names꞉ YulPaths): # "stop" (0..4) + - (item꞉ YulPath): # "stop" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulStopKeyword): "stop" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml index 48d2ea9014..4d7d2da7a5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "sub := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "sub" (0..3) - - (item꞉ YulIdentifierPath): # "sub" (0..3) + - (names꞉ YulPaths): # "sub" (0..3) + - (item꞉ YulPath): # "sub" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSubKeyword): "sub" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_suicide/generated/0.5.0-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_suicide/generated/0.5.0-success.yml index 1c6b8ae652..3949b3b46c 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_suicide/generated/0.5.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_suicide/generated/0.5.0-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "suicide := 0\n" (0..13) - - (names꞉ YulIdentifierPaths): # "suicide" (0..7) - - (item꞉ YulIdentifierPath): # "suicide" (0..7) + - (names꞉ YulPaths): # "suicide" (0..7) + - (item꞉ YulPath): # "suicide" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "suicide" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml index fabf6bcc8b..1b60e1a8f0 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "timestamp := 0\n" (0..15) - - (names꞉ YulIdentifierPaths): # "timestamp" (0..9) - - (item꞉ YulIdentifierPath): # "timestamp" (0..9) + - (names꞉ YulPaths): # "timestamp" (0..9) + - (item꞉ YulPath): # "timestamp" (0..9) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulTimestampKeyword): "timestamp" # (0..9) - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) - (leading_trivia꞉ Whitespace): " " # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml index 1c773a844c..c583bcd797 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml @@ -7,8 +7,8 @@ Errors: [] Tree: - (YulAssignmentStatement): # "xor := 0\n" (0..9) - - (names꞉ YulIdentifierPaths): # "xor" (0..3) - - (item꞉ YulIdentifierPath): # "xor" (0..3) + - (names꞉ YulPaths): # "xor" (0..3) + - (item꞉ YulPath): # "xor" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulXorKeyword): "xor" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/function_def/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/function_def/generated/0.4.11-success.yml index a677d2160d..8b3cb8f496 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/function_def/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/function_def/generated/0.4.11-success.yml @@ -39,8 +39,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n" (35..57) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -53,10 +53,10 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml index dffc49ac81..4c3334b9e8 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.11-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml index e166f8c7d9..1aa9776b49 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.4.12-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml index 7307accfc8..0e2030496f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.5.0-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml index 8fc5936ac4..dfc7b1d604 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.6.0-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.10-failure.yml index 089d87613c..6a7503c769 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.10-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.10-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml index 3ba15684c7..b31dd38986 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.18-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.24-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.24-failure.yml index 9eb9e6faa7..37a7f8a7ab 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.24-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.24-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml index 089d87613c..6a7503c769 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.7-failure.yml @@ -49,8 +49,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (34..35) - (statements꞉ YulStatements): # "\t\tresult := mul(a, b)\n\t\tresult" (35..65) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) + - (names꞉ YulPaths): # "\t\tresult" (35..43) + - (item꞉ YulPath): # "\t\tresult" (35..43) - (item꞉ YulPathComponent): # "\t\tresult" (35..43) - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - (variant꞉ YulIdentifier): "result" # (37..43) @@ -63,16 +63,16 @@ Tree: - (variant꞉ YulMulKeyword): "mul" # (47..50) - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # "a" (51..52) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) + - (item꞉ YulExpression) ► (variant꞉ YulPath): # " b" (53..55) - (item꞉ YulPathComponent): # " b" (53..55) - (leading_trivia꞉ Whitespace): " " # (53..54) - (variant꞉ YulIdentifier): "b" # (54..55) - (close_paren꞉ CloseParen): ")" # (55..56) - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) - - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "\t\tresult" (57..65) + - (item꞉ YulStatement) ► (variant꞉ YulExpression) ► (variant꞉ YulPath): # "\t\tresult" (57..65) - (item꞉ YulPathComponent): # "\t\tresult" (57..65) - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - (variant꞉ YulIdentifier): "result" # (59..65) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/function_call/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/function_call/generated/0.4.11-success.yml index cbdc35afb2..fdff0880d1 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/function_call/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/function_call/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulExpression) ► (variant꞉ YulFunctionCallExpression): # "foo(1)" (0..6) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "foo" (0..3) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "foo" (0..3) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "foo" # (0..3) - (open_paren꞉ OpenParen): "(" # (3..4) - (arguments꞉ YulArguments): # "1" (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_path/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_path/generated/0.4.11-success.yml index 4d9f406001..fb96a064c9 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_path/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_path/generated/0.4.11-success.yml @@ -6,7 +6,7 @@ Source: > Errors: [] Tree: - - (YulExpression) ► (variant꞉ YulIdentifierPath): # "foo . bar\n" (0..10) + - (YulExpression) ► (variant꞉ YulPath): # "foo . bar\n" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "foo" # (0..3) - (leading_trivia꞉ Whitespace): " " # (3..4) - (separator꞉ Period): "." # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.4.11-success.yml index 170e56a3ca..d6a070da1f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Source: > Errors: [] Tree: - - (YulExpression) ► (variant꞉ YulIdentifierPath): # "// identifiers with dots were allowed specifically..." (0..90) + - (YulExpression) ► (variant꞉ YulPath): # "// identifiers with dots were allowed specifically..." (0..90) - (item꞉ YulPathComponent): # "// identifiers with dots were allowed specifically..." (0..85) - (leading_trivia꞉ SingleLineComment): "// identifiers with dots were allowed specifically..." # (0..81) - (leading_trivia꞉ EndOfLine): "\n" # (81..82) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.5.8-success.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.5.8-success.yml index b8b65f1080..58ee19fcfa 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.5.8-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.5.8-success.yml @@ -7,7 +7,7 @@ Source: > Errors: [] Tree: - - (YulExpression) ► (variant꞉ YulIdentifierPath): # "// identifiers with dots were allowed specifically..." (0..90) + - (YulExpression) ► (variant꞉ YulPath): # "// identifiers with dots were allowed specifically..." (0..90) - (item꞉ YulPathComponent): # "// identifiers with dots were allowed specifically..." (0..90) - (leading_trivia꞉ SingleLineComment): "// identifiers with dots were allowed specifically..." # (0..81) - (leading_trivia꞉ EndOfLine): "\n" # (81..82) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.7.0-success.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.7.0-success.yml index 170e56a3ca..d6a070da1f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.7.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/identifier_with_dot/generated/0.7.0-success.yml @@ -7,7 +7,7 @@ Source: > Errors: [] Tree: - - (YulExpression) ► (variant꞉ YulIdentifierPath): # "// identifiers with dots were allowed specifically..." (0..90) + - (YulExpression) ► (variant꞉ YulPath): # "// identifiers with dots were allowed specifically..." (0..90) - (item꞉ YulPathComponent): # "// identifiers with dots were allowed specifically..." (0..85) - (leading_trivia꞉ SingleLineComment): "// identifiers with dots were allowed specifically..." # (0..81) - (leading_trivia꞉ EndOfLine): "\n" # (81..82) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_basefee/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_basefee/generated/0.4.11-success.yml index 91b09d2966..bd022e8ac3 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_basefee/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_basefee/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "basefee()\n" (0..10) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "basefee" (0..7) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "basefee" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "basefee" # (0..7) - (open_paren꞉ OpenParen): "(" # (7..8) - (arguments꞉ YulArguments): [] # (8..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobbasefee/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobbasefee/generated/0.4.11-success.yml index 69f61ee88b..435f324a9a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobbasefee/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobbasefee/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "blobbasefee()\n" (0..14) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "blobbasefee" (0..11) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "blobbasefee" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "blobbasefee" # (0..11) - (open_paren꞉ OpenParen): "(" # (11..12) - (arguments꞉ YulArguments): [] # (12..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobhash/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobhash/generated/0.4.11-success.yml index 311481aa66..c7e156a563 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobhash/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_blobhash/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "blobhash()\n" (0..11) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "blobhash" (0..8) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "blobhash" (0..8) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "blobhash" # (0..8) - (open_paren꞉ OpenParen): "(" # (8..9) - (arguments꞉ YulArguments): [] # (9..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_create2/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_create2/generated/0.4.11-success.yml index b233127bb7..21824553eb 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_create2/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_create2/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "create2()\n" (0..10) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "create2" (0..7) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "create2" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "create2" # (0..7) - (open_paren꞉ OpenParen): "(" # (7..8) - (arguments꞉ YulArguments): [] # (8..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_extcodehash/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_extcodehash/generated/0.4.11-success.yml index 7a218a8a40..c484929b82 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_extcodehash/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_extcodehash/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "extcodehash()\n" (0..14) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "extcodehash" (0..11) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "extcodehash" (0..11) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "extcodehash" # (0..11) - (open_paren꞉ OpenParen): "(" # (11..12) - (arguments꞉ YulArguments): [] # (12..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_keccak256/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_keccak256/generated/0.4.11-success.yml index 49f9270cc0..4d2d29a190 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_keccak256/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_keccak256/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "keccak256()\n" (0..12) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "keccak256" (0..9) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "keccak256" (0..9) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "keccak256" # (0..9) - (open_paren꞉ OpenParen): "(" # (9..10) - (arguments꞉ YulArguments): [] # (10..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_mcopy/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_mcopy/generated/0.4.11-success.yml index b202aaede2..17dc601e92 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_mcopy/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_mcopy/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "mcopy()\n" (0..8) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "mcopy" (0..5) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "mcopy" (0..5) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "mcopy" # (0..5) - (open_paren꞉ OpenParen): "(" # (5..6) - (arguments꞉ YulArguments): [] # (6..6) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_prevrandao/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_prevrandao/generated/0.4.11-success.yml index ebb09f6dd6..53cabecb6f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_prevrandao/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_prevrandao/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "prevrandao()\n" (0..13) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "prevrandao" (0..10) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "prevrandao" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "prevrandao" # (0..10) - (open_paren꞉ OpenParen): "(" # (10..11) - (arguments꞉ YulArguments): [] # (11..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatacopy/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatacopy/generated/0.4.11-success.yml index 7e3a757101..5923ce7f3b 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatacopy/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatacopy/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "returndatacopy()\n" (0..17) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "returndatacopy" (0..14) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "returndatacopy" (0..14) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatacopy" # (0..14) - (open_paren꞉ OpenParen): "(" # (14..15) - (arguments꞉ YulArguments): [] # (15..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatasize/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatasize/generated/0.4.11-success.yml index 86e65c073f..2be5befd9f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatasize/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_returndatasize/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "returndatasize()\n" (0..17) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "returndatasize" (0..14) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "returndatasize" (0..14) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatasize" # (0..14) - (open_paren꞉ OpenParen): "(" # (14..15) - (arguments꞉ YulArguments): [] # (15..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_sha3/generated/0.5.0-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_sha3/generated/0.5.0-success.yml index 35a9d4e3d5..82e87c2a28 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_sha3/generated/0.5.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_sha3/generated/0.5.0-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "sha3()\n" (0..7) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "sha3" (0..4) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "sha3" (0..4) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "sha3" # (0..4) - (open_paren꞉ OpenParen): "(" # (4..5) - (arguments꞉ YulArguments): [] # (5..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_staticcall/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_staticcall/generated/0.4.11-success.yml index 50b3d05c0e..3f5bcebb5f 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_staticcall/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_staticcall/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "staticcall()\n" (0..13) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "staticcall" (0..10) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "staticcall" (0..10) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "staticcall" # (0..10) - (open_paren꞉ OpenParen): "(" # (10..11) - (arguments꞉ YulArguments): [] # (11..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_suicide/generated/0.5.0-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_suicide/generated/0.5.0-success.yml index 1ba3a4ee63..ce86300fed 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_suicide/generated/0.5.0-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_suicide/generated/0.5.0-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "suicide()\n" (0..10) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "suicide" (0..7) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "suicide" (0..7) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "suicide" # (0..7) - (open_paren꞉ OpenParen): "(" # (7..8) - (arguments꞉ YulArguments): [] # (8..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tload/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tload/generated/0.4.11-success.yml index f7a05ada4c..e6c1b01f85 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tload/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tload/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "tstore()\n" (0..9) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "tstore" (0..6) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "tstore" (0..6) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "tstore" # (0..6) - (open_paren꞉ OpenParen): "(" # (6..7) - (arguments꞉ YulArguments): [] # (7..7) diff --git a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tstore/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tstore/generated/0.4.11-success.yml index 60d57b8dc5..d665928aff 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tstore/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulFunctionCallExpression/built_in_tstore/generated/0.4.11-success.yml @@ -7,7 +7,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "tload()\n" (0..8) - - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "tload" (0..5) + - (operand꞉ YulExpression) ► (variant꞉ YulPath): # "tload" (0..5) - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "tload" # (0..5) - (open_paren꞉ OpenParen): "(" # (5..6) - (arguments꞉ YulArguments): [] # (6..6) diff --git a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.4.11-failure.yml index ba8aabc721..f49e8ef8b5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.4.11-failure.yml @@ -24,8 +24,8 @@ Tree: - (open_brace꞉ OpenBrace): "{" # (0..1) - (trailing_trivia꞉ EndOfLine): "\n" # (1..2) - (statements꞉ YulStatements): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) - - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement) ► (names꞉ YulIdentifierPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) - - (item꞉ YulIdentifierPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) + - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement) ► (names꞉ YulPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) + - (item꞉ YulPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) - (item꞉ YulPathComponent): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..162) - (leading_trivia꞉ Whitespace): "\t" # (2..3) - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) diff --git a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.5.8-success.yml b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.5.8-success.yml index 8fe4c226c5..eddbbe33d5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.5.8-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.5.8-success.yml @@ -16,8 +16,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (1..2) - (statements꞉ YulStatements): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..212) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..185) - - (names꞉ YulIdentifierPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) - - (item꞉ YulIdentifierPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) + - (names꞉ YulPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) + - (item꞉ YulPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) - (item꞉ YulPathComponent): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) - (leading_trivia꞉ Whitespace): "\t" # (2..3) - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) @@ -27,21 +27,21 @@ Tree: - (assignment꞉ YulAssignmentOperator): # " :=" (170..173) - (leading_trivia꞉ Whitespace): " " # (170..171) - (variant꞉ ColonEqual): ":=" # (171..173) - - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newAddress\n" (173..185) + - (expression꞉ YulExpression) ► (variant꞉ YulPath): # " newAddress\n" (173..185) - (item꞉ YulPathComponent): # " newAddress\n" (173..185) - (leading_trivia꞉ Whitespace): " " # (173..174) - (variant꞉ YulIdentifier): "newAddress" # (174..184) - (trailing_trivia꞉ EndOfLine): "\n" # (184..185) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\tf.selector := newSelector\n" (185..212) - - (names꞉ YulIdentifierPaths): # "\tf.selector" (185..196) - - (item꞉ YulIdentifierPath): # "\tf.selector" (185..196) + - (names꞉ YulPaths): # "\tf.selector" (185..196) + - (item꞉ YulPath): # "\tf.selector" (185..196) - (item꞉ YulPathComponent): # "\tf.selector" (185..196) - (leading_trivia꞉ Whitespace): "\t" # (185..186) - (variant꞉ YulIdentifier): "f.selector" # (186..196) - (assignment꞉ YulAssignmentOperator): # " :=" (196..199) - (leading_trivia꞉ Whitespace): " " # (196..197) - (variant꞉ ColonEqual): ":=" # (197..199) - - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newSelector\n" (199..212) + - (expression꞉ YulExpression) ► (variant꞉ YulPath): # " newSelector\n" (199..212) - (item꞉ YulPathComponent): # " newSelector\n" (199..212) - (leading_trivia꞉ Whitespace): " " # (199..200) - (variant꞉ YulIdentifier): "newSelector" # (200..211) diff --git a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.7.0-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.7.0-failure.yml index ba8aabc721..f49e8ef8b5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.7.0-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.7.0-failure.yml @@ -24,8 +24,8 @@ Tree: - (open_brace꞉ OpenBrace): "{" # (0..1) - (trailing_trivia꞉ EndOfLine): "\n" # (1..2) - (statements꞉ YulStatements): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) - - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement) ► (names꞉ YulIdentifierPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) - - (item꞉ YulIdentifierPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) + - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement) ► (names꞉ YulPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) + - (item꞉ YulPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..163) - (item꞉ YulPathComponent): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..162) - (leading_trivia꞉ Whitespace): "\t" # (2..3) - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) diff --git a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.8.10-success.yml b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.8.10-success.yml index d54d60e75c..651a449d8a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.8.10-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.8.10-success.yml @@ -16,8 +16,8 @@ Tree: - (trailing_trivia꞉ EndOfLine): "\n" # (1..2) - (statements꞉ YulStatements): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..212) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..185) - - (names꞉ YulIdentifierPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) - - (item꞉ YulIdentifierPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) + - (names꞉ YulPaths): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) + - (item꞉ YulPath): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..170) - (item꞉ YulPathComponent): # "\t// https://github.com/ethereum/solidity/blob/ebdc..." (2..162) - (leading_trivia꞉ Whitespace): "\t" # (2..3) - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) @@ -29,14 +29,14 @@ Tree: - (assignment꞉ YulAssignmentOperator): # " :=" (170..173) - (leading_trivia꞉ Whitespace): " " # (170..171) - (variant꞉ ColonEqual): ":=" # (171..173) - - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newAddress\n" (173..185) + - (expression꞉ YulExpression) ► (variant꞉ YulPath): # " newAddress\n" (173..185) - (item꞉ YulPathComponent): # " newAddress\n" (173..185) - (leading_trivia꞉ Whitespace): " " # (173..174) - (variant꞉ YulIdentifier): "newAddress" # (174..184) - (trailing_trivia꞉ EndOfLine): "\n" # (184..185) - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\tf.selector := newSelector\n" (185..212) - - (names꞉ YulIdentifierPaths): # "\tf.selector" (185..196) - - (item꞉ YulIdentifierPath): # "\tf.selector" (185..196) + - (names꞉ YulPaths): # "\tf.selector" (185..196) + - (item꞉ YulPath): # "\tf.selector" (185..196) - (item꞉ YulPathComponent): # "\tf" (185..187) - (leading_trivia꞉ Whitespace): "\t" # (185..186) - (variant꞉ YulIdentifier): "f" # (186..187) @@ -45,7 +45,7 @@ Tree: - (assignment꞉ YulAssignmentOperator): # " :=" (196..199) - (leading_trivia꞉ Whitespace): " " # (196..197) - (variant꞉ ColonEqual): ":=" # (197..199) - - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newSelector\n" (199..212) + - (expression꞉ YulExpression) ► (variant꞉ YulPath): # " newSelector\n" (199..212) - (item꞉ YulPathComponent): # " newSelector\n" (199..212) - (leading_trivia꞉ Whitespace): " " # (199..200) - (variant꞉ YulIdentifier): "newSelector" # (200..211) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.4.11-success.yml index d8f6b347d8..f0fbf78146 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.4.11-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): '// ColonEqual was two separate tokens before "0.5....' # (0..53) - (leading_trivia꞉ EndOfLine): "\n" # (53..54) - (let_keyword꞉ YulLetKeyword): "let" # (54..57) - - (names꞉ YulIdentifierPaths): # " foo" (57..61) - - (item꞉ YulIdentifierPath): # " foo" (57..61) + - (names꞉ YulPaths): # " foo" (57..61) + - (item꞉ YulPath): # " foo" (57..61) - (item꞉ YulPathComponent): # " foo" (57..61) - (leading_trivia꞉ Whitespace): " " # (57..58) - (variant꞉ YulIdentifier): "foo" # (58..61) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.5.5-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.5.5-failure.yml index 9b5ddc8279..a43376396a 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.5.5-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/colon_equal_separated/generated/0.5.5-failure.yml @@ -19,8 +19,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): '// ColonEqual was two separate tokens before "0.5....' # (0..53) - (leading_trivia꞉ EndOfLine): "\n" # (53..54) - (let_keyword꞉ YulLetKeyword): "let" # (54..57) - - (names꞉ YulIdentifierPaths): # " foo" (57..61) - - (item꞉ YulIdentifierPath): # " foo" (57..61) + - (names꞉ YulPaths): # " foo" (57..61) + - (item꞉ YulPath): # " foo" (57..61) - (item꞉ YulPathComponent): # " foo" (57..61) - (leading_trivia꞉ Whitespace): " " # (57..58) - (variant꞉ YulIdentifier): "foo" # (58..61) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes/generated/0.7.1-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes/generated/0.7.1-success.yml index 029e4cfc52..886259f923 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes/generated/0.7.1-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes/generated/0.7.1-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// Unreserved in Yul specifically since 0.7.1:" # (0..46) - (leading_trivia꞉ EndOfLine): "\n" # (46..47) - (let_keyword꞉ YulLetKeyword): "let" # (47..50) - - (names꞉ YulIdentifierPaths): # " bytes\n" (50..57) - - (item꞉ YulIdentifierPath): # " bytes\n" (50..57) + - (names꞉ YulPaths): # " bytes\n" (50..57) + - (item꞉ YulPath): # " bytes\n" (50..57) - (item꞉ YulPathComponent): # " bytes\n" (50..57) - (leading_trivia꞉ Whitespace): " " # (50..51) - (variant꞉ YulIdentifier): "bytes" # (51..56) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes1/generated/0.7.1-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes1/generated/0.7.1-success.yml index 1f7bb3f9b0..2f41417f15 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes1/generated/0.7.1-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes1/generated/0.7.1-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// Unreserved in Yul specifically since 0.7.1:" # (0..46) - (leading_trivia꞉ EndOfLine): "\n" # (46..47) - (let_keyword꞉ YulLetKeyword): "let" # (47..50) - - (names꞉ YulIdentifierPaths): # " bytes1\n" (50..58) - - (item꞉ YulIdentifierPath): # " bytes1\n" (50..58) + - (names꞉ YulPaths): # " bytes1\n" (50..58) + - (item꞉ YulPath): # " bytes1\n" (50..58) - (item꞉ YulPathComponent): # " bytes1\n" (50..58) - (leading_trivia꞉ Whitespace): " " # (50..51) - (variant꞉ YulIdentifier): "bytes1" # (51..57) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes11/generated/0.7.1-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes11/generated/0.7.1-success.yml index d0637d1819..74b88a4843 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes11/generated/0.7.1-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_bytes11/generated/0.7.1-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// Unreserved in Yul specifically since 0.7.1:" # (0..46) - (leading_trivia꞉ EndOfLine): "\n" # (46..47) - (let_keyword꞉ YulLetKeyword): "let" # (47..50) - - (names꞉ YulIdentifierPaths): # " bytes11\n" (50..59) - - (item꞉ YulIdentifierPath): # " bytes11\n" (50..59) + - (names꞉ YulPaths): # " bytes11\n" (50..59) + - (item꞉ YulPath): # " bytes11\n" (50..59) - (item꞉ YulPathComponent): # " bytes11\n" (50..59) - (leading_trivia꞉ Whitespace): " " # (50..51) - (variant꞉ YulIdentifier): "bytes11" # (51..58) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.4.11-success.yml index 484369b0ce..6bcff37ae5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.4.11-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// This form is reserved only since 0.4.14 until 0..." # (0..62) - (leading_trivia꞉ EndOfLine): "\n" # (62..63) - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - - (names꞉ YulIdentifierPaths): # " ufixed184x80\n" (66..80) - - (item꞉ YulIdentifierPath): # " ufixed184x80\n" (66..80) + - (names꞉ YulPaths): # " ufixed184x80\n" (66..80) + - (item꞉ YulPath): # " ufixed184x80\n" (66..80) - (item꞉ YulPathComponent): # " ufixed184x80\n" (66..80) - (leading_trivia꞉ Whitespace): " " # (66..67) - (variant꞉ YulIdentifier): "ufixed184x80" # (67..79) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.7.1-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.7.1-success.yml index 484369b0ce..6bcff37ae5 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.7.1-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed184x80/generated/0.7.1-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// This form is reserved only since 0.4.14 until 0..." # (0..62) - (leading_trivia꞉ EndOfLine): "\n" # (62..63) - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - - (names꞉ YulIdentifierPaths): # " ufixed184x80\n" (66..80) - - (item꞉ YulIdentifierPath): # " ufixed184x80\n" (66..80) + - (names꞉ YulPaths): # " ufixed184x80\n" (66..80) + - (item꞉ YulPath): # " ufixed184x80\n" (66..80) - (item꞉ YulPathComponent): # " ufixed184x80\n" (66..80) - (leading_trivia꞉ Whitespace): " " # (66..67) - (variant꞉ YulIdentifier): "ufixed184x80" # (67..79) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.4.11-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.4.11-success.yml index 35f76042be..33fccf9205 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.4.11-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.4.11-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// This form is reserved only since 0.4.14 until 0..." # (0..62) - (leading_trivia꞉ EndOfLine): "\n" # (62..63) - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - - (names꞉ YulIdentifierPaths): # " ufixed8x0\n" (66..77) - - (item꞉ YulIdentifierPath): # " ufixed8x0\n" (66..77) + - (names꞉ YulPaths): # " ufixed8x0\n" (66..77) + - (item꞉ YulPath): # " ufixed8x0\n" (66..77) - (item꞉ YulPathComponent): # " ufixed8x0\n" (66..77) - (leading_trivia꞉ Whitespace): " " # (66..67) - (variant꞉ YulIdentifier): "ufixed8x0" # (67..76) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.7.1-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.7.1-success.yml index 35f76042be..33fccf9205 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.7.1-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x0/generated/0.7.1-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// This form is reserved only since 0.4.14 until 0..." # (0..62) - (leading_trivia꞉ EndOfLine): "\n" # (62..63) - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - - (names꞉ YulIdentifierPaths): # " ufixed8x0\n" (66..77) - - (item꞉ YulIdentifierPath): # " ufixed8x0\n" (66..77) + - (names꞉ YulPaths): # " ufixed8x0\n" (66..77) + - (item꞉ YulPath): # " ufixed8x0\n" (66..77) - (item꞉ YulPathComponent): # " ufixed8x0\n" (66..77) - (leading_trivia꞉ Whitespace): " " # (66..67) - (variant꞉ YulIdentifier): "ufixed8x0" # (67..76) diff --git a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x8/generated/0.7.1-success.yml b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x8/generated/0.7.1-success.yml index e38291f40e..1a8a42806b 100644 --- a/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x8/generated/0.7.1-success.yml +++ b/crates/solidity/testing/snapshots/cst_output/YulVariableDeclarationStatement/keyword_ufixed8x8/generated/0.7.1-success.yml @@ -11,8 +11,8 @@ Tree: - (leading_trivia꞉ SingleLineComment): "// This form is always reserved until 0.7.1 in Yul..." # (0..51) - (leading_trivia꞉ EndOfLine): "\n" # (51..52) - (let_keyword꞉ YulLetKeyword): "let" # (52..55) - - (names꞉ YulIdentifierPaths): # " ufixed8x8\n" (55..66) - - (item꞉ YulIdentifierPath): # " ufixed8x8\n" (55..66) + - (names꞉ YulPaths): # " ufixed8x8\n" (55..66) + - (item꞉ YulPath): # " ufixed8x8\n" (55..66) - (item꞉ YulPathComponent): # " ufixed8x8\n" (55..66) - (leading_trivia꞉ Whitespace): " " # (55..56) - (variant꞉ YulIdentifier): "ufixed8x8" # (56..65)