test fragment

This commit is contained in:
Vu Tuan Minh
2025-03-31 00:30:39 +02:00
parent ff6dc78f33
commit efae49ba9c
4 changed files with 59 additions and 5 deletions

View File

@@ -21,4 +21,16 @@ options {
}
program returns [Program p] : /* TODO */;
program returns [Program p] :
func=function
EOF
{$p = new Program($func.p);}
;
function returns [List<ASD.Function> out]:
{$out = new ArrayList<ASD.Function>();}
;
prototype returns [Program p]:
;