We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1bcbb commit 2f7b14dCopy full SHA for 2f7b14d
src/QAST/BVal.nqp
@@ -1,4 +1,8 @@
1
class QAST::BVal is QAST::Node {
2
has $!value;
3
method value(*@value) { $!value := @value[0] if @value; $!value }
4
+
5
+ method evaluate_unquotes(@unquotes) {
6
+ self
7
+ }
8
}
src/QAST/Block.nqp
@@ -41,4 +41,15 @@ class QAST::Block is QAST::Node {
41
method symtable() {
42
%!symbol
43
44
45
46
+ my $result := pir::repr_clone__PP(self);
47
+ my $i := 0;
48
+ my $elems := +@(self);
49
+ while $i < $elems {
50
+ $result[$i] := self[$i].evaluate_unquotes(@unquotes);
51
+ $i := $i + 1;
52
53
+ $result
54
55
0 commit comments