source: NonGTP/Boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp @ 857

Revision 857, 2.1 KB checked in by igarcia, 19 years ago (diff)
Line 
1/*=============================================================================
2    Boost.Wave: A Standard compliant C++ preprocessor library
3
4    http://www.boost.org/
5
6    Copyright (c) 2001-2005 Hartmut Kaiser. Distributed under the Boost
7    Software License, Version 1.0. (See accompanying file
8    LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9=============================================================================*/
10
11#if !defined(CPP_LITERAL_GRAMMAR_GEN_HPP_67794A6C_468A_4AAB_A757_DEDDB182F5A0_INCLUDED)
12#define CPP_LITERAL_GRAMMAR_GEN_HPP_67794A6C_468A_4AAB_A757_DEDDB182F5A0_INCLUDED
13
14///////////////////////////////////////////////////////////////////////////////
15namespace boost {
16namespace wave {
17namespace grammars {
18
19///////////////////////////////////////////////////////////////////////////////
20// 
21//  cpp_intlit_grammar_gen template class
22//
23//      This template helps separating the compilation of the intlit_grammar
24//      class from the compilation of the expression_grammar. This is done
25//      to safe compilation time.
26//
27///////////////////////////////////////////////////////////////////////////////
28template <typename TokenT>
29struct intlit_grammar_gen {
30
31    static unsigned long evaluate(TokenT const &tok, bool &is_unsigned);
32};
33
34///////////////////////////////////////////////////////////////////////////////
35// 
36//  cpp_chlit_grammar_gen template class
37//
38//      This template helps separating the compilation of the chlit_grammar
39//      class from the compilation of the expression_grammar. This is done
40//      to safe compilation time.
41//
42///////////////////////////////////////////////////////////////////////////////
43template <typename TokenT>
44struct chlit_grammar_gen {
45
46    static unsigned int evaluate(TokenT const &tok);
47};
48
49///////////////////////////////////////////////////////////////////////////////
50}   //  namespace grammars
51}   //  namespace wave
52}   //  namespace boost
53
54#endif // !defined(CPP_LITERAL_GRAMMAR_GEN_HPP_67794A6C_468A_4AAB_A757_DEDDB182F5A0_INCLUDED)
Note: See TracBrowser for help on using the repository browser.