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

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

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 4 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library analyzer.dart.ast.syntactic_entity;
6
7 /**
8 * Interface representing a syntactic entity (either a token or an AST node)
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 | « packages/analyzer/lib/dart/ast/standard_resolution_map.dart ('k') | packages/analyzer/lib/dart/ast/token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698