mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SwiftSyntaxBuilder] Add protocol conformance map
This commit is contained in:
18
utils/gyb_syntax_support/protocolsMap.py
Normal file
18
utils/gyb_syntax_support/protocolsMap.py
Normal file
@@ -0,0 +1,18 @@
|
||||
SYNTAX_BUILDABLE_EXPRESSIBLE_AS_CONFORMANCES = {
|
||||
'ExpressibleAsConditionElement': [
|
||||
'ExpressibleAsConditionElementList'
|
||||
],
|
||||
'ExpressibleAsDeclBuildable': [
|
||||
'ExpressibleAsCodeBlockItem',
|
||||
'ExpressibleAsMemberDeclListItem',
|
||||
'ExpressibleAsSyntaxBuildable'
|
||||
],
|
||||
'ExpressibleAsStmtBuildable': [
|
||||
'ExpressibleAsCodeBlockItem',
|
||||
'ExpressibleAsSyntaxBuildable'
|
||||
],
|
||||
'ExpressibleAsExprList': [
|
||||
'ExpressibleAsConditionElement',
|
||||
'ExpressibleAsSyntaxBuildable'
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user