| 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 c067f15ff2b1a3d60ca396fbf36b0f338e38e829..2f302b266e7316fc5a0d971f19e91db8b3fc2ebc 100644
|
| --- a/pkg/compiler/lib/src/elements/elements.dart
|
| +++ b/pkg/compiler/lib/src/elements/elements.dart
|
| @@ -836,10 +836,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 +900,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 provide a 'library name' for scripts to use for instance in dartdoc.
|
| + *
|
| + * Note: the returned filename is still escaped ("a%20b.dart" instead of
|
| + * "a b.dart").
|
| + */
|
| String getLibraryOrScriptName();
|
|
|
| int compareTo(LibraryElement other);
|
| @@ -1493,6 +1500,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 declaration.
|
| + int get index;
|
| +
|
| /// The [type] defined by the type variable.
|
| TypeVariableType get type;
|
|
|
|
|