You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Creates an `EnumCaseParameterSyntax` with a `firstName`, and automatically adds a `colon` to it.
52
+
///
53
+
/// - Parameters:
54
+
/// - leadingTrivia: Trivia to be prepended to the leading trivia of the node’s first token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
55
+
/// - colon: If the parameter has a label, the colon separating the label from the type. SInce `firstName` is not nil, the default `colon` will be set to `TokenSyntax.colonToken()`.
56
+
/// - type: The parameter's type.
57
+
/// - defaultValue: If the parameter has a default value, the initializer clause describing the default value.
58
+
/// - trailingComma: If the parameter is followed by another parameter, the comma separating them.
59
+
/// - trailingTrivia: Trivia to be appended to the trailing trivia of the node’s last token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
0 commit comments