1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
#ifndef guard_opencxx_token_names_h
#define guard_opencxx_token_names_h
//@beginlicenses@
//@license{chiba_tokyo}{}@
//@license{xerox}{}@
//@license{contributors}{}@
//
// Permission to use, copy, distribute and modify this software and its
// documentation for any purpose is hereby granted without fee, provided that
// the above copyright notice appears in all copies and that both that copyright
// notice and this permission notice appear in supporting documentation.
//
// 1997-2001 Shigeru Chiba, Tokyo Institute of Technology. make(s) no representations about the suitability of this
// software for any purpose. It is provided "as is" without express or implied
// warranty.
//
// Copyright (C) 1997-2001 Shigeru Chiba, Tokyo Institute of Technology.
//
// -----------------------------------------------------------------
//
//
// Copyright (c) 1995, 1996 Xerox Corporation.
// All Rights Reserved.
//
// Use and copying of this software and preparation of derivative works
// based upon this software are permitted. Any copy of this software or
// of any derivative work must include the above copyright notice of
// Xerox Corporation, this paragraph and the one after it. Any
// distribution of this software or derivative works must comply with all
// applicable United States export control laws.
//
// This software is made available AS IS, and XEROX CORPORATION DISCLAIMS
// ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE, AND NOTWITHSTANDING ANY OTHER PROVISION CONTAINED HEREIN, ANY
// LIABILITY FOR DAMAGES RESULTING FROM THE SOFTWARE OR ITS USE IS
// EXPRESSLY DISCLAIMED, WHETHER ARISING IN CONTRACT, TORT (INCLUDING
// NEGLIGENCE) OR STRICT LIABILITY, EVEN IF XEROX CORPORATION IS ADVISED
// OF THE POSSIBILITY OF SUCH DAMAGES.
//
// -----------------------------------------------------------------
//
// Permission to use, copy, distribute and modify this software and its
// documentation for any purpose is hereby granted without fee, provided that
// the above copyright notice appears in all copies and that both that copyright
// notice and this permission notice appear in supporting documentation.
//
// Other Contributors (see file AUTHORS) make(s) no representations about the suitability of this
// software for any purpose. It is provided "as is" without express or implied
// warranty.
//
// Copyright (C) Other Contributors (see file AUTHORS)
//
//@endlicenses@
namespace Opencxx
{
enum {
Identifier= 258,
Constant= 262,
CharConst= 263,
StringL = 264,
AssignOp= 267,
EqualOp = 268,
RelOp = 269,
ShiftOp = 270,
LogOrOp = 271,
LogAndOp= 272,
IncOp = 273,
Scope = 274,
Ellipsis= 275,
PmOp = 276,
ArrowOp = 277,
BadToken= 278,
AUTO = 281,
CHAR = 282,
CLASS = 283,
CONST = 284,
DELETE = 285,
DOUBLE = 286,
ENUM = 287,
EXTERN = 288,
FLOAT = 289,
FRIEND = 290,
INLINE = 291,
INT = 292,
LONG = 293,
NEW = 294,
OPERATOR= 295,
PRIVATE = 296,
PROTECTED= 297,
PUBLIC = 298,
REGISTER= 299,
SHORT = 300,
SIGNED = 301,
STATIC = 302,
STRUCT = 303,
TYPEDEF = 304,
UNION = 305,
UNSIGNED= 306,
VIRTUAL = 307,
VOID = 308,
VOLATILE= 309,
TEMPLATE= 310,
MUTABLE = 311,
BREAK = 312,
CASE = 313,
CONTINUE= 314,
DEFAULT = 315,
DO = 316,
ELSE = 317,
FOR = 318,
GOTO = 319,
IF = 320,
RETURN = 321,
SIZEOF = 322,
SWITCH = 323,
THIS = 324,
WHILE = 325,
ATTRIBUTE= 326, //=g++,
METACLASS= 327,
UserKeyword= 328,
UserKeyword2= 329,
UserKeyword3= 330,
UserKeyword4= 331,
BOOLEAN = 332,
EXTENSION= 333, //=g++,
TRY = 334,
CATCH = 335,
THROW = 336,
UserKeyword5= 337,
NAMESPACE= 338,
USING = 339,
TYPEID= 340,
TYPEOF= 341,
WideStringL = 342,
WideCharConst = 343,
WCHAR = 344,
//=non terminals,
ntDeclarator =400,
ntName =401,
ntFstyleCast =402,
ntClassSpec =403,
ntEnumSpec =404,
ntDeclaration =405,
ntTypedef =406,
ntTemplateDecl =407,
ntMetaclassDecl =408,
ntLinkageSpec =409,
ntAccessSpec =410,
ntUserAccessSpec=411,
ntUserdefKeyword=412,
ntExternTemplate=413,
ntAccessDecl =414,
ntNamespaceSpec =415,
ntUsing =416,
ntTemplateInstantiation= 417,
ntNamespaceAlias=418,
ntIfStatement = 420,
ntSwitchStatement= 421,
ntWhileStatement= 422,
ntDoStatement = 423,
ntForStatement = 424,
ntBreakStatement= 425,
ntContinueStatement= 426,
ntReturnStatement= 427,
ntGotoStatement = 428,
ntCaseStatement = 429,
ntDefaultStatement= 430,
ntLabelStatement= 431,
ntExprStatement = 432,
ntTryStatement = 433,
ntCommaExpr = 450,
ntAssignExpr = 451,
ntCondExpr = 452,
ntInfixExpr = 453,
ntPmExpr = 454,
ntCastExpr = 455,
ntUnaryExpr = 456,
ntSizeofExpr = 457,
ntNewExpr = 458,
ntDeleteExpr = 459,
ntArrayExpr = 460,
ntFuncallExpr = 461,
ntPostfixExpr = 462,
ntUserStatementExpr= 463,
ntDotMemberExpr = 464,
ntArrowMemberExpr= 465,
ntParenExpr = 466,
ntStaticUserStatementExpr=467,
ntThrowExpr = 468,
ntTypeidExpr= 469,
ntTypeofExpr= 470,
Ignore = 500,
ASM = 501,
DECLSPEC= 502,
INT64 = 503
};
}
#endif /* ! guard_opencxx_token_names_h */
|