xquery/XQuery__UntypedAtomicToDecimalCast.st
changeset 296 ea3dbc023c80
parent 241 e28ef0f20186
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xquery/XQuery__UntypedAtomicToDecimalCast.st	Tue May 12 12:20:53 2015 +0100
@@ -0,0 +1,29 @@
+"{ Package: 'stx:goodies/xmlsuite/xquery' }"
+
+"{ NameSpace: XQuery }"
+
+UntypedAtomicToAnyAtomicTypeCast subclass:#UntypedAtomicToDecimalCast
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'XQuery-TypeCasting'
+!
+
+
+!UntypedAtomicToDecimalCast methodsFor:'casting'!
+
+cast
+    self checkLexicalForm.
+    ^ (AnyAtomicTypeToDecimalCast new)
+        atomicValue: atomicValue;
+        anotherType: anotherType;
+        checkedCast.
+
+    "Created: / 17-11-2009 / 16:46:08 / Jan Kurs <kursj1@fel.cvut.cz>"
+! !
+
+!UntypedAtomicToDecimalCast class methodsFor:'documentation'!
+
+version_SVN
+    ^ '$Id$'
+! !