2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef SOURCE_LANGUAGE_INFO_H
6 #define SOURCE_LANGUAGE_INFO_H
8 #include <SupportDefs.h>
11 struct SourceLanguageInfo
{
14 uint64 subrangeLowerBound
;
18 struct UnknownSourceLanguageInfo
: SourceLanguageInfo
{
19 UnknownSourceLanguageInfo();
23 struct CFamilySourceLanguageInfo
: SourceLanguageInfo
{
24 CFamilySourceLanguageInfo();
28 struct CSourceLanguageInfo
: CFamilySourceLanguageInfo
{
29 CSourceLanguageInfo();
33 struct C89SourceLanguageInfo
: CFamilySourceLanguageInfo
{
34 C89SourceLanguageInfo();
38 struct C99SourceLanguageInfo
: CFamilySourceLanguageInfo
{
39 C99SourceLanguageInfo();
43 struct CPlusPlusSourceLanguageInfo
: CFamilySourceLanguageInfo
{
44 CPlusPlusSourceLanguageInfo();
48 extern const UnknownSourceLanguageInfo kUnknownLanguageInfo
;
49 extern const UnknownSourceLanguageInfo kUnsupportedLanguageInfo
;
50 extern const CSourceLanguageInfo kCLanguageInfo
;
51 extern const C89SourceLanguageInfo kC89LanguageInfo
;
52 extern const C99SourceLanguageInfo kC99LanguageInfo
;
53 extern const CPlusPlusSourceLanguageInfo kCPlusPlusLanguageInfo
;
56 #endif // SOURCE_LANGUAGE_INFO_H