coan
6.0.1
A C/C++ Configuration Analyzer
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
directive_type.h
Go to the documentation of this file.
1
#ifndef DIRECTIVE_TYPE_H
2
#define DIRECTIVE_TYPE_H
3
#pragma once
4
/***************************************************************************
5
* Copyright (C) 2007-2013 Mike Kinghan, imk@burroingroingjoing.com *
6
* All rights reserved. *
7
* *
8
* Contributed originally by Mike Kinghan, imk@burroingroingjoing.com *
9
* *
10
* Redistribution and use in source and binary forms, with or without *
11
* modification, are permitted provided that the following conditions *
12
* are met: *
13
* *
14
* Redistributions of source code must retain the above copyright *
15
* notice, this list of conditions and the following disclaimer. *
16
* *
17
* Redistributions in binary form must reproduce the above copyright *
18
* notice, this list of conditions and the following disclaimer in the *
19
* documentation and/or other materials provided with the distribution. *
20
* *
21
* Neither the name of Mike Kinghan nor the names of its contributors *
22
* may be used to endorse or promote products derived from this software *
23
* without specific prior written permission. *
24
* *
25
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
26
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT *
27
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS *
28
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
29
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, *
30
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, *
31
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS *
32
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED *
33
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,*
34
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF *
35
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH *
36
* DAMAGE. *
37
* *
38
**************************************************************************/
39
44
enum
directive_type
{
46
HASH_UNKNOWN
,
47
HASH_IF
,
48
HASH_IFDEF
,
49
HASH_IFNDEF
,
50
HASH_ELSE
,
51
HASH_ELIF
,
52
HASH_ENDIF
,
53
HASH_DEFINE
,
54
HASH_UNDEF
,
55
HASH_INCLUDE
,
56
HASH_PRAGMA
,
57
HASH_ERROR
,
58
HASH_LINE
,
59
COMMANDLINE
60
};
61
62
#endif
HASH_IF
An #if directive.
Definition:
directive_type.h:47
HASH_LINE
A #line directive.
Definition:
directive_type.h:58
HASH_IFNDEF
An #ifndef directive.
Definition:
directive_type.h:49
HASH_PRAGMA
A #pragma directive.
Definition:
directive_type.h:56
COMMANDLINE
The commandline, considered as a #define/#undef
Definition:
directive_type.h:59
HASH_ENDIF
An #endif directive.
Definition:
directive_type.h:52
directive_type
directive_type
Symbolic constants denoting types of directives.
Definition:
directive_type.h:45
HASH_UNDEF
An #undef directive.
Definition:
directive_type.h:54
HASH_ELSE
An #else directive.
Definition:
directive_type.h:50
HASH_UNKNOWN
An unknown directive.
Definition:
directive_type.h:46
HASH_INCLUDE
An #include directive.
Definition:
directive_type.h:55
HASH_ERROR
An #error directive.
Definition:
directive_type.h:57
HASH_IFDEF
An #ifdef directive.
Definition:
directive_type.h:48
HASH_ELIF
An #elif directive.
Definition:
directive_type.h:51
HASH_DEFINE
An #define directive.
Definition:
directive_type.h:53
src
directive_type.h
Generated on Tue Sep 16 2014 08:56:19 for coan by
1.8.6