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

Side by Side Diff: pkg/analyzer/lib/src/dart/ast/utilities.dart

Issue 1595243003: Move AST implementation out of generated (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 analyzer.src.generated.ast; 5 library analyzer.src.dart.ast.utilities;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/visitor.dart'; 9 import 'package:analyzer/dart/ast/visitor.dart';
10 import 'package:analyzer/dart/element/element.dart'; 10 import 'package:analyzer/dart/element/element.dart';
11 import 'package:analyzer/src/generated/ast.dart'; 11 import 'package:analyzer/src/generated/ast.dart';
12 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine; 12 import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine;
13 import 'package:analyzer/src/generated/java_core.dart'; 13 import 'package:analyzer/src/generated/java_core.dart';
14 import 'package:analyzer/src/generated/java_engine.dart'; 14 import 'package:analyzer/src/generated/java_engine.dart';
15 import 'package:analyzer/src/generated/scanner.dart'; 15 import 'package:analyzer/src/generated/scanner.dart';
(...skipping 6247 matching lines...) Expand 10 before | Expand all | Expand 10 after
6263 * Safely visit the given [token], printing the [suffix] after the token if it 6263 * Safely visit the given [token], printing the [suffix] after the token if it
6264 * is non-`null`. 6264 * is non-`null`.
6265 */ 6265 */
6266 void _visitTokenWithSuffix(Token token, String suffix) { 6266 void _visitTokenWithSuffix(Token token, String suffix) {
6267 if (token != null) { 6267 if (token != null) {
6268 _writer.print(token.lexeme); 6268 _writer.print(token.lexeme);
6269 _writer.print(suffix); 6269 _writer.print(suffix);
6270 } 6270 }
6271 } 6271 }
6272 } 6272 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698