umbrello/umbrello
nativeimportbase.h
Go to the documentation of this file.
void setMultiLineComment(const QString &intro, const QString &end)
Set the delimiter strings for a multi line comment.
Definition: nativeimportbase.cpp:59
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:490
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:313
QString m_multiLineAltCommentEnd
Definition: nativeimportbase.h:123
Intermediate base class for native Umbrello implementations of programming language import...
Definition: nativeimportbase.h:44
void skipStmt(const QString &until=QLatin1String(";"))
Advance m_srcIndex until m_source[m_srcIndex] contains the lexeme given by `until'.
Definition: nativeimportbase.cpp:82
Uml::Visibility::Enum m_currentAccess
current access (public/protected/private)
Definition: nativeimportbase.h:98
QList< UMLPackage * > m_scope
stack of scopes for use by the specific importer
Definition: nativeimportbase.h:96
QString m_multiLineAltCommentIntro
Some languages support an alternative set of multi line comment delimiters.
Definition: nativeimportbase.h:122
bool skipToClosing(QChar opener)
Advance m_srcIndex to the index of the corresponding closing character of the given opening...
Definition: nativeimportbase.cpp:97
QString advance()
Advance m_srcIndex until m_source[m_srcIndex] contains a non-comment.
Definition: nativeimportbase.cpp:187
QString m_multiLineCommentIntro
multi line comment delimiter intro
Definition: nativeimportbase.h:116
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:93
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:71
bool m_inComment
True if we are currently in a multi-line comment.
Definition: nativeimportbase.h:105
virtual bool parseFile(const QString &filename)
Import a single file.
Definition: nativeimportbase.cpp:406
NativeImportBase(const QString &singleLineCommentIntro, CodeImpThread *thread=0)
Constructor.
Definition: nativeimportbase.cpp:34
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.