Files
swift-mirror/utils/gyb_syntax_support/protocolsMap.py
Alex Hoppen dd1e6cdf2f [SwiftSyntax] Replace ExpressibleAs protocols by ExpressibleBy protocols
The protocols in the standard library are called `ExpressibleBy*` and SwiftSyntax should follow the same naming convention.
2021-11-15 11:03:10 +01:00

19 lines
541 B
Python

SYNTAX_BUILDABLE_EXPRESSIBLE_BY_CONFORMANCES = {
'ExpressibleByConditionElement': [
'ExpressibleByConditionElementList'
],
'ExpressibleByDeclBuildable': [
'ExpressibleByCodeBlockItem',
'ExpressibleByMemberDeclListItem',
'ExpressibleBySyntaxBuildable'
],
'ExpressibleByStmtBuildable': [
'ExpressibleByCodeBlockItem',
'ExpressibleBySyntaxBuildable'
],
'ExpressibleByExprList': [
'ExpressibleByConditionElement',
'ExpressibleBySyntaxBuildable'
]
}