FindReverse returns the unmangled, text representation of the operator.
(symbol string)
| 114 | |
| 115 | // FindReverse returns the unmangled, text representation of the operator. |
| 116 | func FindReverse(symbol string) (string, bool) { |
| 117 | op, found := operatorMap[symbol] |
| 118 | if !found { |
| 119 | return "", false |
| 120 | } |
| 121 | return op.displayName, true |
| 122 | } |
| 123 | |
| 124 | // FindReverseBinaryOperator returns the unmangled, text representation of a binary operator. |
| 125 | // |
no outgoing calls
no test coverage detected