--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compiler/TCompilerContext.st Mon Aug 31 13:53:40 2015 +0100
@@ -0,0 +1,38 @@
+"{ Package: 'jv:tea/compiler' }"
+
+"{ NameSpace: Smalltalk }"
+
+Object subclass:#TCompilerContext
+ instanceVariableNames:'environment unit module'
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Languages-Tea-Compiler'
+!
+
+!TCompilerContext methodsFor:'accessing'!
+
+environment
+ ^ environment
+!
+
+environment:something
+ environment := something.
+!
+
+module
+ module isNil ifTrue:[
+ module := LLVMModule newWithName: unit name.
+ ].
+ ^ module
+
+ "Modified: / 30-08-2015 / 09:25:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+unit
+ ^ unit
+!
+
+unit:aTCompilationUnit
+ unit := aTCompilationUnit.
+! !
+