@@ -315,3 +315,228 @@ public extension EditorPlaceholderDeclSyntax {
315315 )
316316 }
317317}
318+
319+ public extension AvailabilityConditionSyntax {
320+ @available ( * , deprecated, renamed: " unexpectedBetweenLeftParenAndAvailabilitySpecs " )
321+ var unexpectedBetweenLeftParenAndAvailabilitySpec : UnexpectedNodesSyntax ? {
322+ get { unexpectedBetweenLeftParenAndAvailabilitySpecs }
323+ set { unexpectedBetweenLeftParenAndAvailabilitySpecs = newValue }
324+ }
325+
326+ @available ( * , deprecated, renamed: " availabilitySpecs " )
327+ var availabilitySpec : AvailabilitySpecListSyntax {
328+ get { availabilitySpecs }
329+ set { availabilitySpecs = newValue }
330+ }
331+
332+ @available ( * , deprecated, renamed: " unexpectedBetweenAvailabilitySpecsAndRightParen " )
333+ var unexpectedBetweenAvailabilitySpecAndRightParen : UnexpectedNodesSyntax ? {
334+ get { unexpectedBetweenAvailabilitySpecsAndRightParen }
335+ set { unexpectedBetweenAvailabilitySpecsAndRightParen = newValue }
336+ }
337+
338+ @available ( * , deprecated, message: " Use an initializer with an availabilitySpecs argument " )
339+ init (
340+ leadingTrivia: Trivia ? = nil ,
341+ _ unexpectedBeforeAvailabilityKeyword: UnexpectedNodesSyntax ? = nil ,
342+ availabilityKeyword: TokenSyntax ,
343+ _ unexpectedBetweenAvailabilityKeywordAndLeftParen: UnexpectedNodesSyntax ? = nil ,
344+ leftParen: TokenSyntax = . leftParenToken( ) ,
345+ _ unexpectedBetweenLeftParenAndAvailabilitySpec: UnexpectedNodesSyntax ? = nil ,
346+ availabilitySpec: AvailabilitySpecListSyntax ,
347+ _ unexpectedBetweenAvailabilitySpecAndRightParen: UnexpectedNodesSyntax ? = nil ,
348+ rightParen: TokenSyntax = . rightParenToken( ) ,
349+ _ unexpectedAfterRightParen: UnexpectedNodesSyntax ? = nil ,
350+ trailingTrivia: Trivia ? = nil
351+ ) {
352+ self . init (
353+ leadingTrivia: leadingTrivia,
354+ unexpectedBeforeAvailabilityKeyword,
355+ availabilityKeyword: availabilityKeyword,
356+ unexpectedBetweenAvailabilityKeywordAndLeftParen,
357+ leftParen: leftParen,
358+ unexpectedBetweenLeftParenAndAvailabilitySpec,
359+ availabilitySpecs: availabilitySpec,
360+ unexpectedBetweenAvailabilitySpecAndRightParen,
361+ rightParen: rightParen,
362+ unexpectedAfterRightParen,
363+ trailingTrivia: trailingTrivia
364+ )
365+ }
366+ }
367+
368+ public extension AvailabilityEntrySyntax {
369+ @available ( * , deprecated, renamed: " unexpectedBetweenColonAndAvailabilitySpecs " )
370+ var unexpectedBetweenColonAndAvailabilityList : UnexpectedNodesSyntax ? {
371+ get { unexpectedBetweenColonAndAvailabilitySpecs }
372+ set { unexpectedBetweenColonAndAvailabilitySpecs = newValue }
373+ }
374+
375+ @available ( * , deprecated, renamed: " availabilitySpecs " )
376+ var availabilityList : AvailabilitySpecListSyntax {
377+ get { availabilitySpecs }
378+ set { availabilitySpecs = newValue }
379+ }
380+
381+ @available ( * , deprecated, renamed: " unexpectedBetweenAvailabilitySpecsAndSemicolon " )
382+ var unexpectedBetweenAvailabilityListAndSemicolon : UnexpectedNodesSyntax ? {
383+ get { unexpectedBetweenAvailabilitySpecsAndSemicolon }
384+ set { unexpectedBetweenAvailabilitySpecsAndSemicolon = newValue }
385+ }
386+
387+ /// Adds the provided `element` to the node's `availabilityList`
388+ /// collection.
389+ /// - param element: The new `Availability` to add to the node's
390+ /// `availabilityList` collection.
391+ /// - returns: A copy of the receiver with the provided `Availability`
392+ /// appended to its `availabilityList` collection.
393+ @available ( * , deprecated, renamed: " addAvailabilityArgument " )
394+ func addAvailability( _ element: AvailabilityArgumentSyntax ) -> AvailabilityEntrySyntax {
395+ addAvailabilityArgument ( element)
396+ }
397+
398+ @available ( * , deprecated, message: " Use an initializer with an availabilitySpecs argument " )
399+ init (
400+ leadingTrivia: Trivia ? = nil ,
401+ _ unexpectedBeforeLabel: UnexpectedNodesSyntax ? = nil ,
402+ label: TokenSyntax = . keyword( . availability) ,
403+ _ unexpectedBetweenLabelAndColon: UnexpectedNodesSyntax ? = nil ,
404+ colon: TokenSyntax = . colonToken( ) ,
405+ _ unexpectedBetweenColonAndAvailabilityList: UnexpectedNodesSyntax ? = nil ,
406+ availabilityList: AvailabilitySpecListSyntax ,
407+ _ unexpectedBetweenAvailabilityListAndSemicolon: UnexpectedNodesSyntax ? = nil ,
408+ semicolon: TokenSyntax = . semicolonToken( ) ,
409+ _ unexpectedAfterSemicolon: UnexpectedNodesSyntax ? = nil ,
410+ trailingTrivia: Trivia ? = nil
411+ ) {
412+ self . init (
413+ leadingTrivia: leadingTrivia,
414+ unexpectedBeforeLabel,
415+ label: label,
416+ unexpectedBetweenLabelAndColon,
417+ colon: colon,
418+ unexpectedBetweenColonAndAvailabilityList,
419+ availabilitySpecs: availabilityList,
420+ unexpectedBetweenAvailabilityListAndSemicolon,
421+ semicolon: semicolon,
422+ unexpectedAfterSemicolon,
423+ trailingTrivia: trailingTrivia
424+ )
425+ }
426+ }
427+
428+ public extension BackDeployedAttributeSpecListSyntax {
429+ @available ( * , deprecated, renamed: " unexpectedBetweenColonAndPlatforms " )
430+ var unexpectedBetweenColonAndVersionList : UnexpectedNodesSyntax ? {
431+ get { unexpectedBetweenColonAndPlatforms }
432+ set { unexpectedBetweenColonAndPlatforms = newValue }
433+ }
434+
435+ @available ( * , deprecated, renamed: " platforms " )
436+ var versionList : AvailabilityVersionRestrictionListSyntax {
437+ get { platforms }
438+ set { platforms = newValue }
439+ }
440+
441+ @available ( * , deprecated, renamed: " unexpectedAfterPlatforms " )
442+ var unexpectedAfterVersionList : UnexpectedNodesSyntax ? {
443+ get { unexpectedAfterPlatforms }
444+ set { unexpectedAfterPlatforms = newValue }
445+ }
446+
447+ /// Adds the provided `element` to the node's `versionList`
448+ /// collection.
449+ /// - param element: The new `Availability` to add to the node's
450+ /// `versionList` collection.
451+ /// - returns: A copy of the receiver with the provided `Availability`
452+ /// appended to its `versionList` collection.
453+ @available ( * , deprecated, renamed: " addPlatform " )
454+ func addAvailability( _ element: AvailabilityVersionRestrictionListEntrySyntax ) -> BackDeployedAttributeSpecListSyntax {
455+ addPlatform ( element)
456+ }
457+
458+ @available ( * , deprecated, message: " Use an initializer with a platforms argument " )
459+ init (
460+ leadingTrivia: Trivia ? = nil ,
461+ _ unexpectedBeforeBeforeLabel: UnexpectedNodesSyntax ? = nil ,
462+ beforeLabel: TokenSyntax = . keyword( . before) ,
463+ _ unexpectedBetweenBeforeLabelAndColon: UnexpectedNodesSyntax ? = nil ,
464+ colon: TokenSyntax = . colonToken( ) ,
465+ _ unexpectedBetweenColonAndVersionList: UnexpectedNodesSyntax ? = nil ,
466+ versionList: AvailabilityVersionRestrictionListSyntax ,
467+ _ unexpectedAfterVersionList: UnexpectedNodesSyntax ? = nil ,
468+ trailingTrivia: Trivia ? = nil
469+ ) {
470+ self . init (
471+ leadingTrivia: leadingTrivia,
472+ unexpectedBeforeBeforeLabel,
473+ beforeLabel: beforeLabel,
474+ unexpectedBetweenBeforeLabelAndColon,
475+ colon: colon,
476+ unexpectedBetweenColonAndVersionList,
477+ platforms: versionList,
478+ unexpectedAfterVersionList,
479+ trailingTrivia: trailingTrivia
480+ )
481+ }
482+ }
483+
484+ public extension GenericParameterClauseSyntax {
485+ @available ( * , deprecated, renamed: " unexpectedBetweenLeftAngleBracketAndParameters " )
486+ var unexpectedBetweenLeftAngleBracketAndGenericParameterList : UnexpectedNodesSyntax ? {
487+ get { unexpectedBetweenLeftAngleBracketAndParameters }
488+ set { unexpectedBetweenLeftAngleBracketAndParameters = newValue }
489+ }
490+
491+ @available ( * , deprecated, renamed: " parameters " )
492+ var genericParameterList : GenericParameterListSyntax {
493+ get { parameters }
494+ set { parameters = newValue }
495+ }
496+
497+ @available ( * , deprecated, renamed: " unexpectedBetweenParametersAndGenericWhereClause " )
498+ var unexpectedBetweenGenericParameterListAndGenericWhereClause : UnexpectedNodesSyntax ? {
499+ get { unexpectedBetweenParametersAndGenericWhereClause }
500+ set { unexpectedBetweenParametersAndGenericWhereClause = newValue }
501+ }
502+
503+ /// Adds the provided `element` to the node's `genericParameterList`
504+ /// collection.
505+ /// - param element: The new `GenericParameter` to add to the node's
506+ /// `genericParameterList` collection.
507+ /// - returns: A copy of the receiver with the provided `GenericParameter`
508+ /// appended to its `genericParameterList` collection.
509+ @available ( * , deprecated, renamed: " addParameter " )
510+ func addGenericParameter( _ element: GenericParameterSyntax ) -> GenericParameterClauseSyntax {
511+ addParameter ( element)
512+ }
513+
514+ @available ( * , deprecated, message: " Use an initializer with a parameters argument " )
515+ init (
516+ leadingTrivia: Trivia ? = nil ,
517+ _ unexpectedBeforeLeftAngleBracket: UnexpectedNodesSyntax ? = nil ,
518+ leftAngleBracket: TokenSyntax = . leftAngleToken( ) ,
519+ _ unexpectedBetweenLeftAngleBracketAndGenericParameterList: UnexpectedNodesSyntax ? = nil ,
520+ genericParameterList: GenericParameterListSyntax ,
521+ _ unexpectedBetweenGenericParameterListAndGenericWhereClause: UnexpectedNodesSyntax ? = nil ,
522+ genericWhereClause: GenericWhereClauseSyntax ? = nil ,
523+ _ unexpectedBetweenGenericWhereClauseAndRightAngleBracket: UnexpectedNodesSyntax ? = nil ,
524+ rightAngleBracket: TokenSyntax = . rightAngleToken( ) ,
525+ _ unexpectedAfterRightAngleBracket: UnexpectedNodesSyntax ? = nil ,
526+ trailingTrivia: Trivia ? = nil
527+ ) {
528+ self . init (
529+ leadingTrivia: leadingTrivia,
530+ unexpectedBeforeLeftAngleBracket,
531+ leftAngleBracket: leftAngleBracket,
532+ unexpectedBetweenLeftAngleBracketAndGenericParameterList,
533+ parameters: genericParameterList,
534+ unexpectedBetweenGenericParameterListAndGenericWhereClause,
535+ genericWhereClause: genericWhereClause,
536+ unexpectedBetweenGenericWhereClauseAndRightAngleBracket,
537+ rightAngleBracket: rightAngleBracket,
538+ unexpectedAfterRightAngleBracket,
539+ trailingTrivia: trailingTrivia
540+ )
541+ }
542+ }
0 commit comments