1
|
1 |
"{ Package: 'cvut:fel/cface' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Cface }"
|
|
4 |
|
|
5 |
CBuiltinNode subclass:#CFloatNode
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'Cface-C AST'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!CFloatNode methodsFor:'accessing'!
|
|
14 |
|
|
15 |
smalltalkName
|
|
16 |
"Superclass says that I am responsible to implement this method"
|
|
17 |
|
|
18 |
^#Float
|
|
19 |
|
|
20 |
"Created: / 12-02-2008 / 22:06:24 / janfrog"
|
|
21 |
! !
|
|
22 |
|
|
23 |
!CFloatNode methodsFor:'printing'!
|
|
24 |
|
|
25 |
printOn: stream indent: indent
|
|
26 |
|
|
27 |
stream nextPutAll:'float'
|
|
28 |
|
|
29 |
"Created: / 04-03-2008 / 10:57:12 / janfrog"
|
|
30 |
! !
|
|
31 |
|
|
32 |
!CFloatNode methodsFor:'testing'!
|
|
33 |
|
|
34 |
isCFloatNode
|
|
35 |
^ true
|
|
36 |
|
|
37 |
"Created: / 17-02-2008 / 21:50:25 / janfrog"
|
|
38 |
! !
|
|
39 |
|
|
40 |
!CFloatNode methodsFor:'visiting'!
|
|
41 |
|
|
42 |
acceptVisitor:aVisitor
|
|
43 |
"Double dispatch back to the visitor, passing my type encoded in
|
|
44 |
the selector (visitor pattern)"
|
|
45 |
|
|
46 |
"stub code automatically generated - please change if required"
|
|
47 |
|
|
48 |
^ aVisitor visitCFloatNode:self
|
|
49 |
|
|
50 |
"Created: / 12-02-2008 / 23:03:58 / janfrog"
|
|
51 |
! !
|
|
52 |
|
|
53 |
!CFloatNode class methodsFor:'documentation'!
|
|
54 |
|
|
55 |
version
|
|
56 |
^ '$Header: /opt/data/cvs/cvut-fel/cface/Cface__CFloatNode.st,v 1.1 2008/02/26 15:58:57 vranyj1 Exp $'
|
|
57 |
! !
|