compiler/PPCCopyVisitor.st
changeset 438 20598d7ce9fa
child 452 9f4558b3be66
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/PPCCopyVisitor.st	Thu Apr 30 23:43:14 2015 +0200
@@ -0,0 +1,20 @@
+"{ Package: 'stx:goodies/petitparser/compiler' }"
+
+"{ NameSpace: Smalltalk }"
+
+PPCRewritingVisitor subclass:#PPCCopyVisitor
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'PetitCompiler-Visitors'
+!
+
+!PPCCopyVisitor methodsFor:'as yet unclassified'!
+
+visitNode: node
+	| newNode |
+	self change.
+	newNode := node copy.
+	^ super visitNode: newNode.
+! !
+