Skip to content

Commit 3cee21a

Browse files
committed
feat: add operand names to the layout
1 parent 5d84fbd commit 3cee21a

File tree

5 files changed

+606
-46
lines changed

5 files changed

+606
-46
lines changed

gen/schema.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,10 @@
467467
"type": "string",
468468
"const": "uint"
469469
},
470+
"name": {
471+
"type": "string",
472+
"description": "Name of the argument"
473+
},
470474
"len": {
471475
"type": "integer",
472476
"description": "Length of the argument in bits"
@@ -486,6 +490,10 @@
486490
"type": "string",
487491
"const": "int"
488492
},
493+
"name": {
494+
"type": "string",
495+
"description": "Name of the argument"
496+
},
489497
"len": {
490498
"type": "integer",
491499
"description": "Length of the argument in bits"
@@ -505,6 +513,10 @@
505513
"type": "string",
506514
"const": "delta"
507515
},
516+
"name": {
517+
"type": "string",
518+
"description": "Name of the argument"
519+
},
508520
"delta": {
509521
"type": "integer",
510522
"description": "Delta value"
@@ -524,6 +536,10 @@
524536
"type": "string",
525537
"const": "stack"
526538
},
539+
"name": {
540+
"type": "string",
541+
"description": "Name of the argument"
542+
},
527543
"len": {
528544
"type": "integer",
529545
"description": "Length of the argument in bits"
@@ -543,6 +559,10 @@
543559
"type": "string",
544560
"const": "control"
545561
},
562+
"name": {
563+
"type": "string",
564+
"description": "Name of the argument"
565+
},
546566
"range": {
547567
"$ref": "#/definitions/ArgRange",
548568
"description": "Value range for the control argument"
@@ -558,6 +578,10 @@
558578
"type": "string",
559579
"const": "plduzArg"
560580
},
581+
"name": {
582+
"type": "string",
583+
"description": "Name of the argument"
584+
},
561585
"range": {
562586
"$ref": "#/definitions/ArgRange",
563587
"description": "Value range for the plduz argument"
@@ -573,6 +597,10 @@
573597
"type": "string",
574598
"const": "tinyInt"
575599
},
600+
"name": {
601+
"type": "string",
602+
"description": "Name of the argument"
603+
},
576604
"range": {
577605
"$ref": "#/definitions/ArgRange",
578606
"description": "Value range for the tinyInt argument"
@@ -588,6 +616,10 @@
588616
"type": "string",
589617
"const": "largeInt"
590618
},
619+
"name": {
620+
"type": "string",
621+
"description": "Name of the argument"
622+
},
591623
"range": {
592624
"$ref": "#/definitions/ArgRange",
593625
"description": "Value range for the largeInt argument"
@@ -602,6 +634,10 @@
602634
"$": {
603635
"type": "string",
604636
"const": "minusOne"
637+
},
638+
"name": {
639+
"type": "string",
640+
"description": "Name of the argument"
605641
}
606642
},
607643
"required": ["$"],
@@ -613,6 +649,10 @@
613649
"$": {
614650
"type": "string",
615651
"const": "s1"
652+
},
653+
"name": {
654+
"type": "string",
655+
"description": "Name of the argument"
616656
}
617657
},
618658
"required": ["$"],
@@ -625,6 +665,10 @@
625665
"type": "string",
626666
"const": "setcpArg"
627667
},
668+
"name": {
669+
"type": "string",
670+
"description": "Name of the argument"
671+
},
628672
"range": {
629673
"$ref": "#/definitions/ArgRange",
630674
"description": "Value range for the setcp argument"
@@ -640,6 +684,10 @@
640684
"type": "string",
641685
"const": "slice"
642686
},
687+
"name": {
688+
"type": "string",
689+
"description": "Name of the argument"
690+
},
643691
"refs": {
644692
"$ref": "#/definitions/Arg",
645693
"description": "References argument for slice"
@@ -663,6 +711,10 @@
663711
"type": "string",
664712
"const": "codeSlice"
665713
},
714+
"name": {
715+
"type": "string",
716+
"description": "Name of the argument"
717+
},
666718
"refs": {
667719
"$ref": "#/definitions/Arg",
668720
"description": "References argument for code slice"
@@ -681,6 +733,10 @@
681733
"$": {
682734
"type": "string",
683735
"const": "refCodeSlice"
736+
},
737+
"name": {
738+
"type": "string",
739+
"description": "Name of the argument"
684740
}
685741
},
686742
"required": ["$"],
@@ -693,6 +749,10 @@
693749
"type": "string",
694750
"const": "inlineCodeSlice"
695751
},
752+
"name": {
753+
"type": "string",
754+
"description": "Name of the argument"
755+
},
696756
"bits": {
697757
"$ref": "#/definitions/Arg",
698758
"description": "Bits argument for inline code slice"
@@ -707,6 +767,10 @@
707767
"$": {
708768
"type": "string",
709769
"const": "dict"
770+
},
771+
"name": {
772+
"type": "string",
773+
"description": "Name of the argument"
710774
}
711775
},
712776
"required": ["$"],
@@ -718,6 +782,10 @@
718782
"$": {
719783
"type": "string",
720784
"const": "exoticCell"
785+
},
786+
"name": {
787+
"type": "string",
788+
"description": "Name of the argument"
721789
}
722790
},
723791
"required": ["$"],
@@ -729,6 +797,10 @@
729797
"$": {
730798
"type": "string",
731799
"const": "debugstr"
800+
},
801+
"name": {
802+
"type": "string",
803+
"description": "Name of the argument"
732804
}
733805
},
734806
"required": ["$"],

0 commit comments

Comments
 (0)