Yul AST output on the CLI and in Standard JSON

This commit is contained in:
GiokaMarkella
2023-05-26 12:35:31 +02:00
committed by Kamil Śliwak
parent bb16f61e1c
commit 28a1abf89a
62 changed files with 4542 additions and 43 deletions
@@ -39,6 +39,7 @@
{
"AST":
{
"nativeSrc": "61:33:1",
"nodeType": "YulBlock",
"src": "61:33:1",
"statements":
@@ -49,15 +50,18 @@
{
"body":
{
"nativeSrc": "79:2:1",
"nodeType": "YulBlock",
"src": "79:2:1",
"statements": []
},
"nativeSrc": "72:9:1",
"nodeType": "YulCase",
"src": "72:9:1",
"value":
{
"kind": "number",
"nativeSrc": "77:1:1",
"nodeType": "YulLiteral",
"src": "77:1:1",
"type": "",
@@ -67,10 +71,12 @@
{
"body":
{
"nativeSrc": "90:2:1",
"nodeType": "YulBlock",
"src": "90:2:1",
"statements": []
},
"nativeSrc": "82:10:1",
"nodeType": "YulCase",
"src": "82:10:1",
"value": "default"
@@ -79,11 +85,13 @@
"expression":
{
"kind": "number",
"nativeSrc": "70:1:1",
"nodeType": "YulLiteral",
"src": "70:1:1",
"type": "",
"value": "0"
},
"nativeSrc": "63:29:1",
"nodeType": "YulSwitch",
"src": "63:29:1"
}