Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(public values: ReadonlyArray>) {
this.tag = combineTagged(values);
this.length = values.length;
}
get tag(): Tag {
return combineTagged(this.references);
}
constructor(
public positional: EvaluatedPositionalArgs,
public named: EvaluatedNamedArgs,
public blocks: Blocks
) {
this.tag = combineTagged([positional, named]);
}
}
get tag(): Tag {
let tag = this._tag;
if (!tag) {
tag = this._tag = combineTagged(this.references);
}
return tag;
}
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');
}
constructor(private list: VersionedReference[]) {
this.tag = combineTagged(list);
this.list = list;
}
get tag(): Tag {
return combineTagged([this.positional, this.named]);
}
constructor(list: Reference[]) {
super();
this.tag = combineTagged(list);
this.list = list;
}