diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 14:07:06 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 14:07:06 +0300 |
| commit | f3a0760739049a42be7b446eab1d4d085ebe2702 (patch) | |
| tree | e5b0a1a42862a4dceefa0e9c7f048dff74f6cf0d /docs | |
| parent | 7c9f67ff1e149dc28afe59d14bbc59d7695422ad (diff) | |
fix(rpn): DIP violation — NewOperatorRegistry accepts OperatorProvider interface (nj)
Accept the OperatorProvider interface instead of concrete *Operations in
NewOperatorRegistry() and all register* methods. OperatorProvider embeds
ArithmeticOperator, PowerIntOperator, LogarithmicOperator, BooleanOperator,
StackOperator, VariableOperator, ConstantOperator, MetricOperator, and
HyperOperator, allowing mocking or alternative implementations.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
