(parser)
| 23 | return this.programSource.split("\n")[this.startToken.line - 1]; |
| 24 | } |
| 25 | static parseEventArgs(parser) { |
| 26 | var args = []; |
| 27 | if (parser.token(0).value === "(" && (parser.token(1).value === ")" || parser.token(2).value === "," || parser.token(2).value === ")")) { |
| 28 | parser.matchOpToken("("); |
| 29 | do { |
| 30 | args.push(parser.requireTokenType("IDENTIFIER")); |
| 31 | } while (parser.matchOpToken(",")); |
| 32 | parser.requireOpToken(")"); |
| 33 | } |
| 34 | return args; |
| 35 | } |
| 36 | }; |
| 37 | var Feature = class extends ParseElement { |
| 38 | isFeature = true; |
nothing calls this directly
no test coverage detected