Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::wave::context_policies::default_preprocessing_hooks Struct Reference

#include <preprocessing_hooks.hpp>

Inheritance diagram for boost::wave::context_policies::default_preprocessing_hooks:

Public Member Functions

template<typename ContextT , typename TokenT , typename ContainerT , typename IteratorT >
bool expanding_function_like_macro (ContextT const &ctx, TokenT const &macrodef, std::vector< TokenT > const &formal_args, ContainerT const &definition, TokenT const &macrocall, std::vector< ContainerT > const &arguments, IteratorT const &seqstart, IteratorT const &seqend)
 
template<typename ContextT , typename TokenT , typename ContainerT >
bool expanding_object_like_macro (ContextT const &ctx, TokenT const &macro, ContainerT const &definition, TokenT const &macrocall)
 
template<typename ContextT , typename ContainerT >
void expanded_macro (ContextT const &ctx, ContainerT const &result)
 
template<typename ContextT , typename ContainerT >
void rescanned_macro (ContextT const &ctx, ContainerT const &result)
 
template<typename ContextT >
bool locate_include_file (ContextT &ctx, std::string &file_path, bool is_system, char const *current_name, std::string &dir_path, std::string &native_name)
 
template<typename ContextT >
bool found_include_directive (ContextT const &ctx, std::string const &filename, bool include_next)
 
template<typename ContextT >
void opened_include_file (ContextT const &ctx, std::string const &relname, std::string const &absname, bool is_system_include)
 
template<typename ContextT >
void returning_from_include_file (ContextT const &ctx)
 
template<typename ContextT , typename ContainerT >
bool interpret_pragma (ContextT const &ctx, ContainerT &pending, typename ContextT::token_type const &option, ContainerT const &values, typename ContextT::token_type const &act_token)
 
template<typename ContextT , typename ContainerT >
bool emit_line_directive (ContextT const &ctx, ContainerT &pending, typename ContextT::token_type const &act_token)
 
template<typename ContextT , typename TokenT , typename ParametersT , typename DefinitionT >
void defined_macro (ContextT const &ctx, TokenT const &macro_name, bool is_functionlike, ParametersT const &parameters, DefinitionT const &definition, bool is_predefined)
 
template<typename ContextT , typename TokenT >
void undefined_macro (ContextT const &ctx, TokenT const &macro_name)
 
template<typename ContextT , typename TokenT >
bool found_directive (ContextT const &ctx, TokenT const &directive)
 
template<typename ContextT , typename ContainerT >
bool found_unknown_directive (ContextT const &ctx, ContainerT const &line, ContainerT &pending)
 
template<typename ContextT , typename TokenT , typename ContainerT >
bool evaluated_conditional_expression (ContextT const &ctx, TokenT const &directive, ContainerT const &expression, bool expression_value)
 
template<typename ContextT , typename TokenT >
void skipped_token (ContextT const &ctx, TokenT const &token)
 
template<typename ContextT , typename TokenT >
TokenT const & generated_token (ContextT const &ctx, TokenT const &t)
 
template<typename ContextT , typename TokenT >
bool may_skip_whitespace (ContextT const &ctx, TokenT &token, bool &skipped_newline)
 
template<typename ContextT , typename ContainerT >
bool found_error_directive (ContextT const &ctx, ContainerT const &message)
 
template<typename ContextT , typename ContainerT >
void found_line_directive (ContextT const &ctx, ContainerT const &arguments, unsigned int line, std::string const &filename)
 
template<typename ContextT , typename ExceptionT >
void throw_exception (ContextT const &ctx, ExceptionT const &e)
 

Member Function Documentation

template<typename ContextT , typename TokenT , typename ParametersT , typename DefinitionT >
void boost::wave::context_policies::default_preprocessing_hooks::defined_macro ( ContextT const &  ctx,
TokenT const &  macro_name,
bool  is_functionlike,
ParametersT const &  parameters,
DefinitionT const &  definition,
bool  is_predefined 
)
inline
template<typename ContextT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::emit_line_directive ( ContextT const &  ctx,
ContainerT &  pending,
typename ContextT::token_type const &  act_token 
)
inline
template<typename ContextT , typename TokenT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::evaluated_conditional_expression ( ContextT const &  ctx,
TokenT const &  directive,
ContainerT const &  expression,
bool  expression_value 
)
inline
template<typename ContextT , typename ContainerT >
void boost::wave::context_policies::default_preprocessing_hooks::expanded_macro ( ContextT const &  ctx,
ContainerT const &  result 
)
inline
template<typename ContextT , typename TokenT , typename ContainerT , typename IteratorT >
bool boost::wave::context_policies::default_preprocessing_hooks::expanding_function_like_macro ( ContextT const &  ctx,
TokenT const &  macrodef,
std::vector< TokenT > const &  formal_args,
ContainerT const &  definition,
TokenT const &  macrocall,
std::vector< ContainerT > const &  arguments,
IteratorT const &  seqstart,
IteratorT const &  seqend 
)
inline
template<typename ContextT , typename TokenT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::expanding_object_like_macro ( ContextT const &  ctx,
TokenT const &  macro,
ContainerT const &  definition,
TokenT const &  macrocall 
)
inline
template<typename ContextT , typename TokenT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_directive ( ContextT const &  ctx,
TokenT const &  directive 
)
inline
template<typename ContextT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_error_directive ( ContextT const &  ctx,
ContainerT const &  message 
)
inline
template<typename ContextT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_include_directive ( ContextT const &  ctx,
std::string const &  filename,
bool  include_next 
)
inline
template<typename ContextT , typename ContainerT >
void boost::wave::context_policies::default_preprocessing_hooks::found_line_directive ( ContextT const &  ctx,
ContainerT const &  arguments,
unsigned int  line,
std::string const &  filename 
)
inline
template<typename ContextT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_unknown_directive ( ContextT const &  ctx,
ContainerT const &  line,
ContainerT &  pending 
)
inline
template<typename ContextT , typename TokenT >
TokenT const& boost::wave::context_policies::default_preprocessing_hooks::generated_token ( ContextT const &  ctx,
TokenT const &  t 
)
inline

References boost::flyweights::t.

template<typename ContextT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::interpret_pragma ( ContextT const &  ctx,
ContainerT &  pending,
typename ContextT::token_type const &  option,
ContainerT const &  values,
typename ContextT::token_type const &  act_token 
)
inline
template<typename ContextT >
bool boost::wave::context_policies::default_preprocessing_hooks::locate_include_file ( ContextT &  ctx,
std::string &  file_path,
bool  is_system,
char const *  current_name,
std::string &  dir_path,
std::string &  native_name 
)
inline
template<typename ContextT , typename TokenT >
bool boost::wave::context_policies::default_preprocessing_hooks::may_skip_whitespace ( ContextT const &  ctx,
TokenT &  token,
bool &  skipped_newline 
)
inline
template<typename ContextT >
void boost::wave::context_policies::default_preprocessing_hooks::opened_include_file ( ContextT const &  ctx,
std::string const &  relname,
std::string const &  absname,
bool  is_system_include 
)
inline
template<typename ContextT , typename ContainerT >
void boost::wave::context_policies::default_preprocessing_hooks::rescanned_macro ( ContextT const &  ctx,
ContainerT const &  result 
)
inline
template<typename ContextT >
void boost::wave::context_policies::default_preprocessing_hooks::returning_from_include_file ( ContextT const &  ctx)
inline
template<typename ContextT , typename TokenT >
void boost::wave::context_policies::default_preprocessing_hooks::skipped_token ( ContextT const &  ctx,
TokenT const &  token 
)
inline
template<typename ContextT , typename ExceptionT >
void boost::wave::context_policies::default_preprocessing_hooks::throw_exception ( ContextT const &  ctx,
ExceptionT const &  e 
)
inline
template<typename ContextT , typename TokenT >
void boost::wave::context_policies::default_preprocessing_hooks::undefined_macro ( ContextT const &  ctx,
TokenT const &  macro_name 
)
inline

The documentation for this struct was generated from the following file: