#include <csvalaimportbase.h>
Base class for C# and Vala code import.
- Author
- Oliver Kellogg
-
Andi Fischer (copied from JavaImport) Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ CsValaImportBase()
CsValaImportBase::CsValaImportBase |
( |
CodeImpThread * | thread = nullptr | ) |
|
|
inlineexplicit |
◆ ~CsValaImportBase()
virtual CsValaImportBase::~CsValaImportBase |
( |
| ) |
|
|
inlinevirtual |
◆ isClassModifier()
bool CsValaImportBase::isClassModifier |
( |
const QString & | keyword | ) |
|
|
private |
Check if keyword is a class-modifier.
- Returns
- result of check
◆ isCommonModifier()
bool CsValaImportBase::isCommonModifier |
( |
const QString & | keyword | ) |
|
|
private |
Check if keyword is an interface, struct, enum or delegate modifier.
- Returns
- result of check
◆ isTypeDeclaration()
bool CsValaImportBase::isTypeDeclaration |
( |
const QString & | keyword | ) |
|
|
private |
Check if keyword is belonging to a type-declaration.
- Returns
- result of check
◆ parseAnnotation()
bool CsValaImportBase::parseAnnotation |
( |
| ) |
|
|
private |
Parsing attributes.
- Returns
- success status of parsing
◆ parseClassDeclaration()
bool CsValaImportBase::parseClassDeclaration |
( |
const QString & | keyword | ) |
|
|
private |
Parsing the statement 'class' or 'interface'.
- Returns
- success status of parsing
◆ parseDelegateDeclaration()
bool CsValaImportBase::parseDelegateDeclaration |
( |
| ) |
|
|
private |
Parsing a delegate-declaration.
- Returns
- success status of parsing
◆ parseEnumDeclaration()
bool CsValaImportBase::parseEnumDeclaration |
( |
| ) |
|
|
private |
Parsing the statement 'enum'.
- Returns
- success status of parsing
◆ parseGlobalAttributes()
bool CsValaImportBase::parseGlobalAttributes |
( |
| ) |
|
|
private |
Parsing global attributes.
- Returns
- success status of parsing
◆ parseNamespaceDeclaration()
bool CsValaImportBase::parseNamespaceDeclaration |
( |
| ) |
|
|
private |
Parsing the statement 'namespace'.
- Returns
- success status of parsing
◆ parseStmt()
bool CsValaImportBase::parseStmt |
( |
| ) |
|
|
protectedvirtual |
Implement abstract operation from NativeImportBase. compilation-unit: using-directives? global-attributes? namespace-member-declarations?
- Returns
- success status of operation
Implements NativeImportBase.
◆ parseStructDeclaration()
bool CsValaImportBase::parseStructDeclaration |
( |
| ) |
|
|
private |
Parsing a struct-declaration.
- Returns
- success status of parsing
◆ parseUsingDirectives()
bool CsValaImportBase::parseUsingDirectives |
( |
| ) |
|
|
private |
Parsing the statement 'using'. Keep track of imports so we can resolve classes we are dependent on.
- Returns
- success status of parsing
◆ preprocess()
bool CsValaImportBase::preprocess |
( |
QString & | line | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: