Class ROSEAttributesList#

Class Documentation#

class ROSEAttributesList#

Public Types

enum languageTypeEnum#

Values:

enumerator e_unknown_language#
enumerator e_C_language#
enumerator e_Cxx_language#
enumerator e_Fortran77_language#
enumerator e_Fortran9x_language#
enumerator e_lastLanguage#

Public Functions

ROSEAttributesList()#
~ROSEAttributesList()#
void addElement(PreprocessingInfo::DirectiveType, const std::string &pLine, const std::string &filename, int lineNumber, int columnNumber, int numberOfLines)#
void addElement(PreprocessingInfo &pRef)#
void moveElements(ROSEAttributesList&)#
void insertElement(PreprocessingInfo &pRef)#
void setFileName(const std::string &fName)#
std::string getFileName()#
void setIndex(int i)#
int getIndex()#
PreprocessingInfo *operator[](int i)#
int size(void)#
int getLength(void)#
void deepClean(void)#
void clean(void)#
inline std::vector<PreprocessingInfo*> &getList()#
void display(const std::string &label)#
void set_rawTokenStream(LexTokenStreamTypePointer s)#
LexTokenStreamTypePointer get_rawTokenStream()#
void generatePreprocessorDirectivesAndCommentsForAST(const std::string &filename)#
void collectPreprocessorDirectivesAndCommentsForAST(const std::string &filename, languageTypeEnum languageType)#
bool isFortran77Comment(const std::string &line)#
bool isFortran90Comment(const std::string &line)#
bool isCppDirective(const std::string &line, PreprocessingInfo::DirectiveType &cppDeclarationKind, std::string &restOfTheLine)#
void generateFileIdListFromLineDirectives()#
std::set<int> &get_filenameIdSet()#
PreprocessingInfo *lastElement()#