How to use the @glimmer/reference.combineTagged function in @glimmer/reference

To help you get started, we’ve selected a few @glimmer/reference 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 / runtime / lib / compiled / expressions / positional-args.ts View on Github external
constructor(public values: ReadonlyArray>) {
    this.tag = combineTagged(values);
    this.length = values.length;
  }
github glimmerjs / glimmer-vm / packages / @glimmer / runtime / lib / compiled / expressions / args.ts View on Github external
constructor(
    public positional: EvaluatedPositionalArgs,
    public named: EvaluatedNamedArgs,
    public blocks: Blocks
  ) {
    this.tag = combineTagged([positional, named]);
  }
}
github glimmerjs / glimmer-vm / packages / @glimmer / runtime / lib / vm / arguments.ts View on Github external
get tag(): Tag {
    let tag = this._tag;

    if (!tag) {
      tag = this._tag = combineTagged(this.references);
    }

    return tag;
  }
github glimmerjs / glimmer-vm / packages / @glimmer / runtime / lib / compiled / expressions / named-args.ts View on Github external
constructor(
    public keys: ReadonlyArray,
    public values: ReadonlyArray>,
    private _map: Option>> = null
  ) {
    this.tag = combineTagged(values);
    this.length = keys.length;
    assert(keys.length === values.length, 'Keys and values do not have the same length');
  }
github glimmerjs / glimmer-vm / packages / @glimmer / runtime / lib / compiled / opcodes / component.ts View on Github external
constructor(private list: VersionedReference[]) {
    this.tag = combineTagged(list);
    this.list = list;
  }
github glimmerjs / glimmer-vm / packages / @glimmer / runtime / lib / vm / arguments.ts View on Github external
get tag(): Tag {
    return combineTagged([this.positional, this.named]);
  }
github glimmerjs / glimmer-vm / packages / @glimmer / runtime / lib / compiled / opcodes / dom.ts View on Github external
constructor(list: Reference[]) {
    super();
    this.tag = combineTagged(list);
    this.list = list;
  }