* 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.
21 lines
331 B
Java
21 lines
331 B
Java
package io.coati;
|
|
|
|
public enum DefinitionKind
|
|
{ // these values need to be the same as DefinitionKind in C++ code
|
|
NONE(0),
|
|
IMPLICIT(1),
|
|
EXPLICIT(2);
|
|
|
|
private final int m_value;
|
|
|
|
private DefinitionKind(int value)
|
|
{
|
|
this.m_value = value;
|
|
}
|
|
|
|
public int getValue()
|
|
{
|
|
return m_value;
|
|
}
|
|
}
|