xquery/trunk/XQuery__AstProlog.st
changeset 0 5057afe1ec87
child 232 9d8fd28b99b0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xquery/trunk/XQuery__AstProlog.st	Tue Apr 08 19:47:42 2008 +0000
@@ -0,0 +1,44 @@
+"{ Package: 'stx:goodies/xmlsuite/xquery' }"
+
+"{ NameSpace: XQuery }"
+
+AstNode subclass:#AstProlog
+	instanceVariableNames:'declarations'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'XQuery-AST'
+!
+
+
+!AstProlog methodsFor:'accessing'!
+
+declarations
+    ^ declarations
+
+    "Created: / 24-12-2006 / 15:01:51 / janfrog"
+!
+
+declarations:aCollection
+    declarations := aCollection.
+
+    "Created: / 24-12-2006 / 15:01:51 / janfrog"
+! !
+
+!AstProlog 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 visitAstProlog:self
+
+    "Created: / 24-12-2006 / 15:06:03 / janfrog"
+! !
+
+!AstProlog class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/xquery/XQuery__AstProlog.st,v 1.1 2007-01-03 08:54:24 vranyj1 Exp $'
+! !