class compiler::COperators

sys::Obj
 compiler::COperators

Source

COperators is used to manage methods annoated with the Operator facet for efficient operator method resolution.

find

CMethod[] find(Str prefix)

Source

Get operators defined for prefix. For example:

find("plus") => [plus, plusFloat, plusDecimal]
make

new make(CType parent)

Source

Construct for given parent type

parent

CType parent { private set }

Source

toPrefix

static Str? toPrefix(Str methodName)

Source

Given a method name get the operator prefix:

"plus" => "plus"
"plusInt" => "plus"
"fooBar" => null

compiler 1.0.8226-Jun-2025 Thu 13:18:36 EDT

AltStyle によって変換されたページ (->オリジナル) /