Skip to content

Commit 030e129

Browse files
committed
Add more types in protocol map
1 parent 22c6f9f commit 030e129

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

utils/gyb_syntax_support/protocolsMap.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
SYNTAX_BUILDABLE_EXPRESSIBLE_AS_CONFORMANCES = {
2+
'AccessorList': [
3+
'AccessorBlock'
4+
],
5+
'CodeBlockItemList': [
6+
'CodeBlock'
7+
],
28
'DeclBuildable': [
39
'CodeBlockItem',
410
'MemberDeclListItem',
@@ -14,6 +20,15 @@
1420
'MemberDeclList': [
1521
'MemberDeclBlock'
1622
],
23+
'FunctionCallExpr': [
24+
'CodeBlockItem',
25+
'ExprBuildable'
26+
],
27+
'SequenceExpr': [
28+
'CodeBlockItem',
29+
'ExprBuildable',
30+
'TupleExprElement'
31+
],
1732
'SimpleTypeIdentifier': [
1833
'TypeAnnotation',
1934
'TypeBuildable',
@@ -24,6 +39,7 @@
2439
'SyntaxBuildable'
2540
],
2641
'TokenSyntax': [
27-
'BinaryOperatorExpr'
42+
'BinaryOperatorExpr',
43+
'DeclModifier'
2844
]
2945
}

0 commit comments

Comments
 (0)