Class AttributeListMap#

Nested Relationships#

Nested Types#

Class Documentation#

class AttributeListMap#

Public Types

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

Public Functions

AttributeListMap(SgFile *sageFilePtr)#
template<typename TokenT>
bool found_include_directive(TokenT directive, std::string relname, std::string absname)#
template<typename TokenT, typename ContainerT>
inline bool found_directive(TokenT const &directive, ContainerT const &expression, bool expression_value)#
template<typename TokenT, typename ContainerT>
inline void update_token(TokenT const &token, ContainerT const &stream, bool expression_value)#
template<typename TokenT>
inline void found_directive(TokenT const &directive)#
template<typename TokenT, typename ParametersT, typename DefinitionT>
inline PreprocessingInfo *build_preprocessingInfo_macro_def(TokenT &macro_name, bool is_functionlike, ParametersT &parameters, DefinitionT &definition, bool is_predefined)#
template<typename TokenT, typename ParametersT, typename DefinitionT>
inline void defined_macro(TokenT &macro_name, bool is_functionlike, ParametersT &parameters, DefinitionT &definition, bool is_predefined)#
template<typename TokenT, typename ContainerT>
inline 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>
inline bool expanding_object_like_macro(TokenT const &macro, ContainerT const &definition, TokenT const &macrocall)#
template<typename ContainerT>
inline void expanded_macro(ContainerT const &result)#
template<typename ContainerT>
inline void rescanned_macro(ContainerT const &result)#
template<typename TokenT>
inline void skipped_token(TokenT const &token, bool last_skipped = false)#
inline void flush_token_stream()#
template<typename ContextT, typename TokenT>
inline bool may_skip_whitespace(ContextT const &ctx, TokenT &token, bool &skipped_newline)#
void attach_line_to_macro_call()#
template<typename IteratorT>
inline void attach_line_to_macro_call(std::vector<IteratorT*> vec)#
template<typename StringT, typename IteratorT>
inline StringT as_string(IteratorT it, IteratorT end)#

Public Members

attribute_map_type currentMapOfAttributes#
token_container *skippedTokenStream#
std::map<std::pair<std::string, int>, PreprocessingInfo*> defMap#
template<typename TokenIterator, typename DirectiveType>
struct findDirective#

Public Types

using first_argument_type = TokenIterator#
using second_argument_type = DirectiveType#
using result_type = bool#

Public Functions

inline bool operator()(TokenIterator node, DirectiveType directive) const#
template<typename TokenIterator, typename DirectiveType>
struct findDirectiveInList#

Public Types

using first_argument_type = TokenIterator#
using second_argument_type = std::list<DirectiveType>#
using result_type = bool#

Public Functions

inline bool operator()(TokenIterator node, std::list<DirectiveType> directiveList) const#