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

Unified Diff: pkg/analysis_server/lib/src/computer/computer_highlights.dart

Issue 2624283003: Revert "Add support for generic function type syntax, part 1" (TBR) (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | pkg/analysis_server/lib/src/computer/computer_highlights2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/computer/computer_highlights.dart
diff --git a/pkg/analysis_server/lib/src/computer/computer_highlights.dart b/pkg/analysis_server/lib/src/computer/computer_highlights.dart
index 5768a885e10975cfe0237abf3f0ef86da8b28f8b..1214ea4c37701c8274b034a3ddeccf15690d1667 100644
--- a/pkg/analysis_server/lib/src/computer/computer_highlights.dart
+++ b/pkg/analysis_server/lib/src/computer/computer_highlights.dart
@@ -500,19 +500,6 @@ class _DartUnitHighlightsComputerVisitor extends RecursiveAstVisitor<Object> {
}
@override
- Object visitGenericFunctionType(GenericFunctionType node) {
- computer._addRegion_token(
- node.functionKeyword, HighlightRegionType.KEYWORD);
- return super.visitGenericFunctionType(node);
- }
-
- @override
- Object visitGenericTypeAlias(GenericTypeAlias node) {
- computer._addRegion_token(node.typedefKeyword, HighlightRegionType.KEYWORD);
- return super.visitGenericTypeAlias(node);
- }
-
- @override
Object visitHideCombinator(HideCombinator node) {
computer._addRegion_token(node.keyword, HighlightRegionType.BUILT_IN);
return super.visitHideCombinator(node);
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/computer/computer_highlights2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698