ROSE 0.11.145.147
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 &, TokenT const &macrodef, std::vector< TokenT > const &formal_args, ContainerT const &definition, TokenT const &macrocall, std::vector< ContainerT > const &arguments, IteratorT const &, IteratorT const &)
 
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 &, ContainerT const &result)
 
template<typename ContextT , typename ContainerT >
void rescanned_macro (ContextT const &, ContainerT const &result)
 
template<typename ContextT >
bool found_include_directive (ContextT const &, std::string const &filename, bool)
 
template<typename ContextT >
void opened_include_file (ContextT const &, std::string const &relname, std::string const &absname, bool)
 
template<typename ContextT >
void returning_from_include_file (ContextT const &)
 
template<typename ContextT , typename ContainerT >
bool interpret_pragma (ContextT const &, ContainerT &, typename ContextT::token_type const &, ContainerT const &, typename ContextT::token_type const &)
 
template<typename ContextT , typename TokenT , typename ParametersT , typename DefinitionT >
void defined_macro (ContextT const &, 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 &, TokenT const &directive)
 
template<typename ContextT , typename TokenT >
TokenT const & generated_token (ContextT const &, TokenT const &token)
 
template<typename ContextT , typename TokenT , typename ContainerT >
bool evaluated_conditional_expression (ContextT const &, TokenT const &directive, ContainerT const &expression, bool expression_value)
 
template<typename ContextT , typename TokenT >
void skipped_token (ContextT const &, TokenT const &token)
 
template<typename ContextT , typename TokenT >
void undefined_macro (ContextT const &, TokenT const &macro_name)
 
template<typename ContextT , typename ContainerT >
bool found_warning_directive (ContextT const &, ContainerT const &message)
 
template<typename ContextT , typename ContainerT >
void found_line_directive (ContextT const &, ContainerT const &arguments, unsigned int, 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 &, ExceptionT const &)
 
template<typename ContextT >
void detected_include_guard (ContextT const &, std::string const &filename, std::string const &include_guard)
 
template<typename ContextT , typename TokenT >
void detected_pragma_once (ContextT const &, TokenT const &pragma_token, std::string const &filename)
 
template<typename ContextT , typename ContainerT >
bool found_error_directive (ContextT const &, ContainerT const &)
 

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
 

Constructor & Destructor Documentation

◆ advanced_preprocessing_hooks()

advanced_preprocessing_hooks::advanced_preprocessing_hooks ( )
inline

Definition at line 78 of file advanced_preprocessing_hooks.h.

Member Function Documentation

◆ expanding_function_like_macro()

template<typename ContextT , typename TokenT , typename ContainerT , typename IteratorT >
bool advanced_preprocessing_hooks::expanding_function_like_macro ( ContextT const &  ,
TokenT const &  macrodef,
std::vector< TokenT > const &  formal_args,
ContainerT const &  definition,
TokenT const &  macrocall,
std::vector< ContainerT > const &  arguments,
IteratorT const &  ,
IteratorT const &   
)
inline

Definition at line 121 of file advanced_preprocessing_hooks.h.

◆ expanding_object_like_macro()

template<typename ContextT , typename TokenT , typename ContainerT >
bool advanced_preprocessing_hooks::expanding_object_like_macro ( ContextT const &  ctx,
TokenT const &  macro,
ContainerT const &  definition,
TokenT const &  macrocall 
)
inline

Definition at line 156 of file advanced_preprocessing_hooks.h.

◆ expanded_macro()

template<typename ContextT , typename ContainerT >
void advanced_preprocessing_hooks::expanded_macro ( ContextT const &  ,
ContainerT const &  result 
)
inline

Definition at line 173 of file advanced_preprocessing_hooks.h.

◆ rescanned_macro()

template<typename ContextT , typename ContainerT >
void advanced_preprocessing_hooks::rescanned_macro ( ContextT const &  ,
ContainerT const &  result 
)
inline

Definition at line 188 of file advanced_preprocessing_hooks.h.

◆ found_include_directive()

template<typename ContextT >
bool advanced_preprocessing_hooks::found_include_directive ( ContextT const &  ,
std::string const &  filename,
bool   
)
inline

Definition at line 213 of file advanced_preprocessing_hooks.h.

◆ opened_include_file()

template<typename ContextT >
void advanced_preprocessing_hooks::opened_include_file ( ContextT const &  ,
std::string const &  relname,
std::string const &  absname,
bool   
)
inline

Definition at line 240 of file advanced_preprocessing_hooks.h.

◆ returning_from_include_file()

template<typename ContextT >
void advanced_preprocessing_hooks::returning_from_include_file ( ContextT const &  )
inline

Definition at line 260 of file advanced_preprocessing_hooks.h.

◆ interpret_pragma()

template<typename ContextT , typename ContainerT >
bool advanced_preprocessing_hooks::interpret_pragma ( ContextT const &  ,
ContainerT &  ,
typename ContextT::token_type const &  ,
ContainerT const &  ,
typename ContextT::token_type const &   
)
inline

Definition at line 291 of file advanced_preprocessing_hooks.h.

◆ defined_macro()

