Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stub in QAST::Op.
  • Loading branch information
jnthn committed Apr 5, 2012
1 parent ba5e1c1 commit d4db55a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/QAST/Op.nqp
@@ -0,0 +1,5 @@
class QAST::Op is QAST::Node {
has str $!qasttype;

method qasttype(*@value) { $!qasttype := @value[0] if @value; $!qasttype }
}
1 change: 1 addition & 0 deletions tools/build/Makefile.in
Expand Up @@ -89,6 +89,7 @@ QREGEX_SOURCES = \
src/QRegex.nqp \
src/QAST/Node.nqp \
src/QAST/Regex.nqp \
src/QAST/Op.nqp \
src/QAST/Compiler.nqp \
src/QRegex/NFA.nqp \
src/QRegex/Cursor.nqp \
Expand Down

0 comments on commit d4db55a

Please sign in to comment.