Skip to content

Commit

Permalink
Add a regression test first
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Apr 25, 2024
1 parent e8f80d8 commit ce5d942
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file is generated automatically by infrastructure scripts. Please don't edit by hand.

Source: >
1 │ let a.b.c := 1 │ 0..14
Errors: []

Tree:
- (YulVariableDeclarationStatement): # "let a.b.c := 1\n" (0..15)
- (let_keyword꞉ YulLetKeyword): "let" # (0..3)
- (names꞉ YulPaths): # " a.b.c" (3..9)
- (item꞉ YulPath): # " a.b.c" (3..9)
- (item꞉ YulPathComponent): # " a" (3..5)
- (leading_trivia꞉ Whitespace): " " # (3..4)
- (variant꞉ YulIdentifier): "a" # (4..5)
- (separator꞉ Period): "." # (5..6)
- (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "b" # (6..7)
- (separator꞉ Period): "." # (7..8)
- (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "c" # (8..9)
- (value꞉ YulVariableDeclarationValue): # " := 1\n" (9..15)
- (assignment꞉ YulAssignmentOperator): # " :=" (9..12)
- (leading_trivia꞉ Whitespace): " " # (9..10)
- (variant꞉ ColonEqual): ":=" # (10..12)
- (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 1\n" (12..15)
- (leading_trivia꞉ Whitespace): " " # (12..13)
- (variant꞉ YulDecimalLiteral): "1" # (13..14)
- (trailing_trivia꞉ EndOfLine): "\n" # (14..15)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This file is generated automatically by infrastructure scripts. Please don't edit by hand.

Source: >
1 │ let a.b.c := 1 │ 0..14
Errors: []

Tree:
- (YulVariableDeclarationStatement): # "let a.b.c := 1\n" (0..15)
- (let_keyword꞉ YulLetKeyword): "let" # (0..3)
- (names꞉ YulPaths): # " a.b.c" (3..9)
- (item꞉ YulPath): # " a.b.c" (3..9)
- (item꞉ YulPathComponent): # " a.b.c" (3..9)
- (leading_trivia꞉ Whitespace): " " # (3..4)
- (variant꞉ YulIdentifier): "a.b.c" # (4..9)
- (value꞉ YulVariableDeclarationValue): # " := 1\n" (9..15)
- (assignment꞉ YulAssignmentOperator): # " :=" (9..12)
- (leading_trivia꞉ Whitespace): " " # (9..10)
- (variant꞉ ColonEqual): ":=" # (10..12)
- (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 1\n" (12..15)
- (leading_trivia꞉ Whitespace): " " # (12..13)
- (variant꞉ YulDecimalLiteral): "1" # (13..14)
- (trailing_trivia꞉ EndOfLine): "\n" # (14..15)
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file is generated automatically by infrastructure scripts. Please don't edit by hand.

Source: >
1 │ let a.b.c := 1 │ 0..14
Errors: []

Tree:
- (YulVariableDeclarationStatement): # "let a.b.c := 1\n" (0..15)
- (let_keyword꞉ YulLetKeyword): "let" # (0..3)
- (names꞉ YulPaths): # " a.b.c" (3..9)
- (item꞉ YulPath): # " a.b.c" (3..9)
- (item꞉ YulPathComponent): # " a" (3..5)
- (leading_trivia꞉ Whitespace): " " # (3..4)
- (variant꞉ YulIdentifier): "a" # (4..5)
- (separator꞉ Period): "." # (5..6)
- (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "b" # (6..7)
- (separator꞉ Period): "." # (7..8)
- (item꞉ YulPathComponent) ► (variant꞉ YulIdentifier): "c" # (8..9)
- (value꞉ YulVariableDeclarationValue): # " := 1\n" (9..15)
- (assignment꞉ YulAssignmentOperator): # " :=" (9..12)
- (leading_trivia꞉ Whitespace): " " # (9..10)
- (variant꞉ ColonEqual): ":=" # (10..12)
- (expression꞉ YulExpression) ► (variant꞉ YulLiteral): # " 1\n" (12..15)
- (leading_trivia꞉ Whitespace): " " # (12..13)
- (variant꞉ YulDecimalLiteral): "1" # (13..14)
- (trailing_trivia꞉ EndOfLine): "\n" # (14..15)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let a.b.c := 1

0 comments on commit ce5d942

Please sign in to comment.