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

Method constructor

third_party/subscriptions-project/config.js:977–986  ·  view source on GitHub ↗

* @param {!DocInterface} doc

(doc)

Source from the content-addressed store, hash-verified

975 * @param {!DocInterface} doc
976 */
977 constructor(doc) {
978 /** @private @const {!DocInterface} */
979 this.doc_ = doc;
980 /** @private {?boolean} */
981 this.access_ = null;
982 /** @private {?string} */
983 this.productId_ = null;
984 /** @private @const @function */
985 this.checkType_ = new TypeChecker();
986 }
987
988 /**
989 * Returns false if access is restricted, otherwise true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected