mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add more types in protocol map
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
SYNTAX_BUILDABLE_EXPRESSIBLE_AS_CONFORMANCES = {
|
||||
'AccessorList': [
|
||||
'AccessorBlock'
|
||||
],
|
||||
'CodeBlockItemList': [
|
||||
'CodeBlock'
|
||||
],
|
||||
'DeclBuildable': [
|
||||
'CodeBlockItem',
|
||||
'MemberDeclListItem',
|
||||
@@ -14,6 +20,15 @@ SYNTAX_BUILDABLE_EXPRESSIBLE_AS_CONFORMANCES = {
|
||||
'MemberDeclList': [
|
||||
'MemberDeclBlock'
|
||||
],
|
||||
'FunctionCallExpr': [
|
||||
'CodeBlockItem',
|
||||
'ExprBuildable'
|
||||
],
|
||||
'SequenceExpr': [
|
||||
'CodeBlockItem',
|
||||
'ExprBuildable',
|
||||
'TupleExprElement'
|
||||
],
|
||||
'SimpleTypeIdentifier': [
|
||||
'TypeAnnotation',
|
||||
'TypeBuildable',
|
||||
@@ -24,6 +39,7 @@ SYNTAX_BUILDABLE_EXPRESSIBLE_AS_CONFORMANCES = {
|
||||
'SyntaxBuildable'
|
||||
],
|
||||
'TokenSyntax': [
|
||||
'BinaryOperatorExpr'
|
||||
'BinaryOperatorExpr',
|
||||
'DeclModifier'
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user