umbrello
2.34.3
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
Go to the documentation of this file.
6 #ifndef NATIVEIMPORTBASE_H
7 #define NATIVEIMPORTBASE_H
13 #include <QStringList>
51 virtual bool parseFile(
const QString& filename);
55 void scan(
const QString& line);
59 virtual QStringList
split(
const QString& line);
66 virtual void fillSource(
const QString& word) = 0;
78 void skipStmt(
const QString& until = QLatin1String(
";"));
int scopeIndex()
Definition: nativeimportbase.cpp:176
#define DEBUG_REGISTER(src)
Definition: debug_utils.h:129
void log(const QString &file, const QString &text)
Definition: classimport.cpp:133
Uml::Visibility::Enum m_currentAccess
current access (public/protected/private)
Definition: nativeimportbase.h:95
virtual ~NativeImportBase()
Definition: nativeimportbase.cpp:47
virtual bool preprocess(QString &line)
Definition: nativeimportbase.cpp:238
void setMultiLineAltComment(const QString &intro, const QString &end)
Definition: nativeimportbase.cpp:70
#define logError1(s, a)
Definition: uml.h:543
Definition: classimport.h:20
QString m_multiLineAltCommentIntro
Definition: nativeimportbase.h:119
UMLClassifier * m_klass
class currently being processed
Definition: nativeimportbase.h:94
QString m_multiLineCommentIntro
multi line comment delimiter intro
Definition: nativeimportbase.h:113
bool m_inComment
Definition: nativeimportbase.h:102
void setMultiLineComment(const QString &intro, const QString &end)
Definition: nativeimportbase.cpp:58
QList< UMLPackage * > m_scope
stack of scopes for use by the specific importer
Definition: nativeimportbase.h:93
UMLPackage * currentScope()
Definition: nativeimportbase.cpp:165
void skipStmt(const QString &until=QLatin1String(";"))
Definition: nativeimportbase.cpp:81
@ Public
Definition: basictypes.h:46
QString current()
Definition: nativeimportbase.cpp:186
bool skipToClosing(QChar opener)
Definition: nativeimportbase.cpp:96
QString m_multiLineAltCommentEnd
Definition: nativeimportbase.h:120
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
Definition: GPL-2.0-only.txt:64
bool m_isAbstract
accumulator for abstractness
Definition: nativeimportbase.h:103
UMLPackage * popScope()
Definition: nativeimportbase.cpp:152
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Library under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the Library General Public License from time to time Such new versions will be similar in spirit to the present but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Library does not specify a license version number
Definition: LGPL-2.0-only.txt:368
QStringList m_source
the scanned lexemes
Definition: nativeimportbase.h:91
void scan(const QString &line)
Definition: nativeimportbase.cpp:386
#define logDebug2(s, a, b)
Definition: uml.h:545
UMLPackage * globalScope()
Definition: import_utils.cpp:842
void addIncludePath(const QString &path)
Definition: import_utils.cpp:823
virtual QString advance()
Definition: nativeimportbase.cpp:210
NativeImportBase(const QString &singleLineCommentIntro, CodeImpThread *thread=0)
Definition: nativeimportbase.cpp:33
QString m_comment
intermediate accumulator for comment text
Definition: nativeimportbase.h:96
Definition: codeimpthread.h:21
type show c for details The hypothetical commands show w and show c should show the appropriate parts of the General Public License Of the commands you use may be called something other than show w and show c
Definition: GPL-2.0-only.txt:301
QString m_multiLineCommentEnd
multi line comment delimiter end
Definition: nativeimportbase.h:114
Base class for native implementations of language import.
Definition: nativeimportbase.h:39
Definition: basictypes.cpp:22
virtual bool parseFile(const QString &filename)
Definition: nativeimportbase.cpp:429
Enum
Definition: basictypes.h:45
virtual bool parseStmt()=0
virtual void fillSource(const QString &word)=0
void initialize()
Definition: nativeimportbase.cpp:513
Information for a non-graphical Concept/Class.
Definition: classifier.h:34
virtual void initVars()
Definition: nativeimportbase.cpp:418
void pushScope(UMLPackage *p)
Definition: nativeimportbase.cpp:142
virtual QStringList split(const QString &line)
Definition: nativeimportbase.cpp:336
QString lookAhead()
Definition: nativeimportbase.cpp:197
QString m_singleLineCommentIntro
start token of a single line comment
Definition: nativeimportbase.h:90
int m_srcIndex
used for indexing m_source
Definition: nativeimportbase.h:92
QStringList includePathList()
Definition: import_utils.cpp:810
static QStringList m_parsedFiles
Definition: nativeimportbase.h:111
Non-graphical information for a Package.
Definition: package.h:27