umbrello: umbrello/codeimport/csvalaimportbase.h Source File

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

csvalaimportbase.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2011-2022 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef CSVALAIMPORTBASE_H
7#define CSVALAIMPORTBASE_H
8
9#include "javacsvalaimportbase.h"
10
11class UMLObject;
12
19 class CsValaImportBase : public JavaCsValaImportBase
20{
21public:
22 explicit CsValaImportBase(CodeImpThread *thread = nullptr) : JavaCsValaImportBase(thread) {}
23 virtual ~CsValaImportBase() {}
24 // The pure virtual functions fileExtension() and spawnImport() are
25 // implemented in the deriving classes.
26
27protected:
28 bool parseStmt();
29
30 bool preprocess(QString& line);
31
32private:
33 bool parseUsingDirectives();
34 bool parseGlobalAttributes();
35 bool parseNamespaceDeclaration();
36 bool parseAnnotation();
37
38 // type-declaration
39 bool parseClassDeclaration(const QString& keyword);
40 bool parseStructDeclaration();
41 // bool parseInterfaceDeclaration();
42 bool parseEnumDeclaration();
43 bool parseDelegateDeclaration();
44
45 bool isTypeDeclaration(const QString& keyword);
46 bool isClassModifier(const QString& keyword);
47 bool isCommonModifier(const QString& keyword);
48
49};
50
51#endif
CodeImpThread
Definition codeimpthread.h:22
CsValaImportBase::CsValaImportBase
CsValaImportBase(CodeImpThread *thread=nullptr)
Definition csvalaimportbase.h:22
CsValaImportBase::~CsValaImportBase
virtual ~CsValaImportBase()
Definition csvalaimportbase.h:23
CsValaImportBase::parseClassDeclaration
bool parseClassDeclaration(const QString &keyword)
Definition csvalaimportbase.cpp:502
CsValaImportBase::parseDelegateDeclaration
bool parseDelegateDeclaration()
Definition csvalaimportbase.cpp:488
CsValaImportBase::isCommonModifier
bool isCommonModifier(const QString &keyword)
Definition csvalaimportbase.cpp:388
CsValaImportBase::isTypeDeclaration
bool isTypeDeclaration(const QString &keyword)
Definition csvalaimportbase.cpp:352
CsValaImportBase::parseStmt
bool parseStmt()
Definition csvalaimportbase.cpp:54
CsValaImportBase::parseNamespaceDeclaration
bool parseNamespaceDeclaration()
Definition csvalaimportbase.cpp:311
CsValaImportBase::parseUsingDirectives
bool parseUsingDirectives()
Definition csvalaimportbase.cpp:282
CsValaImportBase::parseEnumDeclaration
bool parseEnumDeclaration()
Definition csvalaimportbase.cpp:425
CsValaImportBase::parseAnnotation
bool parseAnnotation()
Definition csvalaimportbase.cpp:337
CsValaImportBase::parseStructDeclaration
bool parseStructDeclaration()
Definition csvalaimportbase.cpp:477
CsValaImportBase::preprocess
bool preprocess(QString &line)
Definition csvalaimportbase.cpp:33
CsValaImportBase::parseGlobalAttributes
bool parseGlobalAttributes()
Definition csvalaimportbase.cpp:301
CsValaImportBase::isClassModifier
bool isClassModifier(const QString &keyword)
Definition csvalaimportbase.cpp:371
JavaCsValaImportBase::JavaCsValaImportBase
JavaCsValaImportBase(CodeImpThread *thread=nullptr)
Definition javacsvalaimportbase.cpp:37
UMLObject
The base class for UML objects.
Definition umlobject.h:70
javacsvalaimportbase.h