File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ class QAST::Node {
17
17
has $ ! node ;
18
18
has $ ! returns ;
19
19
has int $ ! arity ;
20
- has str $ ! childorder ;
21
20
22
21
method new (* @ children , * % options ) {
23
22
my $ new := self . CREATE();
@@ -30,7 +29,6 @@ class QAST::Node {
30
29
31
30
method node (* @ value ) { $ ! node := @ value [0 ] if @ value ; $ ! node }
32
31
method returns (* @ value ) { $ ! returns := @ value [0 ] if @ value ; $ ! returns }
33
- method childorder (* @ value ) { $ ! childorder := @ value [0 ] if @ value ; $ ! childorder || " " }
34
32
method arity (* @ value ) { $ ! arity := @ value [0 ] if @ value ; $ ! arity }
35
33
36
34
method named (* @ value ) {
Original file line number Diff line number Diff line change 1
1
class QAST::Op is QAST ::Node {
2
2
has str $ ! name ;
3
3
has str $ ! op ;
4
+ has str $ ! childorder ;
4
5
5
- method name (* @ value ) { $ ! name := @ value [0 ] if @ value ; $ ! name || " " }
6
- method op (* @ value ) { $ ! op := @ value [0 ] if @ value ; $ ! op }
6
+ method name (* @ value ) { $ ! name := @ value [0 ] if @ value ; $ ! name || " " }
7
+ method op (* @ value ) { $ ! op := @ value [0 ] if @ value ; $ ! op }
8
+ method childorder (* @ value ) { $ ! childorder := @ value [0 ] if @ value ; $ ! childorder || " " }
7
9
}
You can’t perform that action at this time.
0 commit comments