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

Unified Diff: pkg/analyzer-experimental/lib/src/generated/instrumentation.dart

Issue 12671003: Push new analyzer-experimental with Resolver and ResolverTest. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer-experimental/lib/src/generated/instrumentation.dart
diff --git a/pkg/analyzer-experimental/lib/src/generated/instrumentation.dart b/pkg/analyzer-experimental/lib/src/generated/instrumentation.dart
index 7963b27d8039ec004508e21d6d1ad8973bc89156..f09416de4e08be54b504ba18dfbb9182d7e7dc35 100644
--- a/pkg/analyzer-experimental/lib/src/generated/instrumentation.dart
+++ b/pkg/analyzer-experimental/lib/src/generated/instrumentation.dart
@@ -28,17 +28,18 @@ import 'java_core.dart';
* arguments and records the time at which the method is called so that the time to complete the
* save operation can be calculated. The {@code log} method tells the builder that all of the data
* has been collected and that the resulting information should be logged.
+ * @coverage dart.engine.utilities
*/
class Instrumentation {
/**
* A builder that will silently ignore all data and logging requests.
*/
- static InstrumentationBuilder _NULL_INSTRUMENTATION_BUILDER = new InstrumentationBuilder_7();
+ static InstrumentationBuilder _NULL_INSTRUMENTATION_BUILDER = new InstrumentationBuilder_8();
/**
* An instrumentation logger that can be used when no other instrumentation logger has been
* configured. This logger will silently ignore all data and logging requests.
*/
- static InstrumentationLogger _NULL_LOGGER = new InstrumentationLogger_8();
+ static InstrumentationLogger _NULL_LOGGER = new InstrumentationLogger_9();
/**
* The current instrumentation logger.
*/
@@ -73,7 +74,7 @@ class Instrumentation {
Instrumentation() {
}
}
-class InstrumentationBuilder_7 implements InstrumentationBuilder {
+class InstrumentationBuilder_8 implements InstrumentationBuilder {
InstrumentationBuilder data(String name, int value) => this;
InstrumentationBuilder data2(String name, String value) => this;
InstrumentationBuilder data3(String name, List<String> value) => this;
@@ -84,7 +85,7 @@ class InstrumentationBuilder_7 implements InstrumentationBuilder {
InstrumentationBuilder metric2(String name, String value) => this;
InstrumentationBuilder metric3(String name, List<String> value) => this;
}
-class InstrumentationLogger_8 implements InstrumentationLogger {
+class InstrumentationLogger_9 implements InstrumentationLogger {
InstrumentationBuilder createBuilder(String name) => Instrumentation._NULL_INSTRUMENTATION_BUILDER;
}
/**
@@ -92,6 +93,7 @@ class InstrumentationLogger_8 implements InstrumentationLogger {
* about an operation that has occurred and record that data through an instrumentation logger.
* <p>
* For an example of using objects that implement this interface, see {@link Instrumentation}.
+ * @coverage dart.engine.utilities
*/
abstract class InstrumentationBuilder {
/**
@@ -164,6 +166,7 @@ abstract class InstrumentationBuilder {
* The instrumentation recording level representing (1) recording {@link #EVERYTHING} recording of
* all instrumentation data, (2) recording only {@link #METRICS} information, or (3) recording
* turned {@link #OFF} in which case nothing is recorded.
+ * @coverage dart.engine.utilities
*/
class InstrumentationLevel {
/**
@@ -181,6 +184,7 @@ class InstrumentationLevel {
static final List<InstrumentationLevel> values = [EVERYTHING, METRICS, OFF];
final String __name;
final int __ordinal;
+ int get ordinal => __ordinal;
InstrumentationLevel(this.__name, this.__ordinal) {
}
String toString() => __name;
@@ -190,6 +194,7 @@ class InstrumentationLevel {
* instrumentation data.
* <p>
* For an example of using objects that implement this interface, see {@link Instrumentation}.
+ * @coverage dart.engine.utilities
*/
abstract class InstrumentationLogger {
/**

Powered by Google App Engine
This is Rietveld 408576698