mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Syntax] Parse "super" and its postfix expressions
This commit is contained in:
@@ -50,6 +50,12 @@ EXPR_NODES = [
|
||||
Child('Identifier', kind='IdentifierToken'),
|
||||
]),
|
||||
|
||||
# An 'super' expression.
|
||||
Node('SuperRefExpr', kind='Expr',
|
||||
children=[
|
||||
Child('SuperKeyword', kind='SuperToken'),
|
||||
]),
|
||||
|
||||
# A nil expression.
|
||||
Node('NilLiteralExpr', kind='Expr',
|
||||
children=[
|
||||
|
||||
Reference in New Issue
Block a user