data: indexing java
* expanded appsettings to include java specific stuff * added java indexer as separate project that can be build via its build script * added dependencies for java indexer to the setup folder * added license files for these dependencies. * added sample project for java. this is just to test java on other machines and can be removed again in the future. * the java parser test suite is currently uncommented because java is not running on every machine. * added some more node types * removed TokenComponentAccess::AccessType and replaced all its usages by using AccessKind * moved access components from edges to nodes * using recordReference of ParserClient for java * removed recording access specifier of inheritance edges. * added styles for new node types
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#ifndef SYMBOL_KIND_H
|
||||
#define SYMBOL_KIND_H
|
||||
|
||||
enum SymbolKind
|
||||
{ // these values need to be the same as SymbolType in Java code
|
||||
SYMBOL_BUILTIN_TYPE = 1,
|
||||
SYMBOL_CLASS = 2,
|
||||
SYMBOL_ENUM = 3,
|
||||
SYMBOL_ENUM_CONSTANT = 4,
|
||||
SYMBOL_FIELD = 5,
|
||||
SYMBOL_FUNCTION = 6,
|
||||
SYMBOL_GLOBAL_VARIABLE = 7,
|
||||
SYMBOL_INTERFACE = 8,
|
||||
SYMBOL_LOCAL_VARIABLE = 9,
|
||||
SYMBOL_MACRO = 10,
|
||||
SYMBOL_METHOD = 11,
|
||||
SYMBOL_NAMESPACE = 12,
|
||||
SYMBOL_PACKAGE = 13,
|
||||
SYMBOL_PARAMETER = 14,
|
||||
SYMBOL_STRUCT = 15,
|
||||
SYMBOL_TEMPLATE_PARAMETER = 16,
|
||||
SYMBOL_TYPEDEF = 17,
|
||||
SYMBOL_TYPE_PARAMETER = 18,
|
||||
SYMBOL_UNION = 19,
|
||||
SYMBOL_KIND_MAX = 20
|
||||
};
|
||||
|
||||
SymbolKind intToSymbolKind(int v);
|
||||
int symbolKindToInt(SymbolKind t);
|
||||
|
||||
#endif // SYMBOL_KIND_H
|
||||
Reference in New Issue
Block a user