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

Side by Side Diff: pkg/analyzer2dart/lib/src/semantic_visitor.dart

Issue 914613002: Revert "Add sharedfrontend package" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer2dart.semantic_visitor; 5 library analyzer2dart.semantic_visitor;
6 6
7 import 'package:analyzer/analyzer.dart'; 7 import 'package:analyzer/analyzer.dart';
8 import 'package:analyzer/src/generated/source.dart'; 8 import 'package:analyzer/src/generated/source.dart';
9 import 'package:sharedfrontend/src/access_semantics.dart';
10 9
11 import 'util.dart'; 10 import 'util.dart';
12 import 'identifier_semantics.dart'; 11 import 'identifier_semantics.dart';
13 12
14 /// An AST visitor which uses the [AccessSemantics] of invocations and accesses 13 /// An AST visitor which uses the [AccessSemantics] of invocations and accesses
15 /// to fine-grain visitor methods. 14 /// to fine-grain visitor methods.
16 abstract class SemanticVisitor<R> extends RecursiveAstVisitor<R> { 15 abstract class SemanticVisitor<R> extends RecursiveAstVisitor<R> {
17 16
18 Source get currentSource; 17 Source get currentSource;
19 18
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 case AccessKind.STATIC_PROPERTY: 262 case AccessKind.STATIC_PROPERTY:
264 return visitStaticPropertyAssignment(node, semantics); 263 return visitStaticPropertyAssignment(node, semantics);
265 default: 264 default:
266 // Unexpected access kind. 265 // Unexpected access kind.
267 return giveUp(node, 266 return giveUp(node,
268 'Unexpected ${semantics} in _handlePropertyAccess.'); 267 'Unexpected ${semantics} in _handlePropertyAccess.');
269 } 268 }
270 } 269 }
271 } 270 }
272 } 271 }
OLDNEW
« no previous file with comments | « pkg/analyzer2dart/lib/src/identifier_semantics.dart ('k') | pkg/analyzer2dart/lib/src/tree_shaker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698