A string representation of the symbol.
()
| 61 | * A string representation of the symbol. |
| 62 | **/ |
| 63 | @Override |
| 64 | public String toString() { |
| 65 | if (isIntSymbol()) { |
| 66 | return Integer.toString(((IntSymbol) this).getInt()); |
| 67 | } else if (isStringSymbol()) { |
| 68 | return ((StringSymbol) this).getString(); |
| 69 | } else { |
| 70 | return "Z3Exception: Unknown symbol kind encountered."; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Symbol constructor |
nothing calls this directly
no test coverage detected