(id:string)
| 1061 | //------------------------------------------------------- |
| 1062 | |
| 1063 | getSpanBySourceId(id:string):Span|undefined { |
| 1064 | for(let span of this.getAllSpans()) { |
| 1065 | if(span.source.id === id) return span; |
| 1066 | } |
| 1067 | } |
| 1068 | |
| 1069 | getAllSpans(type?:string):Span[] { |
| 1070 | let doc = this.cm.getDoc(); |
no test coverage detected