umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <adaimport.h>
Public Member Functions | |
AdaImport (CodeImpThread *thread=0) | |
virtual | ~AdaImport () |
![]() | |
NativeImportBase (const QString &singleLineCommentIntro, CodeImpThread *thread=0) | |
virtual | ~NativeImportBase () |
![]() | |
ClassImport (CodeImpThread *thread=0) | |
virtual | ~ClassImport () |
bool | importFiles (const QStringList &fileNames) |
bool | importFile (const QString &fileName) |
void | setRootPath (const QString &path) |
bool | enabled () const |
Protected Types | |
typedef QMap< QString, QString > | StringMap |
Protected Member Functions | |
void | initVars () |
bool | parseStmt () |
QStringList | split (const QString &line) |
void | fillSource (const QString &word) |
QString | expand (const QString &name) |
void | parseStems (const QStringList &stems) |
![]() | |
void | initialize () |
void | setMultiLineComment (const QString &intro, const QString &end) |
void | setMultiLineAltComment (const QString &intro, const QString &end) |
virtual bool | parseFile (const QString &filename) |
void | scan (const QString &line) |
virtual bool | preprocess (QString &line) |
void | skipStmt (const QString &until=QLatin1String(";")) |
bool | skipToClosing (QChar opener) |
QString | current () |
QString | lookAhead () |
virtual QString | advance () |
void | pushScope (UMLPackage *p) |
UMLPackage * | popScope () |
UMLPackage * | currentScope () |
int | scopeIndex () |
![]() | |
virtual void | initPerFile () |
void | log (const QString &file, const QString &text) |
void | log (const QString &text) |
Protected Attributes | |
bool | m_inGenericFormalPart |
auxiliary variable More... | |
UMLObjectList | m_classesDefinedInThisScope |
StringMap | m_renaming |
![]() | |
QString | m_singleLineCommentIntro |
start token of a single line comment More... | |
QStringList | m_source |
the scanned lexemes More... | |
int | m_srcIndex |
used for indexing m_source More... | |
QList< UMLPackage * > | m_scope |
stack of scopes for use by the specific importer More... | |
UMLClassifier * | m_klass |
class currently being processed More... | |
Uml::Visibility::Enum | m_currentAccess |
current access (public/protected/private) More... | |
QString | m_comment |
intermediate accumulator for comment text More... | |
bool | m_inComment |
bool | m_isAbstract |
accumulator for abstractness More... | |
QString | m_multiLineCommentIntro |
multi line comment delimiter intro More... | |
QString | m_multiLineCommentEnd |
multi line comment delimiter end More... | |
QString | m_multiLineAltCommentIntro |
QString | m_multiLineAltCommentEnd |
![]() | |
CodeImpThread * | m_thread |
thread in which the work of importing is done More... | |
bool | m_enabled |
state of importer More... | |
QString | m_rootPath |
root path of import More... | |
Additional Inherited Members | |
![]() | |
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=0) |
![]() | |
static QStringList | m_parsedFiles |
Ada code import
|
protected |
|
explicit |
Constructor.
|
virtual |
Destructor.
|
protected |
Apply package renamings to the given name.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
|
protectedvirtual |
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase.
|
protected |
Parse all files that can be formed by concatenation of the given stems.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
|
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.
|
protected |
List for keeping track of tagged objects declared in the current scope. This is required for distinguishing primitive from non primitive methods.
|
protected |
auxiliary variable
|
protected |
Map of package renamings. Keyed by the renaming. Value returns the expanded name.