Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: pkg/front_end/lib/src/fasta/parser/parser.md

Issue 2958073002: Remove all type-related peeking. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/parser/parser.md
diff --git a/pkg/front_end/lib/src/fasta/parser/parser.md b/pkg/front_end/lib/src/fasta/parser/parser.md
index de6b27388e9756775c3a7fabc3ae2c9245b9a25f..15a08a534db05b239981e79cad849b244b350800 100644
--- a/pkg/front_end/lib/src/fasta/parser/parser.md
+++ b/pkg/front_end/lib/src/fasta/parser/parser.md
@@ -9,21 +9,6 @@ BSD-style license that can be found in the LICENSE file.
* In parseType, the parser uses peekAfterIfType to tell the difference
between `id` and `id id`.
- * In parseExpressionStatementOrDeclaration, the parser uses
- peekIdentifierAfterType to select between an expression statement or a
- local (function or variable) declaration.
-
- * In parseExpressionStatementOrConstDeclaration, the parser uses
- peekIdentifierAfterOptionalType to select between an expression statement
- and a const local variable.
-
- * In parseSendOrFunctionLiteral, the parser uses peekAfterIfType to select
- between function expression and send.
-
- * In parseVariablesDeclarationOrExpressionOpt, the parser uses
- peekIdentifierAfterType to select between local variable declarations or an
- expression.
-
* In parseSwitchCase, the parser uses peekPastLabels to select between case
labels and statement labels.

Powered by Google App Engine
This is Rietveld 408576698