Added PPCompositeParserGenerator & PPParserVisitor
authorJan Vrany <jan.vrany@fit.cvut.cz>
Thu, 10 Jan 2013 14:22:02 +0100
changeset 99 57b4439a7998
parent 98 8e5e20ea96d4
child 100 998b9fb92a06
Added PPCompositeParserGenerator & PPParserVisitor
devtools/PPDebuggingParser.st
--- a/devtools/PPDebuggingParser.st	Thu Jan 10 13:29:16 2013 +0100
+++ b/devtools/PPDebuggingParser.st	Thu Jan 10 14:22:02 2013 +0100
@@ -48,14 +48,25 @@
     "Modified: / 12-03-2012 / 16:41:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!PPDebuggingParser methodsFor:'visiting'!
+
+acceptVisitor:aVisitor 
+    "Double dispatch back to the visitor, passing my type encoded in
+     the selector (visitor pattern)"
+
+    "stub code automatically generated - please change if required"
+
+    ^ aVisitor visitPPDebuggingParser:self
+! !
+
 !PPDebuggingParser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/PPDebuggingParser.st,v 1.1 2012-05-05 14:49:17 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/PPDebuggingParser.st,v 1.2 2013-01-10 13:22:02 vrany Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/PPDebuggingParser.st,v 1.1 2012-05-05 14:49:17 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/petitparser/devtools/PPDebuggingParser.st,v 1.2 2013-01-10 13:22:02 vrany Exp $'
 !
 
 version_SVN