From 33b6f017be1623e27d866ea362af4a91ca622c08 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Tue, 23 Apr 2024 18:59:42 +0100 Subject: [PATCH 1/4] Add a regression test for the function pointer access in assembly --- .../tests/src/cst_output/generated/mod.rs | 1 + .../cst_output/generated/yul_statements.rs | 10 ++++ .../generated/0.4.11-failure.yml | 37 +++++++++++++++ .../generated/0.5.8-success.yml | 46 +++++++++++++++++++ .../generated/0.7.0-failure.yml | 37 +++++++++++++++ .../YulStatements/function_pointer/input.sol | 5 ++ 6 files changed, 136 insertions(+) create mode 100644 crates/solidity/outputs/cargo/tests/src/cst_output/generated/yul_statements.rs create mode 100644 crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.4.11-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.5.8-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.7.0-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/input.sol diff --git a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs index a790845aa0..d8f13e156f 100644 --- a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs +++ b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs @@ -52,6 +52,7 @@ mod yul_expression; mod yul_function_call_expression; mod yul_label; mod yul_leave_statement; +mod yul_statements; mod yul_variable_declaration_statement; pub const VERSION_BREAKS: [Version; 32] = [ diff --git a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/yul_statements.rs b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/yul_statements.rs new file mode 100644 index 0000000000..2adb339779 --- /dev/null +++ b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/yul_statements.rs @@ -0,0 +1,10 @@ +// This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +use anyhow::Result; + +use crate::cst_output::runner::run; + +#[test] +fn function_pointer() -> Result<()> { + run("YulStatements", "function_pointer") +} 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 new file mode 100644 index 0000000000..1becab64f4 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.4.11-failure.yml @@ -0,0 +1,37 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ { │ 0..1 + 2 │ // https://github.com/ethereum/solidity/blob/ebdce269005e8f2a6652bad64a000725ff1624fe/docs/assembly.rst#access-to-external-variables-functions-and-libraries │ 2..159 + 3 │ f.address := newAddress │ 160..184 + 4 │ f.selector := newSelector │ 185..211 + 5 │ } │ 212..213 + +Errors: # 1 total + - > + Error: Expected YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/input.sol:3:4] + │ + 3 │ ╭─▶ f.address := newAddress + 4 │ ├─▶ f.selector := newSelector + │ │ + │ ╰─────────────────────────────────── Error occurred here. + ───╯ + +Tree: + - (YulStatements): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (item꞉ YulStatement) ► (variant꞉ YulBlock): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (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) + - (leading_trivia꞉ Whitespace): "\t" # (2..3) + - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (item꞉ YulIdentifier): "f" # (161..162) + - (separator꞉ Period): "." # (162..163) + - (SKIPPED): "address := newAddress\n\tf.selector := newSelector\n" # (163..212) + - (close_brace꞉ CloseBrace): "}" # (212..213) + - (trailing_trivia꞉ EndOfLine): "\n" # (213..214) 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 new file mode 100644 index 0000000000..66d1c11560 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.5.8-success.yml @@ -0,0 +1,46 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ { │ 0..1 + 2 │ // https://github.com/ethereum/solidity/blob/ebdce269005e8f2a6652bad64a000725ff1624fe/docs/assembly.rst#access-to-external-variables-functions-and-libraries │ 2..159 + 3 │ f.address := newAddress │ 160..184 + 4 │ f.selector := newSelector │ 185..211 + 5 │ } │ 212..213 + +Errors: [] + +Tree: + - (YulStatements): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (item꞉ YulStatement) ► (variant꞉ YulBlock): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (open_brace꞉ OpenBrace): "{" # (0..1) + - (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) + - (leading_trivia꞉ Whitespace): "\t" # (2..3) + - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (item꞉ YulIdentifier): "f.address" # (161..170) + - (assignment꞉ YulAssignmentOperator): # " :=" (170..173) + - (leading_trivia꞉ Whitespace): " " # (170..171) + - (variant꞉ ColonEqual): ":=" # (171..173) + - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newAddress\n" (173..185) + - (leading_trivia꞉ Whitespace): " " # (173..174) + - (item꞉ 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) + - (leading_trivia꞉ Whitespace): "\t" # (185..186) + - (item꞉ 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) + - (leading_trivia꞉ Whitespace): " " # (199..200) + - (item꞉ YulIdentifier): "newSelector" # (200..211) + - (trailing_trivia꞉ EndOfLine): "\n" # (211..212) + - (close_brace꞉ CloseBrace): "}" # (212..213) + - (trailing_trivia꞉ EndOfLine): "\n" # (213..214) 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 new file mode 100644 index 0000000000..1becab64f4 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.7.0-failure.yml @@ -0,0 +1,37 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ { │ 0..1 + 2 │ // https://github.com/ethereum/solidity/blob/ebdce269005e8f2a6652bad64a000725ff1624fe/docs/assembly.rst#access-to-external-variables-functions-and-libraries │ 2..159 + 3 │ f.address := newAddress │ 160..184 + 4 │ f.selector := newSelector │ 185..211 + 5 │ } │ 212..213 + +Errors: # 1 total + - > + Error: Expected YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/input.sol:3:4] + │ + 3 │ ╭─▶ f.address := newAddress + 4 │ ├─▶ f.selector := newSelector + │ │ + │ ╰─────────────────────────────────── Error occurred here. + ───╯ + +Tree: + - (YulStatements): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (item꞉ YulStatement) ► (variant꞉ YulBlock): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (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) + - (leading_trivia꞉ Whitespace): "\t" # (2..3) + - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (item꞉ YulIdentifier): "f" # (161..162) + - (separator꞉ Period): "." # (162..163) + - (SKIPPED): "address := newAddress\n\tf.selector := newSelector\n" # (163..212) + - (close_brace꞉ CloseBrace): "}" # (212..213) + - (trailing_trivia꞉ EndOfLine): "\n" # (213..214) diff --git a/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/input.sol b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/input.sol new file mode 100644 index 0000000000..95a1e88de0 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/input.sol @@ -0,0 +1,5 @@ +{ + // https://github.com/ethereum/solidity/blob/ebdce269005e8f2a6652bad64a000725ff1624fe/docs/assembly.rst#access-to-external-variables-functions-and-libraries + f.address := newAddress + f.selector := newSelector +} From 123fc17418da73678e24aead829bc66430f70e96 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Wed, 24 Apr 2024 09:53:12 +0100 Subject: [PATCH 2/4] fix: Support `.address` access in Yul paths --- .changeset/odd-emus-compete.md | 5 ++ .../inputs/language/src/definition.rs | 12 ++- .../slang_solidity/src/generated/kinds.rs | 1 + .../slang_solidity/src/generated/language.rs | 29 +++++-- .../generated/napi_interface/ast_selectors.rs | 14 +++- .../tests/src/cst_output/generated/mod.rs | 3 +- .../package/src/ast/generated/ast_types.ts | 32 ++++++- .../npm/package/src/generated/index.d.ts | 1 + .../outputs/spec/generated/grammar.ebnf | 5 +- .../public/06-yul/02-yul-expressions.md | 8 +- .../generated/public/supported-versions.md | 4 +- .../generated/0.4.11-success.yml | 7 +- .../generated/0.5.5-failure.yml | 7 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.18-failure.yml | 17 ++++ .../generated/0.8.24-failure.yml | 17 ++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.18-failure.yml | 17 ---- .../generated/0.8.18-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.5.0-success.yml | 2 +- .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.5.0-success.yml | 2 +- .../generated/0.8.10-success.yml | 19 +++++ .../generated/0.8.10-success.yml | 19 +++++ .../function_def/generated/0.4.11-success.yml | 12 +-- .../generated/0.4.11-failure.yml | 17 ++-- .../generated/0.4.12-failure.yml | 17 ++-- .../generated/0.5.0-failure.yml | 17 ++-- .../generated/0.6.0-failure.yml | 17 ++-- .../generated/0.8.10-failure.yml | 84 +++++++++++++++++++ .../generated/0.8.18-failure.yml | 17 ++-- .../generated/0.8.24-failure.yml | 17 ++-- .../generated/0.8.7-failure.yml | 17 ++-- .../generated/0.8.10-failure.yml | 17 ++++ .../generated/0.4.11-success.yml | 2 +- .../generated/0.8.10-failure.yml | 17 ++++ .../generated/0.4.11-success.yml | 9 +- .../generated/0.4.11-success.yml | 12 +-- .../generated/0.5.8-success.yml | 9 +- .../generated/0.7.0-success.yml | 12 +-- .../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 | 11 +-- .../generated/0.5.8-success.yml | 30 ++++--- .../generated/0.7.0-failure.yml | 11 +-- .../generated/0.8.10-success.yml | 54 ++++++++++++ .../generated/0.4.11-success.yml | 5 +- .../generated/0.5.5-failure.yml | 5 +- .../keyword_bytes/generated/0.7.1-success.yml | 7 +- .../generated/0.7.1-success.yml | 7 +- .../generated/0.7.1-success.yml | 7 +- .../generated/0.4.11-success.yml | 7 +- .../generated/0.7.1-success.yml | 7 +- .../generated/0.4.11-success.yml | 7 +- .../generated/0.7.1-success.yml | 7 +- .../generated/0.7.1-success.yml | 7 +- 150 files changed, 1916 insertions(+), 194 deletions(-) create mode 100644 .changeset/odd-emus-compete.md create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_address/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.10-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.10-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.10-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.8.10-success.yml diff --git a/.changeset/odd-emus-compete.md b/.changeset/odd-emus-compete.md new file mode 100644 index 0000000000..c65967f36b --- /dev/null +++ b/.changeset/odd-emus-compete.md @@ -0,0 +1,5 @@ +--- +"@nomicfoundation/slang": patch +--- + +Support `.address` built-in access in Yul paths diff --git a/crates/solidity/inputs/language/src/definition.rs b/crates/solidity/inputs/language/src/definition.rs index 53471ab936..1c4a44403e 100644 --- a/crates/solidity/inputs/language/src/definition.rs +++ b/crates/solidity/inputs/language/src/definition.rs @@ -4349,9 +4349,19 @@ codegen_language_macros::compile!(Language( ), Separated( name = YulIdentifierPath, - reference = YulIdentifier, + reference = YulPathComponent, separator = Period ), + Enum( + name = YulPathComponent, + variants = [ + EnumVariant(reference = YulIdentifier), + EnumVariant( + reference = YulBuiltInFunction, + enabled = From("0.8.10") + ) + ] + ), Token( name = YulIdentifier, definitions = [ 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 e1621abd0f..354aba7d90 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/kinds.rs @@ -221,6 +221,7 @@ pub enum RuleKind { YulLiteral, YulParameters, YulParametersDeclaration, + YulPathComponent, 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 08e4570aed..f44019689f 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs @@ -57,6 +57,7 @@ pub struct Language { pub(crate) version_is_at_least_0_8_4: bool, pub(crate) version_is_at_least_0_8_7: bool, pub(crate) version_is_at_least_0_8_8: bool, + pub(crate) version_is_at_least_0_8_10: bool, pub(crate) version_is_at_least_0_8_13: bool, pub(crate) version_is_at_least_0_8_18: bool, pub(crate) version_is_at_least_0_8_19: bool, @@ -194,6 +195,7 @@ impl Language { version_is_at_least_0_8_4: Version::new(0, 8, 4) <= version, version_is_at_least_0_8_7: Version::new(0, 8, 7) <= version, version_is_at_least_0_8_8: Version::new(0, 8, 8) <= version, + version_is_at_least_0_8_10: Version::new(0, 8, 10) <= version, version_is_at_least_0_8_13: Version::new(0, 8, 13) <= version, version_is_at_least_0_8_18: Version::new(0, 8, 18) <= version, version_is_at_least_0_8_19: Version::new(0, 8, 19) <= version, @@ -6534,13 +6536,7 @@ impl Language { SeparatedHelper::run::<_, LexicalContextType::Yul>( input, self, - |input| { - self.parse_token_with_trivia::( - input, - TokenKind::YulIdentifier, - ) - .with_label(NodeLabel::Item) - }, + |input| self.yul_path_component(input).with_label(NodeLabel::Item), TokenKind::Period, NodeLabel::Separator, ) @@ -6701,6 +6697,24 @@ impl Language { .with_kind(RuleKind::YulParametersDeclaration) } + #[allow(unused_assignments, unused_parens)] + fn yul_path_component(&self, input: &mut ParserContext<'_>) -> ParserResult { + ChoiceHelper::run(input, |mut choice, input| { + let result = self.parse_token_with_trivia::( + input, + TokenKind::YulIdentifier, + ); + choice.consider(input, result)?; + if self.version_is_at_least_0_8_10 { + let result = self.yul_built_in_function(input); + choice.consider(input, result)?; + } + choice.finish(input) + }) + .with_label(NodeLabel::Variant) + .with_kind(RuleKind::YulPathComponent) + } + #[allow(unused_assignments, unused_parens)] fn yul_return_variables(&self, input: &mut ParserContext<'_>) -> ParserResult { SeparatedHelper::run::<_, LexicalContextType::Yul>( @@ -9355,6 +9369,7 @@ impl Language { RuleKind::YulParametersDeclaration => { Self::yul_parameters_declaration.parse(self, input) } + RuleKind::YulPathComponent => Self::yul_path_component.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 daad7e00b1..58778d2cff 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 @@ -1531,6 +1531,7 @@ pub fn select_choice( RuleKind::YulAssignmentOperator => selector.yul_assignment_operator()?, RuleKind::YulSwitchCase => selector.yul_switch_case()?, RuleKind::YulExpression => selector.yul_expression()?, + RuleKind::YulPathComponent => selector.yul_path_component()?, RuleKind::YulBuiltInFunction => selector.yul_built_in_function()?, RuleKind::YulLiteral => selector.yul_literal()?, _ => { @@ -2110,6 +2111,15 @@ impl Selector { } } +impl Selector { + fn yul_path_component(&mut self) -> Result> { + self.select(|node| { + node.is_rule_with_kind(RuleKind::YulBuiltInFunction) + || node.is_token_with_kind(TokenKind::YulIdentifier) + }) + } +} + impl Selector { fn yul_built_in_function(&mut self) -> Result> { self.select(|node| { @@ -3131,7 +3141,7 @@ impl Selector { let mut separators = vec![]; if let Some(first) = - self.try_select(|node| node.is_token_with_kind(TokenKind::YulIdentifier))? + self.try_select(|node| node.is_rule_with_kind(RuleKind::YulPathComponent))? { separated.push(first); @@ -3141,7 +3151,7 @@ impl Selector { separators.push(separator); separated - .push(self.select(|node| node.is_token_with_kind(TokenKind::YulIdentifier))?); + .push(self.select(|node| node.is_rule_with_kind(RuleKind::YulPathComponent))?); } } diff --git a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs index d8f13e156f..375c73ff70 100644 --- a/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs +++ b/crates/solidity/outputs/cargo/tests/src/cst_output/generated/mod.rs @@ -55,7 +55,7 @@ mod yul_leave_statement; mod yul_statements; mod yul_variable_declaration_statement; -pub const VERSION_BREAKS: [Version; 32] = [ +pub const VERSION_BREAKS: [Version; 33] = [ Version::new(0, 4, 11), Version::new(0, 4, 12), Version::new(0, 4, 14), @@ -83,6 +83,7 @@ pub const VERSION_BREAKS: [Version; 32] = [ Version::new(0, 8, 4), Version::new(0, 8, 7), Version::new(0, 8, 8), + Version::new(0, 8, 10), Version::new(0, 8, 13), Version::new(0, 8, 18), Version::new(0, 8, 19), 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 56cfeeae4c..22cb095112 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 @@ -5110,6 +5110,31 @@ export class YulExpression { } } +export class YulPathComponent { + private readonly fetch: () => YulBuiltInFunction | TokenNode = once(() => { + const variant = ast_internal.selectChoice(this.cst); + + switch (variant.kind) { + case RuleKind.YulBuiltInFunction: + return new YulBuiltInFunction(variant as RuleNode); + + case TokenKind.YulIdentifier: + return variant as TokenNode; + + default: + assert.fail(`Unexpected variant: ${variant.kind}`); + } + }); + + public constructor(public readonly cst: RuleNode) { + assertKind(this.cst.kind, RuleKind.YulPathComponent); + } + + public get variant(): YulBuiltInFunction | TokenNode { + return this.fetch(); + } +} + export class YulBuiltInFunction { private readonly fetch: () => TokenNode = once(() => { const variant = ast_internal.selectChoice(this.cst); @@ -6024,14 +6049,17 @@ export class YulIdentifierPath { private readonly fetch = once(() => { const [items, separators] = ast_internal.selectSeparated(this.cst); - return { items: items as TokenNode[], separators: separators as TokenNode[] }; + return { + items: items.map((item) => new YulPathComponent(item as RuleNode)), + separators: separators as TokenNode[], + }; }); public constructor(public readonly cst: RuleNode) { assertKind(this.cst.kind, RuleKind.YulIdentifierPath); } - public get items(): readonly TokenNode[] { + public get items(): readonly YulPathComponent[] { return this.fetch().items; } 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 8a3ba48a45..b2660c8142 100644 --- a/crates/solidity/outputs/npm/package/src/generated/index.d.ts +++ b/crates/solidity/outputs/npm/package/src/generated/index.d.ts @@ -213,6 +213,7 @@ export namespace kinds { YulLiteral = "YulLiteral", YulParameters = "YulParameters", YulParametersDeclaration = "YulParametersDeclaration", + YulPathComponent = "YulPathComponent", 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 c4b9dc8ec7..5d66cf3f88 100644 --- a/crates/solidity/outputs/spec/generated/grammar.ebnf +++ b/crates/solidity/outputs/spec/generated/grammar.ebnf @@ -1437,7 +1437,10 @@ YulArguments = (YulExpression (COMMA YulExpression)*)?; YulIdentifierPaths = YulIdentifierPath (COMMA YulIdentifierPath)*; -YulIdentifierPath = YUL_IDENTIFIER (PERIOD YUL_IDENTIFIER)*; +YulIdentifierPath = YulPathComponent (PERIOD YulPathComponent)*; + +YulPathComponent = YUL_IDENTIFIER + | YulBuiltInFunction; (* Introduced in 0.8.10 *) (* Introduced in 0.5.8 and deprecated in 0.7.0. *) YUL_IDENTIFIER = «IDENTIFIER_START» («IDENTIFIER_PART» | ".")*; 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 5f8e47fc2c..2bb6285347 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 @@ -26,7 +26,13 @@ ``` -
YulIdentifierPath = YUL_IDENTIFIER (PERIOD YUL_IDENTIFIER)*;
+
YulIdentifierPath = YulPathComponent (PERIOD YulPathComponent)*;
+ +```{ .ebnf #YulPathComponent } + +``` + +
YulPathComponent = YUL_IDENTIFIER
| YulBuiltInFunction; (* Introduced in 0.8.10 *)
```{ .ebnf #YulIdentifier } diff --git a/crates/solidity/outputs/spec/generated/public/supported-versions.md b/crates/solidity/outputs/spec/generated/public/supported-versions.md index b299a186c5..fbec4023b4 100644 --- a/crates/solidity/outputs/spec/generated/public/supported-versions.md +++ b/crates/solidity/outputs/spec/generated/public/supported-versions.md @@ -4,6 +4,6 @@ This specification compiles information from 80 publicly released versions of So `0.4.11` `0.4.12` `0.4.13` `0.4.14` `0.4.15` `0.4.16` `0.4.17` `0.4.18` `0.4.19` `0.4.20` `0.4.21` `0.4.22` `0.4.23` `0.4.24` `0.4.25` `0.4.26` `0.5.0` `0.5.1` `0.5.2` `0.5.3` `0.5.4` `0.5.5` `0.5.6` `0.5.7` `0.5.8` `0.5.9` `0.5.10` `0.5.11` `0.5.12` `0.5.13` `0.5.14` `0.5.15` `0.5.16` `0.5.17` `0.6.0` `0.6.1` `0.6.2` `0.6.3` `0.6.4` `0.6.5` `0.6.6` `0.6.7` `0.6.8` `0.6.9` `0.6.10` `0.6.11` `0.6.12` `0.7.0` `0.7.1` `0.7.2` `0.7.3` `0.7.4` `0.7.5` `0.7.6` `0.8.0` `0.8.1` `0.8.2` `0.8.3` `0.8.4` `0.8.5` `0.8.6` `0.8.7` `0.8.8` `0.8.9` `0.8.10` `0.8.11` `0.8.12` `0.8.13` `0.8.14` `0.8.15` `0.8.16` `0.8.17` `0.8.18` `0.8.19` `0.8.20` `0.8.21` `0.8.22` `0.8.23` `0.8.24` `0.8.25` -Among which, 32 versions have breaking changes: +Among which, 33 versions have breaking changes: -`0.4.11` `0.4.12` `0.4.14` `0.4.16` `0.4.21` `0.4.22` `0.4.25` `0.5.0` `0.5.3` `0.5.5` `0.5.8` `0.5.10` `0.5.12` `0.5.14` `0.6.0` `0.6.2` `0.6.5` `0.6.7` `0.6.8` `0.6.11` `0.7.0` `0.7.1` `0.7.4` `0.8.0` `0.8.4` `0.8.7` `0.8.8` `0.8.13` `0.8.18` `0.8.19` `0.8.22` `0.8.24` +`0.4.11` `0.4.12` `0.4.14` `0.4.16` `0.4.21` `0.4.22` `0.4.25` `0.5.0` `0.5.3` `0.5.5` `0.5.8` `0.5.10` `0.5.12` `0.5.14` `0.6.0` `0.6.2` `0.6.5` `0.6.7` `0.6.8` `0.6.11` `0.7.0` `0.7.1` `0.7.4` `0.8.0` `0.8.4` `0.8.7` `0.8.8` `0.8.10` `0.8.13` `0.8.18` `0.8.19` `0.8.22` `0.8.24` 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 4e97c74b33..d763257766 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 @@ -10,9 +10,10 @@ 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) - - (leading_trivia꞉ SingleLineComment): '// ColonEqual was two separate tokens before "0.5....' # (0..53) - - (leading_trivia꞉ EndOfLine): "\n" # (53..54) - - (item꞉ YulIdentifier): "foo" # (54..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) + - (variant꞉ YulIdentifier): "foo" # (54..57) - (assignment꞉ YulAssignmentOperator) ► (variant꞉ YulColonAndEqual): # " : =" (57..61) - (leading_trivia꞉ Whitespace): " " # (57..58) - (colon꞉ Colon): ":" # (58..59) 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 c5d35509ac..ceced22db8 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 @@ -18,7 +18,8 @@ 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) - - (leading_trivia꞉ SingleLineComment): '// ColonEqual was two separate tokens before "0.5....' # (0..53) - - (leading_trivia꞉ EndOfLine): "\n" # (53..54) - - (item꞉ YulIdentifier): "foo" # (54..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) + - (variant꞉ YulIdentifier): "foo" # (54..57) - (SKIPPED): " : = 0\n" # (57..64) 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 new file mode 100644 index 0000000000..e067245ae9 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ add := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "add := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "add" (0..3) + - (item꞉ YulIdentifierPath): # "add" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddKeyword): "add" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..53b2386f9c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ addmod := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "addmod := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "addmod" (0..6) + - (item꞉ YulIdentifierPath): # "addmod" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddModKeyword): "addmod" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 new file mode 100644 index 0000000000..296ef05e35 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_address/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ address := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "address := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "address" (0..7) + - (item꞉ YulIdentifierPath): # "address" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddressKeyword): "address" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 new file mode 100644 index 0000000000..3858e9e9d1 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ and := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "and := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "and" (0..3) + - (item꞉ YulIdentifierPath): # "and" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAndKeyword): "and" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..bd13c58809 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ balance := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "balance := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "balance" (0..7) + - (item꞉ YulIdentifierPath): # "balance" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulBalanceKeyword): "balance" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 d20f6869df..349f7d909d 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "basefee := 0\n" (0..13) - (names꞉ YulIdentifierPaths): # "basefee" (0..7) - (item꞉ YulIdentifierPath): # "basefee" (0..7) - - (item꞉ YulIdentifier): "basefee" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "basefee" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) - (variant꞉ ColonEqual): ":=" # (8..10) 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 new file mode 100644 index 0000000000..b955968da2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ basefee := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "basefee := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "basefee" (0..7) + - (item꞉ YulIdentifierPath): # "basefee" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulBaseFeeKeyword): "basefee" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 new file mode 100644 index 0000000000..69fb35f25b --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ blockhash := 0 │ 0..14 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "blockhash := 0\n" (0..15) + - (names꞉ YulIdentifierPaths): # "blockhash" (0..9) + - (item꞉ YulIdentifierPath): # "blockhash" (0..9) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulBlockHashKeyword): "blockhash" # (0..9) + - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ ColonEqual): ":=" # (10..12) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ YulDecimalLiteral): "0" # (13..14) + - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) 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 new file mode 100644 index 0000000000..f705594b43 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ byte := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "byte := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "byte" (0..4) + - (item꞉ YulIdentifierPath): # "byte" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulByteKeyword): "byte" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..ea83491a84 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ call := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "call := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "call" (0..4) + - (item꞉ YulIdentifierPath): # "call" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallKeyword): "call" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..6ac439cba2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ callcode := 0 │ 0..13 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "callcode := 0\n" (0..14) + - (names꞉ YulIdentifierPaths): # "callcode" (0..8) + - (item꞉ YulIdentifierPath): # "callcode" (0..8) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallCodeKeyword): "callcode" # (0..8) + - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ ColonEqual): ":=" # (9..11) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ YulDecimalLiteral): "0" # (12..13) + - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) 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 new file mode 100644 index 0000000000..c646e6488e --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ calldatacopy := 0 │ 0..17 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "calldatacopy := 0\n" (0..18) + - (names꞉ YulIdentifierPaths): # "calldatacopy" (0..12) + - (item꞉ YulIdentifierPath): # "calldatacopy" (0..12) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallDataCopyKeyword): "calldatacopy" # (0..12) + - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ ColonEqual): ":=" # (13..15) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) + - (leading_trivia꞉ Whitespace): " " # (15..16) + - (variant꞉ YulDecimalLiteral): "0" # (16..17) + - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) 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 new file mode 100644 index 0000000000..9ab3ab2847 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ calldataload := 0 │ 0..17 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "calldataload := 0\n" (0..18) + - (names꞉ YulIdentifierPaths): # "calldataload" (0..12) + - (item꞉ YulIdentifierPath): # "calldataload" (0..12) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallDataLoadKeyword): "calldataload" # (0..12) + - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ ColonEqual): ":=" # (13..15) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) + - (leading_trivia꞉ Whitespace): " " # (15..16) + - (variant꞉ YulDecimalLiteral): "0" # (16..17) + - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) 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 new file mode 100644 index 0000000000..faecbffc1c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ calldatasize := 0 │ 0..17 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "calldatasize := 0\n" (0..18) + - (names꞉ YulIdentifierPaths): # "calldatasize" (0..12) + - (item꞉ YulIdentifierPath): # "calldatasize" (0..12) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallDataSizeKeyword): "calldatasize" # (0..12) + - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ ColonEqual): ":=" # (13..15) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) + - (leading_trivia꞉ Whitespace): " " # (15..16) + - (variant꞉ YulDecimalLiteral): "0" # (16..17) + - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) 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 new file mode 100644 index 0000000000..ba2328af40 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ caller := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "caller := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "caller" (0..6) + - (item꞉ YulIdentifierPath): # "caller" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallerKeyword): "caller" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 new file mode 100644 index 0000000000..57423d15f0 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ callvalue := 0 │ 0..14 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "callvalue := 0\n" (0..15) + - (names꞉ YulIdentifierPaths): # "callvalue" (0..9) + - (item꞉ YulIdentifierPath): # "callvalue" (0..9) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCallValueKeyword): "callvalue" # (0..9) + - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ ColonEqual): ":=" # (10..12) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ YulDecimalLiteral): "0" # (13..14) + - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) 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 1c8ed5b859..3cc27db005 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "chainid := 0\n" (0..13) - (names꞉ YulIdentifierPaths): # "chainid" (0..7) - (item꞉ YulIdentifierPath): # "chainid" (0..7) - - (item꞉ YulIdentifier): "chainid" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "chainid" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) - (variant꞉ ColonEqual): ":=" # (8..10) 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 new file mode 100644 index 0000000000..1971b774fd --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ chainid := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "chainid := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "chainid" (0..7) + - (item꞉ YulIdentifierPath): # "chainid" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulChainIdKeyword): "chainid" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 new file mode 100644 index 0000000000..f4f61d034d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ coinbase := 0 │ 0..13 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "coinbase := 0\n" (0..14) + - (names꞉ YulIdentifierPaths): # "coinbase" (0..8) + - (item꞉ YulIdentifierPath): # "coinbase" (0..8) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCoinBaseKeyword): "coinbase" # (0..8) + - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ ColonEqual): ":=" # (9..11) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ YulDecimalLiteral): "0" # (12..13) + - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) 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 new file mode 100644 index 0000000000..6272da81af --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ create := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "create := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "create" (0..6) + - (item꞉ YulIdentifierPath): # "create" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCreateKeyword): "create" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 c0bcae4673..8f3753661a 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "create2 := 0\n" (0..13) - (names꞉ YulIdentifierPaths): # "create2" (0..7) - (item꞉ YulIdentifierPath): # "create2" (0..7) - - (item꞉ YulIdentifier): "create2" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "create2" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) - (variant꞉ ColonEqual): ":=" # (8..10) 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 new file mode 100644 index 0000000000..f0cea38d6c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ create2 := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "create2 := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "create2" (0..7) + - (item꞉ YulIdentifierPath): # "create2" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulCreate2Keyword): "create2" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 new file mode 100644 index 0000000000..60f5a7c78d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ delegatecall := 0 │ 0..17 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "delegatecall := 0\n" (0..18) + - (names꞉ YulIdentifierPaths): # "delegatecall" (0..12) + - (item꞉ YulIdentifierPath): # "delegatecall" (0..12) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulDelegateCallKeyword): "delegatecall" # (0..12) + - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ ColonEqual): ":=" # (13..15) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) + - (leading_trivia꞉ Whitespace): " " # (15..16) + - (variant꞉ YulDecimalLiteral): "0" # (16..17) + - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) 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 new file mode 100644 index 0000000000..4ebaaa7ae8 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ difficulty := 0 │ 0..15 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "difficulty := 0\n" (0..16) + - (names꞉ YulIdentifierPaths): # "difficulty" (0..10) + - (item꞉ YulIdentifierPath): # "difficulty" (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulDifficultyKeyword): "difficulty" # (0..10) + - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ ColonEqual): ":=" # (11..13) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) + - (leading_trivia꞉ Whitespace): " " # (13..14) + - (variant꞉ YulDecimalLiteral): "0" # (14..15) + - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml new file mode 100644 index 0000000000..a6ae16ee30 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ difficulty := 0 │ 0..15 + +Errors: # 1 total + - > + Error: Expected YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulXorKeyword. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/input.sol:1:1] + │ + 1 │ difficulty := 0 + │ ────────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "difficulty := 0\n" # (0..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml new file mode 100644 index 0000000000..b11d2e409e --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ difficulty := 0 │ 0..15 + +Errors: # 1 total + - > + Error: Expected YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlobBaseFeeKeyword or YulBlobHashKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMCopyKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTLoadKeyword or YulTStoreKeyword or YulTimestampKeyword or YulXorKeyword. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/input.sol:1:1] + │ + 1 │ difficulty := 0 + │ ────────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "difficulty := 0\n" # (0..16) 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 new file mode 100644 index 0000000000..f6134ed8ee --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ div := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "div := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "div" (0..3) + - (item꞉ YulIdentifierPath): # "div" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulDivKeyword): "div" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..bbca38060c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ eq := 0 │ 0..7 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "eq := 0\n" (0..8) + - (names꞉ YulIdentifierPaths): # "eq" (0..2) + - (item꞉ YulIdentifierPath): # "eq" (0..2) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulEqKeyword): "eq" # (0..2) + - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) + - (leading_trivia꞉ Whitespace): " " # (2..3) + - (variant꞉ ColonEqual): ":=" # (3..5) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ YulDecimalLiteral): "0" # (6..7) + - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) 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 new file mode 100644 index 0000000000..b83683fc94 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ exp := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "exp := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "exp" (0..3) + - (item꞉ YulIdentifierPath): # "exp" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExpKeyword): "exp" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..cd40e8dae7 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ extcodecopy := 0 │ 0..16 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "extcodecopy := 0\n" (0..17) + - (names꞉ YulIdentifierPaths): # "extcodecopy" (0..11) + - (item꞉ YulIdentifierPath): # "extcodecopy" (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExtCodeCopyKeyword): "extcodecopy" # (0..11) + - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ ColonEqual): ":=" # (12..14) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) + - (leading_trivia꞉ Whitespace): " " # (14..15) + - (variant꞉ YulDecimalLiteral): "0" # (15..16) + - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) 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 9688179af7..87f7875cd2 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "extcodehash := 0\n" (0..17) - (names꞉ YulIdentifierPaths): # "extcodehash" (0..11) - (item꞉ YulIdentifierPath): # "extcodehash" (0..11) - - (item꞉ YulIdentifier): "extcodehash" # (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "extcodehash" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) - (variant꞉ ColonEqual): ":=" # (12..14) 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 new file mode 100644 index 0000000000..5c863beb0c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ extcodehash := 0 │ 0..16 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "extcodehash := 0\n" (0..17) + - (names꞉ YulIdentifierPaths): # "extcodehash" (0..11) + - (item꞉ YulIdentifierPath): # "extcodehash" (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExtCodeHashKeyword): "extcodehash" # (0..11) + - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ ColonEqual): ":=" # (12..14) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) + - (leading_trivia꞉ Whitespace): " " # (14..15) + - (variant꞉ YulDecimalLiteral): "0" # (15..16) + - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) 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 new file mode 100644 index 0000000000..f1962c2a77 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ extcodesize := 0 │ 0..16 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "extcodesize := 0\n" (0..17) + - (names꞉ YulIdentifierPaths): # "extcodesize" (0..11) + - (item꞉ YulIdentifierPath): # "extcodesize" (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulExtCodeSizeKeyword): "extcodesize" # (0..11) + - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ ColonEqual): ":=" # (12..14) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) + - (leading_trivia꞉ Whitespace): " " # (14..15) + - (variant꞉ YulDecimalLiteral): "0" # (15..16) + - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) 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 new file mode 100644 index 0000000000..7a792e5b83 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gas := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "gas := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "gas" (0..3) + - (item꞉ YulIdentifierPath): # "gas" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGasKeyword): "gas" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..c921f0c2d5 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gaslimit := 0 │ 0..13 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "gaslimit := 0\n" (0..14) + - (names꞉ YulIdentifierPaths): # "gaslimit" (0..8) + - (item꞉ YulIdentifierPath): # "gaslimit" (0..8) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGasLimitKeyword): "gaslimit" # (0..8) + - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ ColonEqual): ":=" # (9..11) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ YulDecimalLiteral): "0" # (12..13) + - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) 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 new file mode 100644 index 0000000000..98d9aef379 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gasprice := 0 │ 0..13 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "gasprice := 0\n" (0..14) + - (names꞉ YulIdentifierPaths): # "gasprice" (0..8) + - (item꞉ YulIdentifierPath): # "gasprice" (0..8) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGasPriceKeyword): "gasprice" # (0..8) + - (assignment꞉ YulAssignmentOperator): # " :=" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ ColonEqual): ":=" # (9..11) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ YulDecimalLiteral): "0" # (12..13) + - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) 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 new file mode 100644 index 0000000000..a6259501c3 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gt := 0 │ 0..7 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "gt := 0\n" (0..8) + - (names꞉ YulIdentifierPaths): # "gt" (0..2) + - (item꞉ YulIdentifierPath): # "gt" (0..2) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulGtKeyword): "gt" # (0..2) + - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) + - (leading_trivia꞉ Whitespace): " " # (2..3) + - (variant꞉ ColonEqual): ":=" # (3..5) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ YulDecimalLiteral): "0" # (6..7) + - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) 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 new file mode 100644 index 0000000000..d65ea41556 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ invalid := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "invalid := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "invalid" (0..7) + - (item꞉ YulIdentifierPath): # "invalid" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulInvalidKeyword): "invalid" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 new file mode 100644 index 0000000000..b5282f1830 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ iszero := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "iszero := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "iszero" (0..6) + - (item꞉ YulIdentifierPath): # "iszero" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulIsZeroKeyword): "iszero" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 b0742af53a..b49b6e1aa9 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "keccak256 := 0\n" (0..15) - (names꞉ YulIdentifierPaths): # "keccak256" (0..9) - (item꞉ YulIdentifierPath): # "keccak256" (0..9) - - (item꞉ YulIdentifier): "keccak256" # (0..9) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "keccak256" # (0..9) - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) - (leading_trivia꞉ Whitespace): " " # (9..10) - (variant꞉ ColonEqual): ":=" # (10..12) 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 new file mode 100644 index 0000000000..f06b4058da --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ keccak256 := 0 │ 0..14 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "keccak256 := 0\n" (0..15) + - (names꞉ YulIdentifierPaths): # "keccak256" (0..9) + - (item꞉ YulIdentifierPath): # "keccak256" (0..9) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulKeccak256Keyword): "keccak256" # (0..9) + - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ ColonEqual): ":=" # (10..12) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ YulDecimalLiteral): "0" # (13..14) + - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) 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 new file mode 100644 index 0000000000..a72035f2ac --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log0 := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "log0 := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "log0" (0..4) + - (item꞉ YulIdentifierPath): # "log0" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog0Keyword): "log0" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..d759f1de90 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log1 := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "log1 := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "log1" (0..4) + - (item꞉ YulIdentifierPath): # "log1" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog1Keyword): "log1" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..1a5acc2dd8 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log2 := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "log2 := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "log2" (0..4) + - (item꞉ YulIdentifierPath): # "log2" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog2Keyword): "log2" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..2b69ec948c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log3 := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "log3 := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "log3" (0..4) + - (item꞉ YulIdentifierPath): # "log3" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog3Keyword): "log3" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..9e7aa55f33 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log4 := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "log4 := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "log4" (0..4) + - (item꞉ YulIdentifierPath): # "log4" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLog4Keyword): "log4" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..5f6be299cc --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ lt := 0 │ 0..7 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "lt := 0\n" (0..8) + - (names꞉ YulIdentifierPaths): # "lt" (0..2) + - (item꞉ YulIdentifierPath): # "lt" (0..2) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulLtKeyword): "lt" # (0..2) + - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) + - (leading_trivia꞉ Whitespace): " " # (2..3) + - (variant꞉ ColonEqual): ":=" # (3..5) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ YulDecimalLiteral): "0" # (6..7) + - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) 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 new file mode 100644 index 0000000000..b15aa02333 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mload := 0 │ 0..10 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "mload := 0\n" (0..11) + - (names꞉ YulIdentifierPaths): # "mload" (0..5) + - (item꞉ YulIdentifierPath): # "mload" (0..5) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMLoadKeyword): "mload" # (0..5) + - (assignment꞉ YulAssignmentOperator): # " :=" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ ColonEqual): ":=" # (6..8) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ YulDecimalLiteral): "0" # (9..10) + - (trailing_trivia꞉ EndOfLine): "\n" # (10..11) 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 new file mode 100644 index 0000000000..a3f9a42297 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mod := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "mod := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "mod" (0..3) + - (item꞉ YulIdentifierPath): # "mod" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulModKeyword): "mod" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..bdccc01048 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ msize := 0 │ 0..10 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "msize := 0\n" (0..11) + - (names꞉ YulIdentifierPaths): # "msize" (0..5) + - (item꞉ YulIdentifierPath): # "msize" (0..5) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMSizeKeyword): "msize" # (0..5) + - (assignment꞉ YulAssignmentOperator): # " :=" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ ColonEqual): ":=" # (6..8) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ YulDecimalLiteral): "0" # (9..10) + - (trailing_trivia꞉ EndOfLine): "\n" # (10..11) 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 new file mode 100644 index 0000000000..369bd20f24 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mstore := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "mstore := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "mstore" (0..6) + - (item꞉ YulIdentifierPath): # "mstore" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMStoreKeyword): "mstore" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 new file mode 100644 index 0000000000..01184bd263 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mstore8 := 0 │ 0..12 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "mstore8 := 0\n" (0..13) + - (names꞉ YulIdentifierPaths): # "mstore8" (0..7) + - (item꞉ YulIdentifierPath): # "mstore8" (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMStore8Keyword): "mstore8" # (0..7) + - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ ColonEqual): ":=" # (8..10) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ YulDecimalLiteral): "0" # (11..12) + - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) 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 new file mode 100644 index 0000000000..f551801669 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mul := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "mul := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "mul" (0..3) + - (item꞉ YulIdentifierPath): # "mul" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMulKeyword): "mul" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..2311f5bdb6 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mulmod := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "mulmod := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "mulmod" (0..6) + - (item꞉ YulIdentifierPath): # "mulmod" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulMulModKeyword): "mulmod" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 new file mode 100644 index 0000000000..dacdb4ca54 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ not := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "not := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "not" (0..3) + - (item꞉ YulIdentifierPath): # "not" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulNotKeyword): "not" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..1b0aa3ef88 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ number := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "number := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "number" (0..6) + - (item꞉ YulIdentifierPath): # "number" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulNumberKeyword): "number" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 new file mode 100644 index 0000000000..408632788b --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ or := 0 │ 0..7 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "or := 0\n" (0..8) + - (names꞉ YulIdentifierPaths): # "or" (0..2) + - (item꞉ YulIdentifierPath): # "or" (0..2) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulOrKeyword): "or" # (0..2) + - (assignment꞉ YulAssignmentOperator): # " :=" (2..5) + - (leading_trivia꞉ Whitespace): " " # (2..3) + - (variant꞉ ColonEqual): ":=" # (3..5) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ YulDecimalLiteral): "0" # (6..7) + - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) 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 new file mode 100644 index 0000000000..9c2cbba020 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ origin := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "origin := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "origin" (0..6) + - (item꞉ YulIdentifierPath): # "origin" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulOriginKeyword): "origin" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 new file mode 100644 index 0000000000..33b2318ff3 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ pop := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "pop := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "pop" (0..3) + - (item꞉ YulIdentifierPath): # "pop" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulPopKeyword): "pop" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 3e89355a69..381d5d1ab9 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "prevrandao := 0\n" (0..16) - (names꞉ YulIdentifierPaths): # "prevrandao" (0..10) - (item꞉ YulIdentifierPath): # "prevrandao" (0..10) - - (item꞉ YulIdentifier): "prevrandao" # (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "prevrandao" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) - (variant꞉ ColonEqual): ":=" # (11..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml deleted file mode 100644 index 70d0fc741e..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ prevrandao := 0 │ 0..15 - -Errors: # 1 total - - > - Error: Expected YulIdentifier. - ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/input.sol:1:1] - │ - 1 │ prevrandao := 0 - │ ────────┬─────── - │ ╰───────── Error occurred here. - ───╯ - -Tree: - - (SKIPPED): "prevrandao := 0\n" # (0..16) 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 new file mode 100644 index 0000000000..ba30fc04ad --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ prevrandao := 0 │ 0..15 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "prevrandao := 0\n" (0..16) + - (names꞉ YulIdentifierPaths): # "prevrandao" (0..10) + - (item꞉ YulIdentifierPath): # "prevrandao" (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulPrevRandaoKeyword): "prevrandao" # (0..10) + - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ ColonEqual): ":=" # (11..13) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) + - (leading_trivia꞉ Whitespace): " " # (13..14) + - (variant꞉ YulDecimalLiteral): "0" # (14..15) + - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) 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 new file mode 100644 index 0000000000..cf5e5d6083 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ return := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "return := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "return" (0..6) + - (item꞉ YulIdentifierPath): # "return" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulReturnKeyword): "return" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 17e465c0ee..06b0c12eff 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "returndatacopy := 0\n" (0..20) - (names꞉ YulIdentifierPaths): # "returndatacopy" (0..14) - (item꞉ YulIdentifierPath): # "returndatacopy" (0..14) - - (item꞉ YulIdentifier): "returndatacopy" # (0..14) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatacopy" # (0..14) - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) - (leading_trivia꞉ Whitespace): " " # (14..15) - (variant꞉ ColonEqual): ":=" # (15..17) 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 new file mode 100644 index 0000000000..d8df769e8d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ returndatacopy := 0 │ 0..19 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "returndatacopy := 0\n" (0..20) + - (names꞉ YulIdentifierPaths): # "returndatacopy" (0..14) + - (item꞉ YulIdentifierPath): # "returndatacopy" (0..14) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulReturnDataCopyKeyword): "returndatacopy" # (0..14) + - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) + - (leading_trivia꞉ Whitespace): " " # (14..15) + - (variant꞉ ColonEqual): ":=" # (15..17) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (17..20) + - (leading_trivia꞉ Whitespace): " " # (17..18) + - (variant꞉ YulDecimalLiteral): "0" # (18..19) + - (trailing_trivia꞉ EndOfLine): "\n" # (19..20) 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 92093960dc..090804a96f 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "returndatasize := 0\n" (0..20) - (names꞉ YulIdentifierPaths): # "returndatasize" (0..14) - (item꞉ YulIdentifierPath): # "returndatasize" (0..14) - - (item꞉ YulIdentifier): "returndatasize" # (0..14) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatasize" # (0..14) - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) - (leading_trivia꞉ Whitespace): " " # (14..15) - (variant꞉ ColonEqual): ":=" # (15..17) 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 new file mode 100644 index 0000000000..b6bf4663ba --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ returndatasize := 0 │ 0..19 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "returndatasize := 0\n" (0..20) + - (names꞉ YulIdentifierPaths): # "returndatasize" (0..14) + - (item꞉ YulIdentifierPath): # "returndatasize" (0..14) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulReturnDataSizeKeyword): "returndatasize" # (0..14) + - (assignment꞉ YulAssignmentOperator): # " :=" (14..17) + - (leading_trivia꞉ Whitespace): " " # (14..15) + - (variant꞉ ColonEqual): ":=" # (15..17) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (17..20) + - (leading_trivia꞉ Whitespace): " " # (17..18) + - (variant꞉ YulDecimalLiteral): "0" # (18..19) + - (trailing_trivia꞉ EndOfLine): "\n" # (19..20) 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 new file mode 100644 index 0000000000..c8428b8086 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ revert := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "revert := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "revert" (0..6) + - (item꞉ YulIdentifierPath): # "revert" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulRevertKeyword): "revert" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 7dd43cb0a7..b74d5b8113 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "sar := 0\n" (0..9) - (names꞉ YulIdentifierPaths): # "sar" (0..3) - (item꞉ YulIdentifierPath): # "sar" (0..3) - - (item꞉ YulIdentifier): "sar" # (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "sar" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) - (variant꞉ ColonEqual): ":=" # (4..6) 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 new file mode 100644 index 0000000000..f84c133afa --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sar := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "sar := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "sar" (0..3) + - (item꞉ YulIdentifierPath): # "sar" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSarKeyword): "sar" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..5f75a62915 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sdiv := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "sdiv := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "sdiv" (0..4) + - (item꞉ YulIdentifierPath): # "sdiv" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSDivKeyword): "sdiv" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 4ed601e706..063b67525b 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "selfbalance := 0\n" (0..17) - (names꞉ YulIdentifierPaths): # "selfbalance" (0..11) - (item꞉ YulIdentifierPath): # "selfbalance" (0..11) - - (item꞉ YulIdentifier): "selfbalance" # (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "selfbalance" # (0..11) - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) - (leading_trivia꞉ Whitespace): " " # (11..12) - (variant꞉ ColonEqual): ":=" # (12..14) 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 new file mode 100644 index 0000000000..1f0dcc6735 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ selfbalance := 0 │ 0..16 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "selfbalance := 0\n" (0..17) + - (names꞉ YulIdentifierPaths): # "selfbalance" (0..11) + - (item꞉ YulIdentifierPath): # "selfbalance" (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSelfBalanceKeyword): "selfbalance" # (0..11) + - (assignment꞉ YulAssignmentOperator): # " :=" (11..14) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (variant꞉ ColonEqual): ":=" # (12..14) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) + - (leading_trivia꞉ Whitespace): " " # (14..15) + - (variant꞉ YulDecimalLiteral): "0" # (15..16) + - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) 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 new file mode 100644 index 0000000000..e5f88cc0c0 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ selfdestruct := 0 │ 0..17 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "selfdestruct := 0\n" (0..18) + - (names꞉ YulIdentifierPaths): # "selfdestruct" (0..12) + - (item꞉ YulIdentifierPath): # "selfdestruct" (0..12) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSelfDestructKeyword): "selfdestruct" # (0..12) + - (assignment꞉ YulAssignmentOperator): # " :=" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ ColonEqual): ":=" # (13..15) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) + - (leading_trivia꞉ Whitespace): " " # (15..16) + - (variant꞉ YulDecimalLiteral): "0" # (16..17) + - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) 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 new file mode 100644 index 0000000000..1f54cd26cd --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sgt := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "sgt := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "sgt" (0..3) + - (item꞉ YulIdentifierPath): # "sgt" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSgtKeyword): "sgt" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 2e9586b364..b8933eab11 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "sha3 := 0\n" (0..10) - (names꞉ YulIdentifierPaths): # "sha3" (0..4) - (item꞉ YulIdentifierPath): # "sha3" (0..4) - - (item꞉ YulIdentifier): "sha3" # (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "sha3" # (0..4) - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) - (leading_trivia꞉ Whitespace): " " # (4..5) - (variant꞉ ColonEqual): ":=" # (5..7) 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 a042d4e324..e20d05748d 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "shl := 0\n" (0..9) - (names꞉ YulIdentifierPaths): # "shl" (0..3) - (item꞉ YulIdentifierPath): # "shl" (0..3) - - (item꞉ YulIdentifier): "shl" # (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "shl" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) - (variant꞉ ColonEqual): ":=" # (4..6) 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 new file mode 100644 index 0000000000..c278a3df05 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ shl := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "shl := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "shl" (0..3) + - (item꞉ YulIdentifierPath): # "shl" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulShlKeyword): "shl" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 001f779d53..f273b271b4 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "shr := 0\n" (0..9) - (names꞉ YulIdentifierPaths): # "shr" (0..3) - (item꞉ YulIdentifierPath): # "shr" (0..3) - - (item꞉ YulIdentifier): "shr" # (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "shr" # (0..3) - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) - (leading_trivia꞉ Whitespace): " " # (3..4) - (variant꞉ ColonEqual): ":=" # (4..6) 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 new file mode 100644 index 0000000000..1bb717d7fa --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ shr := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "shr := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "shr" (0..3) + - (item꞉ YulIdentifierPath): # "shr" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulShrKeyword): "shr" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..0f268fd6d4 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ signextend := 0 │ 0..15 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "signextend := 0\n" (0..16) + - (names꞉ YulIdentifierPaths): # "signextend" (0..10) + - (item꞉ YulIdentifierPath): # "signextend" (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSignExtendKeyword): "signextend" # (0..10) + - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ ColonEqual): ":=" # (11..13) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) + - (leading_trivia꞉ Whitespace): " " # (13..14) + - (variant꞉ YulDecimalLiteral): "0" # (14..15) + - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) 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 new file mode 100644 index 0000000000..80fe9e1ff0 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sload := 0 │ 0..10 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "sload := 0\n" (0..11) + - (names꞉ YulIdentifierPaths): # "sload" (0..5) + - (item꞉ YulIdentifierPath): # "sload" (0..5) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSLoadKeyword): "sload" # (0..5) + - (assignment꞉ YulAssignmentOperator): # " :=" (5..8) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ ColonEqual): ":=" # (6..8) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (8..11) + - (leading_trivia꞉ Whitespace): " " # (8..9) + - (variant꞉ YulDecimalLiteral): "0" # (9..10) + - (trailing_trivia꞉ EndOfLine): "\n" # (10..11) 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 new file mode 100644 index 0000000000..5daacae2fa --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ slt := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "slt := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "slt" (0..3) + - (item꞉ YulIdentifierPath): # "slt" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSltKeyword): "slt" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 new file mode 100644 index 0000000000..7576c39dd9 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ smod := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "smod := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "smod" (0..4) + - (item꞉ YulIdentifierPath): # "smod" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSModKeyword): "smod" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..8e4e3129be --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sstore := 0 │ 0..11 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "sstore := 0\n" (0..12) + - (names꞉ YulIdentifierPaths): # "sstore" (0..6) + - (item꞉ YulIdentifierPath): # "sstore" (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSStoreKeyword): "sstore" # (0..6) + - (assignment꞉ YulAssignmentOperator): # " :=" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ ColonEqual): ":=" # (7..9) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ YulDecimalLiteral): "0" # (10..11) + - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 b7fd0d4af2..7d3523f10a 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "staticcall := 0\n" (0..16) - (names꞉ YulIdentifierPaths): # "staticcall" (0..10) - (item꞉ YulIdentifierPath): # "staticcall" (0..10) - - (item꞉ YulIdentifier): "staticcall" # (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "staticcall" # (0..10) - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) - (leading_trivia꞉ Whitespace): " " # (10..11) - (variant꞉ ColonEqual): ":=" # (11..13) 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 new file mode 100644 index 0000000000..5389c03287 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ staticcall := 0 │ 0..15 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "staticcall := 0\n" (0..16) + - (names꞉ YulIdentifierPaths): # "staticcall" (0..10) + - (item꞉ YulIdentifierPath): # "staticcall" (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulStaticCallKeyword): "staticcall" # (0..10) + - (assignment꞉ YulAssignmentOperator): # " :=" (10..13) + - (leading_trivia꞉ Whitespace): " " # (10..11) + - (variant꞉ ColonEqual): ":=" # (11..13) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) + - (leading_trivia꞉ Whitespace): " " # (13..14) + - (variant꞉ YulDecimalLiteral): "0" # (14..15) + - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) 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 new file mode 100644 index 0000000000..b4bc7c4ac6 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ stop := 0 │ 0..9 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "stop := 0\n" (0..10) + - (names꞉ YulIdentifierPaths): # "stop" (0..4) + - (item꞉ YulIdentifierPath): # "stop" (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulStopKeyword): "stop" # (0..4) + - (assignment꞉ YulAssignmentOperator): # " :=" (4..7) + - (leading_trivia꞉ Whitespace): " " # (4..5) + - (variant꞉ ColonEqual): ":=" # (5..7) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) + - (leading_trivia꞉ Whitespace): " " # (7..8) + - (variant꞉ YulDecimalLiteral): "0" # (8..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 new file mode 100644 index 0000000000..48d2ea9014 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sub := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "sub := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "sub" (0..3) + - (item꞉ YulIdentifierPath): # "sub" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulSubKeyword): "sub" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 f4cd70347c..1c6b8ae652 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "suicide := 0\n" (0..13) - (names꞉ YulIdentifierPaths): # "suicide" (0..7) - (item꞉ YulIdentifierPath): # "suicide" (0..7) - - (item꞉ YulIdentifier): "suicide" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "suicide" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) - (variant꞉ ColonEqual): ":=" # (8..10) 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 new file mode 100644 index 0000000000..fabf6bcc8b --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ timestamp := 0 │ 0..14 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "timestamp := 0\n" (0..15) + - (names꞉ YulIdentifierPaths): # "timestamp" (0..9) + - (item꞉ YulIdentifierPath): # "timestamp" (0..9) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulTimestampKeyword): "timestamp" # (0..9) + - (assignment꞉ YulAssignmentOperator): # " :=" (9..12) + - (leading_trivia꞉ Whitespace): " " # (9..10) + - (variant꞉ ColonEqual): ":=" # (10..12) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) + - (leading_trivia꞉ Whitespace): " " # (12..13) + - (variant꞉ YulDecimalLiteral): "0" # (13..14) + - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) 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 new file mode 100644 index 0000000000..1c773a844c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml @@ -0,0 +1,19 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ xor := 0 │ 0..8 + +Errors: [] + +Tree: + - (YulAssignmentStatement): # "xor := 0\n" (0..9) + - (names꞉ YulIdentifierPaths): # "xor" (0..3) + - (item꞉ YulIdentifierPath): # "xor" (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulXorKeyword): "xor" # (0..3) + - (assignment꞉ YulAssignmentOperator): # " :=" (3..6) + - (leading_trivia꞉ Whitespace): " " # (3..4) + - (variant꞉ ColonEqual): ":=" # (4..6) + - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) + - (leading_trivia꞉ Whitespace): " " # (6..7) + - (variant꞉ YulDecimalLiteral): "0" # (7..8) + - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 8c3f85dd1e..a677d2160d 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 @@ -41,8 +41,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -53,11 +54,12 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - (leading_trivia꞉ Whitespace): "\t" # (57..58) 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 66f88ac273..dffc49ac81 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) 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 531d3440ed..e166f8c7d9 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) 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 ccd3111888..7307accfc8 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) 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 1e1ac9ad7a..8fc5936ac4 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) 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 new file mode 100644 index 0000000000..089d87613c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/generated/0.8.10-failure.yml @@ -0,0 +1,84 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ { │ 0..1 + 2 │ function mult(a, b) -> result { │ 2..34 + 3 │ result := mul(a, b) │ 35..56 + 4 │ result := [mul(a, b) │ 57..79 + 5 │ } │ 80..82 + 6 │ } │ 83..84 + +Errors: # 1 total + - > + Error: Expected CloseBrace or DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or OpenBrace or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulBreakKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulContinueKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulForKeyword or YulFunctionKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulIfKeyword or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLeaveKeyword or YulLetKeyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulSwitchKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + ╭─[crates/solidity/testing/snapshots/cst_output/YulBlock/ignore_unknown_delim/input.sol:4:10] + │ + 4 │ ╭─▶ result := [mul(a, b) + 5 │ ├─▶ } + │ │ + │ ╰─────────── Error occurred here. + ───╯ + +Tree: + - (YulBlock): # "{\n\tfunction mult(a, b) -> result {\n\t\tresult := mul..." (0..85) + - (open_brace꞉ OpenBrace): "{" # (0..1) + - (trailing_trivia꞉ EndOfLine): "\n" # (1..2) + - (statements꞉ YulStatements): # "\tfunction mult(a, b) -> result {\n\t\tresult := mul(a..." (2..83) + - (item꞉ YulStatement) ► (variant꞉ YulFunctionDefinition): # "\tfunction mult(a, b) -> result {\n\t\tresult := mul(a..." (2..83) + - (leading_trivia꞉ Whitespace): "\t" # (2..3) + - (function_keyword꞉ YulFunctionKeyword): "function" # (3..11) + - (leading_trivia꞉ Whitespace): " " # (11..12) + - (name꞉ YulIdentifier): "mult" # (12..16) + - (parameters꞉ YulParametersDeclaration): # "(a, b)" (16..22) + - (open_paren꞉ OpenParen): "(" # (16..17) + - (parameters꞉ YulParameters): # "a, b" (17..21) + - (item꞉ YulIdentifier): "a" # (17..18) + - (separator꞉ Comma): "," # (18..19) + - (leading_trivia꞉ Whitespace): " " # (19..20) + - (item꞉ YulIdentifier): "b" # (20..21) + - (close_paren꞉ CloseParen): ")" # (21..22) + - (returns꞉ YulReturnsDeclaration): # " -> result" (22..32) + - (leading_trivia꞉ Whitespace): " " # (22..23) + - (minus_greater_than꞉ MinusGreaterThan): "->" # (23..25) + - (variables꞉ YulReturnVariables): # " result" (25..32) + - (leading_trivia꞉ Whitespace): " " # (25..26) + - (item꞉ YulIdentifier): "result" # (26..32) + - (body꞉ YulBlock): # " {\n\t\tresult := mul(a, b)\n\t\tresult := [mul(a, b)\n\t}..." (32..83) + - (leading_trivia꞉ Whitespace): " " # (32..33) + - (open_brace꞉ OpenBrace): "{" # (33..34) + - (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) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) + - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) + - (leading_trivia꞉ Whitespace): " " # (43..44) + - (variant꞉ ColonEqual): ":=" # (44..46) + - (expression꞉ YulExpression) ► (variant꞉ YulFunctionCallExpression): # " mul(a, b)\n" (46..57) + - (operand꞉ YulExpression) ► (variant꞉ YulBuiltInFunction): # " mul" (46..50) + - (leading_trivia꞉ Whitespace): " " # (46..47) + - (variant꞉ YulMulKeyword): "mul" # (47..50) + - (open_paren꞉ OpenParen): "(" # (50..51) + - (arguments꞉ YulArguments): # "a, b" (51..55) + - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) + - (separator꞉ Comma): "," # (52..53) + - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " 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꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) + - (leading_trivia꞉ Whitespace): " " # (65..66) + - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) + - (close_brace꞉ CloseBrace): "}" # (81..82) + - (trailing_trivia꞉ EndOfLine): "\n" # (82..83) + - (close_brace꞉ CloseBrace): "}" # (83..84) + - (trailing_trivia꞉ EndOfLine): "\n" # (84..85) 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 8fdfbb60a1..3ba15684c7 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) 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 78390cd586..9eb9e6faa7 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) 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 b4fb9b60b4..089d87613c 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 @@ -51,8 +51,9 @@ Tree: - (item꞉ YulStatement) ► (variant꞉ YulAssignmentStatement): # "\t\tresult := mul(a, b)\n" (35..57) - (names꞉ YulIdentifierPaths): # "\t\tresult" (35..43) - (item꞉ YulIdentifierPath): # "\t\tresult" (35..43) - - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) - - (item꞉ YulIdentifier): "result" # (37..43) + - (item꞉ YulPathComponent): # "\t\tresult" (35..43) + - (leading_trivia꞉ Whitespace): "\t\t" # (35..37) + - (variant꞉ YulIdentifier): "result" # (37..43) - (assignment꞉ YulAssignmentOperator): # " :=" (43..46) - (leading_trivia꞉ Whitespace): " " # (43..44) - (variant꞉ ColonEqual): ":=" # (44..46) @@ -63,16 +64,18 @@ Tree: - (open_paren꞉ OpenParen): "(" # (50..51) - (arguments꞉ YulArguments): # "a, b" (51..55) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "a" (51..52) - - (item꞉ YulIdentifier): "a" # (51..52) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "a" # (51..52) - (separator꞉ Comma): "," # (52..53) - (item꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " b" (53..55) - - (leading_trivia꞉ Whitespace): " " # (53..54) - - (item꞉ YulIdentifier): "b" # (54..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) - - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) - - (item꞉ YulIdentifier): "result" # (59..65) + - (item꞉ YulPathComponent): # "\t\tresult" (57..65) + - (leading_trivia꞉ Whitespace): "\t\t" # (57..59) + - (variant꞉ YulIdentifier): "result" # (59..65) - (leading_trivia꞉ Whitespace): " " # (65..66) - (SKIPPED): ":= [mul(a, b)\n\t" # (66..81) - (close_brace꞉ CloseBrace): "}" # (81..82) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..be299b7208 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 1a │ 0..2 + +Errors: # 1 total + - > + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/decimal_trailing_ident_start/input.sol:1:1] + │ + 1 │ 1a + │ ─┬─ + │ ╰─── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "1a\n" # (0..3) 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 d042e51a96..cbdc35afb2 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulExpression) ► (variant꞉ YulFunctionCallExpression): # "foo(1)" (0..6) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "foo" (0..3) - - (item꞉ YulIdentifier): "foo" # (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "foo" # (0..3) - (open_paren꞉ OpenParen): "(" # (3..4) - (arguments꞉ YulArguments): # "1" (4..5) - (item꞉ YulExpression) ► (variant꞉ YulLiteral) ► (variant꞉ YulDecimalLiteral): "1" # (4..5) diff --git a/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..73125d2270 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ 0x1$ │ 0..4 + +Errors: # 1 total + - > + Error: Expected DoubleQuotedHexStringLiteral or DoubleQuotedStringLiteral or SingleQuotedHexStringLiteral or SingleQuotedStringLiteral or YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDecimalLiteral or YulDelegateCallKeyword or YulDifficultyKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulFalseKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulHexLiteral or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulTrueKeyword or YulXorKeyword. + ╭─[crates/solidity/testing/snapshots/cst_output/YulExpression/hex_trailing_ident_start/input.sol:1:1] + │ + 1 │ 0x1$ + │ ──┬── + │ ╰──── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "0x1$\n" # (0..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 277ce8fd3e..4d9f406001 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 @@ -7,9 +7,10 @@ Errors: [] Tree: - (YulExpression) ► (variant꞉ YulIdentifierPath): # "foo . bar\n" (0..10) - - (item꞉ YulIdentifier): "foo" # (0..3) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "foo" # (0..3) - (leading_trivia꞉ Whitespace): " " # (3..4) - (separator꞉ Period): "." # (4..5) - - (leading_trivia꞉ Whitespace): " " # (5..6) - - (item꞉ YulIdentifier): "bar" # (6..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) + - (item꞉ YulPathComponent): # " bar\n" (5..10) + - (leading_trivia꞉ Whitespace): " " # (5..6) + - (variant꞉ YulIdentifier): "bar" # (6..9) + - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) 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 1811659702..170e56a3ca 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 @@ -8,9 +8,11 @@ Errors: [] Tree: - (YulExpression) ► (variant꞉ YulIdentifierPath): # "// 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) - - (item꞉ YulIdentifier): "foo" # (82..85) + - (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) + - (variant꞉ YulIdentifier): "foo" # (82..85) - (separator꞉ Period): "." # (85..86) - - (item꞉ YulIdentifier): "bar" # (86..89) - - (trailing_trivia꞉ EndOfLine): "\n" # (89..90) + - (item꞉ YulPathComponent): # "bar\n" (86..90) + - (variant꞉ YulIdentifier): "bar" # (86..89) + - (trailing_trivia꞉ EndOfLine): "\n" # (89..90) 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 bf41ba6b4e..b8b65f1080 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 @@ -8,7 +8,8 @@ Errors: [] Tree: - (YulExpression) ► (variant꞉ YulIdentifierPath): # "// 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) - - (item꞉ YulIdentifier): "foo.bar" # (82..89) - - (trailing_trivia꞉ EndOfLine): "\n" # (89..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) + - (variant꞉ YulIdentifier): "foo.bar" # (82..89) + - (trailing_trivia꞉ EndOfLine): "\n" # (89..90) 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 1811659702..170e56a3ca 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 @@ -8,9 +8,11 @@ Errors: [] Tree: - (YulExpression) ► (variant꞉ YulIdentifierPath): # "// 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) - - (item꞉ YulIdentifier): "foo" # (82..85) + - (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) + - (variant꞉ YulIdentifier): "foo" # (82..85) - (separator꞉ Period): "." # (85..86) - - (item꞉ YulIdentifier): "bar" # (86..89) - - (trailing_trivia꞉ EndOfLine): "\n" # (89..90) + - (item꞉ YulPathComponent): # "bar\n" (86..90) + - (variant꞉ YulIdentifier): "bar" # (86..89) + - (trailing_trivia꞉ EndOfLine): "\n" # (89..90) 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 33a20e6bda..91b09d2966 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "basefee()\n" (0..10) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "basefee" (0..7) - - (item꞉ YulIdentifier): "basefee" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "basefee" # (0..7) - (open_paren꞉ OpenParen): "(" # (7..8) - (arguments꞉ YulArguments): [] # (8..8) - (close_paren꞉ CloseParen): ")" # (8..9) 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 1c666a7158..69f61ee88b 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "blobbasefee()\n" (0..14) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "blobbasefee" (0..11) - - (item꞉ YulIdentifier): "blobbasefee" # (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "blobbasefee" # (0..11) - (open_paren꞉ OpenParen): "(" # (11..12) - (arguments꞉ YulArguments): [] # (12..12) - (close_paren꞉ CloseParen): ")" # (12..13) 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 800a2871b9..311481aa66 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "blobhash()\n" (0..11) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "blobhash" (0..8) - - (item꞉ YulIdentifier): "blobhash" # (0..8) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "blobhash" # (0..8) - (open_paren꞉ OpenParen): "(" # (8..9) - (arguments꞉ YulArguments): [] # (9..9) - (close_paren꞉ CloseParen): ")" # (9..10) 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 9765cd4489..b233127bb7 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "create2()\n" (0..10) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "create2" (0..7) - - (item꞉ YulIdentifier): "create2" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "create2" # (0..7) - (open_paren꞉ OpenParen): "(" # (7..8) - (arguments꞉ YulArguments): [] # (8..8) - (close_paren꞉ CloseParen): ")" # (8..9) 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 985b523fa7..7a218a8a40 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "extcodehash()\n" (0..14) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "extcodehash" (0..11) - - (item꞉ YulIdentifier): "extcodehash" # (0..11) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "extcodehash" # (0..11) - (open_paren꞉ OpenParen): "(" # (11..12) - (arguments꞉ YulArguments): [] # (12..12) - (close_paren꞉ CloseParen): ")" # (12..13) 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 5de3ef8a36..49f9270cc0 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "keccak256()\n" (0..12) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "keccak256" (0..9) - - (item꞉ YulIdentifier): "keccak256" # (0..9) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "keccak256" # (0..9) - (open_paren꞉ OpenParen): "(" # (9..10) - (arguments꞉ YulArguments): [] # (10..10) - (close_paren꞉ CloseParen): ")" # (10..11) 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 32102801b5..b202aaede2 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "mcopy()\n" (0..8) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "mcopy" (0..5) - - (item꞉ YulIdentifier): "mcopy" # (0..5) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "mcopy" # (0..5) - (open_paren꞉ OpenParen): "(" # (5..6) - (arguments꞉ YulArguments): [] # (6..6) - (close_paren꞉ CloseParen): ")" # (6..7) 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 6e52c8ebc3..ebb09f6dd6 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "prevrandao()\n" (0..13) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "prevrandao" (0..10) - - (item꞉ YulIdentifier): "prevrandao" # (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "prevrandao" # (0..10) - (open_paren꞉ OpenParen): "(" # (10..11) - (arguments꞉ YulArguments): [] # (11..11) - (close_paren꞉ CloseParen): ")" # (11..12) 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 63c5c6d63b..7e3a757101 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "returndatacopy()\n" (0..17) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "returndatacopy" (0..14) - - (item꞉ YulIdentifier): "returndatacopy" # (0..14) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatacopy" # (0..14) - (open_paren꞉ OpenParen): "(" # (14..15) - (arguments꞉ YulArguments): [] # (15..15) - (close_paren꞉ CloseParen): ")" # (15..16) 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 9ab2a2695b..86e65c073f 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "returndatasize()\n" (0..17) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "returndatasize" (0..14) - - (item꞉ YulIdentifier): "returndatasize" # (0..14) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "returndatasize" # (0..14) - (open_paren꞉ OpenParen): "(" # (14..15) - (arguments꞉ YulArguments): [] # (15..15) - (close_paren꞉ CloseParen): ")" # (15..16) 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 cbf1678a93..35a9d4e3d5 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "sha3()\n" (0..7) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "sha3" (0..4) - - (item꞉ YulIdentifier): "sha3" # (0..4) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "sha3" # (0..4) - (open_paren꞉ OpenParen): "(" # (4..5) - (arguments꞉ YulArguments): [] # (5..5) - (close_paren꞉ CloseParen): ")" # (5..6) 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 6b5f5e3966..50b3d05c0e 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "staticcall()\n" (0..13) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "staticcall" (0..10) - - (item꞉ YulIdentifier): "staticcall" # (0..10) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "staticcall" # (0..10) - (open_paren꞉ OpenParen): "(" # (10..11) - (arguments꞉ YulArguments): [] # (11..11) - (close_paren꞉ CloseParen): ")" # (11..12) 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 b024a162b4..1ba3a4ee63 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "suicide()\n" (0..10) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "suicide" (0..7) - - (item꞉ YulIdentifier): "suicide" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "suicide" # (0..7) - (open_paren꞉ OpenParen): "(" # (7..8) - (arguments꞉ YulArguments): [] # (8..8) - (close_paren꞉ CloseParen): ")" # (8..9) 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 ea083c3e89..f7a05ada4c 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "tstore()\n" (0..9) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "tstore" (0..6) - - (item꞉ YulIdentifier): "tstore" # (0..6) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "tstore" # (0..6) - (open_paren꞉ OpenParen): "(" # (6..7) - (arguments꞉ YulArguments): [] # (7..7) - (close_paren꞉ CloseParen): ")" # (7..8) 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 66ff484170..60d57b8dc5 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 @@ -8,7 +8,7 @@ Errors: [] Tree: - (YulFunctionCallExpression): # "tload()\n" (0..8) - (operand꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # "tload" (0..5) - - (item꞉ YulIdentifier): "tload" # (0..5) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "tload" # (0..5) - (open_paren꞉ OpenParen): "(" # (5..6) - (arguments꞉ YulArguments): [] # (6..6) - (close_paren꞉ CloseParen): ")" # (6..7) 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 1becab64f4..ba8aabc721 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 @@ -26,11 +26,12 @@ Tree: - (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) - - (leading_trivia꞉ Whitespace): "\t" # (2..3) - - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) - - (leading_trivia꞉ EndOfLine): "\n" # (159..160) - - (leading_trivia꞉ Whitespace): "\t" # (160..161) - - (item꞉ YulIdentifier): "f" # (161..162) + - (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) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (variant꞉ YulIdentifier): "f" # (161..162) - (separator꞉ Period): "." # (162..163) - (SKIPPED): "address := newAddress\n\tf.selector := newSelector\n" # (163..212) - (close_brace꞉ CloseBrace): "}" # (212..213) 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 66d1c11560..8fe4c226c5 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 @@ -18,29 +18,33 @@ Tree: - (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) - - (leading_trivia꞉ Whitespace): "\t" # (2..3) - - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) - - (leading_trivia꞉ EndOfLine): "\n" # (159..160) - - (leading_trivia꞉ Whitespace): "\t" # (160..161) - - (item꞉ YulIdentifier): "f.address" # (161..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) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (variant꞉ YulIdentifier): "f.address" # (161..170) - (assignment꞉ YulAssignmentOperator): # " :=" (170..173) - (leading_trivia꞉ Whitespace): " " # (170..171) - (variant꞉ ColonEqual): ":=" # (171..173) - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newAddress\n" (173..185) - - (leading_trivia꞉ Whitespace): " " # (173..174) - - (item꞉ YulIdentifier): "newAddress" # (174..184) - - (trailing_trivia꞉ EndOfLine): "\n" # (184..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) - - (leading_trivia꞉ Whitespace): "\t" # (185..186) - - (item꞉ YulIdentifier): "f.selector" # (186..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) - - (leading_trivia꞉ Whitespace): " " # (199..200) - - (item꞉ YulIdentifier): "newSelector" # (200..211) - - (trailing_trivia꞉ EndOfLine): "\n" # (211..212) + - (item꞉ YulPathComponent): # " newSelector\n" (199..212) + - (leading_trivia꞉ Whitespace): " " # (199..200) + - (variant꞉ YulIdentifier): "newSelector" # (200..211) + - (trailing_trivia꞉ EndOfLine): "\n" # (211..212) - (close_brace꞉ CloseBrace): "}" # (212..213) - (trailing_trivia꞉ EndOfLine): "\n" # (213..214) 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 1becab64f4..ba8aabc721 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 @@ -26,11 +26,12 @@ Tree: - (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) - - (leading_trivia꞉ Whitespace): "\t" # (2..3) - - (leading_trivia꞉ SingleLineComment): "// https://github.com/ethereum/solidity/blob/ebdce..." # (3..159) - - (leading_trivia꞉ EndOfLine): "\n" # (159..160) - - (leading_trivia꞉ Whitespace): "\t" # (160..161) - - (item꞉ YulIdentifier): "f" # (161..162) + - (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) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (variant꞉ YulIdentifier): "f" # (161..162) - (separator꞉ Period): "." # (162..163) - (SKIPPED): "address := newAddress\n\tf.selector := newSelector\n" # (163..212) - (close_brace꞉ CloseBrace): "}" # (212..213) 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 new file mode 100644 index 0000000000..d54d60e75c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulStatements/function_pointer/generated/0.8.10-success.yml @@ -0,0 +1,54 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ { │ 0..1 + 2 │ // https://github.com/ethereum/solidity/blob/ebdce269005e8f2a6652bad64a000725ff1624fe/docs/assembly.rst#access-to-external-variables-functions-and-libraries │ 2..159 + 3 │ f.address := newAddress │ 160..184 + 4 │ f.selector := newSelector │ 185..211 + 5 │ } │ 212..213 + +Errors: [] + +Tree: + - (YulStatements): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (item꞉ YulStatement) ► (variant꞉ YulBlock): # "{\n\t// https://github.com/ethereum/solidity/blob/eb..." (0..214) + - (open_brace꞉ OpenBrace): "{" # (0..1) + - (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) + - (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) + - (leading_trivia꞉ EndOfLine): "\n" # (159..160) + - (leading_trivia꞉ Whitespace): "\t" # (160..161) + - (variant꞉ YulIdentifier): "f" # (161..162) + - (separator꞉ Period): "." # (162..163) + - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddressKeyword): "address" # (163..170) + - (assignment꞉ YulAssignmentOperator): # " :=" (170..173) + - (leading_trivia꞉ Whitespace): " " # (170..171) + - (variant꞉ ColonEqual): ":=" # (171..173) + - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " 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) + - (item꞉ YulPathComponent): # "\tf" (185..187) + - (leading_trivia꞉ Whitespace): "\t" # (185..186) + - (variant꞉ YulIdentifier): "f" # (186..187) + - (separator꞉ Period): "." # (187..188) + - (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "selector" # (188..196) + - (assignment꞉ YulAssignmentOperator): # " :=" (196..199) + - (leading_trivia꞉ Whitespace): " " # (196..197) + - (variant꞉ ColonEqual): ":=" # (197..199) + - (expression꞉ YulExpression) ► (variant꞉ YulIdentifierPath): # " newSelector\n" (199..212) + - (item꞉ YulPathComponent): # " newSelector\n" (199..212) + - (leading_trivia꞉ Whitespace): " " # (199..200) + - (variant꞉ YulIdentifier): "newSelector" # (200..211) + - (trailing_trivia꞉ EndOfLine): "\n" # (211..212) + - (close_brace꞉ CloseBrace): "}" # (212..213) + - (trailing_trivia꞉ EndOfLine): "\n" # (213..214) 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 f5d2ee683b..d8f6b347d8 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 @@ -13,8 +13,9 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (54..57) - (names꞉ YulIdentifierPaths): # " foo" (57..61) - (item꞉ YulIdentifierPath): # " foo" (57..61) - - (leading_trivia꞉ Whitespace): " " # (57..58) - - (item꞉ YulIdentifier): "foo" # (58..61) + - (item꞉ YulPathComponent): # " foo" (57..61) + - (leading_trivia꞉ Whitespace): " " # (57..58) + - (variant꞉ YulIdentifier): "foo" # (58..61) - (value꞉ YulVariableDeclarationValue): # " : = 0\n" (61..68) - (assignment꞉ YulAssignmentOperator) ► (variant꞉ YulColonAndEqual): # " : =" (61..65) - (leading_trivia꞉ Whitespace): " " # (61..62) 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 8a66949c13..9b5ddc8279 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 @@ -21,7 +21,8 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (54..57) - (names꞉ YulIdentifierPaths): # " foo" (57..61) - (item꞉ YulIdentifierPath): # " foo" (57..61) - - (leading_trivia꞉ Whitespace): " " # (57..58) - - (item꞉ YulIdentifier): "foo" # (58..61) + - (item꞉ YulPathComponent): # " foo" (57..61) + - (leading_trivia꞉ Whitespace): " " # (57..58) + - (variant꞉ YulIdentifier): "foo" # (58..61) - (leading_trivia꞉ Whitespace): " " # (61..62) - (SKIPPED): ": = 0\n" # (62..68) 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 8087cdfff6..029e4cfc52 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (47..50) - (names꞉ YulIdentifierPaths): # " bytes\n" (50..57) - (item꞉ YulIdentifierPath): # " bytes\n" (50..57) - - (leading_trivia꞉ Whitespace): " " # (50..51) - - (item꞉ YulIdentifier): "bytes" # (51..56) - - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) + - (item꞉ YulPathComponent): # " bytes\n" (50..57) + - (leading_trivia꞉ Whitespace): " " # (50..51) + - (variant꞉ YulIdentifier): "bytes" # (51..56) + - (trailing_trivia꞉ EndOfLine): "\n" # (56..57) 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 738f04f6c0..1f7bb3f9b0 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (47..50) - (names꞉ YulIdentifierPaths): # " bytes1\n" (50..58) - (item꞉ YulIdentifierPath): # " bytes1\n" (50..58) - - (leading_trivia꞉ Whitespace): " " # (50..51) - - (item꞉ YulIdentifier): "bytes1" # (51..57) - - (trailing_trivia꞉ EndOfLine): "\n" # (57..58) + - (item꞉ YulPathComponent): # " bytes1\n" (50..58) + - (leading_trivia꞉ Whitespace): " " # (50..51) + - (variant꞉ YulIdentifier): "bytes1" # (51..57) + - (trailing_trivia꞉ EndOfLine): "\n" # (57..58) 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 9f6ccf8dcf..d0637d1819 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (47..50) - (names꞉ YulIdentifierPaths): # " bytes11\n" (50..59) - (item꞉ YulIdentifierPath): # " bytes11\n" (50..59) - - (leading_trivia꞉ Whitespace): " " # (50..51) - - (item꞉ YulIdentifier): "bytes11" # (51..58) - - (trailing_trivia꞉ EndOfLine): "\n" # (58..59) + - (item꞉ YulPathComponent): # " bytes11\n" (50..59) + - (leading_trivia꞉ Whitespace): " " # (50..51) + - (variant꞉ YulIdentifier): "bytes11" # (51..58) + - (trailing_trivia꞉ EndOfLine): "\n" # (58..59) 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 23159b65fb..484369b0ce 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - (names꞉ YulIdentifierPaths): # " ufixed184x80\n" (66..80) - (item꞉ YulIdentifierPath): # " ufixed184x80\n" (66..80) - - (leading_trivia꞉ Whitespace): " " # (66..67) - - (item꞉ YulIdentifier): "ufixed184x80" # (67..79) - - (trailing_trivia꞉ EndOfLine): "\n" # (79..80) + - (item꞉ YulPathComponent): # " ufixed184x80\n" (66..80) + - (leading_trivia꞉ Whitespace): " " # (66..67) + - (variant꞉ YulIdentifier): "ufixed184x80" # (67..79) + - (trailing_trivia꞉ EndOfLine): "\n" # (79..80) 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 23159b65fb..484369b0ce 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - (names꞉ YulIdentifierPaths): # " ufixed184x80\n" (66..80) - (item꞉ YulIdentifierPath): # " ufixed184x80\n" (66..80) - - (leading_trivia꞉ Whitespace): " " # (66..67) - - (item꞉ YulIdentifier): "ufixed184x80" # (67..79) - - (trailing_trivia꞉ EndOfLine): "\n" # (79..80) + - (item꞉ YulPathComponent): # " ufixed184x80\n" (66..80) + - (leading_trivia꞉ Whitespace): " " # (66..67) + - (variant꞉ YulIdentifier): "ufixed184x80" # (67..79) + - (trailing_trivia꞉ EndOfLine): "\n" # (79..80) 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 6e29dfc995..35f76042be 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - (names꞉ YulIdentifierPaths): # " ufixed8x0\n" (66..77) - (item꞉ YulIdentifierPath): # " ufixed8x0\n" (66..77) - - (leading_trivia꞉ Whitespace): " " # (66..67) - - (item꞉ YulIdentifier): "ufixed8x0" # (67..76) - - (trailing_trivia꞉ EndOfLine): "\n" # (76..77) + - (item꞉ YulPathComponent): # " ufixed8x0\n" (66..77) + - (leading_trivia꞉ Whitespace): " " # (66..67) + - (variant꞉ YulIdentifier): "ufixed8x0" # (67..76) + - (trailing_trivia꞉ EndOfLine): "\n" # (76..77) 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 6e29dfc995..35f76042be 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (63..66) - (names꞉ YulIdentifierPaths): # " ufixed8x0\n" (66..77) - (item꞉ YulIdentifierPath): # " ufixed8x0\n" (66..77) - - (leading_trivia꞉ Whitespace): " " # (66..67) - - (item꞉ YulIdentifier): "ufixed8x0" # (67..76) - - (trailing_trivia꞉ EndOfLine): "\n" # (76..77) + - (item꞉ YulPathComponent): # " ufixed8x0\n" (66..77) + - (leading_trivia꞉ Whitespace): " " # (66..67) + - (variant꞉ YulIdentifier): "ufixed8x0" # (67..76) + - (trailing_trivia꞉ EndOfLine): "\n" # (76..77) 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 bbbf039055..e38291f40e 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 @@ -13,6 +13,7 @@ Tree: - (let_keyword꞉ YulLetKeyword): "let" # (52..55) - (names꞉ YulIdentifierPaths): # " ufixed8x8\n" (55..66) - (item꞉ YulIdentifierPath): # " ufixed8x8\n" (55..66) - - (leading_trivia꞉ Whitespace): " " # (55..56) - - (item꞉ YulIdentifier): "ufixed8x8" # (56..65) - - (trailing_trivia꞉ EndOfLine): "\n" # (65..66) + - (item꞉ YulPathComponent): # " ufixed8x8\n" (55..66) + - (leading_trivia꞉ Whitespace): " " # (55..56) + - (variant꞉ YulIdentifier): "ufixed8x8" # (56..65) + - (trailing_trivia꞉ EndOfLine): "\n" # (65..66) From 04541c748c27642782ca7f87d578d8315bc534d4 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Wed, 24 Apr 2024 09:57:34 +0100 Subject: [PATCH 3/4] 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) From 75872306939ff894161d9d0f048d0c66202938aa Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Wed, 24 Apr 2024 10:31:21 +0100 Subject: [PATCH 4/4] Only support a `address` built-in/keyword in the Yul path --- .../inputs/language/src/definition.rs | 3 ++- .../slang_solidity/src/generated/language.rs | 5 ++++- .../generated/napi_interface/ast_selectors.rs | 3 +-- .../package/src/ast/generated/ast_types.ts | 8 +++----- .../outputs/spec/generated/grammar.ebnf | 2 +- .../public/06-yul/02-yul-expressions.md | 2 +- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-success.yml | 2 +- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.18-failure.yml | 17 ----------------- .../generated/0.8.24-failure.yml | 17 ----------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.18-failure.yml | 17 +++++++++++++++++ .../generated/0.8.18-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-failure.yml | 17 +++++++++++++++++ .../generated/0.8.10-success.yml | 19 ------------------- .../generated/0.8.10-success.yml | 2 +- 156 files changed, 1255 insertions(+), 1434 deletions(-) create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml create mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-failure.yml delete mode 100644 crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml diff --git a/crates/solidity/inputs/language/src/definition.rs b/crates/solidity/inputs/language/src/definition.rs index dff6ec2f27..ce11af78e8 100644 --- a/crates/solidity/inputs/language/src/definition.rs +++ b/crates/solidity/inputs/language/src/definition.rs @@ -4353,7 +4353,8 @@ codegen_language_macros::compile!(Language( variants = [ EnumVariant(reference = YulIdentifier), EnumVariant( - reference = YulBuiltInFunction, + // Upstream grammar accepts built-ins but only `address` is valid: + reference = YulAddressKeyword, enabled = From("0.8.10") ) ] 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 ef7515e60a..574ff8a631 100644 --- a/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs +++ b/crates/solidity/outputs/cargo/slang_solidity/src/generated/language.rs @@ -6694,7 +6694,10 @@ impl Language { ); choice.consider(input, result)?; if self.version_is_at_least_0_8_10 { - let result = self.yul_built_in_function(input); + let result = self.parse_token_with_trivia::( + input, + TokenKind::YulAddressKeyword, + ); choice.consider(input, result)?; } choice.finish(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 98655a0f07..27a7b6ba7b 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 @@ -2114,8 +2114,7 @@ impl Selector { impl Selector { fn yul_path_component(&mut self) -> Result> { self.select(|node| { - node.is_rule_with_kind(RuleKind::YulBuiltInFunction) - || node.is_token_with_kind(TokenKind::YulIdentifier) + node.is_token_with_kinds(&[TokenKind::YulIdentifier, TokenKind::YulAddressKeyword]) }) } } 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 c468ac179d..5405220821 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 @@ -5109,14 +5109,12 @@ export class YulExpression { } export class YulPathComponent { - private readonly fetch: () => YulBuiltInFunction | TokenNode = once(() => { + private readonly fetch: () => TokenNode = once(() => { const variant = ast_internal.selectChoice(this.cst); switch (variant.kind) { - case RuleKind.YulBuiltInFunction: - return new YulBuiltInFunction(variant as RuleNode); - case TokenKind.YulIdentifier: + case TokenKind.YulAddressKeyword: return variant as TokenNode; default: @@ -5128,7 +5126,7 @@ export class YulPathComponent { assertKind(this.cst.kind, RuleKind.YulPathComponent); } - public get variant(): YulBuiltInFunction | TokenNode { + public get variant(): TokenNode { return this.fetch(); } } diff --git a/crates/solidity/outputs/spec/generated/grammar.ebnf b/crates/solidity/outputs/spec/generated/grammar.ebnf index db12efe1fa..a100bd838f 100644 --- a/crates/solidity/outputs/spec/generated/grammar.ebnf +++ b/crates/solidity/outputs/spec/generated/grammar.ebnf @@ -1440,7 +1440,7 @@ YulPaths = YulPath (COMMA YulPath)*; YulPath = YulPathComponent (PERIOD YulPathComponent)*; YulPathComponent = YUL_IDENTIFIER - | YulBuiltInFunction; (* Introduced in 0.8.10 *) + | YUL_ADDRESS_KEYWORD; (* Introduced in 0.8.10 *) (* Introduced in 0.5.8 and deprecated in 0.7.0. *) YUL_IDENTIFIER = «IDENTIFIER_START» («IDENTIFIER_PART» | ".")*; 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 ab33c15f4b..b7fe61a77b 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 @@ -32,7 +32,7 @@ ``` -
YulPathComponent = YUL_IDENTIFIER
| YulBuiltInFunction; (* Introduced in 0.8.10 *)
+
YulPathComponent = YUL_IDENTIFIER
| YUL_ADDRESS_KEYWORD; (* Introduced in 0.8.10 *)
```{ .ebnf #YulIdentifier } diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..570799bd82 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ add := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/input.sol:1:1] + │ + 1 │ add := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "add := 0\n" # (0..9) 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 deleted file mode 100644 index 68028bf9f4..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_add/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ add := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "add := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8b9cc03593 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ addmod := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/input.sol:1:1] + │ + 1 │ addmod := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "addmod := 0\n" # (0..12) 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 deleted file mode 100644 index 15bd40b463..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_addmod/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ addmod := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "addmod := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) 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 6fe6487147..43efce5308 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 @@ -9,7 +9,7 @@ Tree: - (YulAssignmentStatement): # "address := 0\n" (0..13) - (names꞉ YulPaths): # "address" (0..7) - (item꞉ YulPath): # "address" (0..7) - - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddressKeyword): "address" # (0..7) + - (item꞉ YulPathComponent) ► (variant꞉ YulAddressKeyword): "address" # (0..7) - (assignment꞉ YulAssignmentOperator): # " :=" (7..10) - (leading_trivia꞉ Whitespace): " " # (7..8) - (variant꞉ ColonEqual): ":=" # (8..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..5ba35ef26b --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ and := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/input.sol:1:1] + │ + 1 │ and := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "and := 0\n" # (0..9) 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 deleted file mode 100644 index b46631ad94..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_and/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ and := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "and := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8b5e462d88 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ balance := 0 │ 0..12 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/input.sol:1:1] + │ + 1 │ balance := 0 + │ ──────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "balance := 0\n" # (0..13) 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 deleted file mode 100644 index 6b48cf1e7c..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_balance/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ balance := 0 │ 0..12 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "balance := 0\n" (0..13) - - (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) - - (variant꞉ ColonEqual): ":=" # (8..10) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) - - (leading_trivia꞉ Whitespace): " " # (10..11) - - (variant꞉ YulDecimalLiteral): "0" # (11..12) - - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..a1e1d5c2de --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ basefee := 0 │ 0..12 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/input.sol:1:1] + │ + 1 │ basefee := 0 + │ ──────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "basefee := 0\n" # (0..13) 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 deleted file mode 100644 index d45212eee9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_basefee/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ basefee := 0 │ 0..12 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "basefee := 0\n" (0..13) - - (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) - - (variant꞉ ColonEqual): ":=" # (8..10) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) - - (leading_trivia꞉ Whitespace): " " # (10..11) - - (variant꞉ YulDecimalLiteral): "0" # (11..12) - - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..18aad06652 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ blockhash := 0 │ 0..14 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/input.sol:1:1] + │ + 1 │ blockhash := 0 + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "blockhash := 0\n" # (0..15) 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 deleted file mode 100644 index 9ae19cdf26..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_blockhash/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ blockhash := 0 │ 0..14 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "blockhash := 0\n" (0..15) - - (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) - - (variant꞉ ColonEqual): ":=" # (10..12) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) - - (leading_trivia꞉ Whitespace): " " # (12..13) - - (variant꞉ YulDecimalLiteral): "0" # (13..14) - - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8e09fec805 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ byte := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/input.sol:1:1] + │ + 1 │ byte := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "byte := 0\n" # (0..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 deleted file mode 100644 index 3cbdf1fbc9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_byte/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ byte := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "byte := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..7811a02ed2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ call := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/input.sol:1:1] + │ + 1 │ call := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "call := 0\n" # (0..10) 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 deleted file mode 100644 index b333935216..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_call/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ call := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "call := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..89a22b3203 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ callcode := 0 │ 0..13 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/input.sol:1:1] + │ + 1 │ callcode := 0 + │ ───────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "callcode := 0\n" # (0..14) 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 deleted file mode 100644 index 285c41e2eb..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callcode/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ callcode := 0 │ 0..13 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "callcode := 0\n" (0..14) - - (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) - - (variant꞉ ColonEqual): ":=" # (9..11) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) - - (leading_trivia꞉ Whitespace): " " # (11..12) - - (variant꞉ YulDecimalLiteral): "0" # (12..13) - - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..c74fd5591d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ calldatacopy := 0 │ 0..17 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/input.sol:1:1] + │ + 1 │ calldatacopy := 0 + │ ─────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "calldatacopy := 0\n" # (0..18) 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 deleted file mode 100644 index 5d792aa21c..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatacopy/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ calldatacopy := 0 │ 0..17 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "calldatacopy := 0\n" (0..18) - - (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) - - (variant꞉ ColonEqual): ":=" # (13..15) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) - - (leading_trivia꞉ Whitespace): " " # (15..16) - - (variant꞉ YulDecimalLiteral): "0" # (16..17) - - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..5df8a7672e --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ calldataload := 0 │ 0..17 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/input.sol:1:1] + │ + 1 │ calldataload := 0 + │ ─────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "calldataload := 0\n" # (0..18) 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 deleted file mode 100644 index cd6cafb1e5..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldataload/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ calldataload := 0 │ 0..17 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "calldataload := 0\n" (0..18) - - (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) - - (variant꞉ ColonEqual): ":=" # (13..15) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) - - (leading_trivia꞉ Whitespace): " " # (15..16) - - (variant꞉ YulDecimalLiteral): "0" # (16..17) - - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..79e023b8b2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ calldatasize := 0 │ 0..17 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/input.sol:1:1] + │ + 1 │ calldatasize := 0 + │ ─────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "calldatasize := 0\n" # (0..18) 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 deleted file mode 100644 index 6974dcc3cb..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_calldatasize/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ calldatasize := 0 │ 0..17 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "calldatasize := 0\n" (0..18) - - (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) - - (variant꞉ ColonEqual): ":=" # (13..15) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) - - (leading_trivia꞉ Whitespace): " " # (15..16) - - (variant꞉ YulDecimalLiteral): "0" # (16..17) - - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..908937deb0 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ caller := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/input.sol:1:1] + │ + 1 │ caller := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "caller := 0\n" # (0..12) 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 deleted file mode 100644 index 54336238b1..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_caller/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ caller := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "caller := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..b2df7c23fc --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ callvalue := 0 │ 0..14 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/input.sol:1:1] + │ + 1 │ callvalue := 0 + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "callvalue := 0\n" # (0..15) 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 deleted file mode 100644 index 22e711ef8a..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_callvalue/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ callvalue := 0 │ 0..14 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "callvalue := 0\n" (0..15) - - (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) - - (variant꞉ ColonEqual): ":=" # (10..12) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) - - (leading_trivia꞉ Whitespace): " " # (12..13) - - (variant꞉ YulDecimalLiteral): "0" # (13..14) - - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..056800906c --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ chainid := 0 │ 0..12 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/input.sol:1:1] + │ + 1 │ chainid := 0 + │ ──────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "chainid := 0\n" # (0..13) 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 deleted file mode 100644 index b3bceb3e53..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_chainid/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ chainid := 0 │ 0..12 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "chainid := 0\n" (0..13) - - (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) - - (variant꞉ ColonEqual): ":=" # (8..10) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) - - (leading_trivia꞉ Whitespace): " " # (10..11) - - (variant꞉ YulDecimalLiteral): "0" # (11..12) - - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..52bfb5a688 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ coinbase := 0 │ 0..13 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/input.sol:1:1] + │ + 1 │ coinbase := 0 + │ ───────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "coinbase := 0\n" # (0..14) 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 deleted file mode 100644 index c3da11e722..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_coinbase/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ coinbase := 0 │ 0..13 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "coinbase := 0\n" (0..14) - - (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) - - (variant꞉ ColonEqual): ":=" # (9..11) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) - - (leading_trivia꞉ Whitespace): " " # (11..12) - - (variant꞉ YulDecimalLiteral): "0" # (12..13) - - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..4bd78c0c6f --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ create := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/input.sol:1:1] + │ + 1 │ create := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "create := 0\n" # (0..12) 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 deleted file mode 100644 index 88eb2aacc5..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ create := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "create := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..bab0b40781 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ create2 := 0 │ 0..12 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/input.sol:1:1] + │ + 1 │ create2 := 0 + │ ──────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "create2 := 0\n" # (0..13) 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 deleted file mode 100644 index ef56329358..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_create2/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ create2 := 0 │ 0..12 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "create2 := 0\n" (0..13) - - (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) - - (variant꞉ ColonEqual): ":=" # (8..10) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) - - (leading_trivia꞉ Whitespace): " " # (10..11) - - (variant꞉ YulDecimalLiteral): "0" # (11..12) - - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..abaa94c6d6 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ delegatecall := 0 │ 0..17 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/input.sol:1:1] + │ + 1 │ delegatecall := 0 + │ ─────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "delegatecall := 0\n" # (0..18) 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 deleted file mode 100644 index ef284dfc00..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_delegatecall/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ delegatecall := 0 │ 0..17 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "delegatecall := 0\n" (0..18) - - (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) - - (variant꞉ ColonEqual): ":=" # (13..15) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) - - (leading_trivia꞉ Whitespace): " " # (15..16) - - (variant꞉ YulDecimalLiteral): "0" # (16..17) - - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..3e24c0d9ed --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ difficulty := 0 │ 0..15 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/input.sol:1:1] + │ + 1 │ difficulty := 0 + │ ────────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "difficulty := 0\n" # (0..16) 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 deleted file mode 100644 index 8092682b29..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ difficulty := 0 │ 0..15 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "difficulty := 0\n" (0..16) - - (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) - - (variant꞉ ColonEqual): ":=" # (11..13) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) - - (leading_trivia꞉ Whitespace): " " # (13..14) - - (variant꞉ YulDecimalLiteral): "0" # (14..15) - - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml deleted file mode 100644 index a6ae16ee30..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.18-failure.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ difficulty := 0 │ 0..15 - -Errors: # 1 total - - > - Error: Expected YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTimestampKeyword or YulXorKeyword. - ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/input.sol:1:1] - │ - 1 │ difficulty := 0 - │ ────────┬─────── - │ ╰───────── Error occurred here. - ───╯ - -Tree: - - (SKIPPED): "difficulty := 0\n" # (0..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml deleted file mode 100644 index b11d2e409e..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/generated/0.8.24-failure.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ difficulty := 0 │ 0..15 - -Errors: # 1 total - - > - Error: Expected YulAddKeyword or YulAddModKeyword or YulAddressKeyword or YulAndKeyword or YulBalanceKeyword or YulBaseFeeKeyword or YulBlobBaseFeeKeyword or YulBlobHashKeyword or YulBlockHashKeyword or YulByteKeyword or YulCallCodeKeyword or YulCallDataCopyKeyword or YulCallDataLoadKeyword or YulCallDataSizeKeyword or YulCallKeyword or YulCallValueKeyword or YulCallerKeyword or YulChainIdKeyword or YulCoinBaseKeyword or YulCreate2Keyword or YulCreateKeyword or YulDelegateCallKeyword or YulDivKeyword or YulEqKeyword or YulExpKeyword or YulExtCodeCopyKeyword or YulExtCodeHashKeyword or YulExtCodeSizeKeyword or YulGasKeyword or YulGasLimitKeyword or YulGasPriceKeyword or YulGtKeyword or YulIdentifier or YulInvalidKeyword or YulIsZeroKeyword or YulKeccak256Keyword or YulLog0Keyword or YulLog1Keyword or YulLog2Keyword or YulLog3Keyword or YulLog4Keyword or YulLtKeyword or YulMCopyKeyword or YulMLoadKeyword or YulMSizeKeyword or YulMStore8Keyword or YulMStoreKeyword or YulModKeyword or YulMulKeyword or YulMulModKeyword or YulNotKeyword or YulNumberKeyword or YulOrKeyword or YulOriginKeyword or YulPopKeyword or YulPrevRandaoKeyword or YulReturnDataCopyKeyword or YulReturnDataSizeKeyword or YulReturnKeyword or YulRevertKeyword or YulSDivKeyword or YulSLoadKeyword or YulSModKeyword or YulSStoreKeyword or YulSarKeyword or YulSelfBalanceKeyword or YulSelfDestructKeyword or YulSgtKeyword or YulShlKeyword or YulShrKeyword or YulSignExtendKeyword or YulSltKeyword or YulStaticCallKeyword or YulStopKeyword or YulSubKeyword or YulTLoadKeyword or YulTStoreKeyword or YulTimestampKeyword or YulXorKeyword. - ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_difficulty/input.sol:1:1] - │ - 1 │ difficulty := 0 - │ ────────┬─────── - │ ╰───────── Error occurred here. - ───╯ - -Tree: - - (SKIPPED): "difficulty := 0\n" # (0..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..07473164ba --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ div := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/input.sol:1:1] + │ + 1 │ div := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "div := 0\n" # (0..9) 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 deleted file mode 100644 index e14da1ae3e..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_div/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ div := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "div := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..67efe32117 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ eq := 0 │ 0..7 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/input.sol:1:1] + │ + 1 │ eq := 0 + │ ────┬─── + │ ╰───── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "eq := 0\n" # (0..8) 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 deleted file mode 100644 index 04bf20286f..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_eq/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ eq := 0 │ 0..7 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "eq := 0\n" (0..8) - - (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) - - (variant꞉ ColonEqual): ":=" # (3..5) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) - - (leading_trivia꞉ Whitespace): " " # (5..6) - - (variant꞉ YulDecimalLiteral): "0" # (6..7) - - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..e88da20777 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ exp := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/input.sol:1:1] + │ + 1 │ exp := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "exp := 0\n" # (0..9) 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 deleted file mode 100644 index 81e86570e9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_exp/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ exp := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "exp := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..4e13e67095 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ extcodecopy := 0 │ 0..16 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/input.sol:1:1] + │ + 1 │ extcodecopy := 0 + │ ────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "extcodecopy := 0\n" # (0..17) 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 deleted file mode 100644 index 94e40b1ac9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodecopy/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ extcodecopy := 0 │ 0..16 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "extcodecopy := 0\n" (0..17) - - (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) - - (variant꞉ ColonEqual): ":=" # (12..14) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) - - (leading_trivia꞉ Whitespace): " " # (14..15) - - (variant꞉ YulDecimalLiteral): "0" # (15..16) - - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..fca9e7f5a1 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ extcodehash := 0 │ 0..16 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/input.sol:1:1] + │ + 1 │ extcodehash := 0 + │ ────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "extcodehash := 0\n" # (0..17) 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 deleted file mode 100644 index a8b8fc9d5f..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodehash/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ extcodehash := 0 │ 0..16 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "extcodehash := 0\n" (0..17) - - (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) - - (variant꞉ ColonEqual): ":=" # (12..14) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) - - (leading_trivia꞉ Whitespace): " " # (14..15) - - (variant꞉ YulDecimalLiteral): "0" # (15..16) - - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..6da0a2616f --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ extcodesize := 0 │ 0..16 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/input.sol:1:1] + │ + 1 │ extcodesize := 0 + │ ────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "extcodesize := 0\n" # (0..17) 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 deleted file mode 100644 index f97f6637bc..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_extcodesize/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ extcodesize := 0 │ 0..16 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "extcodesize := 0\n" (0..17) - - (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) - - (variant꞉ ColonEqual): ":=" # (12..14) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) - - (leading_trivia꞉ Whitespace): " " # (14..15) - - (variant꞉ YulDecimalLiteral): "0" # (15..16) - - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8a29506607 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gas := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/input.sol:1:1] + │ + 1 │ gas := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "gas := 0\n" # (0..9) 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 deleted file mode 100644 index 93476a4b69..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gas/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ gas := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "gas := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..4380fe4973 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gaslimit := 0 │ 0..13 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/input.sol:1:1] + │ + 1 │ gaslimit := 0 + │ ───────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "gaslimit := 0\n" # (0..14) 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 deleted file mode 100644 index d81768efd9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gaslimit/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ gaslimit := 0 │ 0..13 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "gaslimit := 0\n" (0..14) - - (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) - - (variant꞉ ColonEqual): ":=" # (9..11) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) - - (leading_trivia꞉ Whitespace): " " # (11..12) - - (variant꞉ YulDecimalLiteral): "0" # (12..13) - - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..bf63293a19 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gasprice := 0 │ 0..13 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/input.sol:1:1] + │ + 1 │ gasprice := 0 + │ ───────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "gasprice := 0\n" # (0..14) 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 deleted file mode 100644 index d4e1b99c31..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gasprice/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ gasprice := 0 │ 0..13 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "gasprice := 0\n" (0..14) - - (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) - - (variant꞉ ColonEqual): ":=" # (9..11) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (11..14) - - (leading_trivia꞉ Whitespace): " " # (11..12) - - (variant꞉ YulDecimalLiteral): "0" # (12..13) - - (trailing_trivia꞉ EndOfLine): "\n" # (13..14) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..870b77b6a8 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ gt := 0 │ 0..7 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/input.sol:1:1] + │ + 1 │ gt := 0 + │ ────┬─── + │ ╰───── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "gt := 0\n" # (0..8) 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 deleted file mode 100644 index 0b305f87f6..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_gt/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ gt := 0 │ 0..7 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "gt := 0\n" (0..8) - - (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) - - (variant꞉ ColonEqual): ":=" # (3..5) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) - - (leading_trivia꞉ Whitespace): " " # (5..6) - - (variant꞉ YulDecimalLiteral): "0" # (6..7) - - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..f42c23cb63 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ invalid := 0 │ 0..12 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/input.sol:1:1] + │ + 1 │ invalid := 0 + │ ──────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "invalid := 0\n" # (0..13) 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 deleted file mode 100644 index e4355af347..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_invalid/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ invalid := 0 │ 0..12 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "invalid := 0\n" (0..13) - - (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) - - (variant꞉ ColonEqual): ":=" # (8..10) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) - - (leading_trivia꞉ Whitespace): " " # (10..11) - - (variant꞉ YulDecimalLiteral): "0" # (11..12) - - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..d6f89f8235 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ iszero := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/input.sol:1:1] + │ + 1 │ iszero := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "iszero := 0\n" # (0..12) 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 deleted file mode 100644 index 31bc4b0fb6..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_iszero/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ iszero := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "iszero := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..813a390803 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ keccak256 := 0 │ 0..14 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/input.sol:1:1] + │ + 1 │ keccak256 := 0 + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "keccak256 := 0\n" # (0..15) 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 deleted file mode 100644 index b76f35d55c..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_keccak256/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ keccak256 := 0 │ 0..14 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "keccak256 := 0\n" (0..15) - - (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) - - (variant꞉ ColonEqual): ":=" # (10..12) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) - - (leading_trivia꞉ Whitespace): " " # (12..13) - - (variant꞉ YulDecimalLiteral): "0" # (13..14) - - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..6119159c4a --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log0 := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/input.sol:1:1] + │ + 1 │ log0 := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "log0 := 0\n" # (0..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 deleted file mode 100644 index 16dabf6c38..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log0/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ log0 := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "log0 := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..791af4e89f --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log1 := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/input.sol:1:1] + │ + 1 │ log1 := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "log1 := 0\n" # (0..10) 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 deleted file mode 100644 index 59b9242abb..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log1/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ log1 := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "log1 := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..2db6b9cacc --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log2 := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/input.sol:1:1] + │ + 1 │ log2 := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "log2 := 0\n" # (0..10) 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 deleted file mode 100644 index e1022678d8..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log2/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ log2 := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "log2 := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..1e68f6b043 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log3 := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/input.sol:1:1] + │ + 1 │ log3 := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "log3 := 0\n" # (0..10) 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 deleted file mode 100644 index 91ac7ea5d1..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log3/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ log3 := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "log3 := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..bba80e081d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ log4 := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/input.sol:1:1] + │ + 1 │ log4 := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "log4 := 0\n" # (0..10) 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 deleted file mode 100644 index 8dbceeda95..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_log4/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ log4 := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "log4 := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..84e89d4e12 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ lt := 0 │ 0..7 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/input.sol:1:1] + │ + 1 │ lt := 0 + │ ────┬─── + │ ╰───── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "lt := 0\n" # (0..8) 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 deleted file mode 100644 index 3a1357b86a..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_lt/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ lt := 0 │ 0..7 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "lt := 0\n" (0..8) - - (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) - - (variant꞉ ColonEqual): ":=" # (3..5) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) - - (leading_trivia꞉ Whitespace): " " # (5..6) - - (variant꞉ YulDecimalLiteral): "0" # (6..7) - - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8e0d272baa --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mload := 0 │ 0..10 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/input.sol:1:1] + │ + 1 │ mload := 0 + │ ─────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "mload := 0\n" # (0..11) 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 deleted file mode 100644 index 45e31bfe73..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mload/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ mload := 0 │ 0..10 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "mload := 0\n" (0..11) - - (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) - - (variant꞉ ColonEqual): ":=" # (6..8) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (8..11) - - (leading_trivia꞉ Whitespace): " " # (8..9) - - (variant꞉ YulDecimalLiteral): "0" # (9..10) - - (trailing_trivia꞉ EndOfLine): "\n" # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..a090c4fda9 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mod := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/input.sol:1:1] + │ + 1 │ mod := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "mod := 0\n" # (0..9) 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 deleted file mode 100644 index 24f09fdcaf..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mod/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ mod := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "mod := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..ac8df9e998 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ msize := 0 │ 0..10 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/input.sol:1:1] + │ + 1 │ msize := 0 + │ ─────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "msize := 0\n" # (0..11) 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 deleted file mode 100644 index 9b3e1eb6c1..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_msize/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ msize := 0 │ 0..10 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "msize := 0\n" (0..11) - - (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) - - (variant꞉ ColonEqual): ":=" # (6..8) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (8..11) - - (leading_trivia꞉ Whitespace): " " # (8..9) - - (variant꞉ YulDecimalLiteral): "0" # (9..10) - - (trailing_trivia꞉ EndOfLine): "\n" # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..1b3a3f0a74 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mstore := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/input.sol:1:1] + │ + 1 │ mstore := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "mstore := 0\n" # (0..12) 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 deleted file mode 100644 index f5143988f2..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ mstore := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "mstore := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..3712f8e165 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mstore8 := 0 │ 0..12 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/input.sol:1:1] + │ + 1 │ mstore8 := 0 + │ ──────┬────── + │ ╰──────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "mstore8 := 0\n" # (0..13) 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 deleted file mode 100644 index 9f9efceb98..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mstore8/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ mstore8 := 0 │ 0..12 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "mstore8 := 0\n" (0..13) - - (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) - - (variant꞉ ColonEqual): ":=" # (8..10) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (10..13) - - (leading_trivia꞉ Whitespace): " " # (10..11) - - (variant꞉ YulDecimalLiteral): "0" # (11..12) - - (trailing_trivia꞉ EndOfLine): "\n" # (12..13) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..f111cd3017 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mul := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/input.sol:1:1] + │ + 1 │ mul := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "mul := 0\n" # (0..9) 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 deleted file mode 100644 index 73d97c24ed..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mul/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ mul := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "mul := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..18b49f78b7 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ mulmod := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/input.sol:1:1] + │ + 1 │ mulmod := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "mulmod := 0\n" # (0..12) 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 deleted file mode 100644 index 797ff5a7ee..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_mulmod/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ mulmod := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "mulmod := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..69f02f8f9d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ not := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/input.sol:1:1] + │ + 1 │ not := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "not := 0\n" # (0..9) 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 deleted file mode 100644 index 351162a983..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_not/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ not := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "not := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..5a438167d4 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ number := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/input.sol:1:1] + │ + 1 │ number := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "number := 0\n" # (0..12) 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 deleted file mode 100644 index 69bbf0cc9b..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_number/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ number := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "number := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..364a38c9c2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ or := 0 │ 0..7 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/input.sol:1:1] + │ + 1 │ or := 0 + │ ────┬─── + │ ╰───── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "or := 0\n" # (0..8) 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 deleted file mode 100644 index 19ae449712..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_or/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ or := 0 │ 0..7 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "or := 0\n" (0..8) - - (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) - - (variant꞉ ColonEqual): ":=" # (3..5) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (5..8) - - (leading_trivia꞉ Whitespace): " " # (5..6) - - (variant꞉ YulDecimalLiteral): "0" # (6..7) - - (trailing_trivia꞉ EndOfLine): "\n" # (7..8) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..9f4b33785f --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ origin := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/input.sol:1:1] + │ + 1 │ origin := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "origin := 0\n" # (0..12) 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 deleted file mode 100644 index a596354aee..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_origin/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ origin := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "origin := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..7b8f953107 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ pop := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/input.sol:1:1] + │ + 1 │ pop := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "pop := 0\n" # (0..9) 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 deleted file mode 100644 index 4ae91437df..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_pop/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ pop := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "pop := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml new file mode 100644 index 0000000000..e99e65472a --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ prevrandao := 0 │ 0..15 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/input.sol:1:1] + │ + 1 │ prevrandao := 0 + │ ────────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "prevrandao := 0\n" # (0..16) 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 deleted file mode 100644 index 0c85df2c6a..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_prevrandao/generated/0.8.18-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ prevrandao := 0 │ 0..15 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "prevrandao := 0\n" (0..16) - - (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) - - (variant꞉ ColonEqual): ":=" # (11..13) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) - - (leading_trivia꞉ Whitespace): " " # (13..14) - - (variant꞉ YulDecimalLiteral): "0" # (14..15) - - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8c7134f2b3 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ return := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/input.sol:1:1] + │ + 1 │ return := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "return := 0\n" # (0..12) 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 deleted file mode 100644 index 69ea3b8805..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_return/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ return := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "return := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..5e323739f2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ returndatacopy := 0 │ 0..19 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/input.sol:1:1] + │ + 1 │ returndatacopy := 0 + │ ──────────┬───────── + │ ╰─────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "returndatacopy := 0\n" # (0..20) 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 deleted file mode 100644 index b7cbd914b7..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatacopy/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ returndatacopy := 0 │ 0..19 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "returndatacopy := 0\n" (0..20) - - (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) - - (variant꞉ ColonEqual): ":=" # (15..17) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (17..20) - - (leading_trivia꞉ Whitespace): " " # (17..18) - - (variant꞉ YulDecimalLiteral): "0" # (18..19) - - (trailing_trivia꞉ EndOfLine): "\n" # (19..20) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..3d07a54c04 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ returndatasize := 0 │ 0..19 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/input.sol:1:1] + │ + 1 │ returndatasize := 0 + │ ──────────┬───────── + │ ╰─────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "returndatasize := 0\n" # (0..20) 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 deleted file mode 100644 index b283e960fb..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_returndatasize/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ returndatasize := 0 │ 0..19 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "returndatasize := 0\n" (0..20) - - (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) - - (variant꞉ ColonEqual): ":=" # (15..17) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (17..20) - - (leading_trivia꞉ Whitespace): " " # (17..18) - - (variant꞉ YulDecimalLiteral): "0" # (18..19) - - (trailing_trivia꞉ EndOfLine): "\n" # (19..20) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..4dcfd7a5f6 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ revert := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/input.sol:1:1] + │ + 1 │ revert := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "revert := 0\n" # (0..12) 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 deleted file mode 100644 index 49805ef81a..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_revert/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ revert := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "revert := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..1693ef9aa6 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sar := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/input.sol:1:1] + │ + 1 │ sar := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "sar := 0\n" # (0..9) 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 deleted file mode 100644 index 14df63dc7d..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sar/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ sar := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "sar := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..c3931863aa --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sdiv := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/input.sol:1:1] + │ + 1 │ sdiv := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "sdiv := 0\n" # (0..10) 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 deleted file mode 100644 index 1c3dfc3e6d..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sdiv/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ sdiv := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "sdiv := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..f3a09d718d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ selfbalance := 0 │ 0..16 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/input.sol:1:1] + │ + 1 │ selfbalance := 0 + │ ────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "selfbalance := 0\n" # (0..17) 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 deleted file mode 100644 index 9aebda9a67..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfbalance/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ selfbalance := 0 │ 0..16 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "selfbalance := 0\n" (0..17) - - (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) - - (variant꞉ ColonEqual): ":=" # (12..14) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (14..17) - - (leading_trivia꞉ Whitespace): " " # (14..15) - - (variant꞉ YulDecimalLiteral): "0" # (15..16) - - (trailing_trivia꞉ EndOfLine): "\n" # (16..17) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..24e93ff151 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ selfdestruct := 0 │ 0..17 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/input.sol:1:1] + │ + 1 │ selfdestruct := 0 + │ ─────────┬──────── + │ ╰────────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "selfdestruct := 0\n" # (0..18) 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 deleted file mode 100644 index 514c85c45f..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_selfdestruct/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ selfdestruct := 0 │ 0..17 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "selfdestruct := 0\n" (0..18) - - (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) - - (variant꞉ ColonEqual): ":=" # (13..15) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (15..18) - - (leading_trivia꞉ Whitespace): " " # (15..16) - - (variant꞉ YulDecimalLiteral): "0" # (16..17) - - (trailing_trivia꞉ EndOfLine): "\n" # (17..18) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..221000407e --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sgt := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/input.sol:1:1] + │ + 1 │ sgt := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "sgt := 0\n" # (0..9) 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 deleted file mode 100644 index fc5e2b06e6..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sgt/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ sgt := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "sgt := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..13a898a517 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ shl := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/input.sol:1:1] + │ + 1 │ shl := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "shl := 0\n" # (0..9) 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 deleted file mode 100644 index 2d43b21a27..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shl/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ shl := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "shl := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..d5b35ca39d --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ shr := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/input.sol:1:1] + │ + 1 │ shr := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "shr := 0\n" # (0..9) 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 deleted file mode 100644 index a854d8b39d..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_shr/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ shr := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "shr := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..8e74e31830 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ signextend := 0 │ 0..15 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/input.sol:1:1] + │ + 1 │ signextend := 0 + │ ────────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "signextend := 0\n" # (0..16) 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 deleted file mode 100644 index 51670a658d..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_signextend/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ signextend := 0 │ 0..15 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "signextend := 0\n" (0..16) - - (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) - - (variant꞉ ColonEqual): ":=" # (11..13) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) - - (leading_trivia꞉ Whitespace): " " # (13..14) - - (variant꞉ YulDecimalLiteral): "0" # (14..15) - - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..726c33e316 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sload := 0 │ 0..10 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/input.sol:1:1] + │ + 1 │ sload := 0 + │ ─────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "sload := 0\n" # (0..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 deleted file mode 100644 index f16b7fc8f9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sload/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ sload := 0 │ 0..10 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "sload := 0\n" (0..11) - - (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) - - (variant꞉ ColonEqual): ":=" # (6..8) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (8..11) - - (leading_trivia꞉ Whitespace): " " # (8..9) - - (variant꞉ YulDecimalLiteral): "0" # (9..10) - - (trailing_trivia꞉ EndOfLine): "\n" # (10..11) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..d06589da99 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ slt := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/input.sol:1:1] + │ + 1 │ slt := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "slt := 0\n" # (0..9) 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 deleted file mode 100644 index 79ec1f1017..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_slt/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ slt := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "slt := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..fad9d94fe3 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ smod := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/input.sol:1:1] + │ + 1 │ smod := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "smod := 0\n" # (0..10) 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 deleted file mode 100644 index d7a0b118da..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_smod/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ smod := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "smod := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..6eafc9aeb7 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sstore := 0 │ 0..11 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/input.sol:1:1] + │ + 1 │ sstore := 0 + │ ──────┬───── + │ ╰─────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "sstore := 0\n" # (0..12) 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 deleted file mode 100644 index cdaf7260a9..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sstore/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ sstore := 0 │ 0..11 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "sstore := 0\n" (0..12) - - (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) - - (variant꞉ ColonEqual): ":=" # (7..9) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (9..12) - - (leading_trivia꞉ Whitespace): " " # (9..10) - - (variant꞉ YulDecimalLiteral): "0" # (10..11) - - (trailing_trivia꞉ EndOfLine): "\n" # (11..12) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..ee7a8772b2 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ staticcall := 0 │ 0..15 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/input.sol:1:1] + │ + 1 │ staticcall := 0 + │ ────────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "staticcall := 0\n" # (0..16) 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 deleted file mode 100644 index 75e2055e44..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_staticcall/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ staticcall := 0 │ 0..15 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "staticcall := 0\n" (0..16) - - (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) - - (variant꞉ ColonEqual): ":=" # (11..13) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (13..16) - - (leading_trivia꞉ Whitespace): " " # (13..14) - - (variant꞉ YulDecimalLiteral): "0" # (14..15) - - (trailing_trivia꞉ EndOfLine): "\n" # (15..16) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..94e91ed1f4 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ stop := 0 │ 0..9 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/input.sol:1:1] + │ + 1 │ stop := 0 + │ ─────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "stop := 0\n" # (0..10) 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 deleted file mode 100644 index c6f91773f6..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_stop/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ stop := 0 │ 0..9 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "stop := 0\n" (0..10) - - (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) - - (variant꞉ ColonEqual): ":=" # (5..7) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (7..10) - - (leading_trivia꞉ Whitespace): " " # (7..8) - - (variant꞉ YulDecimalLiteral): "0" # (8..9) - - (trailing_trivia꞉ EndOfLine): "\n" # (9..10) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..1048cc27c3 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ sub := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/input.sol:1:1] + │ + 1 │ sub := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "sub := 0\n" # (0..9) 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 deleted file mode 100644 index 4d7d2da7a5..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_sub/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ sub := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "sub := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..7dd1d7bfd4 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ timestamp := 0 │ 0..14 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/input.sol:1:1] + │ + 1 │ timestamp := 0 + │ ───────┬─────── + │ ╰───────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "timestamp := 0\n" # (0..15) 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 deleted file mode 100644 index 1b60e1a8f0..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_timestamp/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ timestamp := 0 │ 0..14 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "timestamp := 0\n" (0..15) - - (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) - - (variant꞉ ColonEqual): ":=" # (10..12) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (12..15) - - (leading_trivia꞉ Whitespace): " " # (12..13) - - (variant꞉ YulDecimalLiteral): "0" # (13..14) - - (trailing_trivia꞉ EndOfLine): "\n" # (14..15) diff --git a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-failure.yml b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-failure.yml new file mode 100644 index 0000000000..cda3742d55 --- /dev/null +++ b/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-failure.yml @@ -0,0 +1,17 @@ +# This file is generated automatically by infrastructure scripts. Please don't edit by hand. + +Source: > + 1 │ xor := 0 │ 0..8 + +Errors: # 1 total + - > + Error: Expected YulAddressKeyword or YulIdentifier. + ╭─[crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/input.sol:1:1] + │ + 1 │ xor := 0 + │ ────┬──── + │ ╰────── Error occurred here. + ───╯ + +Tree: + - (SKIPPED): "xor := 0\n" # (0..9) 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 deleted file mode 100644 index c583bcd797..0000000000 --- a/crates/solidity/testing/snapshots/cst_output/YulAssignmentStatement/identifier_xor/generated/0.8.10-success.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file is generated automatically by infrastructure scripts. Please don't edit by hand. - -Source: > - 1 │ xor := 0 │ 0..8 - -Errors: [] - -Tree: - - (YulAssignmentStatement): # "xor := 0\n" (0..9) - - (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) - - (variant꞉ ColonEqual): ":=" # (4..6) - - (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 0\n" (6..9) - - (leading_trivia꞉ Whitespace): " " # (6..7) - - (variant꞉ YulDecimalLiteral): "0" # (7..8) - - (trailing_trivia꞉ EndOfLine): "\n" # (8..9) 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 651a449d8a..ab93a520b6 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 @@ -25,7 +25,7 @@ Tree: - (leading_trivia꞉ Whitespace): "\t" # (160..161) - (variant꞉ YulIdentifier): "f" # (161..162) - (separator꞉ Period): "." # (162..163) - - (item꞉ YulPathComponent) ► (variant꞉ YulBuiltInFunction) ► (variant꞉ YulAddressKeyword): "address" # (163..170) + - (item꞉ YulPathComponent) ► (variant꞉ YulAddressKeyword): "address" # (163..170) - (assignment꞉ YulAssignmentOperator): # " :=" (170..173) - (leading_trivia꞉ Whitespace): " " # (170..171) - (variant꞉ ColonEqual): ":=" # (171..173)