diff --git a/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_multiple/generated/0.8.13-failure.yml b/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_multiple/generated/0.8.13-failure.yml index ce5ecd3db2..3d9df08874 100644 --- a/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_multiple/generated/0.8.13-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_multiple/generated/0.8.13-failure.yml @@ -18,15 +18,15 @@ Tree: - UsingKeyword (Token): "using" # 0..5 - UsingDirectiveDeconstruction (Rule): # 5..36 " {add as +, sub, mul, div as /}" - OpenBrace (Token): "{" # 6..7 - - UsingDirectiveSymbolsList (Rule): # 7..10 "add" - - UsingDirectiveSymbol (Rule): # 7..10 "add" - - IdentifierPath (Rule): # 7..10 "add" + - UsingDirectiveSymbolsList (Rule): # 7..11 "add " + - UsingDirectiveSymbol (Rule): # 7..11 "add " + - IdentifierPath (Rule): # 7..11 "add " - Identifier (Token): "add" # 7..10 - SKIPPED (Token): "as +, sub, mul, div as /" # 11..35 - CloseBrace (Token): "}" # 35..36 - ForKeyword (Token): "for" # 37..40 - - TypeName (Rule): # 40..44 " Int" - - IdentifierPath (Rule): # 40..44 " Int" + - TypeName (Rule): # 40..45 " Int " + - IdentifierPath (Rule): # 40..45 " Int " - Identifier (Token): "Int" # 41..44 - GlobalKeyword (Token): "global" # 45..51 - Semicolon (Token): ";" # 51..52 diff --git a/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_single/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_single/generated/0.4.11-failure.yml index 125e8d1e4d..abaf1c630b 100644 --- a/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_single/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/UsingDirective/destructure_single/generated/0.4.11-failure.yml @@ -24,8 +24,8 @@ Tree: - Identifier (Token): "add" # 7..10 - CloseBrace (Token): "}" # 10..11 - ForKeyword (Token): "for" # 12..15 - - TypeName (Rule): # 15..19 " Int" - - IdentifierPath (Rule): # 15..19 " Int" + - TypeName (Rule): # 15..20 " Int " + - IdentifierPath (Rule): # 15..20 " Int " - Identifier (Token): "Int" # 16..19 - SKIPPED (Token): "global" # 20..26 - Semicolon (Token): ";" # 26..27 diff --git a/crates/solidity/testing/snapshots/cst_output/UsingDirective/path_named/generated/0.4.11-failure.yml b/crates/solidity/testing/snapshots/cst_output/UsingDirective/path_named/generated/0.4.11-failure.yml index d4a79bcd2d..3b169c591e 100644 --- a/crates/solidity/testing/snapshots/cst_output/UsingDirective/path_named/generated/0.4.11-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/UsingDirective/path_named/generated/0.4.11-failure.yml @@ -16,12 +16,12 @@ Errors: # 1 total Tree: - UsingDirective (Rule): # 0..25 "using foo for bar global;" - UsingKeyword (Token): "using" # 0..5 - - UsingDirectivePath (Rule): # 5..9 " foo" - - IdentifierPath (Rule): # 5..9 " foo" + - UsingDirectivePath (Rule): # 5..10 " foo " + - IdentifierPath (Rule): # 5..10 " foo " - Identifier (Token): "foo" # 6..9 - ForKeyword (Token): "for" # 10..13 - - TypeName (Rule): # 13..17 " bar" - - IdentifierPath (Rule): # 13..17 " bar" + - TypeName (Rule): # 13..18 " bar " + - IdentifierPath (Rule): # 13..18 " bar " - Identifier (Token): "bar" # 14..17 - SKIPPED (Token): "global" # 18..24 - Semicolon (Token): ";" # 24..25 diff --git a/crates/solidity/testing/snapshots/cst_output/UsingDirective/user_defined_operator/generated/0.8.13-failure.yml b/crates/solidity/testing/snapshots/cst_output/UsingDirective/user_defined_operator/generated/0.8.13-failure.yml index bc1b7ac2a0..424377d7e7 100644 --- a/crates/solidity/testing/snapshots/cst_output/UsingDirective/user_defined_operator/generated/0.8.13-failure.yml +++ b/crates/solidity/testing/snapshots/cst_output/UsingDirective/user_defined_operator/generated/0.8.13-failure.yml @@ -18,15 +18,15 @@ Tree: - UsingKeyword (Token): "using" # 0..5 - UsingDirectiveDeconstruction (Rule): # 5..16 " {div as /}" - OpenBrace (Token): "{" # 6..7 - - UsingDirectiveSymbolsList (Rule): # 7..10 "div" - - UsingDirectiveSymbol (Rule): # 7..10 "div" - - IdentifierPath (Rule): # 7..10 "div" + - UsingDirectiveSymbolsList (Rule): # 7..11 "div " + - UsingDirectiveSymbol (Rule): # 7..11 "div " + - IdentifierPath (Rule): # 7..11 "div " - Identifier (Token): "div" # 7..10 - SKIPPED (Token): "as /" # 11..15 - CloseBrace (Token): "}" # 15..16 - ForKeyword (Token): "for" # 17..20 - - TypeName (Rule): # 20..24 " Int" - - IdentifierPath (Rule): # 20..24 " Int" + - TypeName (Rule): # 20..25 " Int " + - IdentifierPath (Rule): # 20..25 " Int " - Identifier (Token): "Int" # 21..24 - GlobalKeyword (Token): "global" # 25..31 - Semicolon (Token): ";" # 31..32