InlineSpanVisitor typedef
Called on each span as InlineSpan.visitChildren walks the InlineSpan tree.
Returns true when the walk should continue, and false to stop visiting further InlineSpans.
Implementation
typedef InlineSpanVisitor = bool Function(InlineSpan span);