Cface__CBoolNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 17 Sep 2015 07:36:40 +0100
changeset 49 307d55f736ec
parent 45 86de1611e013
permissions -rw-r--r--
LLVM bindings: allow to specify path to llvm-config ..by setting LLVM_CONFIG variable when generating definitions for LLVM bindings. Example: make LVM_CONFIG=~/Projects/LLVM/sources1/build/Debug+Asserts/bin/llvm-config
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
45
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
"{ Package: 'jv:cface' }"
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
"{ NameSpace: Cface }"
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
CIntNode subclass:#CBoolNode
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
	instanceVariableNames:''
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
	classVariableNames:''
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
	poolDictionaries:''
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
	category:'Cface-C AST'
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
!
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
!CBoolNode methodsFor:'accessing'!
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
cName
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
    "superclass Cface::CBuiltinNode says that I am responsible to implement this method"
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
    ^ '_bool'
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
    "Created: / 14-08-2015 / 11:17:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
!
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
ffiTypeSymbol
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
    "superclass Cface::CTypeNode says that I am responsible to implement this method"
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    24
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
    ^ #bool
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
    "Created: / 14-08-2015 / 11:16:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    28
! !
86de1611e013 Introduced a CBoolNode to model C99's _bool and map it to FFI's #bool type.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29