Changeset View
Changeset View
Standalone View
Standalone View
duchain/helper.h
Show All 33 Lines | |||||
34 | } | 34 | } | ||
35 | namespace Php | 35 | namespace Php | ||
36 | { | 36 | { | ||
37 | struct UnaryExpressionAst; | 37 | struct UnaryExpressionAst; | ||
38 | struct AstNode; | 38 | struct AstNode; | ||
39 | struct CommonScalarAst; | 39 | struct CommonScalarAst; | ||
40 | struct NamespacedIdentifierAst; | 40 | struct NamespacedIdentifierAst; | ||
41 | struct ParameterAst; | 41 | struct ParameterAst; | ||
42 | struct ReturnTypeAst; | ||||
42 | class EditorIntegrator; | 43 | class EditorIntegrator; | ||
43 | 44 | | |||
44 | enum DeclarationType { | 45 | enum DeclarationType { | ||
45 | ClassDeclarationType, | 46 | ClassDeclarationType, | ||
46 | FunctionDeclarationType, | 47 | FunctionDeclarationType, | ||
47 | ConstantDeclarationType, | 48 | ConstantDeclarationType, | ||
48 | GlobalVariableDeclarationType, | 49 | GlobalVariableDeclarationType, | ||
49 | NamespaceDeclarationType | 50 | NamespaceDeclarationType | ||
Show All 33 Lines | 83 | KDEVPHPDUCHAIN_EXPORT KDevelop::QualifiedIdentifier identifierForNamespace(NamespacedIdentifierAst* node, EditorIntegrator* editor, | |||
83 | bool lastIsConstIdentifier = false); | 84 | bool lastIsConstIdentifier = false); | ||
84 | 85 | | |||
85 | /** | 86 | /** | ||
86 | * Get proper QualifiedIdentifier for a basic identifier. | 87 | * Get proper QualifiedIdentifier for a basic identifier. | ||
87 | */ | 88 | */ | ||
88 | KDEVPHPDUCHAIN_EXPORT KDevelop::QualifiedIdentifier identifierWithNamespace(const KDevelop::QualifiedIdentifier& base, KDevelop::DUContext* context); | 89 | KDEVPHPDUCHAIN_EXPORT KDevelop::QualifiedIdentifier identifierWithNamespace(const KDevelop::QualifiedIdentifier& base, KDevelop::DUContext* context); | ||
89 | 90 | | |||
90 | KDEVPHPDUCHAIN_EXPORT KDevelop::AbstractType::Ptr parameterType(const ParameterAst* node, KDevelop::AbstractType::Ptr phpDocTypehint, EditorIntegrator* editor, KDevelop::DUContext *currentContext); | 91 | KDEVPHPDUCHAIN_EXPORT KDevelop::AbstractType::Ptr parameterType(const ParameterAst* node, KDevelop::AbstractType::Ptr phpDocTypehint, EditorIntegrator* editor, KDevelop::DUContext *currentContext); | ||
92 | KDEVPHPDUCHAIN_EXPORT KDevelop::AbstractType::Ptr returnType(const ReturnTypeAst* node, KDevelop::AbstractType::Ptr phpDocTypehint, EditorIntegrator* editor, KDevelop::DUContext *currentContext); | ||||
91 | 93 | | |||
92 | } | 94 | } | ||
93 | #endif | 95 | #endif |