spanWithoutContent property

FileSpan spanWithoutContent

Returns this include's span, without its content block (if it has one).

Implementation

FileSpan get spanWithoutContent => content == null
    ? span
    : span.file.span(span.start.offset, arguments.span.end.offset).trim();