compiler/TFunctionBinding.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 31 Aug 2015 13:53:40 +0100
changeset 4 3d80069ea3e2
parent 3 97ee341d3e9f
child 7 7556e3d41d80
permissions -rw-r--r--
More work on basic infrastructure - types, bindings & compilation. At this point it actually can compile a simple method returning an integer value. However, full of hacks here and there and full of #notYetImplemented.

"{ Package: 'jv:tea/compiler' }"

"{ NameSpace: Smalltalk }"

TBinding subclass:#TFunctionBinding
	instanceVariableNames:'returnType parameters type'
	classVariableNames:''
	poolDictionaries:''
	category:'Languages-Tea-Compiler-Bindings'
!

!TFunctionBinding methodsFor:'accessing'!

type
    ^ type

    "Created: / 31-08-2015 / 12:03:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

type: aTType
    type := aTType

    "Created: / 31-08-2015 / 12:03:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !