Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Get QASTNodes free of pir::.

  • Loading branch information...
commit 26d0d0f9b791f5acc52d85b0d02087eb83795732 1 parent 3f27005
@jnthn jnthn authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/QAST/Node.nqp
  2. +1 −1  src/QAST/SVal.nqp
View
4 src/QAST/Node.nqp
@@ -67,7 +67,7 @@ class QAST::Node {
}
method shallow_clone() {
- my $clone := pir::repr_clone__PP(self);
+ my $clone := nqp::clone(self);
nqp::bindattr($clone, QAST::Node, '@!array', nqp::clone(@!array));
$clone
}
@@ -93,7 +93,7 @@ class QAST::Node {
}
if (self.node) {
nqp::push(@chunks, ' ');
- nqp::push(@chunks, pir::escape__SS(self.node));
+ nqp::push(@chunks, nqp::escape(self.node));
}
nqp::push(@chunks, "\n");
self.dump_children($indent + 2, @chunks);
View
2  src/QAST/SVal.nqp
@@ -10,6 +10,6 @@ class QAST::SVal is QAST::Node {
self
}
method dump_extra_node_info() {
- pir::escape__SS($!value);
+ nqp::escape($!value);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.