00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
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