({ type, cfiRange, data, sectionIndex, cb, className, styles })
| 210 | */ |
| 211 | class Annotation { |
| 212 | constructor({ type, cfiRange, data, sectionIndex, cb, className, styles }) { |
| 213 | this.type = type |
| 214 | this.cfiRange = cfiRange |
| 215 | this.data = data |
| 216 | this.sectionIndex = sectionIndex |
| 217 | this.mark = undefined |
| 218 | this.cb = cb |
| 219 | this.className = className |
| 220 | this.styles = styles |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * Update stored data |
nothing calls this directly
no outgoing calls
no test coverage detected