|
ROSE
0.9.6a
|
For preprocessing information including source comments, #include , #if, #define, etc. More...
#include <rose_attributes_list.h>

Classes | |
| struct | r_include_directive |
| struct | r_macro_def |
| struct | rose_macro_call |
Static Public Member Functions | |
| static std::string | directiveTypeName (const DirectiveType &directive) |
| static std::string | relativePositionName (const RelativePositionType &position) |
Private Attributes | |
| Sg_File_Info * | file_info |
| std::string | internalString |
| int | numberOfLines |
| DirectiveType | whatSortOfDirective |
| RelativePositionType | relativePosition |
| int | lineNumberForCompilerGeneratedLinemarker |
| std::string | filenameForCompilerGeneratedLinemarker |
| std::string | optionalflagsForCompilerGeneratedLinemarker |
| token_container * | tokenStream |
| rose_macro_definition * | macroDef |
| rose_macro_call * | macroCall |
| rose_include_directive * | includeDirective |
For preprocessing information including source comments, #include , #if, #define, etc.
Definition at line 103 of file rose_attributes_list.h.
MK: Enum type to store if the directive goes before or after the corresponding line of source code.
| Enumerator | |
|---|---|
| defaultValue | |
| undef | |
| before | |
| after | |
| inside | |
| before_syntax | |
| after_syntax | |
Definition at line 109 of file rose_attributes_list.h.
Definition at line 130 of file rose_attributes_list.h.
| PreprocessingInfo::~PreprocessingInfo | ( | ) |
| PreprocessingInfo::PreprocessingInfo | ( | ) |
| PreprocessingInfo::PreprocessingInfo | ( | token_container | , |
| DirectiveType | , | ||
| RelativePositionType | |||
| ) |
| PreprocessingInfo::PreprocessingInfo | ( | rose_macro_call * | , |
| RelativePositionType | |||
| ) |
| PreprocessingInfo::PreprocessingInfo | ( | rose_macro_definition * | , |
| RelativePositionType | |||
| ) |
| PreprocessingInfo::PreprocessingInfo | ( | token_type | , |
| token_list_container | , | ||
| bool | , | ||
| DirectiveType | , | ||
| RelativePositionType | |||
| ) |
| PreprocessingInfo::PreprocessingInfo | ( | rose_include_directive * | , |
| RelativePositionType | |||
| ) |
| PreprocessingInfo::PreprocessingInfo | ( | DirectiveType | , |
| const std::string & | inputString, | ||
| const std::string & | filenameString, | ||
| int | line_no, | ||
| int | col_no, | ||
| int | nol, | ||
| RelativePositionType | relPos | ||
| ) |
| PreprocessingInfo::PreprocessingInfo | ( | const PreprocessingInfo & | prepInfo) |
| void PreprocessingInfo::display | ( | const std::string & | label) | const |
| int PreprocessingInfo::getLineNumber | ( | ) | const |
| int PreprocessingInfo::getColumnNumber | ( | ) | const |
| std::string PreprocessingInfo::getString | ( | ) | const |
| void PreprocessingInfo::setString | ( | const std::string & | s) |
| int PreprocessingInfo::getStringLength | ( | ) | const |
| DirectiveType PreprocessingInfo::getTypeOfDirective | ( | ) | const |
| RelativePositionType PreprocessingInfo::getRelativePosition | ( | void | ) | const |
| void PreprocessingInfo::setRelativePosition | ( | RelativePositionType | relPos) |
| int PreprocessingInfo::getNumberOfLines | ( | ) | const |
| int PreprocessingInfo::getColumnNumberOfEndOfString | ( | ) | const |
|
static |
|
static |
| unsigned int PreprocessingInfo::packed_size | ( | ) | const |
| char* PreprocessingInfo::packed | ( | ) | const |
| void PreprocessingInfo::unpacked | ( | char * | storePointer) |
| Sg_File_Info* PreprocessingInfo::get_file_info | ( | ) | const |
Referenced by AttributeListMap::defined_macro().
| void PreprocessingInfo::set_file_info | ( | Sg_File_Info * | info) |
| int PreprocessingInfo::get_lineNumberForCompilerGeneratedLinemarker | ( | ) |
| std::string PreprocessingInfo::get_filenameForCompilerGeneratedLinemarker | ( | ) |
| std::string PreprocessingInfo::get_optionalflagsForCompilerGeneratedLinemarker | ( | ) |
| void PreprocessingInfo::set_lineNumberForCompilerGeneratedLinemarker | ( | int | x) |
| void PreprocessingInfo::set_filenameForCompilerGeneratedLinemarker | ( | std::string | x) |
| void PreprocessingInfo::set_optionalflagsForCompilerGeneratedLinemarker | ( | std::string | x) |
| rose_macro_call* PreprocessingInfo::get_macro_call | ( | ) |
| rose_macro_definition* PreprocessingInfo::get_macro_def | ( | ) |
| rose_include_directive* PreprocessingInfo::get_include_directive | ( | ) |
| const token_container* PreprocessingInfo::get_token_stream | ( | ) |
| void PreprocessingInfo::push_front_token_stream | ( | token_type | tok) |
| void PreprocessingInfo::push_back_token_stream | ( | token_type | tok) |
| bool PreprocessingInfo::isSelfReferential | ( | ) |
| std::string PreprocessingInfo::getMacroName | ( | ) |
|
private |
Definition at line 216 of file rose_attributes_list.h.
|
private |
Definition at line 222 of file rose_attributes_list.h.
|
private |
Definition at line 224 of file rose_attributes_list.h.
|
private |
Definition at line 227 of file rose_attributes_list.h.
|
private |
Definition at line 230 of file rose_attributes_list.h.
|
private |
Definition at line 233 of file rose_attributes_list.h.
|
private |
Definition at line 234 of file rose_attributes_list.h.
|
private |
Definition at line 235 of file rose_attributes_list.h.
|
private |
Definition at line 255 of file rose_attributes_list.h.
|
private |
Definition at line 324 of file rose_attributes_list.h.
|
private |
Definition at line 326 of file rose_attributes_list.h.
|
private |
Definition at line 328 of file rose_attributes_list.h.