blob: 64052ed30942decc05cb9eef8aed21f3d449f8eb [file] [log] [blame]
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +00001//===- CIndexHigh.cpp - Higher level API functions ------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "IndexingContext.h"
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000011#include "clang/AST/DeclVisitor.h"
12
13using namespace clang;
14using namespace cxindex;
15
16namespace {
17
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000018class IndexingDeclVisitor : public ConstDeclVisitor<IndexingDeclVisitor, bool> {
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000019 IndexingContext &IndexCtx;
20
21public:
22 explicit IndexingDeclVisitor(IndexingContext &indexCtx)
23 : IndexCtx(indexCtx) { }
24
Argyrios Kyrtzidis1bc085a2013-05-29 23:58:31 +000025 /// \brief Returns true if the given method has been defined explicitly by the
26 /// user.
27 static bool hasUserDefined(const ObjCMethodDecl *D,
28 const ObjCImplDecl *Container) {
29 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(),
30 D->isInstanceMethod());
31 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition();
32 }
33
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000034 void handleDeclarator(const DeclaratorDecl *D, const NamedDecl *Parent = 0) {
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +000035 if (!Parent) Parent = D;
Argyrios Kyrtzidisdb4d7a52012-01-14 02:05:51 +000036
Argyrios Kyrtzidis58d2dbe2012-02-14 22:23:11 +000037 if (!IndexCtx.shouldIndexFunctionLocalSymbols()) {
Argyrios Kyrtzidisdb4d7a52012-01-14 02:05:51 +000038 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), Parent);
39 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent);
40 } else {
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000041 if (const ParmVarDecl *Parm = dyn_cast<ParmVarDecl>(D)) {
Argyrios Kyrtzidisdb4d7a52012-01-14 02:05:51 +000042 IndexCtx.handleVar(Parm);
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000043 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
Stephen Hines651f13c2014-04-23 16:59:28 -070044 for (auto PI : FD->params()) {
45 IndexCtx.handleVar(PI);
Argyrios Kyrtzidisdb4d7a52012-01-14 02:05:51 +000046 }
47 }
48 }
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +000049 }
50
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000051 void handleObjCMethod(const ObjCMethodDecl *D) {
Argyrios Kyrtzidisd7c15a62012-02-28 17:50:28 +000052 IndexCtx.handleObjCMethod(D);
53 if (D->isImplicit())
54 return;
55
Stephen Hines651f13c2014-04-23 16:59:28 -070056 IndexCtx.indexTypeSourceInfo(D->getReturnTypeSourceInfo(), D);
57 for (const auto *I : D->params())
58 handleDeclarator(I, D);
Argyrios Kyrtzidisd7c15a62012-02-28 17:50:28 +000059
60 if (D->isThisDeclarationADefinition()) {
61 const Stmt *Body = D->getBody();
62 if (Body) {
63 IndexCtx.indexBody(Body, D, D);
64 }
65 }
66 }
67
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000068 bool VisitFunctionDecl(const FunctionDecl *D) {
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000069 IndexCtx.handleFunction(D);
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +000070 handleDeclarator(D);
Argyrios Kyrtzidis8818d452012-01-23 16:58:36 +000071
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000072 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) {
Argyrios Kyrtzidis8818d452012-01-23 16:58:36 +000073 // Constructor initializers.
Stephen Hines651f13c2014-04-23 16:59:28 -070074 for (const auto *Init : Ctor->inits()) {
Argyrios Kyrtzidis8818d452012-01-23 16:58:36 +000075 if (Init->isWritten()) {
76 IndexCtx.indexTypeSourceInfo(Init->getTypeSourceInfo(), D);
77 if (const FieldDecl *Member = Init->getAnyMember())
78 IndexCtx.handleReference(Member, Init->getMemberLocation(), D, D);
79 IndexCtx.indexBody(Init->getInit(), D, D);
80 }
81 }
82 }
83
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000084 if (D->isThisDeclarationADefinition()) {
85 const Stmt *Body = D->getBody();
86 if (Body) {
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +000087 IndexCtx.indexBody(Body, D, D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000088 }
89 }
90 return true;
91 }
92
Dmitri Gribenko361d79c2013-02-03 13:42:20 +000093 bool VisitVarDecl(const VarDecl *D) {
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000094 IndexCtx.handleVar(D);
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +000095 handleDeclarator(D);
96 IndexCtx.indexBody(D->getInit(), D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +000097 return true;
98 }
99
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000100 bool VisitFieldDecl(const FieldDecl *D) {
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000101 IndexCtx.handleField(D);
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +0000102 handleDeclarator(D);
103 if (D->isBitField())
104 IndexCtx.indexBody(D->getBitWidth(), D);
105 else if (D->hasInClassInitializer())
106 IndexCtx.indexBody(D->getInClassInitializer(), D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000107 return true;
108 }
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000109
John McCall76da55d2013-04-16 07:28:30 +0000110 bool VisitMSPropertyDecl(const MSPropertyDecl *D) {
111 handleDeclarator(D);
112 return true;
113 }
114
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000115 bool VisitEnumConstantDecl(const EnumConstantDecl *D) {
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000116 IndexCtx.handleEnumerator(D);
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +0000117 IndexCtx.indexBody(D->getInitExpr(), D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000118 return true;
119 }
120
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000121 bool VisitTypedefNameDecl(const TypedefNameDecl *D) {
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000122 IndexCtx.handleTypedefName(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000123 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D);
124 return true;
125 }
126
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000127 bool VisitTagDecl(const TagDecl *D) {
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000128 // Non-free standing tags are handled in indexTypeSourceInfo.
129 if (D->isFreeStanding())
130 IndexCtx.indexTagDecl(D);
131 return true;
132 }
133
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000134 bool VisitObjCInterfaceDecl(const ObjCInterfaceDecl *D) {
Argyrios Kyrtzidisdd93c592011-11-11 00:23:36 +0000135 IndexCtx.handleObjCInterface(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000136
Douglas Gregor375bb142011-12-27 22:43:10 +0000137 if (D->isThisDeclarationADefinition()) {
138 IndexCtx.indexTUDeclsInObjCContainer();
139 IndexCtx.indexDeclContext(D);
140 }
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000141 return true;
142 }
143
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000144 bool VisitObjCProtocolDecl(const ObjCProtocolDecl *D) {
Argyrios Kyrtzidisdd93c592011-11-11 00:23:36 +0000145 IndexCtx.handleObjCProtocol(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000146
Douglas Gregorbd9482d2012-01-01 21:23:57 +0000147 if (D->isThisDeclarationADefinition()) {
148 IndexCtx.indexTUDeclsInObjCContainer();
149 IndexCtx.indexDeclContext(D);
150 }
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000151 return true;
152 }
153
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000154 bool VisitObjCImplementationDecl(const ObjCImplementationDecl *D) {
Argyrios Kyrtzidise7bbab92011-11-15 06:20:24 +0000155 const ObjCInterfaceDecl *Class = D->getClassInterface();
Argyrios Kyrtzidis37f40572011-11-23 20:27:26 +0000156 if (!Class)
157 return true;
158
Argyrios Kyrtzidise7bbab92011-11-15 06:20:24 +0000159 if (Class->isImplicitInterfaceDecl())
160 IndexCtx.handleObjCInterface(Class);
161
Argyrios Kyrtzidisdd93c592011-11-11 00:23:36 +0000162 IndexCtx.handleObjCImplementation(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000163
164 IndexCtx.indexTUDeclsInObjCContainer();
Argyrios Kyrtzidis390fff82012-06-08 02:16:11 +0000165
166 // Index the ivars first to make sure the synthesized ivars are indexed
167 // before indexing the methods that can reference them.
Stephen Hines651f13c2014-04-23 16:59:28 -0700168 for (const auto *IvarI : D->ivars())
169 IndexCtx.indexDecl(IvarI);
170 for (const auto *I : D->decls()) {
171 if (!isa<ObjCIvarDecl>(I))
172 IndexCtx.indexDecl(I);
Argyrios Kyrtzidis390fff82012-06-08 02:16:11 +0000173 }
174
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000175 return true;
176 }
177
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000178 bool VisitObjCCategoryDecl(const ObjCCategoryDecl *D) {
Argyrios Kyrtzidisdd93c592011-11-11 00:23:36 +0000179 IndexCtx.handleObjCCategory(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000180
181 IndexCtx.indexTUDeclsInObjCContainer();
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000182 IndexCtx.indexDeclContext(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000183 return true;
184 }
185
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000186 bool VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D) {
Argyrios Kyrtzidis37f40572011-11-23 20:27:26 +0000187 const ObjCCategoryDecl *Cat = D->getCategoryDecl();
188 if (!Cat)
Argyrios Kyrtzidisdd93c592011-11-11 00:23:36 +0000189 return true;
190
191 IndexCtx.handleObjCCategoryImpl(D);
192
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000193 IndexCtx.indexTUDeclsInObjCContainer();
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000194 IndexCtx.indexDeclContext(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000195 return true;
196 }
197
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000198 bool VisitObjCMethodDecl(const ObjCMethodDecl *D) {
Argyrios Kyrtzidisd7c15a62012-02-28 17:50:28 +0000199 // Methods associated with a property, even user-declared ones, are
200 // handled when we handle the property.
Jordan Rose1e4691b2012-10-10 16:42:25 +0000201 if (D->isPropertyAccessor())
Argyrios Kyrtzidisd7c15a62012-02-28 17:50:28 +0000202 return true;
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000203
Argyrios Kyrtzidisd7c15a62012-02-28 17:50:28 +0000204 handleObjCMethod(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000205 return true;
206 }
207
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000208 bool VisitObjCPropertyDecl(const ObjCPropertyDecl *D) {
Argyrios Kyrtzidisd7c15a62012-02-28 17:50:28 +0000209 if (ObjCMethodDecl *MD = D->getGetterMethodDecl())
210 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext())
211 handleObjCMethod(MD);
212 if (ObjCMethodDecl *MD = D->getSetterMethodDecl())
213 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext())
214 handleObjCMethod(MD);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000215 IndexCtx.handleObjCProperty(D);
216 IndexCtx.indexTypeSourceInfo(D->getTypeSourceInfo(), D);
217 return true;
218 }
Argyrios Kyrtzidisb395c632011-11-18 00:26:51 +0000219
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000220 bool VisitObjCPropertyImplDecl(const ObjCPropertyImplDecl *D) {
Argyrios Kyrtzidisb395c632011-11-18 00:26:51 +0000221 ObjCPropertyDecl *PD = D->getPropertyDecl();
222 IndexCtx.handleSynthesizedObjCProperty(D);
223
224 if (D->getPropertyImplementation() == ObjCPropertyImplDecl::Dynamic)
225 return true;
226 assert(D->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize);
227
228 if (ObjCIvarDecl *IvarD = D->getPropertyIvarDecl()) {
229 if (!IvarD->getSynthesize())
230 IndexCtx.handleReference(IvarD, D->getPropertyIvarDeclLoc(), 0,
231 D->getDeclContext());
232 }
233
234 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) {
Argyrios Kyrtzidis1bc085a2013-05-29 23:58:31 +0000235 if (MD->isPropertyAccessor() &&
236 !hasUserDefined(MD, cast<ObjCImplDecl>(D->getDeclContext())))
Argyrios Kyrtzidisf9112422012-02-28 17:50:39 +0000237 IndexCtx.handleSynthesizedObjCMethod(MD, D->getLocation(),
238 D->getLexicalDeclContext());
Argyrios Kyrtzidisb395c632011-11-18 00:26:51 +0000239 }
240 if (ObjCMethodDecl *MD = PD->getSetterMethodDecl()) {
Argyrios Kyrtzidis1bc085a2013-05-29 23:58:31 +0000241 if (MD->isPropertyAccessor() &&
242 !hasUserDefined(MD, cast<ObjCImplDecl>(D->getDeclContext())))
Argyrios Kyrtzidisf9112422012-02-28 17:50:39 +0000243 IndexCtx.handleSynthesizedObjCMethod(MD, D->getLocation(),
244 D->getLexicalDeclContext());
Argyrios Kyrtzidisb395c632011-11-18 00:26:51 +0000245 }
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000246 return true;
247 }
Argyrios Kyrtzidisb395c632011-11-18 00:26:51 +0000248
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000249 bool VisitNamespaceDecl(const NamespaceDecl *D) {
Argyrios Kyrtzidis68478b02011-12-07 05:52:06 +0000250 IndexCtx.handleNamespace(D);
251 IndexCtx.indexDeclContext(D);
252 return true;
253 }
254
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000255 bool VisitUsingDecl(const UsingDecl *D) {
Argyrios Kyrtzidis911d7172012-02-10 20:10:48 +0000256 // FIXME: Parent for the following is CXIdxEntity_Unexposed with no USR,
257 // we should do better.
258
259 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), D);
Stephen Hines651f13c2014-04-23 16:59:28 -0700260 for (const auto *I : D->shadows())
261 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), D,
262 D->getLexicalDeclContext());
Argyrios Kyrtzidis911d7172012-02-10 20:10:48 +0000263 return true;
264 }
265
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000266 bool VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) {
Argyrios Kyrtzidis911d7172012-02-10 20:10:48 +0000267 // FIXME: Parent for the following is CXIdxEntity_Unexposed with no USR,
268 // we should do better.
269
270 IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), D);
271 IndexCtx.handleReference(D->getNominatedNamespaceAsWritten(),
272 D->getLocation(), D, D->getLexicalDeclContext());
273 return true;
274 }
275
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000276 bool VisitClassTemplateDecl(const ClassTemplateDecl *D) {
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000277 IndexCtx.handleClassTemplate(D);
278 if (D->isThisDeclarationADefinition())
279 IndexCtx.indexDeclContext(D->getTemplatedDecl());
280 return true;
281 }
282
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000283 bool VisitClassTemplateSpecializationDecl(const
Argyrios Kyrtzidis6d968362012-02-10 20:10:44 +0000284 ClassTemplateSpecializationDecl *D) {
Argyrios Kyrtzidis58d2dbe2012-02-14 22:23:11 +0000285 // FIXME: Notify subsequent callbacks if info comes from implicit
Argyrios Kyrtzidis6d968362012-02-10 20:10:44 +0000286 // instantiation.
Argyrios Kyrtzidis58d2dbe2012-02-14 22:23:11 +0000287 if (D->isThisDeclarationADefinition() &&
288 (IndexCtx.shouldIndexImplicitTemplateInsts() ||
289 !IndexCtx.isTemplateImplicitInstantiation(D)))
Argyrios Kyrtzidis6d968362012-02-10 20:10:44 +0000290 IndexCtx.indexTagDecl(D);
291 return true;
292 }
293
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000294 bool VisitFunctionTemplateDecl(const FunctionTemplateDecl *D) {
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000295 IndexCtx.handleFunctionTemplate(D);
296 FunctionDecl *FD = D->getTemplatedDecl();
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +0000297 handleDeclarator(FD, D);
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000298 if (FD->isThisDeclarationADefinition()) {
299 const Stmt *Body = FD->getBody();
300 if (Body) {
Argyrios Kyrtzidise422e452011-12-13 18:47:41 +0000301 IndexCtx.indexBody(Body, D, FD);
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000302 }
303 }
304 return true;
305 }
306
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000307 bool VisitTypeAliasTemplateDecl(const TypeAliasTemplateDecl *D) {
Argyrios Kyrtzidis2957e6f2011-11-22 07:24:51 +0000308 IndexCtx.handleTypeAliasTemplate(D);
309 IndexCtx.indexTypeSourceInfo(D->getTemplatedDecl()->getTypeSourceInfo(), D);
Argyrios Kyrtzidisb395c632011-11-18 00:26:51 +0000310 return true;
311 }
Argyrios Kyrtzidis2c3e05c2012-10-02 16:10:38 +0000312
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000313 bool VisitImportDecl(const ImportDecl *D) {
Argyrios Kyrtzidis37f2f522012-10-03 21:05:44 +0000314 IndexCtx.importedModule(D);
Argyrios Kyrtzidis2c3e05c2012-10-02 16:10:38 +0000315 return true;
316 }
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000317};
318
319} // anonymous namespace
320
321void IndexingContext::indexDecl(const Decl *D) {
Argyrios Kyrtzidisd0890082012-02-07 22:46:16 +0000322 if (D->isImplicit() && shouldIgnoreIfImplicit(D))
323 return;
324
Dmitri Gribenko361d79c2013-02-03 13:42:20 +0000325 bool Handled = IndexingDeclVisitor(*this).Visit(D);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000326 if (!Handled && isa<DeclContext>(D))
327 indexDeclContext(cast<DeclContext>(D));
328}
329
330void IndexingContext::indexDeclContext(const DeclContext *DC) {
Stephen Hines651f13c2014-04-23 16:59:28 -0700331 for (const auto *I : DC->decls())
332 indexDecl(I);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000333}
334
Argyrios Kyrtzidis3bed3d12012-09-10 22:58:04 +0000335void IndexingContext::indexTopLevelDecl(const Decl *D) {
Argyrios Kyrtzidis21ee5702011-11-15 06:20:16 +0000336 if (isNotFromSourceFile(D->getLocation()))
337 return;
338
339 if (isa<ObjCMethodDecl>(D))
340 return; // Wait for the objc container.
341
342 indexDecl(D);
343}
344
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000345void IndexingContext::indexDeclGroupRef(DeclGroupRef DG) {
Argyrios Kyrtzidis21ee5702011-11-15 06:20:16 +0000346 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I)
347 indexTopLevelDecl(*I);
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000348}
349
350void IndexingContext::indexTUDeclsInObjCContainer() {
Argyrios Kyrtzidis30a28052012-03-23 23:24:18 +0000351 while (!TUDeclsInObjCContainer.empty()) {
352 DeclGroupRef DG = TUDeclsInObjCContainer.front();
353 TUDeclsInObjCContainer.pop_front();
354 indexDeclGroupRef(DG);
355 }
Argyrios Kyrtzidis4e7064f2011-10-17 19:48:19 +0000356}