We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7888f commit 03553e8Copy full SHA for 03553e8
Sources/SwiftParser/Lookahead.swift
@@ -274,6 +274,12 @@ extension Parser.Lookahead {
274
var lookahead = self.lookahead()
275
lookahead.eat(.leftBrace)
276
277
+ // '@_accessorBlock' is a builtin disambiguation marker.
278
+ if lookahead.peek(isAt: .identifier),
279
+ lookahead.peek().tokenText == "_accessorBlock" {
280
+ return true;
281
+ }
282
+
283
// Eat attributes, if present.
284
while lookahead.consume(if: .atSign) != nil {
285
guard lookahead.consume(if: .identifier) != nil else {
0 commit comments