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

Side by Side Diff: pkg/analyzer/lib/src/generated/element.dart

Issue 1008433002: Task: Build Directive Elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.element; 8 library engine.element;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 3614 matching lines...) Expand 10 before | Expand all | Expand 10 after
3625 */ 3625 */
3626 LibraryElement exportedLibrary; 3626 LibraryElement exportedLibrary;
3627 3627
3628 /** 3628 /**
3629 * The combinators that were specified as part of the export directive in the 3629 * The combinators that were specified as part of the export directive in the
3630 * order in which they were specified. 3630 * order in which they were specified.
3631 */ 3631 */
3632 List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_ARRAY; 3632 List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_ARRAY;
3633 3633
3634 /** 3634 /**
3635 * Initialize a newly created export element. 3635 * Initialize a newly created export element at the given [offset].
3636 */ 3636 */
3637 ExportElementImpl() : super(null, -1); 3637 ExportElementImpl(int offset) : super(null, offset);
3638 3638
3639 @override 3639 @override
3640 String get identifier => exportedLibrary.name; 3640 String get identifier => exportedLibrary.name;
3641 3641
3642 @override 3642 @override
3643 ElementKind get kind => ElementKind.EXPORT; 3643 ElementKind get kind => ElementKind.EXPORT;
3644 3644
3645 @override 3645 @override
3646 accept(ElementVisitor visitor) => visitor.visitExportElement(this); 3646 accept(ElementVisitor visitor) => visitor.visitExportElement(this);
3647 3647
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
5431 */ 5431 */
5432 List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_ARRAY; 5432 List<NamespaceCombinator> combinators = NamespaceCombinator.EMPTY_ARRAY;
5433 5433
5434 /** 5434 /**
5435 * The prefix that was specified as part of the import directive, or `null` if 5435 * The prefix that was specified as part of the import directive, or `null` if
5436 * there was no prefix specified. 5436 * there was no prefix specified.
5437 */ 5437 */
5438 PrefixElement prefix; 5438 PrefixElement prefix;
5439 5439
5440 /** 5440 /**
5441 * Initialize a newly created import element at the given [offset]. The offset 5441 * Initialize a newly created import element at the given [offset].
5442 * may be `-1` if the import is synthetic. 5442 * The offset may be `-1` if the import is synthetic.
5443 */ 5443 */
5444 ImportElementImpl(int offset) : super(null, offset); 5444 ImportElementImpl(int offset) : super(null, offset);
5445 5445
5446 /** 5446 /**
5447 * Set whether this import is for a deferred library. 5447 * Set whether this import is for a deferred library.
5448 */ 5448 */
5449 void set deferred(bool isDeferred) { 5449 void set deferred(bool isDeferred) {
5450 setModifier(Modifier.DEFERRED, isDeferred); 5450 setModifier(Modifier.DEFERRED, isDeferred);
5451 } 5451 }
5452 5452
(...skipping 4970 matching lines...) Expand 10 before | Expand all | Expand 10 after
10423 // void <: void (by reflexivity) 10423 // void <: void (by reflexivity)
10424 // bottom <: void (as bottom is a subtype of all types). 10424 // bottom <: void (as bottom is a subtype of all types).
10425 // void <: dynamic (as dynamic is a supertype of all types) 10425 // void <: dynamic (as dynamic is a supertype of all types)
10426 return identical(type, this) || type.isDynamic; 10426 return identical(type, this) || type.isDynamic;
10427 } 10427 }
10428 10428
10429 @override 10429 @override
10430 VoidTypeImpl substitute2( 10430 VoidTypeImpl substitute2(
10431 List<DartType> argumentTypes, List<DartType> parameterTypes) => this; 10431 List<DartType> argumentTypes, List<DartType> parameterTypes) => this;
10432 } 10432 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | pkg/analyzer/lib/src/task/dart.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698