umbrello: umbrello/codeimport/pascalimport.h Source File

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

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 void fillSource(const QString& word);
28
29 void checkModifiers(bool& isVirtual, bool& isAbstract);
30
31 bool m_inInterface;
32
33 enum Section_Type { sect_NONE, sect_LABEL, sect_CONST, sect_RESOURCESTRING,
34 sect_TYPE, sect_VAR, sect_THREADVAR };
35
36 Section_Type m_section;
37};
38
39#endif
40
CodeImpThread
Definition: codeimpthread.h:22
NativeImportBase
Base class for native implementations of language import.
Definition: nativeimportbase.h:40
PascalImport
Definition: pascalimport.h:17
PascalImport::PascalImport
PascalImport(CodeImpThread *thread=0)
Definition: pascalimport.cpp:28
PascalImport::m_inInterface
bool m_inInterface
becomes true when keyword "interface" is seen
Definition: pascalimport.h:31
PascalImport::m_section
Section_Type m_section
contains the current section
Definition: pascalimport.h:36
PascalImport::Section_Type
Section_Type
Definition: pascalimport.h:33
PascalImport::sect_THREADVAR
@ sect_THREADVAR
Definition: pascalimport.h:34
PascalImport::sect_CONST
@ sect_CONST
Definition: pascalimport.h:33
PascalImport::sect_VAR
@ sect_VAR
Definition: pascalimport.h:34
PascalImport::sect_RESOURCESTRING
@ sect_RESOURCESTRING
Definition: pascalimport.h:33
PascalImport::sect_TYPE
@ sect_TYPE
Definition: pascalimport.h:34
PascalImport::sect_NONE
@ sect_NONE
Definition: pascalimport.h:33
PascalImport::sect_LABEL
@ sect_LABEL
Definition: pascalimport.h:33
PascalImport::~PascalImport
virtual ~PascalImport()
Definition: pascalimport.cpp:38
PascalImport::checkModifiers
void checkModifiers(bool &isVirtual, bool &isAbstract)
Definition: pascalimport.cpp:86
PascalImport::fillSource
void fillSource(const QString &word)
Definition: pascalimport.cpp:55
PascalImport::initVars
void initVars()
Definition: pascalimport.cpp:45
PascalImport::parseStmt
bool parseStmt()
Definition: pascalimport.cpp:111
nativeimportbase.h