Skip to content

Commit 3dfc13b

Browse files
committed
Arg: Track if the arg should export
1 parent 2d448a7 commit 3dfc13b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/piccode/ast/Arg.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@
1010
public class Arg extends Ast {
1111
public String name;
1212
public Ast def_val;
13+
public boolean export;
1314

1415
public Arg(String name, Ast def_val) {
1516
this.name = name;
1617
this.def_val = def_val;
18+
this.export = false;
1719
}
1820

1921
public Arg(String name) {
2022
this.name = name;
2123
this.def_val = null;
24+
this.export = false;
2225
}
2326

2427
@Override

0 commit comments

Comments
 (0)