stlab.adobe.com Adobe Systems Incorporated
eve_parser.hpp
Go to the documentation of this file.
1 /*
2  Copyright 2005-2007 Adobe Systems Incorporated
3  Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
4  or a copy at http://stlab.adobe.com/licenses.html)
5 */
6 
7 /*************************************************************************************************/
8 
9 #ifndef ADOBE_EVE_PARSER_HPP
10 #define ADOBE_EVE_PARSER_HPP
11 
12 #include <adobe/config.hpp>
13 
14 #include <string>
15 
16 #include <boost/any.hpp>
17 #include <boost/function.hpp>
18 
19 #include <adobe/array.hpp>
20 #include <adobe/string.hpp>
21 #include <adobe/istream.hpp>
22 #include <adobe/name_fwd.hpp>
23 #include <adobe/vector.hpp>
24 
25 /*************************************************************************************************/
26 
151 /*************************************************************************************************/
152 
153 namespace adobe {
154 
155 /*************************************************************************************************/
156 
158 {
160  {
164  };
165 
166  struct relation_t
167  {
173  };
174 
175  typedef boost::any position_t;
176 
177  typedef boost::function<position_t ( const position_t& parent,
178  const line_position_t& parse_location,
179  name_t name,
180  const array_t& parameters,
181  const string_t& brief,
182  const string_t& detailed)> add_view_proc_t;
183 
184  typedef boost::function<void ( cell_type_t type,
185  name_t name,
186  const line_position_t& position,
187  const array_t& initializer,
188  const string_t& brief,
189  const string_t& detailed)> add_cell_proc_t;
190 
191  typedef boost::function<void ( const line_position_t& position,
192  const array_t& conditional,
193  const relation_t* first,
194  const relation_t* last,
195  const string_t& brief,
196  const string_t& detailed)> add_relation_proc_t;
197 
198  typedef boost::function<void ( name_t cell_name,
199  bool linked,
200  const line_position_t& position1,
201  const array_t& initializer,
202  const line_position_t& position2,
203  const array_t& expression,
204  const string_t& brief,
205  const string_t& detailed)> add_interface_proc_t;
206 
207  typedef boost::function<void()> finalize_sheet_proc_t;
208 
209 
215 };
216 
217 line_position_t parse(std::istream& in, const line_position_t&,
219 
220 /*************************************************************************************************/
221 
222 } // namespace adobe
223 
224 /*************************************************************************************************/
225 
226 #endif // ADOBE_EVE_PARSER_HPP
227 
228 /*************************************************************************************************/

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google