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

Side by Side Diff: pkg/analyzer/lib/dart/ast/syntactic_entity.dart

Issue 2486873003: Move scanner into pkg/front_end/lib/src/scanner. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/token.dart » ('j') | pkg/analyzer/lib/error/error.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.dart.ast.syntactic_entity; 5 library analyzer.dart.ast.syntactic_entity;
6 6
7 /** 7 export 'package:front_end/src/scanner/syntactic_entity.dart'
8 * Interface representing a syntactic entity (either a token or an AST node) 8 show SyntacticEntity;
9 * which has a location and extent in the source file.
10 */
11 abstract class SyntacticEntity {
12 /**
13 * Return the offset from the beginning of the file to the character after the
14 * last character of the syntactic entity.
15 */
16 int get end;
17
18 /**
19 * Return the number of characters in the syntactic entity's source range.
20 */
21 int get length;
22
23 /**
24 * Return the offset from the beginning of the file to the first character in
25 * the syntactic entity.
26 */
27 int get offset;
28 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/token.dart » ('j') | pkg/analyzer/lib/error/error.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698