Skip to content

Commit 0de4547

Browse files
committed
more dump output for Regex nodes.
1 parent 29a6eb5 commit 0de4547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QAST/Regex.nqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class QAST::Regex is QAST::Node {
2525
method max(*@value) { $!max := @value[0] if @value; $!max }
2626

2727
method dump_extra_node_info() {
28-
":rxtype($!rxtype)" ~ (!nqp::isnull_s($!subtype) ?? " :subtype($!subtype)" !! "")
28+
":rxtype($!rxtype)" ~ (!nqp::isnull_s($!subtype) ?? " :subtype($!subtype)" !! "") ~ ($!negate ?? ' (negated)' !! '') ~ (nqp::defined($!name) ?? " :name($!name)" !! '')
2929
}
3030
}
3131

0 commit comments

Comments
 (0)