| 16853 | |
| 16854 | |
| 16855 | SymbolType TokenIsNumeric(ExprTokenType &aToken) |
| 16856 | { |
| 16857 | switch(aToken.symbol) |
| 16858 | { |
| 16859 | case SYM_INTEGER: |
| 16860 | case SYM_FLOAT: |
| 16861 | return aToken.symbol; |
| 16862 | case SYM_VAR: |
| 16863 | return aToken.var->IsNumeric(); |
| 16864 | default: // SYM_STRING: Callers of this function expect a "numeric" result for numeric strings. |
| 16865 | return IsNumeric(aToken.marker, true, false, true); |
| 16866 | } |
| 16867 | } |
| 16868 | |
| 16869 | |
| 16870 | SymbolType TokenIsPureNumeric(ExprTokenType &aToken) |
no test coverage detected