umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <javaimport.h>
Public Member Functions | |
JavaImport (CodeImpThread *thread=0) | |
virtual | ~JavaImport () |
![]() | |
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 Member Functions | |
void | initVars () |
bool | parseStmt () |
void | fillSource (const QString &word) |
bool | parseFile (const QString &filename) |
UMLObject * | resolveClass (const QString &className) |
void | spawnImport (const QString &file) |
QString | joinTypename (const QString &typeName) |
![]() | |
void | initialize () |
void | setMultiLineComment (const QString &intro, const QString &end) |
void | setMultiLineAltComment (const QString &intro, const QString &end) |
void | scan (const QString &line) |
virtual bool | preprocess (QString &line) |
virtual QStringList | split (const 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_isStatic |
static flag for the member var or method More... | |
QString | m_currentFileName |
current filename being parsed More... | |
QString | m_currentPackage |
current package of the file being parsed More... | |
QStringList | m_imports |
imports included in the current file More... | |
Uml::Visibility::Enum | m_defaultCurrentAccess |
current visibility for when the visibility is absent More... | |
![]() | |
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... | |
Static Protected Attributes | |
static QStringList | s_filesAlreadyParsed |
static int | s_parseDepth = 0 |
![]() | |
static QStringList | m_parsedFiles |
Static Private Member Functions | |
static UMLObject * | findObject (const QString &name, UMLPackage *parentPkg) |
Additional Inherited Members | |
![]() | |
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=0) |
Java code import
|
explicit |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
word | whitespace delimited item |
Implements NativeImportBase.
|
staticprivate |
Returns the UML Object if found, or null otherwise.
name | name of the uml object |
parentPkg | parent package |
|
protectedvirtual |
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase.
|
protected |
Figure out if the type is really an array or template of the given typeName. Catenate possible template arguments/array dimensions to the end of the type name.
typeName | the type name |
|
protectedvirtual |
Keep track of the current file being parsed and reset the list of imports.
filename | the name of the file being parsed |
Reimplemented from NativeImportBase.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
|
protected |
Try to resolve the specified class the current class depends on.
className | the name of the class |
|
protected |
Spawn off an import of the specified file.
file | the specified file |
|
protected |
current filename being parsed
|
protected |
current package of the file being parsed
|
protected |
current visibility for when the visibility is absent
|
protected |
imports included in the current file
|
protected |
static flag for the member var or method
|
staticprotected |
Keep track of the files we have already parsed so we don't reparse the same ones over and over again.
|
staticprotected |
Keep track of the parses so that the filesAlreadyParsed can be reset when we're done.