(parser)
| 6990 | this.args = { result: expr }; |
| 6991 | } |
| 6992 | static parse(parser) { |
| 6993 | var isCall = parser.matchToken("call"); |
| 6994 | if (!isCall && !parser.matchToken("get")) return; |
| 6995 | var expr = parser.requireElement("expression"); |
| 6996 | if (isCall && expr && expr.type !== "functionCall") { |
| 6997 | parser.raiseError("Must be a function invocation"); |
| 6998 | } |
| 6999 | return new _GetCommand(expr); |
| 7000 | } |
| 7001 | resolve(context, { result }) { |
| 7002 | context.result = result; |
| 7003 | return this.findNext(context); |
nothing calls this directly
no test coverage detected