(parser)
| 7386 | this.args = { result: expr }; |
| 7387 | } |
| 7388 | static parse(parser) { |
| 7389 | var isCall = parser.matchToken("call"); |
| 7390 | if (!isCall && !parser.matchToken("get")) return; |
| 7391 | var expr = parser.requireElement("expression"); |
| 7392 | if (isCall && expr && expr.type !== "functionCall") { |
| 7393 | parser.raiseError("Must be a function invocation"); |
| 7394 | } |
| 7395 | return new _GetCommand(expr); |
| 7396 | } |
| 7397 | resolve(context, { result }) { |
| 7398 | context.result = result; |
| 7399 | return this.findNext(context); |
nothing calls this directly
no test coverage detected