ljclang

FORK: A LuaJIT-based interface to libclang
git clone https://git.neptards.moe/neptards/ljclang.git
Log | Files | Refs

ljclang_cursor_kind.lua (5498B)


      1 return { name={
      2 [1] = "UnexposedDecl";
      3 [2] = "StructDecl";
      4 [3] = "UnionDecl";
      5 [4] = "ClassDecl";
      6 [5] = "EnumDecl";
      7 [6] = "FieldDecl";
      8 [7] = "EnumConstantDecl";
      9 [8] = "FunctionDecl";
     10 [9] = "VarDecl";
     11 [10] = "ParmDecl";
     12 [11] = "ObjCInterfaceDecl";
     13 [12] = "ObjCCategoryDecl";
     14 [13] = "ObjCProtocolDecl";
     15 [14] = "ObjCPropertyDecl";
     16 [15] = "ObjCIvarDecl";
     17 [16] = "ObjCInstanceMethodDecl";
     18 [17] = "ObjCClassMethodDecl";
     19 [18] = "ObjCImplementationDecl";
     20 [19] = "ObjCCategoryImplDecl";
     21 [20] = "TypedefDecl";
     22 [21] = "CXXMethod";
     23 [22] = "Namespace";
     24 [23] = "LinkageSpec";
     25 [24] = "Constructor";
     26 [25] = "Destructor";
     27 [26] = "ConversionFunction";
     28 [27] = "TemplateTypeParameter";
     29 [28] = "NonTypeTemplateParameter";
     30 [29] = "TemplateTemplateParameter";
     31 [30] = "FunctionTemplate";
     32 [31] = "ClassTemplate";
     33 [32] = "ClassTemplatePartialSpecialization";
     34 [33] = "NamespaceAlias";
     35 [34] = "UsingDirective";
     36 [35] = "UsingDeclaration";
     37 [36] = "TypeAliasDecl";
     38 [37] = "ObjCSynthesizeDecl";
     39 [38] = "ObjCDynamicDecl";
     40 [39] = "CXXAccessSpecifier";
     41 [40] = "ObjCSuperClassRef";
     42 [41] = "ObjCProtocolRef";
     43 [42] = "ObjCClassRef";
     44 [43] = "TypeRef";
     45 [44] = "CXXBaseSpecifier";
     46 [45] = "TemplateRef";
     47 [46] = "NamespaceRef";
     48 [47] = "MemberRef";
     49 [48] = "LabelRef";
     50 [49] = "OverloadedDeclRef";
     51 [50] = "VariableRef";
     52 [70] = "InvalidFile";
     53 [71] = "NoDeclFound";
     54 [72] = "NotImplemented";
     55 [73] = "InvalidCode";
     56 [100] = "UnexposedExpr";
     57 [101] = "DeclRefExpr";
     58 [102] = "MemberRefExpr";
     59 [103] = "CallExpr";
     60 [104] = "ObjCMessageExpr";
     61 [105] = "BlockExpr";
     62 [106] = "IntegerLiteral";
     63 [107] = "FloatingLiteral";
     64 [108] = "ImaginaryLiteral";
     65 [109] = "StringLiteral";
     66 [110] = "CharacterLiteral";
     67 [111] = "ParenExpr";
     68 [112] = "UnaryOperator";
     69 [113] = "ArraySubscriptExpr";
     70 [114] = "BinaryOperator";
     71 [115] = "CompoundAssignOperator";
     72 [116] = "ConditionalOperator";
     73 [117] = "CStyleCastExpr";
     74 [118] = "CompoundLiteralExpr";
     75 [119] = "InitListExpr";
     76 [120] = "AddrLabelExpr";
     77 [121] = "StmtExpr";
     78 [122] = "GenericSelectionExpr";
     79 [123] = "GNUNullExpr";
     80 [124] = "CXXStaticCastExpr";
     81 [125] = "CXXDynamicCastExpr";
     82 [126] = "CXXReinterpretCastExpr";
     83 [127] = "CXXConstCastExpr";
     84 [128] = "CXXFunctionalCastExpr";
     85 [129] = "CXXTypeidExpr";
     86 [130] = "CXXBoolLiteralExpr";
     87 [131] = "CXXNullPtrLiteralExpr";
     88 [132] = "CXXThisExpr";
     89 [133] = "CXXThrowExpr";
     90 [134] = "CXXNewExpr";
     91 [135] = "CXXDeleteExpr";
     92 [136] = "UnaryExpr";
     93 [137] = "ObjCStringLiteral";
     94 [138] = "ObjCEncodeExpr";
     95 [139] = "ObjCSelectorExpr";
     96 [140] = "ObjCProtocolExpr";
     97 [141] = "ObjCBridgedCastExpr";
     98 [142] = "PackExpansionExpr";
     99 [143] = "SizeOfPackExpr";
    100 [144] = "LambdaExpr";
    101 [145] = "ObjCBoolLiteralExpr";
    102 [146] = "ObjCSelfExpr";
    103 [147] = "OMPArraySectionExpr";
    104 [148] = "ObjCAvailabilityCheckExpr";
    105 [200] = "UnexposedStmt";
    106 [201] = "LabelStmt";
    107 [202] = "CompoundStmt";
    108 [203] = "CaseStmt";
    109 [204] = "DefaultStmt";
    110 [205] = "IfStmt";
    111 [206] = "SwitchStmt";
    112 [207] = "WhileStmt";
    113 [208] = "DoStmt";
    114 [209] = "ForStmt";
    115 [210] = "GotoStmt";
    116 [211] = "IndirectGotoStmt";
    117 [212] = "ContinueStmt";
    118 [213] = "BreakStmt";
    119 [214] = "ReturnStmt";
    120 [215] = "AsmStmt";
    121 [216] = "ObjCAtTryStmt";
    122 [217] = "ObjCAtCatchStmt";
    123 [218] = "ObjCAtFinallyStmt";
    124 [219] = "ObjCAtThrowStmt";
    125 [220] = "ObjCAtSynchronizedStmt";
    126 [221] = "ObjCAutoreleasePoolStmt";
    127 [222] = "ObjCForCollectionStmt";
    128 [223] = "CXXCatchStmt";
    129 [224] = "CXXTryStmt";
    130 [225] = "CXXForRangeStmt";
    131 [226] = "SEHTryStmt";
    132 [227] = "SEHExceptStmt";
    133 [228] = "SEHFinallyStmt";
    134 [229] = "MSAsmStmt";
    135 [230] = "NullStmt";
    136 [231] = "DeclStmt";
    137 [232] = "OMPParallelDirective";
    138 [233] = "OMPSimdDirective";
    139 [234] = "OMPForDirective";
    140 [235] = "OMPSectionsDirective";
    141 [236] = "OMPSectionDirective";
    142 [237] = "OMPSingleDirective";
    143 [238] = "OMPParallelForDirective";
    144 [239] = "OMPParallelSectionsDirective";
    145 [240] = "OMPTaskDirective";
    146 [241] = "OMPMasterDirective";
    147 [242] = "OMPCriticalDirective";
    148 [243] = "OMPTaskyieldDirective";
    149 [244] = "OMPBarrierDirective";
    150 [245] = "OMPTaskwaitDirective";
    151 [246] = "OMPFlushDirective";
    152 [247] = "SEHLeaveStmt";
    153 [248] = "OMPOrderedDirective";
    154 [249] = "OMPAtomicDirective";
    155 [250] = "OMPForSimdDirective";
    156 [251] = "OMPParallelForSimdDirective";
    157 [252] = "OMPTargetDirective";
    158 [253] = "OMPTeamsDirective";
    159 [254] = "OMPTaskgroupDirective";
    160 [255] = "OMPCancellationPointDirective";
    161 [256] = "OMPCancelDirective";
    162 [257] = "OMPTargetDataDirective";
    163 [258] = "OMPTaskLoopDirective";
    164 [259] = "OMPTaskLoopSimdDirective";
    165 [260] = "OMPDistributeDirective";
    166 [261] = "OMPTargetEnterDataDirective";
    167 [262] = "OMPTargetExitDataDirective";
    168 [263] = "OMPTargetParallelDirective";
    169 [264] = "OMPTargetParallelForDirective";
    170 [265] = "OMPTargetUpdateDirective";
    171 [266] = "OMPDistributeParallelForDirective";
    172 [267] = "OMPDistributeParallelForSimdDirective";
    173 [268] = "OMPDistributeSimdDirective";
    174 [269] = "OMPTargetParallelForSimdDirective";
    175 [300] = "TranslationUnit";
    176 [400] = "UnexposedAttr";
    177 [401] = "IBActionAttr";
    178 [402] = "IBOutletAttr";
    179 [403] = "IBOutletCollectionAttr";
    180 [404] = "CXXFinalAttr";
    181 [405] = "CXXOverrideAttr";
    182 [406] = "AnnotateAttr";
    183 [407] = "AsmLabelAttr";
    184 [408] = "PackedAttr";
    185 [409] = "PureAttr";
    186 [410] = "ConstAttr";
    187 [411] = "NoDuplicateAttr";
    188 [412] = "CUDAConstantAttr";
    189 [413] = "CUDADeviceAttr";
    190 [414] = "CUDAGlobalAttr";
    191 [415] = "CUDAHostAttr";
    192 [416] = "CUDASharedAttr";
    193 [417] = "VisibilityAttr";
    194 [418] = "DLLExport";
    195 [419] = "DLLImport";
    196 [500] = "PreprocessingDirective";
    197 [501] = "MacroDefinition";
    198 [502] = "MacroExpansion";
    199 [503] = "InclusionDirective";
    200 [600] = "ModuleImportDecl";
    201 [601] = "TypeAliasTemplateDecl";
    202 [602] = "StaticAssert";
    203 [700] = "OverloadCandidate";
    204 }, }