compiler/TSimpleType.st
changeset 1 18b4a3b98e96
child 2 2a3e47c13905
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/TSimpleType.st	Tue Aug 25 19:02:43 2015 +0100
@@ -0,0 +1,55 @@
+"{ Package: 'jv:tea/compiler' }"
+
+"{ NameSpace: Smalltalk }"
+
+TType subclass:#TSimpleType
+	instanceVariableNames:'name'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Languages-Tea-Type System'
+!
+
+
+!TSimpleType class methodsFor:'instance creation'!
+
+named: aString
+    ^ self new initializeWithName: aString
+
+    "Created: / 21-08-2015 / 19:24:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!TSimpleType methodsFor:'accessing'!
+
+name
+    ^ name
+! !
+
+!TSimpleType methodsFor:'initialization'!
+
+initializeWithName: aString
+    name := aString
+
+    "Created: / 21-08-2015 / 19:23:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!TSimpleType methodsFor:'printing & storing'!
+
+printWithoutAnglesOn:aStream
+    aStream nextPutAll: name
+
+    "Modified: / 21-08-2015 / 17:08:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+! !
+
+!TSimpleType methodsFor:'testing'!
+
+isSimpleType
+    ^ true
+! !
+
+!TSimpleType class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !
+