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 fdba789 commit 6b5c556Copy full SHA for 6b5c556
src/QAST/Block.nqp
@@ -1,5 +1,9 @@
1
class QAST::Block is QAST::Node {
2
has str $!blocktype;
3
+ has int $!lexical;
4
+ has str $!cuid;
5
6
method blocktype(*@value) { $!blocktype := @value[0] if @value; $!blocktype }
7
+ method lexical(*@value) { $!lexical := @value[0] if @value; $!lexical }
8
+ method cuid(*@value) { $!cuid := @value[0] if @value; $!cuid }
9
}
src/QAST/Var.nqp
@@ -1,3 +1,7 @@
class QAST::Var is QAST::Node {
- has $!scope;
+ has str $!scope;
+ has str $!decl;
+
+ method scope(*@value) { $!scope := @value[0] if @value; $!scope }
+ method decl(*@value) { $!decl := @value[0] if @value; $!decl }
0 commit comments