bool* arguments can be used by wrappers
[lqt.git] / cpptoxml / parser / tokens.h
blob9d19dceeb34bc6456c606904eb44518721c8e2a9
1 /****************************************************************************
2 **
3 ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
4 ** Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org>
5 **
6 ** This file is part of the Qt Script Generator project on Trolltech Labs.
7 **
8 ** This file may be used under the terms of the GNU General Public
9 ** License version 2.0 as published by the Free Software Foundation
10 ** and appearing in the file LICENSE.GPL included in the packaging of
11 ** this file. Please review the following information to ensure GNU
12 ** General Public Licensing requirements will be met:
13 ** http://www.trolltech.com/products/qt/opensource.html
15 ** If you are unsure which license is appropriate for your use, please
16 ** review the following information:
17 ** http://www.trolltech.com/products/qt/licensing.html or contact the
18 ** sales department at sales@trolltech.com.
20 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
21 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
23 ****************************************************************************/
26 #ifndef TOKENS_H
27 #define TOKENS_H
29 enum TOKEN_KIND
31 Token_EOF = 0,
33 Token_K_DCOP = 1000,
34 Token_Q_OBJECT,
35 Token_Q_PROPERTY,
36 Token___attribute__,
37 Token___typeof,
38 Token_and,
39 Token_and_eq,
40 Token_arrow,
41 Token_asm,
42 Token_assign,
43 Token_auto,
44 Token_bitand,
45 Token_bitor,
46 Token_bool,
47 Token_break,
48 Token_case,
49 Token_catch,
50 Token_char,
51 Token_char_literal,
52 Token_class,
53 Token_comment,
54 Token_compl,
55 Token_concat,
56 Token_const,
57 Token_const_cast,
58 Token_continue,
59 Token_decr,
60 Token_default,
61 Token_delete,
62 Token_do,
63 Token_double,
64 Token_dynamic_cast,
65 Token_ellipsis,
66 Token_else,
67 Token_emit,
68 Token_enum,
69 Token_eq,
70 Token_explicit,
71 Token_export,
72 Token_extern,
73 Token_false,
74 Token_float,
75 Token_for,
76 Token_friend,
77 Token_geq,
78 Token_goto,
79 Token_identifier,
80 Token_if,
81 Token_incr,
82 Token_inline,
83 Token_int,
84 Token_k_dcop,
85 Token_k_dcop_signals,
86 Token_leq,
87 Token_long,
88 Token_mutable,
89 Token_namespace,
90 Token_new,
91 Token_not,
92 Token_not_eq,
93 Token_number_literal,
94 Token_operator,
95 Token_or,
96 Token_or_eq,
97 Token_preproc,
98 Token_private,
99 Token_protected,
100 Token_ptrmem,
101 Token_public,
102 Token_register,
103 Token_reinterpret_cast,
104 Token_return,
105 Token_scope,
106 Token_shift,
107 Token_short,
108 Token_signals,
109 Token_signed,
110 Token_sizeof,
111 Token_slots,
112 Token_static,
113 Token_static_cast,
114 Token_string_literal,
115 Token_struct,
116 Token_switch,
117 Token_template,
118 Token_this,
119 Token_throw,
120 Token_true,
121 Token_try,
122 Token_typedef,
123 Token_typeid,
124 Token_typename,
125 Token_union,
126 Token_unsigned,
127 Token_using,
128 Token_virtual,
129 Token_void,
130 Token_volatile,
131 Token_wchar_t,
132 Token_while,
133 Token_whitespaces,
134 Token_xor,
135 Token_xor_eq,
136 Token_Q_ENUMS,
137 Token_Q_INVOKABLE,
139 TOKEN_KIND_COUNT
142 char const *token_name(int token);
144 #endif
146 // kate: space-indent on; indent-width 2; replace-tabs on;