Skip to content

Commit 2f5b638

Browse files
committed
[Syntax] Update declaration modifiers list.
1 parent d1c7c72 commit 2f5b638

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/gyb_syntax_support/DeclNodes.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@
171171
'required', 'static', 'unowned', 'weak', 'private',
172172
'fileprivate', 'internal', 'public', 'open',
173173
'mutating', 'nonmutating', 'indirect', '__consuming',
174-
'actor', 'async', 'distributed'
174+
'actor', 'async', 'distributed', 'isolated',
175+
'nonisolated', '_const', '_local'
175176
]),
176177
Child('DetailLeftParen', kind='LeftParenToken', is_optional=True),
177178
Child('Detail', kind='IdentifierToken', is_optional=True),
@@ -391,10 +392,13 @@
391392
# | mutation-modifier
392393
# | 'class'
393394
# | 'convenience'
395+
# | 'distributed'
394396
# | 'dynamic'
395397
# | 'final'
396398
# | 'infix'
399+
# | 'isolated'
397400
# | 'lazy'
401+
# | 'nonisolated'
398402
# | 'optional'
399403
# | 'override'
400404
# | 'postfix'

0 commit comments

Comments
 (0)