(parser)
| 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() { |
no test coverage detected