getConstantType function
Implementation
Type getConstantType(HTConstantType type) {
switch (type) {
case HTConstantType.boolean:
return bool;
case HTConstantType.integer:
return int;
case HTConstantType.float:
return double;
case HTConstantType.string:
return String;
}
}