You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run.setExpression(CallExpression,(expr,provider)=>{consttraverser=getPathTraverser(provider,expr.path);constgetScope: LiveCommand=objectMap(expr.scope,(s)=>provider.getCommand(s));constscopeVars=Object.keys(getScope);return(context)=>{if(shouldReturn(provider,context))return;returnpreserveScope(run,context,scopeVars,()=>{scopeVars.forEach((scopeVar)=>{context[scopeVar]=getScope[scopeVar](context);});const{ end, value }=traverser(context);returnend ? value : undefined;});};});
The text was updated successfully, but these errors were encountered:
Introduces "callables" which is a function with named arguments that calls another expression.
Usage
Resolves #114
Runtime Implementation
The text was updated successfully, but these errors were encountered: