A SpanSource is the underlying representation of the span shared by the parser service and editor.
| 70 | |
| 71 | /** A SpanSource is the underlying representation of the span shared by the parser service and editor. */ |
| 72 | interface SpanSource { |
| 73 | /** One of the managed editor types (e.g. "strong") or an arbitrary other type managed by the parser service. */ |
| 74 | type: string, |
| 75 | /** The source id is the mapped token id used by the parser. */ |
| 76 | id: string |
| 77 | } |
| 78 | |
| 79 | /** A SpanMarker is a monkey-patched TextMarker that references its parent. */ |
| 80 | export interface SpanMarker extends CodeMirror.TextMarker { |
nothing calls this directly
no outgoing calls
no test coverage detected