Add more types in protocol map

This commit is contained in:
Kim de Vos
2021-11-03 10:01:08 +01:00
parent 22c6f9fb2c
commit 030e129fd6

View File

@@ -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'
]
}