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

Unified Diff: pkg/front_end/lib/src/fasta/parser/identifier_context.dart

Issue 2876813002: Implement generalized function types. (Closed)
Patch Set: Address comments. Created 3 years, 7 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/parser/identifier_context.dart
diff --git a/pkg/front_end/lib/src/fasta/parser/identifier_context.dart b/pkg/front_end/lib/src/fasta/parser/identifier_context.dart
index 29152efd84dcf56bf1278b91ce866b4f81fc2639..5908d9285d4823531609f01626fdf93a3f872272 100644
--- a/pkg/front_end/lib/src/fasta/parser/identifier_context.dart
+++ b/pkg/front_end/lib/src/fasta/parser/identifier_context.dart
@@ -113,6 +113,12 @@ class IdentifierContext {
inDeclaration: true,
isBuiltInIdentifierAllowed: false);
+ /// Identifier is the start of a reference to a type that starts with prefix.
+ static const prefixedTypeReference = const IdentifierContext._(
+ 'prefixedTypeReference',
+ isScopeReference: true,
+ isBuiltInIdentifierAllowed: true);
+
/// Identifier is the start of a reference to a type declared elsewhere.
static const typeReference = const IdentifierContext._('typeReference',
isScopeReference: true, isBuiltInIdentifierAllowed: false);
« no previous file with comments | « pkg/front_end/lib/src/fasta/parser.dart ('k') | pkg/front_end/lib/src/fasta/parser/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698