Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
concatExpressions(encoder, context, expressions, constants);
break;
}
default:
throw new Error(
`unimplemented: Can't evaluate expression in context ${expressionContext}`
);
}
break;
}
default:
return exhausted(operation);
}
}
return compileBlockOp(context, action);
case HighLevelCompileOpcode.CompileInline:
return compileInlineOp(context, action);
case HighLevelCompileOpcode.InvokeStatic:
return invokeStatic(context.syntax, action);
case HighLevelCompileOpcode.Args:
return compileArgs(action.op1);
case HighLevelCompileOpcode.PushCompilable:
return pushCompilable(action.op1, context.syntax);
case HighLevelCompileOpcode.DynamicComponent:
return dynamicComponent(context, action);
case HighLevelCompileOpcode.IfResolvedComponent:
return ifResolvedComponent(context, action);
default:
return exhausted(action);
}
}