FileSpan? _expandSafe()

in lib/src/ast.dart [206:210]


FileSpan? _expandSafe(FileSpan? start, FileSpan? end) {
  if (start == null || end == null) return null;
  if (start.file != end.file) return null;
  return start.expand(end);
}