Files
Sourcetrail/java_indexer/src/io/coati/ReferenceKind.java
T
malte_langkabel 2759018374 ui: show when type is built-in (issue #2)
* renamed DefinitionType to DefinitionKind
* passing DefinitionKind from Java to C++ instead of just a single bool
* omitting to create a symbol for undefined types

fortune cookie message = Happy news is on the way to you.
2017-01-23 15:55:29 +01:00

32 lines
563 B
Java

package io.coati;
public enum ReferenceKind
{ // these values need to be the same as ReferenceKind in C++ code
UNDEFINED(0),
TYPE_USAGE(1),
USAGE(2),
CALL(3),
INHERITANCE(4),
OVERRIDE(5),
TEMPLATE_ARGUMENT(6),
TYPE_ARGUMENT(7),
TEMPLATE_DEFAULT_ARGUMENT(8),
TEMPLATE_SPECIALIZATION_OF(9),
TEMPLATE_MEMBER_SPECIALIZATION_OF(10),
INCLUDE(11),
IMPORT(12),
MACRO_USAGE(13);
private final int m_value;
private ReferenceKind(int value)
{
this.m_value = value;
}
public int getValue()
{
return m_value;
}
}