Chromium Code Reviews| Index: pkg/compiler/lib/src/elements/elements.dart |
| diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart |
| index 22a0933d834218ba2a65a81db8f4e6ec875a5219..aafc5121f3051566f53194ac4f7a22b31368a9c6 100644 |
| --- a/pkg/compiler/lib/src/elements/elements.dart |
| +++ b/pkg/compiler/lib/src/elements/elements.dart |
| @@ -395,6 +395,7 @@ abstract class Element implements Entity { |
| Element get origin; |
| bool get isSynthesized; |
| + //bool get isResolved; |
|
floitsch
2015/06/26 20:54:04
remove.
Johnni Winther
2015/07/03 12:13:44
Done.
|
| bool get isMixinApplication; |
| bool get hasFixedBackendName; |
| @@ -836,10 +837,8 @@ abstract class CompilationUnitElement extends Element { |
| get enclosingElement; |
| Script get script; |
| - PartOf get partTag; |
| void forEachLocalMember(f(Element element)); |
| - bool get hasMembers; |
| int compareTo(CompilationUnitElement other); |
| } |
| @@ -902,6 +901,15 @@ abstract class LibraryElement extends Element |
| bool hasLibraryName(); |
| String getLibraryName(); |
| + |
| + /** |
| + * Returns the library name (as defined by the library tag) or for script |
| + * (which have no library tag) the script file name. The latter case is used |
| + * to private 'library name' for scripts to use for instance in dartdoc. |
|
floitsch
2015/06/26 20:54:04
sentence isn't English.
Johnni Winther
2015/07/03 12:13:44
Done.
|
| + * |
| + * Note: the returned filename will still be escaped ("a%20b.dart" instead of |
|
floitsch
2015/06/26 20:54:04
is still escaped.
Johnni Winther
2015/07/03 12:13:44
Done.
|
| + * "a b.dart"). |
| + */ |
| String getLibraryOrScriptName(); |
| int compareTo(LibraryElement other); |
| @@ -1490,6 +1498,9 @@ abstract class TypeVariableElement extends Element |
| /// The class or typedef on which this type variable is defined. |
| TypeDeclarationElement get typeDeclaration; |
| + /// The index of this type variable within its type declaraiton. |
| + int get index; |
| + |
| /// The [type] defined by the type variable. |
| TypeVariableType get type; |