ROSE
0.9.6a
|
#include <rose_attributes_list.h>
Public Types | |
enum | languageTypeEnum { e_unknown_language = 0, e_C_language = 1, e_Cxx_language = 2, e_Fortran77_language = 3, e_Fortran9x_language = 4, e_lastLanguage } |
Public Member 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) |
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 () |
Private Attributes | |
std::vector< PreprocessingInfo * > | attributeList |
LexTokenStreamTypePointer | rawTokenStream |
std::string | fileName |
int | index |
std::set< int > | filenameIdSet |
Definition at line 449 of file rose_attributes_list.h.
Enumerator | |
---|---|
e_unknown_language | |
e_C_language | |
e_Cxx_language | |
e_Fortran77_language | |
e_Fortran9x_language | |
e_lastLanguage |
Definition at line 475 of file rose_attributes_list.h.
ROSEAttributesList::ROSEAttributesList | ( | ) |
ROSEAttributesList::~ROSEAttributesList | ( | ) |
void ROSEAttributesList::addElement | ( | PreprocessingInfo::DirectiveType | , |
const std::string & | pLine, | ||
const std::string & | filename, | ||
int | lineNumber, | ||
int | columnNumber, | ||
int | numberOfLines | ||
) |
void ROSEAttributesList::addElement | ( | PreprocessingInfo & | pRef) |
void ROSEAttributesList::moveElements | ( | ROSEAttributesList & | ) |
void ROSEAttributesList::insertElement | ( | PreprocessingInfo & | pRef) |
void ROSEAttributesList::setFileName | ( | const std::string & | fName) |
std::string ROSEAttributesList::getFileName | ( | ) |
void ROSEAttributesList::setIndex | ( | int | i) |
int ROSEAttributesList::getIndex | ( | ) |
PreprocessingInfo* ROSEAttributesList::operator[] | ( | int | i) |
int ROSEAttributesList::size | ( | void | ) |
int ROSEAttributesList::getLength | ( | void | ) |
void ROSEAttributesList::deepClean | ( | void | ) |
void ROSEAttributesList::clean | ( | void | ) |
|
inline |
Definition at line 522 of file rose_attributes_list.h.
References attributeList.
void ROSEAttributesList::display | ( | const std::string & | label) |
void ROSEAttributesList::set_rawTokenStream | ( | LexTokenStreamTypePointer | s) |
LexTokenStreamTypePointer ROSEAttributesList::get_rawTokenStream | ( | ) |
void ROSEAttributesList::generatePreprocessorDirectivesAndCommentsForAST | ( | const std::string & | filename) |
void ROSEAttributesList::collectPreprocessorDirectivesAndCommentsForAST | ( | const std::string & | filename, |
languageTypeEnum | languageType | ||
) |
bool ROSEAttributesList::isFortran77Comment | ( | const std::string & | line) |
bool ROSEAttributesList::isFortran90Comment | ( | const std::string & | line) |
bool ROSEAttributesList::isCppDirective | ( | const std::string & | line, |
PreprocessingInfo::DirectiveType & | cppDeclarationKind, | ||
std::string & | restOfTheLine | ||
) |
void ROSEAttributesList::generateFileIdListFromLineDirectives | ( | ) |
std::set<int>& ROSEAttributesList::get_filenameIdSet | ( | ) |
PreprocessingInfo* ROSEAttributesList::lastElement | ( | ) |
|
private |
Definition at line 453 of file rose_attributes_list.h.
Referenced by getList().
|
private |
Definition at line 455 of file rose_attributes_list.h.
|
private |
Definition at line 459 of file rose_attributes_list.h.
|
private |
Definition at line 467 of file rose_attributes_list.h.
|
private |
Definition at line 471 of file rose_attributes_list.h.