MCPcopy Create free account
hub / github.com/Justineo/github-hovercard / Scanner

Function Scanner

extensions/edge/mustache.js:293–297  ·  view source on GitHub ↗

* A simple string scanner that is used by the template parser to find * tokens in template strings.

(string)

Source from the content-addressed store, hash-verified

291 * tokens in template strings.
292 */
293 function Scanner (string) {
294 this.string = string;
295 this.tail = string;
296 this.pos = 0;
297 }
298
299 /**
300 * Returns `true` if the tail is empty (end of string).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected