1
|
1 |
"{ Package: 'cvut:fel/cface' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Cface }"
|
|
4 |
|
|
5 |
CBuiltinNode subclass:#CCharNode
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'Cface-C AST'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
16
|
13 |
!CCharNode methodsFor:'accessing'!
|
|
14 |
|
|
15 |
cByteSize
|
|
16 |
"superclass Cface::CTypeNode says that I am responsible to implement this method"
|
|
17 |
|
|
18 |
^ self shouldImplement
|
|
19 |
!
|
|
20 |
|
|
21 |
ffiTypeSymbol
|
|
22 |
"superclass Cface::CTypeNode says that I am responsible to implement this method"
|
|
23 |
|
|
24 |
^ #char
|
|
25 |
|
|
26 |
"Modified: / 12-07-2011 / 16:29:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
27 |
!
|
|
28 |
|
|
29 |
smalltalkName
|
|
30 |
"superclass Cface::CBuiltinNode says that I am responsible to implement this method"
|
|
31 |
|
|
32 |
^ self shouldImplement
|
|
33 |
! !
|
|
34 |
|
|
35 |
!CCharNode methodsFor:'visiting'!
|
|
36 |
|
|
37 |
acceptVisitor:aVisitor
|
|
38 |
"Double dispatch back to the visitor, passing my type encoded in
|
|
39 |
the selector (visitor pattern)"
|
|
40 |
|
|
41 |
"stub code automatically generated - please change if required"
|
|
42 |
|
|
43 |
^ aVisitor visitCCharNode:self
|
|
44 |
! !
|
|
45 |
|
1
|
46 |
!CCharNode class methodsFor:'documentation'!
|
|
47 |
|
14
|
48 |
version_SVN
|
|
49 |
^ '$Id$'
|
1
|
50 |
! !
|