template<typename ContextT , typename TokenT , typename ParametersT , typename DefinitionT >
void advanced_preprocessing_hooks::defined_macro ( ContextT const &  ,
TokenT const &  macro_name,
bool  is_functionlike,
ParametersT const &  parameters,
DefinitionT const &  definition,
bool  is_predefined 
)
inline

Definition at line 322 of file advanced_preprocessing_hooks.h.

◆ found_directive()

template<typename ContextT , typename TokenT >
bool advanced_preprocessing_hooks::found_directive ( ContextT const &  ,
TokenT const &  directive 
)
inline

Definition at line 408 of file advanced_preprocessing_hooks.h.

◆ generated_token()

template<typename ContextT , typename TokenT >
TokenT const & advanced_preprocessing_hooks::generated_token ( ContextT const &  ,
TokenT const &  token 
)
inline

Definition at line 486 of file advanced_preprocessing_hooks.h.

◆ evaluated_conditional_expression()

template<typename ContextT , typename TokenT , typename ContainerT >
bool advanced_preprocessing_hooks::evaluated_conditional_expression ( ContextT const &  ,
TokenT const &  directive,
ContainerT const &  expression,
bool  expression_value 
)
inline

Definition at line 537 of file advanced_preprocessing_hooks.h.

◆ skipped_token()

template<typename ContextT , typename TokenT >
void advanced_preprocessing_hooks::skipped_token ( ContextT const &  ,
TokenT const &  token 
)
inline

Definition at line 611 of file advanced_preprocessing_hooks.h.

◆ undefined_macro()

template<typename ContextT , typename TokenT >
void advanced_preprocessing_hooks::undefined_macro ( ContextT const &  ,
TokenT const &  macro_name 
)
inline

Definition at line 711 of file advanced_preprocessing_hooks.h.

◆ found_warning_directive()

template<typename ContextT , typename ContainerT >
bool advanced_preprocessing_hooks::found_warning_directive ( ContextT const &  ,
ContainerT const &  message 
)
inline

Definition at line 747 of file advanced_preprocessing_hooks.h.

◆ found_line_directive()

template<typename ContextT , typename ContainerT >
void advanced_preprocessing_hooks::found_line_directive ( ContextT const &  ,
ContainerT const &  arguments,
unsigned int  ,
std::string const &  filename 
)
inline

Definition at line 779 of file advanced_preprocessing_hooks.h.

◆ may_skip_whitespace()

template<typename ContextT , typename TokenT >
bool advanced_preprocessing_hooks::may_skip_whitespace ( ContextT const &  ctx,
TokenT &  token,
bool &  skipped_newline 
)
inline

Definition at line 812 of file advanced_preprocessing_hooks.h.

◆ throw_exception()

template<typename ContextT , typename ExceptionT >
void advanced_preprocessing_hooks::throw_exception ( ContextT const &  ,
ExceptionT const &   
)
inline

Definition at line 848 of file advanced_preprocessing_hooks.h.

◆ detected_include_guard()

template<typename ContextT >
void advanced_preprocessing_hooks::detected_include_guard ( ContextT const &  ,
std::string const &  filename,
std::string const &  include_guard 
)
inline

Definition at line 855 of file advanced_preprocessing_hooks.h.

◆ detected_pragma_once()

template<typename ContextT , typename TokenT >
void advanced_preprocessing_hooks::detected_pragma_once ( ContextT const &  ,
TokenT const &  pragma_token,
std::string const &  filename 
)
inline

Definition at line 862 of file advanced_preprocessing_hooks.h.

◆ found_error_directive()

template<typename ContextT , typename ContainerT >
bool advanced_preprocessing_hooks::found_error_directive ( ContextT const &  ,
ContainerT const &   
)
inline

Definition at line 869 of file advanced_preprocessing_hooks.h.

Member Data Documentation

◆ attributeListMap

AttributeListMap* advanced_preprocessing_hooks::attributeListMap

Definition at line 67 of file advanced_preprocessing_hooks.h.

◆ tokens

std::list< token_type > advanced_preprocessing_hooks::tokens

Definition at line 68 of file advanced_preprocessing_hooks.h.

◆ lastPreprocDirective

token_type advanced_preprocessing_hooks::lastPreprocDirective

Definition at line 70 of file advanced_preprocessing_hooks.h.

◆ numberOfIfs

int advanced_preprocessing_hooks::numberOfIfs

Definition at line 71 of file advanced_preprocessing_hooks.h.

◆ includeDirective

std::string advanced_preprocessing_hooks::includeDirective

Definition at line 73 of file advanced_preprocessing_hooks.h.

◆ includeDirectiveToken

token_type advanced_preprocessing_hooks::includeDirectiveToken

Definition at line 74 of file advanced_preprocessing_hooks.h.

◆ skipping

bool advanced_preprocessing_hooks::skipping

Definition at line 75 of file advanced_preprocessing_hooks.h.

◆ updatingLastToken

bool advanced_preprocessing_hooks::updatingLastToken

Definition at line 76 of file advanced_preprocessing_hooks.h.

◆ last_token

token_type advanced_preprocessing_hooks::last_token

Definition at line 77 of file advanced_preprocessing_hooks.h.


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