ROSE 0.11.145.192
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
AttributeListMap Class Reference

Description

Definition at line 38 of file attributeListMap.h.

Collaboration diagram for AttributeListMap:
Collaboration graph
[legend]

Classes

struct  findDirective
 
struct  findDirectiveInList
 

Public Types

typedef std::map< std::string, ROSEAttributesList * > attribute_map_type
 

Public Member Functions

 AttributeListMap (SgFile *sageFilePtr)
 
template<typename TokenT >
bool found_include_directive (TokenT directive, std::string relname, std::string absname)
 
template<typename TokenT , typename ContainerT >
bool found_directive (TokenT const &directive, ContainerT const &expression, bool expression_value)
 
template<typename TokenT , typename ContainerT >
void update_token (TokenT const &token, ContainerT const &stream, bool)
 
template<typename TokenT >
void found_directive (TokenT const &directive)
 
template<typename TokenT , typename ParametersT , typename DefinitionT >
PreprocessingInfobuild_preprocessingInfo_macro_def (TokenT &macro_name, bool is_functionlike, ParametersT &parameters, DefinitionT &definition, bool is_predefined)
 
template<typename TokenT , typename ParametersT , typename DefinitionT >
void defined_macro (TokenT &macro_name, bool is_functionlike, ParametersT &parameters, DefinitionT &definition, bool is_predefined)
 
template<typename TokenT , typename ContainerT >
bool expanding_function_like_macro (TokenT const &macrodef, std::vector< TokenT > const &formal_args, ContainerT const &definition, TokenT const &macrocall, std::vector< ContainerT > const &arguments)
 
template<typename TokenT , typename ContainerT >
bool expanding_object_like_macro (TokenT const &macro, ContainerT const &definition, TokenT const &macrocall)
 
template<typename ContainerT >
void expanded_macro (ContainerT const &)
 
template<typename ContainerT >
void rescanned_macro (ContainerT const &result)
 
template<typename TokenT >
void skipped_token (TokenT const &token, bool last_skipped=false)
 
void flush_token_stream ()
 
template<typename ContextT , typename TokenT >
bool may_skip_whitespace (ContextT const &, TokenT &token, bool &)
 
void attach_line_to_macro_call ()
 
template<typename IteratorT >
void attach_line_to_macro_call (std::vector< IteratorT * > vec)
 
template<typename StringT , typename IteratorT >
StringT as_string (IteratorT it, IteratorT end)
 

Public Attributes

attribute_map_type currentMapOfAttributes
 
token_container * skippedTokenStream
 
std::map< std::pair< std::string, int >, PreprocessingInfo * > defMap
 

Member Typedef Documentation

◆ attribute_map_type

typedef std::map<std::string,ROSEAttributesList*> AttributeListMap::attribute_map_type

Definition at line 57 of file attributeListMap.h.

Member Function Documentation

◆ found_include_directive()

template<typename TokenT >
bool AttributeListMap::found_include_directive ( TokenT  directive,
std::string  relname,
std::string  absname 
)

Definition at line 843 of file attributeListMap.h.

◆ found_directive() [1/2]

template<typename TokenT , typename ContainerT >
bool AttributeListMap::found_directive ( TokenT const &  directive,
ContainerT const &  expression,
bool  expression_value 
)
inline
  • ... *‍/

Definition at line 84 of file attributeListMap.h.

References SgProject::get_verbose().

◆ update_token()

template<typename TokenT , typename ContainerT >
void AttributeListMap::update_token ( TokenT const &  token,
ContainerT const &  stream,
bool   
)
inline

Definition at line 179 of file attributeListMap.h.

◆ found_directive() [2/2]

template<typename TokenT >
void AttributeListMap::found_directive ( TokenT const &  directive)
inline
  • ... *‍/

Definition at line 213 of file attributeListMap.h.

References SgProject::get_verbose().

◆ build_preprocessingInfo_macro_def()

template<typename TokenT , typename ParametersT , typename DefinitionT >
PreprocessingInfo * AttributeListMap::build_preprocessingInfo_macro_def ( TokenT &  macro_name,
bool  is_functionlike,
ParametersT &  parameters,
DefinitionT &  definition,
bool  is_predefined 
)
inline

Definition at line 330 of file attributeListMap.h.

◆ defined_macro()

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

Definition at line 355 of file attributeListMap.h.

◆ expanding_function_like_macro()

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

Definition at line 420 of file attributeListMap.h.

◆ expanding_object_like_macro()

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

Definition at line 539 of file attributeListMap.h.

◆ expanded_macro()

template<typename ContainerT >
void AttributeListMap::expanded_macro ( ContainerT const &  )
inline

Definition at line 611 of file attributeListMap.h.

◆ rescanned_macro()

template<typename ContainerT >
void AttributeListMap::rescanned_macro ( ContainerT const &  result)
inline

Definition at line 625 of file attributeListMap.h.

◆ skipped_token()

template<typename TokenT >
void AttributeListMap::skipped_token ( TokenT const &  token,
bool  last_skipped = false 
)
inline

Definition at line 701 of file attributeListMap.h.

◆ flush_token_stream()

void AttributeListMap::flush_token_stream ( )
inline

Definition at line 743 of file attributeListMap.h.

◆ may_skip_whitespace()

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

Definition at line 758 of file attributeListMap.h.

◆ attach_line_to_macro_call()

template<typename IteratorT >
void AttributeListMap::attach_line_to_macro_call ( std::vector< IteratorT * >  vec)
inline

Definition at line 823 of file attributeListMap.h.

◆ as_string()

template<typename StringT , typename IteratorT >
StringT AttributeListMap::as_string ( IteratorT  it,
IteratorT  end 
)
inline

Definition at line 828 of file attributeListMap.h.

Member Data Documentation

◆ currentMapOfAttributes

attribute_map_type AttributeListMap::currentMapOfAttributes

Definition at line 58 of file attributeListMap.h.

◆ skippedTokenStream

token_container* AttributeListMap::skippedTokenStream

Definition at line 60 of file attributeListMap.h.

◆ defMap

std::map<std::pair<std::string,int>, PreprocessingInfo*> AttributeListMap::defMap

Definition at line 63 of file attributeListMap.h.


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