MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / #possiblePrecedingSymbol

Method #possiblePrecedingSymbol

www/js/_hyperscript-max.js:282–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 return !this.#inTemplate() || this.#templateMode === "command";
281 }
282 #possiblePrecedingSymbol() {
283 return this.#isAlpha(this.#lastToken) || this.#isNumeric(this.#lastToken) || this.#lastToken === ")" || this.#lastToken === '"' || this.#lastToken === "'" || this.#lastToken === "`" || this.#lastToken === "}" || this.#lastToken === "]";
284 }
285 #isValidSingleQuoteStringStart() {
286 if (this.#tokens.length > 0) {
287 var prev = this.#tokens.at(-1);

Callers 1

#tokenizeMethod · 0.95

Calls 2

#isAlphaMethod · 0.95
#isNumericMethod · 0.95

Tested by

no test coverage detected