1 #ifndef _funky_private_literalparserpolicy_h
2 #define _funky_private_literalparserpolicy_h
10 template < typename LiteralType
>
11 struct LiteralParserPolicy
;
14 struct LiteralParserPolicy
< double >
16 template < typename ScannerT
>
21 using namespace boost::spirit
;
22 literal_
= leaf_node_d
[lexeme_d
[real_p
]]
25 boost::spirit::rule
< ScannerT
, boost::spirit::parser_context
<>, boost::spirit::parser_tag
< literal_id__
> > literal_
;
30 struct LiteralParserPolicy
< int >
32 template < typename ScannerT
>
37 using namespace boost::spirit
;
38 literal_
= leaf_node_d
[lexeme_d
[int_p
]]
41 boost::spirit::rule
< ScannerT
, boost::spirit::parser_context
<>, boost::spirit::parser_tag
< literal_id__
> > literal_
;