orthonym.assembly.handlers.nitrite_ester#

Note

Internal API. Names and behaviour may change between releases.

-05 (a phase) nitrite-ester handler — functional-class naming.

A nitrite ester R-O-N=O is named in the two-word functional-class form <R> nitrite /; e.g. ethyl nitrite), NOT as a C-nitroso compound. This handler is the genuinely-missing emitter co-shipped with the

nitroso [#6] guard: without it, guarding nitroso would leave

CCON=O nameless (there is no nitrite/nitrous seniority entry; the nitric acid -> nitrate mapping was deferred — resolvers.py:299).

Modeled on handlers/imidate.py (two-word functional-class, predicate-pure + pool.add + stereo injection) and registered in inner_dispatch at the specialty tier (priority 2960, after chalcogen_ester).

orthonym.assembly.handlers.nitrite_ester.name_nitrite_ester(features, mol=None, style='pin')#

Emit <R> nitrite for a nitrite ester R-O-N=O.

Algorithm: from the nitrite SMARTS match (R_carbon, O, N, O), name the R (alkyl/aryl) fragment via the universal substituent pipeline and join as "<R> nitrite". Returns None (defer) if the R cannot be named. Style is ignored (single PIN per compound, internal notes).