Cface__CDoubleNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 27 May 2008 18:55:24 +0000
changeset 1 b6c0180314d1
child 2 cfd2c393abfe
permissions -rw-r--r--
Initial import

"{ Package: 'cvut:fel/cface' }"

"{ NameSpace: Cface }"

CBuiltinNode subclass:#CDoubleNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Cface-C AST'
!


!CDoubleNode methodsFor:'accessing'!

smalltalkName
    "Superclass says that I am responsible to implement this method"

    ^#Float

    "Created: / 12-02-2008 / 22:06:24 / janfrog"
! !

!CDoubleNode methodsFor:'printing'!

printOn: stream indent: indent

    stream nextPutAll:'double'

    "Created: / 04-03-2008 / 10:57:12 / janfrog"
! !

!CDoubleNode methodsFor:'testing'!

isCDoubleNode
    ^ true

    "Created: / 17-02-2008 / 21:50:25 / janfrog"
! !

!CDoubleNode methodsFor:'visiting'!

acceptVisitor:aVisitor 
    "Double dispatch back to the visitor, passing my type encoded in
     the selector (visitor pattern)"

    "stub code automatically generated - please change if required"

    ^ aVisitor visitCDoubleNode:self

    "Created: / 12-02-2008 / 23:03:58 / janfrog"
! !

!CDoubleNode class methodsFor:'documentation'!

version
    ^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CDoubleNode.st,v 1.1 2008/02/26 15:59:47 vranyj1 Exp $'
! !