dtd_service library

Classes

DtdService
Manages the DTD connection and service registration for source navigation.

Functions

decodeGoToSourceRequest(String json) → (List<SourceFrame>, int)
Decode a goToSource request from a JSON string.
encodeGoToSourceRequest(List<SourceFrame> frames, {int index = 0}) → String
Encode a goToSource request as a JSON string for stdio transport.

Typedefs

GoToSourceCallback = Future<void> Function(List<SourceFrame> frames, {int startIndex})
Callback invoked when the DTD service receives a goToSource request.