(id: string, strata: BlockStratum[], outputs: any[], exclusive?: boolean)
| 541 | exclusive: boolean; |
| 542 | constantReturn: boolean; |
| 543 | constructor(id: string, strata: BlockStratum[], outputs: any[], exclusive?: boolean) { |
| 544 | this.id = id; |
| 545 | this.strata = strata; |
| 546 | this.outputs = outputs; |
| 547 | this.exclusive = exclusive; |
| 548 | this.variables = []; |
| 549 | this.constantReturn = true; |
| 550 | scansToVars(strata, this.variables); |
| 551 | for(let output of outputs) { |
| 552 | if(isVariable(output)) { |
| 553 | this.constantReturn = false; |
| 554 | this.variables[output.id] = output; |
| 555 | } |
| 556 | } |
| 557 | this.prefix = []; |
| 558 | } |
| 559 | resolve(prefix) { |
| 560 | return resolve(this.variables, prefix, this.prefix); |
| 561 | } |
nothing calls this directly
no test coverage detected