1// 2// Copyright (C) 2005 Stefan Seefeld 3// All rights reserved. 4// Licensed to the public under the terms of the GNU LGPL (>= 2), 5// see the file COPYING for details. 6// 7#ifndef Synopsis_TypeAnalysis_Kit_hh_ 8#define Synopsis_TypeAnalysis_Kit_hh_ 9 10#include <Synopsis/TypeAnalysis/Type.hh> 11 12namespace Synopsis 13{ 14namespace TypeAnalysis 15{ 16 17//. creates and remembers declared types. 18class Kit 19{ 20public: 21 Kit(); 22 23 Type const *builtin(std::string const &name); 24 Type const *enum_(std::string const &name); 25 Type const *class_(std::string const &name); 26 Type const *union_(std::string const &name); 27 Type const *pointer(Type const *type); 28 Type const *reference(Type const *type); 29 Type const *array(Type const *type); 30 Type const *pointer_to_member(Type const *container, Type const *member); 31private: 32}; 33 34} 35} 36 37#endif