formatter_tokens.hpp
Go 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(name_set) 00036 ADOBE_TOKEN(parameters) 00037 ADOBE_TOKEN(relation_set) 00038 00039 00040 // The meta type values do not come from the parser; instead it is a type 00041 // used to denote the type of adam node added with "this node". We use the 00042 // meta type instead of storing the nodes in three vectors (one for each meta 00043 // type) to preserve the order in which they were parsed, which is important. 00044 00045 ADOBE_TOKEN(cell_meta_type) 00046 ADOBE_TOKEN(meta_type_cell) 00047 ADOBE_TOKEN(meta_type_relation) 00048 ADOBE_TOKEN(meta_type_interface) 00049 00050 #undef ADOBE_TOKEN 00051 00052 /******************************************************************************/ 00053 00054 } // namespace adobe 00055 00056 /******************************************************************************/ 00057 // ADOBE_FORMATTER_TOKENS_HPP 00058 #endif 00059 00060 /******************************************************************************/ |