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

Unified Diff: pkg/dev_compiler/tool/input_sdk/lib/core/invocation.dart

Issue 2698353003: unfork DDC's copy of most SDK libraries (Closed)
Patch Set: revert core_patch Created 3 years, 10 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
Index: pkg/dev_compiler/tool/input_sdk/lib/core/invocation.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/lib/core/invocation.dart b/pkg/dev_compiler/tool/input_sdk/lib/core/invocation.dart
deleted file mode 100644
index 7deaeecda0028352ff895c01601a14ae77a43da1..0000000000000000000000000000000000000000
--- a/pkg/dev_compiler/tool/input_sdk/lib/core/invocation.dart
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of dart.core;
-
-/**
- * Representation of the invocation of a member on an object.
- *
- * This is the type of objects passed to [Object.noSuchMethod] when
- * an object doesn't support the member invocation that was attempted
- * on it.
- */
-abstract class Invocation {
- /** The name of the invoked member. */
- Symbol get memberName;
-
- /**
- * An unmodifiable view of the positional arguments of the call.
- *
- * If the member is a getter, the positional arguments is empty.
- */
- List get positionalArguments;
-
- /**
- * An unmodifiable view of the named arguments of the call.
- *
- * If the member is a getter, setter or operator, the named arguments
- * is empty.
- */
- Map<Symbol, dynamic> get namedArguments;
-
- /** Whether the invocation was a method call. */
- bool get isMethod;
-
- /**
- * Whether the invocation was a getter call.
- * If so, both types of arguments is empty.
- */
- bool get isGetter;
-
- /**
- * Whether the invocation was a setter call.
- *
- * If so, [arguments] has exactly one positonal argument,
- * and [namedArguments] is empty.
- */
- bool get isSetter;
-
- /** Whether the invocation was a getter or a setter call. */
- bool get isAccessor => isGetter || isSetter;
-}
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/lib/core/int.dart ('k') | pkg/dev_compiler/tool/input_sdk/lib/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698