ROSE  0.11.145.0
Public Member Functions | Public Attributes | List of all members
advanced_preprocessing_hooks Class Reference

Description

Definition at line 62 of file advanced_preprocessing_hooks.h.

Inheritance diagram for advanced_preprocessing_hooks:
Inheritance graph
[legend]
Collaboration diagram for advanced_preprocessing_hooks:
Collaboration graph
[legend]

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 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 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 >
bool found_directive (ContextT const &ctx, TokenT const &directive)
 
template<typename ContextT , typename TokenT >
TokenT const & generated_token (ContextT const &ctx, TokenT const &token)
 
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 >
void undefined_macro (ContextT const &ctx, TokenT const &macro_name)
 
template<typename ContextT , typename ContainerT >
bool found_warning_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 TokenT >
bool may_skip_whitespace (ContextT const &ctx, TokenT &token, bool &skipped_newline)
 
template<typename ContextT , typename ExceptionT >
void throw_exception (ContextT const &ctx, ExceptionT const &e)
 
template<typename ContextT >
void detected_include_guard (ContextT const &ctx, std::string const &filename, std::string const &include_guard)
 
template<typename ContextT , typename TokenT >
void detected_pragma_once (ContextT const &ctx, TokenT const &pragma_token, std::string const &filename)
 
template<typename ContextT , typename ContainerT >
bool found_error_directive (ContextT const &ctx, ContainerT const &message)
 

Public Attributes

AttributeListMapattributeListMap
 
std::list< token_type > tokens
 
token_type lastPreprocDirective
 
int numberOfIfs
 
std::string includeDirective
 
token_type includeDirectiveToken
 
bool skipping
 
bool updatingLastToken
 
token_type last_token
 

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