xquery/XQuery__AstCastableExpr.st
changeset 296 ea3dbc023c80
parent 241 e28ef0f20186
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xquery/XQuery__AstCastableExpr.st	Tue May 12 12:20:53 2015 +0100
@@ -0,0 +1,45 @@
+"{ Package: 'stx:goodies/xmlsuite/xquery' }"
+
+"{ NameSpace: XQuery }"
+
+AstNode subclass:#AstCastableExpr
+	instanceVariableNames:'castExpr singleType'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'XQuery-AST'
+!
+
+
+!AstCastableExpr methodsFor:'accessing'!
+
+castExpr
+    ^ castExpr
+!
+
+castExpr:something
+    castExpr := something.
+!
+
+singleType
+    ^ singleType
+!
+
+singleType:something
+    singleType := something.
+! !
+
+!AstCastableExpr methodsFor:'visiting'!
+
+acceptVisitor:aVisitor
+    "Superclass XQuery::AstNode says that I am responsible to implement this method"
+
+    ^ aVisitor visitAstCastableExpr:self
+
+    "Modified: / 05-07-2009 / 16:33:53 / Jan Kurs <kursj1@fel.cvut.cz>"
+! !
+
+!AstCastableExpr class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id$'
+! !