AdaImport Class Reference
Ada code import. More...
#include <adaimport.h>
Inheritance diagram for AdaImport:

Protected Types | |
| typedef QMap< QString, QString > | StringMap |
Protected Member Functions | |
| void | initVars () |
| Reimplement operation from NativeImportBase. | |
| bool | parseStmt () |
| Implement abstract operation from NativeImportBase. | |
| QStringList | split (const QString &line) |
| Split the line so that a string is returned as a single element of the list. | |
| void | fillSource (const QString &word) |
| Implement abstract operation from NativeImportBase. | |
| QString | expand (const QString &name) |
| Apply package renamings to the given name. | |
| void | parseStems (const QStringList &stems) |
| Parse all files that can be formed by concatenation of the given stems. | |
Protected Attributes | |
| bool | m_inGenericFormalPart |
| auxiliary variable | |
| UMLObjectList | m_classesDefinedInThisScope |
| List for keeping track of tagged objects declared in the current scope. | |
| StringMap | m_renaming |
| Map of package renamings. | |
Detailed Description
Ada code import.
- Author:
- Oliver Kellogg Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 26 of file adaimport.h.
Member Function Documentation
|
|
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase. Definition at line 38 of file adaimport.cpp. References m_classesDefinedInThisScope, m_inGenericFormalPart, and m_renaming. |
|
|
|
Split the line so that a string is returned as a single element of the list. When not in a string then split at white space. Reimplementation of method from NativeImportBase is required because of Ada's tic which is liable to be confused with the beginning of a character constant. Reimplemented from NativeImportBase. Definition at line 46 of file adaimport.cpp. |
|
|
Implement abstract operation from NativeImportBase.
Implements NativeImportBase. Definition at line 103 of file adaimport.cpp. |
|
|
Apply package renamings to the given name.
Definition at line 127 of file adaimport.cpp. References m_renaming. Referenced by parseStmt(). |
|
|
Parse all files that can be formed by concatenation of the given stems.
Definition at line 142 of file adaimport.cpp. References NativeImportBase::parseFile(). Referenced by parseStmt(). |
Member Data Documentation
|
|
auxiliary variable
Definition at line 68 of file adaimport.h. Referenced by initVars(), and parseStmt(). |
|
|
List for keeping track of tagged objects declared in the current scope. This is required for distinguishing primitive from non primitive methods. Definition at line 75 of file adaimport.h. Referenced by initVars(), and parseStmt(). |
|
|
Map of package renamings. Keyed by the renaming. Value returns the expanded name. Definition at line 83 of file adaimport.h. Referenced by expand(), initVars(), and parseStmt(). |
The documentation for this class was generated from the following files:
