MCPcopy Create free account
hub / github.com/ampproject/amphtml / constructor

Method constructor

src/service/document-info-impl.js:51–58  ·  view source on GitHub ↗

* @param {!./ampdoc-impl.AmpDoc} ampdoc

(ampdoc)

Source from the content-addressed store, hash-verified

49 * @param {!./ampdoc-impl.AmpDoc} ampdoc
50 */
51 constructor(ampdoc) {
52 /** @private @const */
53 this.ampdoc_ = ampdoc;
54 /** @private {?DocumentInfoDef} */
55 this.info_ = null;
56 /** @private {?Promise<string>} */
57 this.pageViewId64_ = null;
58 }
59
60 /** @return {!DocumentInfoDef} */
61 get() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected