(variable, orValue?)
| 90 | } |
| 91 | |
| 92 | getGroup(variable, orValue?) { |
| 93 | let group = this.variableToGroup[variable.name]; |
| 94 | if(group === undefined) { |
| 95 | group = this.setGroup(variable, orValue !== undefined ? orValue : this.groupIx++); |
| 96 | } |
| 97 | return group; |
| 98 | } |
| 99 | |
| 100 | hasVariable(variable) { |
| 101 | return this.variableToGroup[variable.name] !== undefined; |
no test coverage detected