MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / parseEventArgs

Method parseEventArgs

tools/common/_hyperscript.iife.js:645–655  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

643 return this.programSource.split("\n")[this.startToken.line - 1];
644 }
645 static parseEventArgs(parser) {
646 var args = [];
647 if (parser.token(0).value === "(" && (parser.token(1).value === ")" || parser.token(2).value === "," || parser.token(2).value === ")")) {
648 parser.matchOpToken("(");
649 do {
650 args.push(parser.requireTokenType("IDENTIFIER"));
651 } while (parser.matchOpToken(","));
652 parser.requireOpToken(")");
653 }
654 return args;
655 }
656 };
657 var Expression = class extends ParseElement {
658 constructor() {

Callers 2

parseMethod · 0.45
parseMethod · 0.45

Calls 4

tokenMethod · 0.45
matchOpTokenMethod · 0.45
requireTokenTypeMethod · 0.45
requireOpTokenMethod · 0.45

Tested by

no test coverage detected