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::eat_whitespace< TokenT > Class Template Reference

#include <whitespace_handling.hpp>

Inheritance diagram for boost::wave::context_policies::eat_whitespace< TokenT >:
Collaboration diagram for boost::wave::context_policies::eat_whitespace< TokenT >:

Public Member Functions

 eat_whitespace ()
 
template<typename ContextT >
bool may_skip_whitespace (ContextT const &ctx, TokenT &token, bool &skipped_newline)
 
template<typename ContextT >
bool may_skip_whitespace (ContextT const &ctx, TokenT &token, bool preserve_comments_, bool preserve_bol_whitespace_, bool &skipped_newline)
 
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 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)
 

Protected Member Functions

bool skip_cppcomment (boost::wave::token_id id)
 

Constructor & Destructor Documentation

template<typename TokenT >
boost::wave::context_policies::eat_whitespace< TokenT >::eat_whitespace ( )
inline

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 
)
inlineinherited
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 
)
inlineinherited
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 
)
inlineinherited
template<typename ContextT , typename ContainerT >
void boost::wave::context_policies::default_preprocessing_hooks::expanded_macro ( ContextT const &  ctx,
ContainerT const &  result 
)
inlineinherited
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 
)
inlineinherited
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 
)
inlineinherited
template<typename ContextT , typename TokenT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_directive ( ContextT const &  ctx,
TokenT const &  directive 
)
inlineinherited
template<typename ContextT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_error_directive ( ContextT const &  ctx,
ContainerT const &  message 
)
inlineinherited
template<typename ContextT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_include_directive ( ContextT const &  ctx,
std::string const &  filename,
bool  include_next 
)
inlineinherited
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 
)
inlineinherited
template<typename ContextT , typename ContainerT >
bool boost::wave::context_policies::default_preprocessing_hooks::found_unknown_directive ( ContextT const &  ctx,
ContainerT const &  line,
ContainerT &  pending 
)
inlineinherited
template<typename ContextT , typename TokenT >
TokenT const& boost::wave::context_policies::default_preprocessing_hooks::generated_token ( ContextT const &  ctx,
TokenT const &  t 
)
inlineinherited

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 
)
inlineinherited
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 
)
inlineinherited
template<typename TokenT >
template<typename ContextT >
bool boost::wave::context_policies::eat_whitespace< TokenT >::may_skip_whitespace ( ContextT const &  ctx,
TokenT &  token,
bool &  skipped_newline 
)
inline
template<typename TokenT >
template<typename ContextT >
bool boost::wave::context_policies::eat_whitespace< TokenT >::may_skip_whitespace ( ContextT const &  ctx,
TokenT &  token,
bool  preserve_comments_,
bool  preserve_bol_whitespace_,
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 
)
inlineinherited
template<typename ContextT , typename ContainerT >
void boost::wave::context_policies::default_preprocessing_hooks::rescanned_macro ( ContextT const &  ctx,
ContainerT const &  result 
)
inlineinherited
template<typename ContextT >
void boost::wave::context_policies::default_preprocessing_hooks::returning_from_include_file ( ContextT const &  ctx)
inlineinherited
template<typename TokenT>
bool boost::wave::context_policies::eat_whitespace< TokenT >::skip_cppcomment ( boost::wave::token_id  id)
inlineprotected
template<typename ContextT , typename TokenT >
void boost::wave::context_policies::default_preprocessing_hooks::skipped_token ( ContextT const &  ctx,
TokenT const &  token 
)
inlineinherited
template<typename ContextT , typename ExceptionT >
void boost::wave::context_policies::default_preprocessing_hooks::throw_exception ( ContextT const &  ctx,
ExceptionT const &  e 
)
inlineinherited
template<typename ContextT , typename TokenT >
void boost::wave::context_policies::default_preprocessing_hooks::undefined_macro ( ContextT const &  ctx,
TokenT const &  macro_name 
)
inlineinherited

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