summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 14:07:06 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 14:07:06 +0300
commitf3a0760739049a42be7b446eab1d4d085ebe2702 (patch)
treee5b0a1a42862a4dceefa0e9c7f048dff74f6cf0d /docs
parent7c9f67ff1e149dc28afe59d14bbc59d7695422ad (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