Returns the type name of the given value.
| 16676 | |
| 16677 | // Returns the type name of the given value. |
| 16678 | LPTSTR TokenTypeString(ExprTokenType &aToken) |
| 16679 | { |
| 16680 | switch (TypeOfToken(aToken)) |
| 16681 | { |
| 16682 | case SYM_STRING: return STRING_TYPE_STRING; |
| 16683 | case SYM_INTEGER: return INTEGER_TYPE_STRING; |
| 16684 | case SYM_FLOAT: return FLOAT_TYPE_STRING; |
| 16685 | case SYM_OBJECT: return TokenToObject(aToken)->Type(); |
| 16686 | default: return _T(""); // For maintainability. |
| 16687 | } |
| 16688 | } |
| 16689 | |
| 16690 | |
| 16691 |
no test coverage detected