         }
       } else if let text = token.text {
         VariableDecl(
-          modifiers: [TokenSyntax.static.withLeadingTrivia(.newlines(1) + .docLineComment("/// The `\(text)` token") + .newlines(1))],
+          leadingTrivia: .newlines(1) + .docLineComment("/// The `\(text)` token") + .newlines(1),
+          modifiers: [TokenSyntax.static],
           letOrVarKeyword: .var
         ) {
           // We need to use `CodeBlock` here to ensure there is braces around.

      }
    }
    VariableDecl(
      modifiers: [TokenSyntax.static.withLeadingTrivia(.newlines(1) + .docLineComment("/// The `eof` token") + .newlines(1))],
      letOrVarKeyword: .var
    ) {
      // We need to use `CodeBlock` here to ensure there is braces around.

      createTokenSyntaxPatternBinding("eof", accessor: body)
    }
    VariableDecl(
      leadingTrivia: .newlines(1) + .docLineComment("/// The `open` contextual token") + .newlines(1),
      modifiers: [TokenSyntax.static],
      letOrVarKeyword: .var
    ) {
      // We need to use `CodeBlock` here to ensure there is braces around.
