formatter_tokens.hppGo to the documentation of this file.00001 /* 00002 Copyright 2008 Adobe Systems Incorporated 00003 Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt 00004 or a copy at http://stlab.adobe.com/licenses.html) 00005 */ 00006 00007 /******************************************************************************/ 00008 00009 #ifndef ADOBE_FORMATTER_TOKENS_HPP 00010 #define ADOBE_FORMATTER_TOKENS_HPP 00011 00012 /******************************************************************************/ 00013 00014 #include <adobe/config.hpp> 00015 00016 #include <adobe/name.hpp> 00017 #include <adobe/future/widgets/headers/widget_tokens.hpp> 00018 00019 /******************************************************************************/ 00020 00021 namespace adobe { 00022 00023 /******************************************************************************/ 00024 00025 #define ADOBE_TOKEN(x) extern const aggregate_name_t key_##x; 00026 00027 ADOBE_TOKEN(cell_type) 00028 ADOBE_TOKEN(comment_brief) 00029 ADOBE_TOKEN(comment_detailed) 00030 ADOBE_TOKEN(conditional) 00031 ADOBE_TOKEN(expression) 00032 ADOBE_TOKEN(initializer) 00033 ADOBE_TOKEN(linked) 00034 // ADOBE_TOKEN(name) // comes in from widget_tokens.hpp 00035 ADOBE_TOKEN(parameters) 00036 ADOBE_TOKEN(relation_set) 00037 00038 00039 // The meta type values do not come from the parser; instead it is a type 00040 // used to denote the type of adam node added with "this node". We use the 00041 // meta type instead of storing the nodes in three vectors (one for each meta 00042 // type) to preserve the order in which they were parsed, which is important. 00043 00044 ADOBE_TOKEN(cell_meta_type) 00045 ADOBE_TOKEN(meta_type_cell) 00046 ADOBE_TOKEN(meta_type_relation) 00047 ADOBE_TOKEN(meta_type_interface) 00048 00049 #undef ADOBE_TOKEN 00050 00051 /******************************************************************************/ 00052 00053 } // namespace adobe 00054 00055 /******************************************************************************/ 00056 // ADOBE_FORMATTER_TOKENS_HPP 00057 #endif 00058 00059 /******************************************************************************/ | ||||

