| 186 | |
| 187 | // a class that represents a group of eslink |
| 188 | class ESLinkGroup { |
| 189 | constructor(clazz, options, mid) { |
| 190 | const color = assignedcolors[clazz]; |
| 191 | this.links = options.map( |
| 192 | (option) => new ESLink(clazz, option, mid, color), |
| 193 | ); |
| 194 | this.options = this.links.map((l) => l.option); |
| 195 | this.help = this.links.map((l) => l.help); |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | // this class represents a link (visualized by a line) between a span (option) |
| 200 | // in .command that needs to be connected to a corresponding <pre> in .help |
nothing calls this directly
no outgoing calls
no test coverage detected