orthonym.assembly.ring_acyloxy_prefixes#

Note

Internal API. Names and behaviour may change between releases.

The acyloxy prefix of a chain substituent whose acid side holds a ring (‘{2-(benzoyloxy)ethyl}’).

“Esters cited as prefixes” (the Blue Book): an ester group R-CO-O- on the skeleton of a substituent is

the ‘acyloxy’ prefix (‘3-(benzoyloxy)propanoic acid (PIN)’,:31711; ‘3-[(pyridine-3-carbonyl)oxy]propanoic acid (PIN)’, :31723). The acyloxy pass of substituent_naming._name_polyfunctional_acyclic_substituent_impl runs after the ring branches of the chain are read, so a ring inside the acyl group was taken for a ring branch of the chain and the fragment declined. This pass consumes such a group first, as sulfur_acid_ester_prefixes.consume_sulfur_acid_oxy does for the sulfonic esters (program 11); an acyl group without a ring is left to the later pass.

orthonym.assembly.ring_acyloxy_prefixes.consume_ring_acyloxy(mol, sub_set, consumed, add_prefix)#

Add ‘(R-carbonyl)oxy’ / ‘benzoyloxy’ with add_prefix(host, token) for each ester O between a non-ring skeleton carbon of the fragment and an acyl carbon whose acid side holds a ring, and mark the O and the acid side consumed. False when one token would repeat (the caller cannot spell ‘bis’), so the fragment declines.