PascalImport Class Reference
Pascal code import. More...
#include <pascalimport.h>
Inheritance diagram for PascalImport:

Protected Types | |
| enum | Section_Type { sect_NONE, sect_LABEL, sect_CONST, sect_RESOURCESTRING, sect_TYPE, sect_VAR, sect_THREADVAR } |
Protected Member Functions | |
| void | initVars () |
| Reimplement operation from NativeImportBase. | |
| bool | parseStmt () |
| Implement abstract operation from NativeImportBase. | |
| void | fillSource (const QString &word) |
| Implement abstract operation from NativeImportBase. | |
| void | checkModifiers (bool &isVirtual, bool &isAbstract) |
| Check for, and skip over, all modifiers following a method. | |
Protected Attributes | |
| bool | m_inInterface |
| Auxiliary variable, becomes true when keyword "interface" is seen. | |
| Section_Type | m_section |
| Auxiliary variable, contains the current section. | |
Detailed Description
Pascal code import.
- Author:
- Oliver Kellogg Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 22 of file pascalimport.h.
Member Function Documentation
|
|
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase. Definition at line 38 of file pascalimport.cpp. References m_inInterface, and m_section. |
|
|
Implement abstract operation from NativeImportBase.
Implements NativeImportBase. Definition at line 88 of file pascalimport.cpp. References Import_Utils::addEnumLiteral(), Import_Utils::addMethodParameter(), NativeImportBase::advance(), checkModifiers(), Import_Utils::createGeneralization(), Import_Utils::createUMLObject(), Import_Utils::insertAttribute(), Import_Utils::insertMethod(), m_inInterface, m_section, Import_Utils::makeOperation(), NativeImportBase::parseFile(), UMLAttribute::setInitialValue(), UMLAttribute::setParmKind(), UMLObject::setStereotype(), NativeImportBase::skipStmt(), and NativeImportBase::skipToClosing(). |
|
|
Implement abstract operation from NativeImportBase.
Implements NativeImportBase. Definition at line 44 of file pascalimport.cpp. |
|
||||||||||||
|
Check for, and skip over, all modifiers following a method. Set the output arguments on encountering abstract and/or virtual.
Definition at line 68 of file pascalimport.cpp. References NativeImportBase::advance(), and NativeImportBase::skipStmt(). Referenced by parseStmt(). |
Member Data Documentation
|
|
Auxiliary variable, becomes true when keyword "interface" is seen.
Definition at line 55 of file pascalimport.h. Referenced by initVars(), and parseStmt(). |
|
|
Auxiliary variable, contains the current section.
Definition at line 62 of file pascalimport.h. Referenced by initVars(), and parseStmt(). |
The documentation for this class was generated from the following files:
