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

Unified Diff: pkg/compiler/lib/src/resolution/send_structure.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_resolver.dart ('k') | pkg/compiler/lib/src/resolution/signatures.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/send_structure.dart
diff --git a/pkg/compiler/lib/src/resolution/send_structure.dart b/pkg/compiler/lib/src/resolution/send_structure.dart
index 7a3ec2540d702f36f4d8db683db2cf4f9b0eb0ce..6f9d97fb0ef705d21bd6a0644389850814c38931 100644
--- a/pkg/compiler/lib/src/resolution/send_structure.dart
+++ b/pkg/compiler/lib/src/resolution/send_structure.dart
@@ -112,7 +112,7 @@ class LogicalOrStructure<R, A> implements SendStructure<R, A> {
/// The structure for a [Send] of the form `a is T`.
class IsStructure<R, A> implements SendStructure<R, A> {
/// The type that the expression is tested against.
- final DartType type;
+ final ResolutionDartType type;
IsStructure(this.type);
@@ -129,7 +129,7 @@ class IsStructure<R, A> implements SendStructure<R, A> {
/// The structure for a [Send] of the form `a is! T`.
class IsNotStructure<R, A> implements SendStructure<R, A> {
/// The type that the expression is tested against.
- final DartType type;
+ final ResolutionDartType type;
IsNotStructure(this.type);
@@ -146,7 +146,7 @@ class IsNotStructure<R, A> implements SendStructure<R, A> {
/// The structure for a [Send] of the form `a as T`.
class AsStructure<R, A> implements SendStructure<R, A> {
/// The type that the expression is cast to.
- final DartType type;
+ final ResolutionDartType type;
AsStructure(this.type);
@@ -2114,7 +2114,7 @@ class NewInvokeStructure<R, A> extends NewStructure<R, A> {
arg);
}
ConstructorElement effectiveTarget = constructor.effectiveTarget;
- InterfaceType effectiveTargetType =
+ ResolutionInterfaceType effectiveTargetType =
constructor.computeEffectiveTargetType(semantics.type);
if (callStructure
.signatureApplies(effectiveTarget.functionSignature)) {
@@ -2238,7 +2238,7 @@ class LateConstInvokeStructure<R, A> extends NewStructure<R, A> {
NewStructure resolve(NewExpression node) {
Element element = elements[node.send];
Selector selector = elements.getSelector(node.send);
- DartType type = elements.getType(node);
+ ResolutionDartType type = elements.getType(node);
ConstantExpression constant = elements.getConstant(node);
if (element.isMalformed ||
constant == null ||
@@ -2275,7 +2275,7 @@ class LateConstInvokeStructure<R, A> extends NewStructure<R, A> {
R dispatch(SemanticSendVisitor<R, A> visitor, NewExpression node, A arg) {
Element element = elements[node.send];
Selector selector = elements.getSelector(node.send);
- DartType type = elements.getType(node);
+ ResolutionDartType type = elements.getType(node);
ConstantExpression constant = elements.getConstant(node);
if (element.isMalformed ||
constant == null ||
@@ -2474,7 +2474,7 @@ class FieldInitializerStructure<R, A> extends InitializerStructure<R, A> {
class SuperConstructorInvokeStructure<R, A> extends InitializerStructure<R, A> {
final Send node;
final ConstructorElement constructor;
- final InterfaceType type;
+ final ResolutionInterfaceType type;
final CallStructure callStructure;
SuperConstructorInvokeStructure(
@@ -2492,7 +2492,7 @@ class ImplicitSuperConstructorInvokeStructure<R, A>
extends InitializerStructure<R, A> {
final FunctionExpression node;
final ConstructorElement constructor;
- final InterfaceType type;
+ final ResolutionInterfaceType type;
ImplicitSuperConstructorInvokeStructure(
this.node, this.constructor, this.type);
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_resolver.dart ('k') | pkg/compiler/lib/src/resolution/signatures.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698