(context, { target, argVals })
| 4405 | return parser.parseElement("indirectExpression", functionCall); |
| 4406 | } |
| 4407 | resolve(context, { target, argVals }) { |
| 4408 | if (this._isMethodCall) { |
| 4409 | context.meta.runtime.nullCheck(target, this._parseRoot.root); |
| 4410 | var methodName = this._parseRoot.prop.value; |
| 4411 | var func = target[methodName]; |
| 4412 | context.meta.runtime.nullCheck(func, this._parseRoot); |
| 4413 | if (func.hyperfunc) { |
| 4414 | argVals.push(context); |
| 4415 | } |
| 4416 | var result = func.apply(target, argVals); |
| 4417 | context.meta.runtime.maybeNotify(target, methodName); |
| 4418 | return result; |
| 4419 | } else { |
| 4420 | context.meta.runtime.nullCheck(target, this._parseRoot); |
| 4421 | if (target.hyperfunc) { |
| 4422 | argVals.push(context); |
| 4423 | } |
| 4424 | return target(...argVals); |
| 4425 | } |
| 4426 | } |
| 4427 | }; |
| 4428 | var AttributeRefAccess = class _AttributeRefAccess extends Expression { |
| 4429 | static grammarName = "attributeRefAccess"; |
nothing calls this directly
no test coverage detected