Skip to content

Commit 3cd5d8f

Browse files
committed
[Syntax] Add #selector and #keyPath tokens
1 parent 810bc89 commit 3cd5d8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/gyb_syntax_support/Token.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ def __init__(self, name, text):
108108
is_keyword=True),
109109
Token('PoundFunction', 'pound_function', text='#function',
110110
is_keyword=True),
111+
Token('PoundSelector', 'pound_selector', text='#selector',
112+
is_keyword=True),
113+
Token('PoundKeyPath', 'pound_keyPath', text='#keyPath',
114+
is_keyword=True),
111115
Token('Arrow', 'arrow', text='->'),
112116
Token('AtSign', 'at_sign', text='@'),
113117
Token('Colon', 'colon', text=':'),

0 commit comments

Comments
 (0)