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

Method constructor

src/service/action-impl.js:1244–1250  ·  view source on GitHub ↗

* @param {string} str

(str)

Source from the content-addressed store, hash-verified

1242 * @param {string} str
1243 */
1244 constructor(str) {
1245 /** @private @const {string} */
1246 this.str_ = str;
1247
1248 /** @private {number} */
1249 this.index_ = -1;
1250 }
1251
1252 /**
1253 * Returns the next token and advances the position.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected