umbrello/umbrello
nativeimportbase.h
Go to the documentation of this file.
void skipStmt(const QString &until=";")
Advance m_srcIndex until m_source[m_srcIndex] contains the lexeme given by `until'.
Definition: nativeimportbase.cpp:81
void setMultiLineComment(const QString &intro, const QString &end)
Set the delimiter strings for a multi line comment.
Definition: nativeimportbase.cpp:58
virtual bool parseStmt()=0
Parse the statement which starts at m_source[m_srcIndex] leaving m_srcIndex pointing to the end of th...
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
void initialize()
Implement abstract operation from ClassImport.
Definition: nativeimportbase.cpp:436
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
virtual QStringList split(const QString &line)
Split the line so that a string is returned as a single element of the list.
Definition: nativeimportbase.cpp:260
QString m_multiLineAltCommentEnd
Definition: nativeimportbase.h:119
Intermediate base class for native Umbrello implementations of programming language import...
Definition: nativeimportbase.h:44
Uml::Visibility::Enum m_currentAccess
current access (public/protected/private)
Definition: nativeimportbase.h:94
QList< UMLPackage * > m_scope
stack of scopes for use by the specific importer
Definition: nativeimportbase.h:91
QString m_multiLineAltCommentIntro
Some languages support an alternative set of multi line comment delimiters.
Definition: nativeimportbase.h:118
bool skipToClosing(QChar opener)
Advance m_srcIndex to the index of the corresponding closing character of the given opening...
Definition: nativeimportbase.cpp:96
QString advance()
Advance m_srcIndex until m_source[m_srcIndex] contains a non-comment.
Definition: nativeimportbase.cpp:143
QString m_multiLineCommentIntro
multi line comment delimiter intro
Definition: nativeimportbase.h:112
uint m_scopeIndex
indexes m_scope, index 0 is reserved for global scope
Definition: nativeimportbase.h:92
Thread class that does the code import work for one file.
Definition: codeimpthread.h:35
QString m_singleLineCommentIntro
start token of a single line comment
Definition: nativeimportbase.h:88
Interfaces classparser library to uml models Abstract base for programming language specific import c...
Definition: classimport.h:25
virtual void fillSource(const QString &word)=0
Analyze the given word and fill `m_source'.
void setMultiLineAltComment(const QString &intro, const QString &end)
Set the delimiter strings for an alternative form of multi line comment.
Definition: nativeimportbase.cpp:70
bool m_inComment
True if we are currently in a multi-line comment.
Definition: nativeimportbase.h:101
virtual bool parseFile(const QString &filename)
Import a single file.
Definition: nativeimportbase.cpp:353
NativeImportBase(const QString &singleLineCommentIntro, CodeImpThread *thread=0)
Constructor.
Definition: nativeimportbase.cpp:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.