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/compiler/lib/src/elements/elements.dart

Issue 1139693002: Compute better names for source maps. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/io/source_information.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 elements; 5 library elements;
6 6
7 7
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../tree/tree.dart'; 9 import '../tree/tree.dart';
10 import '../util/util.dart'; 10 import '../util/util.dart';
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 /// context. 985 /// context.
986 abstract class MemberElement extends Element implements ExecutableElement { 986 abstract class MemberElement extends Element implements ExecutableElement {
987 /// The local functions defined within this member. 987 /// The local functions defined within this member.
988 List<FunctionElement> get nestedClosures; 988 List<FunctionElement> get nestedClosures;
989 989
990 /// The name of this member taking privacy into account. 990 /// The name of this member taking privacy into account.
991 Name get memberName; 991 Name get memberName;
992 } 992 }
993 993
994 /// A function, variable or parameter defined in an executable context. 994 /// A function, variable or parameter defined in an executable context.
995 abstract class LocalElement extends Element implements TypedElement, Local { 995 abstract class LocalElement extends Element
996 implements AstElement, TypedElement, Local {
996 } 997 }
997 998
998 /// A top level, static or instance field, a formal parameter or local variable. 999 /// A top level, static or instance field, a formal parameter or local variable.
999 abstract class VariableElement extends ExecutableElement { 1000 abstract class VariableElement extends ExecutableElement {
1000 Expression get initializer; 1001 Expression get initializer;
1001 } 1002 }
1002 1003
1003 /// An entity that defines a local entity (memory slot) in generated code. 1004 /// An entity that defines a local entity (memory slot) in generated code.
1004 /// 1005 ///
1005 /// Parameters, local variables and local functions (can) define local entity 1006 /// Parameters, local variables and local functions (can) define local entity
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 bool get isDeclaredByField; 1633 bool get isDeclaredByField;
1633 1634
1634 /// Returns `true` if this member is abstract. 1635 /// Returns `true` if this member is abstract.
1635 bool get isAbstract; 1636 bool get isAbstract;
1636 1637
1637 /// If abstract, [implementation] points to the overridden concrete member, 1638 /// If abstract, [implementation] points to the overridden concrete member,
1638 /// if any. Otherwise [implementation] points to the member itself. 1639 /// if any. Otherwise [implementation] points to the member itself.
1639 Member get implementation; 1640 Member get implementation;
1640 } 1641 }
1641 1642
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/io/source_information.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698