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