Skip to content

Commit 29da48d

Browse files
committed
Stub in QAST::Block and QAST::Stmts.
1 parent f23e9f1 commit 29da48d

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/QAST/Block.nqp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class QAST::Block is QAST::Node {
2+
has str $!blocktype;
3+
4+
method blocktype(*@value) { $!blocktype := @value[0] if @value; $!blocktype }
5+
}

src/QAST/Stmts.nqp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class QAST::Stmts is QAST::Node {
2+
}

tools/build/Makefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ QREGEX_SOURCES = \
9292
src/QAST/Regex.nqp \
9393
src/QAST/WorldValue.nqp \
9494
src/QAST/Op.nqp \
95+
src/QAST/Block.nqp \
96+
src/QAST/Stmts.nqp \
9597
src/QAST/Compiler.nqp \
9698
src/QRegex/NFA.nqp \
9799
src/QRegex/Cursor.nqp \

0 commit comments

Comments
 (0)