xquery/trunk/XQuery__XPathAxisSelf.st
changeset 241 e28ef0f20186
child 245 160204fa510e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xquery/trunk/XQuery__XPathAxisSelf.st	Wed Apr 07 12:37:26 2010 +0000
@@ -0,0 +1,55 @@
+"{ Package: 'stx:goodies/xmlsuite/xquery' }"
+
+"{ NameSpace: XQuery }"
+
+XPathAxis subclass:#XPathAxisSelf
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'XQuery-AST-XPath'
+!
+
+
+!XPathAxisSelf methodsFor:'filtering'!
+
+createNodeSetFromContext:aContext
+    ^ aContext newNodeSetWith:aContext node
+
+    "Modified: / 13-10-2006 / 20:42:29 / janfrog"
+! !
+
+!XPathAxisSelf methodsFor:'printing'!
+
+printOn: stream
+
+    stream nextPutAll:'self::'
+
+    "Created: / 15-11-2007 / 22:06:16 / janfrog"
+! !
+
+!XPathAxisSelf methodsFor:'testing'!
+
+isXPathAxisSelf
+    ^ true
+
+    "Created: / 16-11-2007 / 09:25:08 / janfrog"
+! !
+
+!XPathAxisSelf 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 visitXPathAxisSelf:self
+
+    "Created: / 17-11-2007 / 15:31:52 / janfrog"
+! !
+
+!XPathAxisSelf class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id$'
+! !