     beforeMap[tok, default: []] += tokens
   }
 
+  /// If the syntax token is non-nil, enqueue the given list of formatting tokens after it in the
+  /// token stream.
   func after(_ token: TokenSyntax?, tokens: Token...) {
     after(token, tokens: tokens)
   }
 
+  /// If the syntax token is non-nil, enqueue the given list of formatting tokens after it in the
+  /// token stream.
   func after(_ token: TokenSyntax?, tokens: [Token]) {
     guard let tok = token else { return }
     for postToken in tokens {

    afterMap[tok, default: []].append(tokens)
  }

  private func insertTokens<Node: SyntaxCollection>(
    _ tokens: Token...,
    betweenElementsOf collectionNode: Node


private let rangeOperators: Set = ["...", "..<"]

/// Visits the nodes of a syntax tree and constructs a linear stream of formatting tokens that
/// tell the pretty printer how the source text should be laid out.
private final class TokenStreamCreator: SyntaxVisitor {
  private var tokens = [Token]()
  private var beforeMap = [TokenSyntax: [Token]]()
