Skip to content

Commit ed9a38e

Browse files
committed
bring back arrows
1 parent 25119e2 commit ed9a38e

318 files changed

Lines changed: 3036 additions & 3034 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crates/solidity/testing/snapshots/cst_output/AsciiStringLiterals/multiple/generated/0.4.11-success.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Errors: []
88
Tree:
99
- (AsciiStringLiterals): # '"foo" ''bar''' (0..11)
1010
- (item꞉ AsciiStringLiteral): '"foo"' # (0..5)
11-
- (LeadingTrivia) ──→ (Whitespace): " " # (5..6)
11+
- (LeadingTrivia) (Whitespace): " " # (5..6)
1212
- (item꞉ AsciiStringLiteral): "'bar'" # (6..11)

crates/solidity/testing/snapshots/cst_output/AssemblyStatement/simple/generated/0.4.11-success.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ Errors: []
1010
Tree:
1111
- (AssemblyStatement): # 'assembly "evmasm" ("memory-safe") {\n\n}\n' (0..39)
1212
- (assembly_keyword꞉ AssemblyKeyword): "assembly" # (0..8)
13-
- (LeadingTrivia) ──→ (Whitespace): " " # (8..9)
13+
- (LeadingTrivia) (Whitespace): " " # (8..9)
1414
- (label꞉ AsciiStringLiteral): '"evmasm"' # (9..17)
1515
- (flags꞉ AssemblyFlagsDeclaration): # ' ("memory-safe")' (17..33)
16-
- (LeadingTrivia) ──→ (Whitespace): " " # (17..18)
16+
- (LeadingTrivia) (Whitespace): " " # (17..18)
1717
- (open_paren꞉ OpenParen): "(" # (18..19)
1818
- (flags꞉ AssemblyFlags): # '"memory-safe"' (19..32)
1919
- (item꞉ AsciiStringLiteral): '"memory-safe"' # (19..32)
2020
- (close_paren꞉ CloseParen): ")" # (32..33)
2121
- (body꞉ YulBlock): # " {\n\n}\n" (33..39)
22-
- (LeadingTrivia) ──→ (Whitespace): " " # (33..34)
22+
- (LeadingTrivia) (Whitespace): " " # (33..34)
2323
- (open_brace꞉ OpenBrace): "{" # (34..35)
24-
- (TrailingTrivia) ──→ (EndOfLine): "\n" # (35..36)
25-
- (LeadingTrivia) ──→ (EndOfLine): "\n" # (36..37)
24+
- (TrailingTrivia) (EndOfLine): "\n" # (35..36)
25+
- (LeadingTrivia) (EndOfLine): "\n" # (36..37)
2626
- (close_brace꞉ CloseBrace): "}" # (37..38)
27-
- (TrailingTrivia) ──→ (EndOfLine): "\n" # (38..39)
27+
- (TrailingTrivia) (EndOfLine): "\n" # (38..39)

crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.4.11-failure.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ Tree:
1717
- (Block): # "{ unchecked { x = 1; } }" (0..24)
1818
- (open_brace꞉ OpenBrace): "{" # (0..1)
1919
- (statements꞉ Statements): # " unchecked " (1..12)
20-
- (item꞉ Statement) ──→ (variant꞉ ExpressionStatement): # " unchecked " (1..12)
20+
- (item꞉ Statement) (variant꞉ ExpressionStatement): # " unchecked " (1..12)
2121
- (expression꞉ Expression): # " unchecked" (1..11)
22-
- (LeadingTrivia) ──→ (Whitespace): " " # (1..2)
22+
- (LeadingTrivia) (Whitespace): " " # (1..2)
2323
- (variant꞉ Identifier): "unchecked" # (2..11)
24-
- (LeadingTrivia) ──→ (Whitespace): " " # (11..12)
24+
- (LeadingTrivia) (Whitespace): " " # (11..12)
2525
- (SKIPPED): "{ x = 1; } " # (12..23)
2626
- (close_brace꞉ CloseBrace): "}" # (23..24)

crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.0-failure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Errors: # 1 total
1616
Tree:
1717
- (Block): # "{ unchecked { x = 1; } }" (0..24)
1818
- (open_brace꞉ OpenBrace): "{" # (0..1)
19-
- (LeadingTrivia) ──→ (Whitespace): " " # (1..2)
19+
- (LeadingTrivia) (Whitespace): " " # (1..2)
2020
- (SKIPPED): "unchecked { x = 1; } " # (2..23)
2121
- (close_brace꞉ CloseBrace): "}" # (23..24)

crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.5.3-failure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Errors: # 1 total
1616
Tree:
1717
- (Block): # "{ unchecked { x = 1; } }" (0..24)
1818
- (open_brace꞉ OpenBrace): "{" # (0..1)
19-
- (LeadingTrivia) ──→ (Whitespace): " " # (1..2)
19+
- (LeadingTrivia) (Whitespace): " " # (1..2)
2020
- (SKIPPED): "unchecked { x = 1; } " # (2..23)
2121
- (close_brace꞉ CloseBrace): "}" # (23..24)

crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.6.0-failure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Errors: # 1 total
1616
Tree:
1717
- (Block): # "{ unchecked { x = 1; } }" (0..24)
1818
- (open_brace꞉ OpenBrace): "{" # (0..1)
19-
- (LeadingTrivia) ──→ (Whitespace): " " # (1..2)
19+
- (LeadingTrivia) (Whitespace): " " # (1..2)
2020
- (SKIPPED): "unchecked { x = 1; } " # (2..23)
2121
- (close_brace꞉ CloseBrace): "}" # (23..24)

crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.7.0-failure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Errors: # 1 total
1616
Tree:
1717
- (Block): # "{ unchecked { x = 1; } }" (0..24)
1818
- (open_brace꞉ OpenBrace): "{" # (0..1)
19-
- (LeadingTrivia) ──→ (Whitespace): " " # (1..2)
19+
- (LeadingTrivia) (Whitespace): " " # (1..2)
2020
- (SKIPPED): "unchecked { x = 1; } " # (2..23)
2121
- (close_brace꞉ CloseBrace): "}" # (23..24)

crates/solidity/testing/snapshots/cst_output/Block/unchecked/generated/0.8.0-success.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ Tree:
99
- (Block): # "{ unchecked { x = 1; } }" (0..24)
1010
- (open_brace꞉ OpenBrace): "{" # (0..1)
1111
- (statements꞉ Statements): # " unchecked { x = 1; }" (1..22)
12-
- (item꞉ Statement) ──→ (variant꞉ UncheckedBlock): # " unchecked { x = 1; }" (1..22)
13-
- (LeadingTrivia) ──→ (Whitespace): " " # (1..2)
12+
- (item꞉ Statement) (variant꞉ UncheckedBlock): # " unchecked { x = 1; }" (1..22)
13+
- (LeadingTrivia) (Whitespace): " " # (1..2)
1414
- (unchecked_keyword꞉ UncheckedKeyword): "unchecked" # (2..11)
1515
- (block꞉ Block): # " { x = 1; }" (11..22)
16-
- (LeadingTrivia) ──→ (Whitespace): " " # (11..12)
16+
- (LeadingTrivia) (Whitespace): " " # (11..12)
1717
- (open_brace꞉ OpenBrace): "{" # (12..13)
1818
- (statements꞉ Statements): # " x = 1;" (13..20)
19-
- (item꞉ Statement) ──→ (variant꞉ ExpressionStatement): # " x = 1;" (13..20)
20-
- (expression꞉ Expression) ──→ (variant꞉ AssignmentExpression): # " x = 1" (13..19)
19+
- (item꞉ Statement) (variant꞉ ExpressionStatement): # " x = 1;" (13..20)
20+
- (expression꞉ Expression) (variant꞉ AssignmentExpression): # " x = 1" (13..19)
2121
- (left_operand꞉ Expression): # " x" (13..15)
22-
- (LeadingTrivia) ──→ (Whitespace): " " # (13..14)
22+
- (LeadingTrivia) (Whitespace): " " # (13..14)
2323
- (variant꞉ Identifier): "x" # (14..15)
24-
- (LeadingTrivia) ──→ (Whitespace): " " # (15..16)
24+
- (LeadingTrivia) (Whitespace): " " # (15..16)
2525
- (operator꞉ Equal): "=" # (16..17)
26-
- (right_operand꞉ Expression) ──→ (variant꞉ DecimalNumberExpression): # " 1" (17..19)
27-
- (LeadingTrivia) ──→ (Whitespace): " " # (17..18)
26+
- (right_operand꞉ Expression) (variant꞉ DecimalNumberExpression): # " 1" (17..19)
27+
- (LeadingTrivia) (Whitespace): " " # (17..18)
2828
- (literal꞉ DecimalLiteral): "1" # (18..19)
2929
- (semicolon꞉ Semicolon): ";" # (19..20)
30-
- (LeadingTrivia) ──→ (Whitespace): " " # (20..21)
30+
- (LeadingTrivia) (Whitespace): " " # (20..21)
3131
- (close_brace꞉ CloseBrace): "}" # (21..22)
32-
- (LeadingTrivia) ──→ (Whitespace): " " # (22..23)
32+
- (LeadingTrivia) (Whitespace): " " # (22..23)
3333
- (close_brace꞉ CloseBrace): "}" # (23..24)

crates/solidity/testing/snapshots/cst_output/BreakStatement/error_recovery/generated/0.4.11-failure.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Errors: # 1 total
1616
Tree:
1717
- (BreakStatement): # "break invalid ;\n" (0..16)
1818
- (break_keyword꞉ BreakKeyword): "break" # (0..5)
19-
- (LeadingTrivia) ──→ (Whitespace): " " # (5..6)
19+
- (LeadingTrivia) (Whitespace): " " # (5..6)
2020
- (SKIPPED): "invalid " # (6..14)
2121
- (semicolon꞉ Semicolon): ";" # (14..15)
22-
- (TrailingTrivia) ──→ (EndOfLine): "\n" # (15..16)
22+
- (TrailingTrivia) (EndOfLine): "\n" # (15..16)

crates/solidity/testing/snapshots/cst_output/BreakStatement/valid/generated/0.4.11-success.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ Errors: []
88
Tree:
99
- (BreakStatement): # "break ;\n" (0..8)
1010
- (break_keyword꞉ BreakKeyword): "break" # (0..5)
11-
- (LeadingTrivia) ──→ (Whitespace): " " # (5..6)
11+
- (LeadingTrivia) (Whitespace): " " # (5..6)
1212
- (semicolon꞉ Semicolon): ";" # (6..7)
13-
- (TrailingTrivia) ──→ (EndOfLine): "\n" # (7..8)
13+
- (TrailingTrivia) (EndOfLine): "\n" # (7..8)

0 commit comments

Comments
 (0)