class compiler::COperators
sys::Obj compiler::COperators
COperators is used to manage methods annoated with the Operator facet for efficient operator method resolution.
- find
-
Get operators defined for prefix. For example:
find("plus") => [plus, plusFloat, plusDecimal]
- make
-
new make(CType parent)
Construct for given parent type
- parent
-
CType parent { private set }
- toPrefix
-
static Str? toPrefix(Str methodName)
Given a method name get the operator prefix:
"plus" => "plus" "plusInt" => "plus" "fooBar" => null