* @param {!./ampdoc-impl.AmpDoc} ampdoc
(ampdoc)
| 162 | * @param {!./ampdoc-impl.AmpDoc} ampdoc |
| 163 | */ |
| 164 | constructor(ampdoc) { |
| 165 | /** @protected @const {!./ampdoc-impl.AmpDoc} */ |
| 166 | this.ampdoc = ampdoc; |
| 167 | |
| 168 | /** @private @const {!{[key: string]: !ReplacementDef}} */ |
| 169 | this.replacements_ = Object.create(null); |
| 170 | |
| 171 | /** @private {boolean} */ |
| 172 | this.initialized_ = false; |
| 173 | |
| 174 | this.getUrlMacroAllowlist_(); |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Lazily initialize the default replacements. |
nothing calls this directly
no test coverage detected