Skip to content

Commit

Permalink
Add a simple AssemblyStatement CST test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Nov 15, 2023
1 parent 5c36aa8 commit 4c1e674
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.

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

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,21 @@
# This file is generated automatically by infrastructure scripts. Please don't edit by hand.

Source: >
1 │ assembly "evmasm" ("memory-safe") { │ 0..35
2 │ │ 36..36
3 │ } │ 37..38
Errors: []

Tree:
- AssemblyStatement (Rule): # 0..39 'assembly "evmasm" ("memory-safe") {\n\n}\n'
- AssemblyKeyword (Token): "assembly" # 0..8
- AsciiStringLiteral (Token): '"evmasm"' # 9..17
- AssemblyFlagsDeclaration (Rule): # 17..33 ' ("memory-safe")'
- OpenParen (Token): "(" # 18..19
- AssemblyFlagsList (Rule): # 19..32 '"memory-safe"'
- AsciiStringLiteral (Token): '"memory-safe"' # 19..32
- CloseParen (Token): ")" # 32..33
- YulBlock (Rule): # 33..39 " {\n\n}\n"
- OpenBrace (Token): "{" # 34..35
- CloseBrace (Token): "}" # 37..38
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
assembly "evmasm" ("memory-safe") {

}

0 comments on commit 4c1e674

Please sign in to comment.