umbrello/umbrello
#include <adaimport.h>
Public Member Functions | |
AdaImport (CodeImpThread *thread=0) | |
virtual | ~AdaImport () |
Public Member Functions inherited from NativeImportBase | |
NativeImportBase (const QString &singleLineCommentIntro, CodeImpThread *thread=0) | |
virtual | ~NativeImportBase () |
Public Member Functions inherited from ClassImport | |
ClassImport (CodeImpThread *thread=0) | |
virtual | ~ClassImport () |
bool | enabled () |
bool | importFile (const QString &fileName) |
bool | importFiles (const QStringList &fileNames) |
Protected Types | |
typedef QMap< QString, QString > | StringMap |
Protected Member Functions | |
QString | expand (const QString &name) |
void | fillSource (const QString &word) |
void | initVars () |
void | parseStems (const QStringList &stems) |
bool | parseStmt () |
QStringList | split (const QString &line) |
Protected Member Functions inherited from NativeImportBase | |
QString | advance () |
void | initialize () |
virtual bool | parseFile (const QString &filename) |
virtual bool | preprocess (QString &line) |
void | scan (const QString &line) |
void | setMultiLineAltComment (const QString &intro, const QString &end) |
void | setMultiLineComment (const QString &intro, const QString &end) |
void | skipStmt (const QString &until=";") |
bool | skipToClosing (QChar opener) |
Protected Member Functions inherited from ClassImport | |
void | log (const QString &file, const QString &text) |
void | log (const QString &text) |
Protected Attributes | |
UMLObjectList | m_classesDefinedInThisScope |
bool | m_inGenericFormalPart |
StringMap | m_renaming |
Protected Attributes inherited from NativeImportBase | |
QString | m_comment |
Uml::Visibility::Enum | m_currentAccess |
bool | m_inComment |
bool | m_isAbstract |
UMLClassifier * | m_klass |
QString | m_multiLineAltCommentEnd |
QString | m_multiLineAltCommentIntro |
QString | m_multiLineCommentEnd |
QString | m_multiLineCommentIntro |
QStringList | m_parsedFiles |
QList< UMLPackage * > | m_scope |
uint | m_scopeIndex |
QString | m_singleLineCommentIntro |
QStringList | m_source |
int | m_srcIndex |
Protected Attributes inherited from ClassImport | |
bool | m_enabled |
CodeImpThread * | m_thread |
Additional Inherited Members | |
Static Public Member Functions inherited from ClassImport | |
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=0) |
Detailed Description
Ada code import.
Definition at line 25 of file adaimport.h.
Member Typedef Documentation
|
protected |
Definition at line 54 of file adaimport.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 35 of file adaimport.cpp.
|
virtual |
Destructor.
Definition at line 44 of file adaimport.cpp.
Member Function Documentation
|
protected |
Apply package renamings to the given name.
- Returns
- expanded name
Definition at line 155 of file adaimport.cpp.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
Definition at line 126 of file adaimport.cpp.
|
protectedvirtual |
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase.
Definition at line 51 of file adaimport.cpp.
|
protected |
Parse all files that can be formed by concatenation of the given stems.
Definition at line 174 of file adaimport.cpp.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
Definition at line 204 of file adaimport.cpp.
|
protectedvirtual |
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 65 of file adaimport.cpp.
Member Data Documentation
|
protected |
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 52 of file adaimport.h.
|
protected |
auxiliary variable
Definition at line 45 of file adaimport.h.
|
protected |
Map of package renamings.
Keyed by the renaming. Value returns the expanded name.
Definition at line 60 of file adaimport.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.