parser.hpp

一般的なパーサーの宣言定義 [詳細]

#include "toppers/codeset.hpp"
#include <boost/spirit/core.hpp>
#include <boost/spirit/actor.hpp>
#include <boost/spirit/utility.hpp>
#include <boost/spirit/dynamic.hpp>

parser.hppのインクルード依存関係図

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

ネームスペース

namespace  toppers
namespace  toppers::detail

構成

struct  toppers::detail::c_integer_suffix_parse_functor
struct  toppers::detail::c_integer_constant_parse_functor< T >
struct  toppers::detail::c_integer_parse_functor< T >
struct  toppers::detail::mbchar_parse_functor< ascii >
struct  toppers::detail::mbchar_parse_functor< shift_jis >
struct  toppers::detail::mbchar_parse_functor< euc_jp >
struct  toppers::detail::mbchar_parse_functor< utf8 >
struct  toppers::detail::mbchar_parse_functor<-1 >
struct  toppers::detail::ucn_parse_functor
struct  toppers::detail::c_strlit_parse_functor< CodeSet >
struct  toppers::detail::c_strlit_parse_functor<-1 >
struct  toppers::detail::c_chlit_parse_functor< CodeSet >
struct  toppers::detail::c_chlit_parse_functor<-1 >
struct  toppers::detail::c_identifier_parse_functor

型定義

typedef boost::spirit::functor_parser<
detail::c_strlit_parse_functor<> > 
toppers::c_strlit_parser_t
typedef boost::spirit::functor_parser<
detail::c_chlit_parse_functor<> > 
toppers::c_chlit_parser_t
typedef boost::spirit::functor_parser<
detail::c_identifier_parse_functor > 
toppers::c_ident_parser_t

関数

template<typename T>
const boost::spirit::functor_parser<
detail::c_integer_parse_functor<
T > > 
toppers::c_int_parser ()
 C言語形式の整数定数パーサー
template<int CodeSet>
const boost::spirit::functor_parser<
detail::mbchar_parse_functor<
CodeSet > > 
toppers::mbchar_parser ()
 マルチバイト文字パーサー
const boost::spirit::functor_parser<
detail::mbchar_parse_functor<> > 
toppers::mbchar_parser (codeset_t codeset)
const boost::spirit::functor_parser<
detail::ucn_parse_functor > 
toppers::ucn_parser ()
 国際文字名パーサー
template<int CodeSet>
const boost::spirit::functor_parser<
detail::c_strlit_parse_functor<
CodeSet > > 
toppers::c_strlit_parser ()
 C言語形式の文字列定数パーサー
const boost::spirit::functor_parser<
detail::c_strlit_parse_functor<> > 
toppers::c_strlit_parser (codeset_t codeset)
 C言語形式の文字列定数パーサー
template<int CodeSet>
const boost::spirit::functor_parser<
detail::c_chlit_parse_functor<
CodeSet > > 
toppers::c_chlit_parser ()
 C言語形式の文字定数パーサー
const boost::spirit::functor_parser<
detail::c_chlit_parse_functor<> > 
toppers::c_chlit_parser (codeset_t codeset)
 C言語形式の文字定数パーサー
const boost::spirit::functor_parser<
detail::c_identifier_parse_functor > 
toppers::c_ident_parser (bool ucn=false, bool c_plus_plus=false)
 C言語形式の識別子パーサー

変数

const char *const toppers::detail::c_keywords []
const char *const toppers::detail::c_plus_plus_keywords []
const boost::spirit::functor_parser<
detail::c_integer_parse_functor<
int > > 
toppers::c_int_p
 C言語形式のint型定数パーサ
const boost::spirit::functor_parser<
detail::c_integer_parse_functor<
unsigned > > 
toppers::c_uint_p
 C言語形式のunsigned int型定数パーサ
const boost::spirit::functor_parser<
detail::mbchar_parse_functor<
ascii > > 
toppers::ascii_p
 ASCII文字パーサー
const boost::spirit::functor_parser<
detail::mbchar_parse_functor<
shift_jis > > 
toppers::shift_jis_p
 ShiftJIS文字パーサー
const boost::spirit::functor_parser<
detail::mbchar_parse_functor<
euc_jp > > 
toppers::euc_jp_p
 EUC-JP文字パーサー
const boost::spirit::functor_parser<
detail::mbchar_parse_functor<
utf8 > > 
toppers::utf8_p
 UTF-8文字パーサー
const boost::spirit::functor_parser<
detail::ucn_parse_functor > 
toppers::ucn_p
 国際文字名パーサー
const boost::spirit::functor_parser<
detail::c_strlit_parse_functor<
ascii > > 
toppers::ascii_str_p
 C言語形式の文字列定数パーサー(ASCII)
const boost::spirit::functor_parser<
detail::c_strlit_parse_functor<
shift_jis > > 
toppers::shift_jis_str_p
 C言語形式の文字列定数パーサー(ShiftJIS)
const boost::spirit::functor_parser<
detail::c_strlit_parse_functor<
euc_jp > > 
toppers::euc_jp_str_p
 C言語形式の文字列定数パーサー(EUC-JP)
const boost::spirit::functor_parser<
detail::c_strlit_parse_functor<
utf8 > > 
toppers::utf8_str_p
 C言語形式の文字列定数パーサー(UTF-8)
const boost::spirit::functor_parser<
detail::c_chlit_parse_functor<
ascii > > 
toppers::ascii_ch_p
 C言語形式の文字定数パーサー(ASCII)
const boost::spirit::functor_parser<
detail::c_chlit_parse_functor<
shift_jis > > 
toppers::shift_jis_ch_p
 C言語形式の文字定数パーサー(Shift JIS)
const boost::spirit::functor_parser<
detail::c_chlit_parse_functor<
euc_jp > > 
toppers::euc_jp_ch_p
 C言語形式の文字定数パーサー(EUC-JP)
const boost::spirit::functor_parser<
detail::c_chlit_parse_functor<
utf8 > > 
toppers::utf8_ch_p
 C言語形式の文字定数パーサー(UTF-8)
const boost::spirit::functor_parser<
detail::c_identifier_parse_functor > 
toppers::c_ident_p
 C90形式の識別子パーサー
const boost::spirit::functor_parser<
detail::c_identifier_parse_functor > 
toppers::c99_ident_p
const boost::spirit::functor_parser<
detail::c_identifier_parse_functor > 
toppers::c_plus_plus_ident_p


説明

一般的なパーサーの宣言定義

parser.hpp で定義されています。


Copyright © 2006 by TAKAGI Nobuhisa.
このページは Wed Apr 12 16:31:59 2006 に Doxygen によって生成されました。