Skip to content

Instantly share code, notes, and snippets.

@bannzai
Created April 18, 2019 10:39
Show Gist options
  • Save bannzai/3efd04ec5c1612b6480124d0c95fb6bf to your computer and use it in GitHub Desktop.
Save bannzai/3efd04ec5c1612b6480124d0c95fb6bf to your computer and use it in GitHub Desktop.
Part of Ragnarok
let comma = SyntaxFactory.makeCommaToken(
trailingTrivia: [.newlines(lineBreakCount), .spaces(trailingIndent)]
)
newParamter = newParamter.withTrailingComma(comma)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment