(context, { target, argVals })
| 4098 | return parser.parseElement("indirectExpression", functionCall); |
| 4099 | } |
| 4100 | resolve(context, { target, argVals }) { |
| 4101 | if (this._isMethodCall) { |
| 4102 | context.meta.runtime.nullCheck(target, this._parseRoot.root); |
| 4103 | var methodName = this._parseRoot.prop.value; |
| 4104 | var func = target[methodName]; |
| 4105 | context.meta.runtime.nullCheck(func, this._parseRoot); |
| 4106 | if (func.hyperfunc) { |
| 4107 | argVals.push(context); |
| 4108 | } |
| 4109 | var result = func.apply(target, argVals); |
| 4110 | context.meta.runtime.maybeNotify(target, methodName); |
| 4111 | return result; |
| 4112 | } else { |
| 4113 | context.meta.runtime.nullCheck(target, this._parseRoot); |
| 4114 | if (target.hyperfunc) { |
| 4115 | argVals.push(context); |
| 4116 | } |
| 4117 | return target(...argVals); |
| 4118 | } |
| 4119 | } |
| 4120 | }; |
| 4121 | var AttributeRefAccess = class _AttributeRefAccess extends Expression { |
| 4122 | static grammarName = "attributeRefAccess"; |
nothing calls this directly
no test coverage detected