Macro Class Reference
#include <driver.h>
Public Types | |
typedef QString | Argument |
Public Member Functions | |
Macro (bool hasArguments=false) | |
Macro (const QString &n, const QString &b) | |
Macro (const Macro &source) | |
Macro & | operator= (const Macro &source) |
bool | operator== (const Macro &source) const |
QString | name () const |
void | setName (const QString &name) |
QString | fileName () const |
void | setFileName (const QString &fileName) |
QString | body () const |
void | setBody (const QString &body) |
bool | hasArguments () const |
void | setHasArguments (bool hasArguments) |
QValueList< Argument > | argumentList () const |
void | clearArgumentList () |
void | addArgument (const Argument &argument) |
void | addArgumentList (const QValueList< Argument > &arguments) |
Private Attributes | |
QString | m_name |
QString | m_fileName |
QString | m_body |
bool | m_hasArguments |
QValueList< Argument > | m_argumentList |
Member Typedef Documentation
|
Definition at line 89 of file driver.h. Referenced by Lexer::processDefine(). |
Constructor & Destructor Documentation
|
Definition at line 92 of file driver.h. References hasArguments(), and m_hasArguments. |
|
Definition at line 93 of file driver.h. References m_body, m_hasArguments, and m_name. |
|
Definition at line 95 of file driver.h. References m_argumentList, m_body, m_fileName, m_hasArguments, and m_name. |
Member Function Documentation
|
Definition at line 136 of file driver.h. References addArgument(), and m_argumentList. Referenced by addArgument(), and Lexer::processDefine(). |
|
Definition at line 137 of file driver.h. References addArgumentList(), and m_argumentList. Referenced by addArgumentList(). |
|
Definition at line 133 of file driver.h. References m_argumentList. Referenced by Lexer::nextToken(). |
|
Definition at line 128 of file driver.h. References m_body. Referenced by Lexer::nextToken(). |
|
Definition at line 135 of file driver.h. References m_argumentList, and m_hasArguments. |
|
Definition at line 125 of file driver.h. References m_fileName. Referenced by Driver::removeAllMacrosInFile(). |
|
Definition at line 131 of file driver.h. References m_hasArguments. Referenced by Macro(), and Lexer::nextToken(). |
|
Definition at line 122 of file driver.h. References m_name. Referenced by Driver::addMacro(), KDevDriver::addMacro(), and Driver::removeAllMacrosInFile(). |
|
Definition at line 102 of file driver.h. References m_argumentList, m_body, m_fileName, m_hasArguments, and m_name. |
|
Definition at line 112 of file driver.h. References m_argumentList, m_body, m_fileName, m_hasArguments, and m_name. |
|
Definition at line 129 of file driver.h. References m_body, and setBody(). Referenced by Lexer::processDefine(), and setBody(). |
|
Definition at line 126 of file driver.h. References m_fileName, and setFileName(). Referenced by Lexer::processDefine(), and setFileName(). |
|
Definition at line 132 of file driver.h. References m_hasArguments, and setHasArguments(). Referenced by Lexer::processDefine(), and setHasArguments(). |
|
Definition at line 123 of file driver.h. References m_name, and setName(). Referenced by Lexer::processDefine(), and setName(). |
Member Data Documentation
|
Definition at line 144 of file driver.h. Referenced by addArgument(), addArgumentList(), argumentList(), clearArgumentList(), Macro(), operator=(), and operator==(). |
|
Definition at line 142 of file driver.h. Referenced by body(), Macro(), operator=(), operator==(), and setBody(). |
|
Definition at line 141 of file driver.h. Referenced by fileName(), Macro(), operator=(), operator==(), and setFileName(). |
|
Definition at line 143 of file driver.h. Referenced by clearArgumentList(), hasArguments(), Macro(), operator=(), operator==(), and setHasArguments(). |
|
Definition at line 140 of file driver.h. Referenced by Macro(), name(), operator=(), operator==(), and setName(). |
The documentation for this class was generated from the following file:
- lib/cppparser/driver.h