ASResource.h

00001 /*
00002  * Copyright (c) 1998,1999,2000,2001,2002 Tal Davidson. All rights reserved.
00003  *
00004  * compiler_defines.h   (1 January 1999)
00005  * by Tal Davidson (davidsont@bigfoot.com)
00006  * This file is a part of "Artistic Style" - an indentater and reformatter
00007  * of C, C++, C# and Java source files.
00008  *
00009  * The "Artistic Style" project, including all files needed to compile it,
00010  * is free software; you can redistribute it and/or use it and/or modify it
00011  * under the terms of the GNU General Public License as published 
00012  * by the Free Software Foundation; either version 2 of the License, 
00013  * or (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00018  *
00019  * You should have received a copy of the GNU General Public
00020  * License along with this program.
00021  */
00022 
00023 
00024 #ifndef ASRES_H
00025 #define ASRES_H
00026 
00027 #include "compiler_defines.h"
00028 #include "ASStreamIterator.h"
00029 
00030 #include <iostream>
00031 #include <fstream>
00032 #include <string>
00033 
00034 namespace astyle {
00035 
00036 class ASResource
00037   {
00038   public:
00039     static const string AS_IF, AS_ELSE;
00040     static const string AS_DO, AS_WHILE;
00041     static const string AS_FOR;
00042     static const string AS_SWITCH, AS_CASE, AS_DEFAULT;
00043     static const string AS_TRY, AS_CATCH, AS_THROWS, AS_FINALLY;
00044     static const string AS_PUBLIC, AS_PROTECTED, AS_PRIVATE;
00045     static const string AS_CLASS, AS_STRUCT, AS_UNION, AS_INTERFACE, AS_NAMESPACE, AS_EXTERN;
00046     static const string AS_STATIC;
00047     static const string AS_CONST;
00048     static const string AS_SYNCHRONIZED;
00049     static const string AS_OPERATOR, AS_TEMPLATE;
00050     static const string AS_OPEN_BRACKET, AS_CLOSE_BRACKET;
00051     static const string AS_OPEN_LINE_COMMENT, AS_OPEN_COMMENT, AS_CLOSE_COMMENT;
00052     static const string AS_BAR_DEFINE, AS_BAR_INCLUDE, AS_BAR_IF, AS_BAR_EL, AS_BAR_ENDIF;
00053     static const string AS_RETURN;
00054     static const string AS_ASSIGN, AS_PLUS_ASSIGN, AS_MINUS_ASSIGN, AS_MULT_ASSIGN;
00055     static const string AS_DIV_ASSIGN, AS_MOD_ASSIGN, AS_XOR_ASSIGN, AS_OR_ASSIGN, AS_AND_ASSIGN;
00056     static const string AS_GR_GR_ASSIGN, AS_LS_LS_ASSIGN, AS_GR_GR_GR_ASSIGN, AS_LS_LS_LS_ASSIGN;
00057     static const string AS_EQUAL, AS_PLUS_PLUS, AS_MINUS_MINUS, AS_NOT_EQUAL, AS_GR_EQUAL, AS_GR_GR_GR, AS_GR_GR;
00058     static const string AS_LS_EQUAL, AS_LS_LS_LS, AS_LS_LS, AS_ARROW, AS_AND, AS_OR;
00059     static const string AS_COLON_COLON, AS_PAREN_PAREN, AS_BLPAREN_BLPAREN;
00060     static const string AS_PLUS, AS_MINUS, AS_MULT, AS_DIV, AS_MOD, AS_GR, AS_LS;
00061     static const string AS_NOT, AS_BIT_XOR, AS_BIT_OR, AS_BIT_AND, AS_BIT_NOT;
00062     static const string AS_QUESTION, AS_COLON, AS_SEMICOLON, AS_COMMA;
00063     static const string AS_ASM;
00064     static const string AS_FOREACH, AS_LOCK, AS_UNSAFE, AS_FIXED;
00065     static const string AS_GET, AS_SET, AS_ADD, AS_REMOVE;
00066   };
00067 }
00068 #endif
00069 

Generated on Fri Apr 27 13:12:35 2007 for Highlight Code Converter by  doxygen 1.5.2