umbrello/umbrello
#include <pascalimport.h>
Public Member Functions | |
PascalImport (CodeImpThread *thread=0) | |
virtual | ~PascalImport () |
Public Member Functions inherited from NativeImportBase | |
NativeImportBase (const QString &singleLineCommentIntro, CodeImpThread *thread=0) | |
virtual | ~NativeImportBase () |
Public Member Functions inherited from ClassImport | |
ClassImport (CodeImpThread *thread=0) | |
virtual | ~ClassImport () |
bool | enabled () |
bool | importFile (const QString &fileName) |
bool | importFiles (const QStringList &fileNames) |
Protected Types | |
enum | Section_Type { sect_NONE, sect_LABEL, sect_CONST, sect_RESOURCESTRING, sect_TYPE, sect_VAR, sect_THREADVAR } |
Protected Member Functions | |
void | checkModifiers (bool &isVirtual, bool &isAbstract) |
void | fillSource (const QString &word) |
void | initVars () |
bool | parseStmt () |
Protected Member Functions inherited from NativeImportBase | |
QString | advance () |
void | initialize () |
virtual bool | parseFile (const QString &filename) |
virtual bool | preprocess (QString &line) |
void | scan (const QString &line) |
void | setMultiLineAltComment (const QString &intro, const QString &end) |
void | setMultiLineComment (const QString &intro, const QString &end) |
void | skipStmt (const QString &until=";") |
bool | skipToClosing (QChar opener) |
virtual QStringList | split (const QString &line) |
Protected Member Functions inherited from ClassImport | |
void | log (const QString &file, const QString &text) |
void | log (const QString &text) |
Protected Attributes | |
bool | m_inInterface |
Section_Type | m_section |
Protected Attributes inherited from NativeImportBase | |
QString | m_comment |
Uml::Visibility::Enum | m_currentAccess |
bool | m_inComment |
bool | m_isAbstract |
UMLClassifier * | m_klass |
QString | m_multiLineAltCommentEnd |
QString | m_multiLineAltCommentIntro |
QString | m_multiLineCommentEnd |
QString | m_multiLineCommentIntro |
QStringList | m_parsedFiles |
QList< UMLPackage * > | m_scope |
uint | m_scopeIndex |
QString | m_singleLineCommentIntro |
QStringList | m_source |
int | m_srcIndex |
Protected Attributes inherited from ClassImport | |
bool | m_enabled |
CodeImpThread * | m_thread |
Additional Inherited Members | |
Static Public Member Functions inherited from ClassImport | |
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=0) |
Detailed Description
Pascal code import.
Definition at line 21 of file pascalimport.h.
Member Enumeration Documentation
|
protected |
Enumerator | |
---|---|
sect_NONE | |
sect_LABEL | |
sect_CONST | |
sect_RESOURCESTRING | |
sect_TYPE | |
sect_VAR | |
sect_THREADVAR |
Definition at line 38 of file pascalimport.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Definition at line 33 of file pascalimport.cpp.
|
virtual |
Destructor.
Definition at line 43 of file pascalimport.cpp.
Member Function Documentation
|
protected |
Check for, and skip over, all modifiers following a method.
Set the output arguments on encountering abstract and/or virtual.
- Parameters
-
isVirtual return value, set to true when "virtual" seen isAbstract return value, set to true when "abstract" seen
Definition at line 91 of file pascalimport.cpp.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
Definition at line 60 of file pascalimport.cpp.
|
protectedvirtual |
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase.
Definition at line 50 of file pascalimport.cpp.
|
protectedvirtual |
Implement abstract operation from NativeImportBase.
- Returns
- success status of operation
Implements NativeImportBase.
Definition at line 116 of file pascalimport.cpp.
Member Data Documentation
|
protected |
becomes true when keyword "interface" is seen
Definition at line 36 of file pascalimport.h.
|
protected |
contains the current section
Definition at line 41 of file pascalimport.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.