Skip to content

Commit bb5d42d

Browse files
committed
[Parser] Extract postfix expression suffix parsing. NFC.
1 parent ad8d5a9 commit bb5d42d

File tree

2 files changed

+231
-223
lines changed

2 files changed

+231
-223
lines changed

include/swift/Parse/Parser.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,9 @@ class Parser {
11411141
bool isForConditionalDirective = false);
11421142
ParserResult<Expr> parseExprSequenceElement(Diag<> ID,
11431143
bool isExprBasic);
1144+
ParserResult<Expr> parseExprPostfixSuffix(ParserResult<Expr> inner,
1145+
bool isExprBasic,
1146+
bool &hasBindOptional);
11441147
ParserResult<Expr> parseExprPostfix(Diag<> ID, bool isExprBasic);
11451148
ParserResult<Expr> parseExprUnary(Diag<> ID, bool isExprBasic);
11461149
ParserResult<Expr> parseExprKeyPathObjC();

0 commit comments

Comments
 (0)