boolType-class: Classes for representing primitive/built-in data types.

Description Objects from the Class Slots Extends Methods Author(s) References

Description

These are classes for representing data types in C code for the built-in data types in the C language, e.g. int, double, float, etc. At present, we have the basic classes and differentiate between, e.g. int and unsigned int, based on the name in the class. This is typically detected from the name in the translation unit.

These classes are intended to be instantiated as part of resolving type information in the translation units via resolveType.

Objects from the Class

Typically instances of these classes are created in the evaluation of a call to resolveType. However, objects can be created directly by calls of the form new("boolType", ...). The resolveType tends to get the name right from the information in the translation unit nodes.

Slots

name:

Object of class "character". This gives the human readable name such as "int", "char", "unsigned int", etc.

Extends

Class "BuiltinPrimitiveType", directly. Class "TypeDefinition", by class "BuiltinPrimitiveType".

Methods

No methods defined with class "boolType" in the signature.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.omegahat.org/RGccTranslationUnit


omegahat/RGCCTranslationUnit documentation built on May 24, 2019, 1:53 p.m.