c++: Fix handling of the `final` contextual keyword
[geany-mirror.git] / tests / ctags / objectivec_interface.mm
blobbc6caf1256411c30e68fc54655307c28fbc3dcea
1 //
2 //  commentary test
3 //  SupaView
4 //
5 //  Created by Vincent Berthoux on 14/06/10.
6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
10 #import "LayoutTree.h"
12 @class LayoutTree;
13 @class FolderTree;
15 #define       A_MACRO_TEST
17 typedef something SampleTypedefObjC;
19 // Mer & no_struct_name must not be present in output
20 // tag
21  # define ANOTHER_MACRO( WITH, MOAR ) \
22                 Mer( ) \
23                 struct no_struct_name
25 struct aStruct
27     int aStructMember;
28     char *anotherStructMember[ NOT_IN_TAG ];
31 #pragma DONTCARE /* :-) */
33 @interface FileTree : NSObject {
34         NSString        *name;
35     LayoutTree  *representation;
36     FolderTree  *parent[THISISNOTATAG];
37     FileSize    diskSize;
39 - (id)initWithName:(NSString*)treeName
40            andSize:(uint64_t)size
41            atPlace:(FolderTree*)parentFolder;
43 - (id)initWithName:(NSString*)treeName
44            atPlace:(FolderTree*)parentFolder;
46 - (void)dealloc;
48 - (FileSize)getDiskSize;
49 - (LayoutTree*)createLayoutTree;
50 @end
52 @interface FolderTree : FileTree {
53     NSMutableArray     *children;
56 - (id)initWithName:(NSString*)treeName
57            atPlace:(FolderTree*)parentFolder;
58 - (void)dealloc;
60 - (FolderTree*)addChild:(FileTree*)subTree;
61 - (void) populateChildList:(NSString*)root;
62 - (LayoutTree*)createLayoutTree;
63 @end