How to use the @glimmer/vm.Register.s0 function in @glimmer/vm

To help you get started, we’ve selected a few @glimmer/vm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github glimmerjs / glimmer-vm / packages / @glimmer / opcode-compiler / lib / syntax.ts View on Github external
CLIENT_SIDE.add(ClientSide.Ops.DidCreateElement, (_sexp: ClientSide.DidCreateElement, builder: OpcodeBuilder) => {
  builder.didCreateElement(Register.s0);
});
github glimmerjs / glimmer-vm / packages / @glimmer / opcode-compiler / lib / syntax.ts View on Github external
(_sexp: ClientSide.DidRenderLayout, builder: OpcodeBuilder) => {
      builder.didRenderLayout(Register.s0);
    }
  );
github glimmerjs / glimmer-vm / packages / @glimmer / opcode-compiler / lib / syntax.ts View on Github external
(_sexp: ClientSide.DidCreateElement, builder: OpcodeBuilder) => {
      builder.didCreateElement(Register.s0);
    }
  );
github glimmerjs / glimmer-vm / packages / @glimmer / opcode-compiler / lib / syntax.ts View on Github external
STATEMENTS.add(Ops.AttrSplat, (sexp: WireFormat.Statements.AttrSplat, builder: OpcodeBuilder) => {
  let [, to] = sexp;

  builder.yield(to, []);
  builder.didCreateElement(Register.s0);
  builder.setComponentAttrs(false);
});