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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 11970011: Add an element for mixin applications. For now, the resolver complains about mixin applications -- … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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) 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 import 'dart:uri'; 7 import 'dart:uri';
8 8
9 import 'modelx.dart'; 9 import 'modelx.dart';
10 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
(...skipping 10 matching lines...) Expand all
21 FunctionType, 21 FunctionType,
22 SourceString, 22 SourceString,
23 Selector, 23 Selector,
24 Constant, 24 Constant,
25 Compiler; 25 Compiler;
26 26
27 import '../scanner/scannerlib.dart' show Token, 27 import '../scanner/scannerlib.dart' show Token,
28 isUserDefinableOperator, 28 isUserDefinableOperator,
29 isMinusOperator; 29 isMinusOperator;
30 30
31
32 const int STATE_NOT_STARTED = 0; 31 const int STATE_NOT_STARTED = 0;
33 const int STATE_STARTED = 1; 32 const int STATE_STARTED = 1;
34 const int STATE_DONE = 2; 33 const int STATE_DONE = 2;
35 34
36 class ElementCategory { 35 class ElementCategory {
37 /** 36 /**
38 * Represents things that we don't expect to find when looking in a 37 * Represents things that we don't expect to find when looking in a
39 * scope. 38 * scope.
40 */ 39 */
41 static const int NONE = 0; 40 static const int NONE = 0;
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 Element get annotatedElement; 750 Element get annotatedElement;
752 int get resolutionState; 751 int get resolutionState;
753 Token get beginToken; 752 Token get beginToken;
754 753
755 // TODO(kasperl): Try to get rid of these. 754 // TODO(kasperl): Try to get rid of these.
756 void set annotatedElement(Element value); 755 void set annotatedElement(Element value);
757 void set resolutionState(int value); 756 void set resolutionState(int value);
758 757
759 MetadataAnnotation ensureResolved(Compiler compiler); 758 MetadataAnnotation ensureResolved(Compiler compiler);
760 } 759 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698