Find the internal function name for an operator, if the input text is one.
(text string)
| 108 | |
| 109 | // Find the internal function name for an operator, if the input text is one. |
| 110 | func Find(text string) (string, bool) { |
| 111 | op, found := operators[text] |
| 112 | return op, found |
| 113 | } |
| 114 | |
| 115 | // FindReverse returns the unmangled, text representation of the operator. |
| 116 | func FindReverse(symbol string) (string, bool) { |
no outgoing calls
no test coverage detected