umbrello: umbrello/codeimport/pascalimport.h Source File

umbrello 2.38.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

pascalimport.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef PASCALIMPORT_H
7#define PASCALIMPORT_H
8
9#include "nativeimportbase.h"
10
16 class PascalImport : public NativeImportBase
17{
18public:
19 explicit PascalImport(CodeImpThread* thread = 0);
20 virtual ~PascalImport();
21
22protected:
23 void initVars();
24
25 bool parseStmt();
26
27 QStringList split(const QString& line);
28
29 void fillSource(const QString& word);
30
31 void checkModifiers(bool& isVirtual, bool& isAbstract);
32
33 bool m_inInterface;
34
35 enum Section_Type { sect_NONE, sect_LABEL, sect_CONST, sect_RESOURCESTRING,
36 sect_TYPE, sect_VAR, sect_THREADVAR };
37
38 Section_Type m_section;
39};
40
41#endif
42
CodeImpThread
Definition: codeimpthread.h:22
NativeImportBase
Base class for native implementations of language import.
Definition: nativeimportbase.h:40
PascalImport
Definition: pascalimport.h:17
PascalImport::m_inInterface
bool m_inInterface
becomes true when keyword "interface" is seen
Definition: pascalimport.h:33
PascalImport::m_section
Section_Type m_section
contains the current section
Definition: pascalimport.h:38
PascalImport::Section_Type
Section_Type
Definition: pascalimport.h:35
PascalImport::sect_THREADVAR
@ sect_THREADVAR
Definition: pascalimport.h:36
PascalImport::sect_CONST
@ sect_CONST
Definition: pascalimport.h:35
PascalImport::sect_VAR
@ sect_VAR
Definition: pascalimport.h:36
PascalImport::sect_RESOURCESTRING
@ sect_RESOURCESTRING
Definition: pascalimport.h:35
PascalImport::sect_TYPE
@ sect_TYPE
Definition: pascalimport.h:36
PascalImport::sect_NONE
@ sect_NONE
Definition: pascalimport.h:35
PascalImport::sect_LABEL
@ sect_LABEL
Definition: pascalimport.h:35
PascalImport::~PascalImport
virtual ~PascalImport()
Definition: pascalimport.cpp:42
PascalImport::checkModifiers
void checkModifiers(bool &isVirtual, bool &isAbstract)
Definition: pascalimport.cpp:102
PascalImport::split
QStringList split(const QString &line)
Definition: pascalimport.cpp:62
PascalImport::fillSource
void fillSource(const QString &word)
Definition: pascalimport.cpp:71
PascalImport::initVars
void initVars()
Definition: pascalimport.cpp:49
PascalImport::parseStmt
bool parseStmt()
Definition: pascalimport.cpp:127
nativeimportbase.h