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

Unified Diff: runtime/observatory/lib/src/models/objects/instance.dart

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 years, 3 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: runtime/observatory/lib/src/models/objects/instance.dart
diff --git a/runtime/observatory/lib/src/models/objects/instance.dart b/runtime/observatory/lib/src/models/objects/instance.dart
index 8401684304dcf13b808ad2fd529a3714aa7a67d8..e85e861f8c790507ee20746213a47f167ecdbcb0 100644
--- a/runtime/observatory/lib/src/models/objects/instance.dart
+++ b/runtime/observatory/lib/src/models/objects/instance.dart
@@ -7,87 +7,120 @@ part of models;
enum InstanceKind {
/// A general instance of the Dart class Object.
plainInstance,
+
/// null instance.
vNull,
+
/// true or false.
bool,
+
/// An instance of the Dart class double.
double,
+
/// An instance of the Dart class int.
int,
+
/// An instance of the Dart class String.
string,
+
/// An instance of the built-in VM List implementation. User-defined
/// Lists will be PlainInstance.
list,
+
/// An instance of the built-in VM Map implementation. User-defined
/// Maps will be PlainInstance.
map,
+
/// Vector instance kinds.
float32x4,
+
/// Vector instance kinds.
float64x2,
+
/// Vector instance kinds.
int32x4,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
uint8ClampedList,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
uint8List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
uint16List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
uint32List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
uint64List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
int8List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
int16List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
int32List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
int64List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
float32List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
float64List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
int32x4List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
float32x4List,
+
/// An instance of the built-in VM TypedData implementations. User-defined
/// TypedDatas will be PlainInstance.
float64x2List,
+
/// An instance of the Dart class StackTrace.
stackTrace,
+
/// An instance of the built-in VM Closure implementation. User-defined
/// Closures will be PlainInstance.
closure,
+
/// An instance of the Dart class MirrorReference.
mirrorReference,
+
/// An instance of the Dart class RegExp.
regExp,
+
/// An instance of the Dart class WeakProperty.
weakProperty,
+
/// An instance of the Dart class Type.
type,
+
/// An instance of the Dart class TypeParameter.
typeParameter,
+
/// An instance of the Dart class TypeRef.
typeRef,
+
/// An instance of the Dart class BoundedType.
boundedType,
}
@@ -110,7 +143,7 @@ bool isTypedData(InstanceKind kind) {
case InstanceKind.float64x2List:
return true;
default:
- return false;
+ return false;
}
}
@@ -121,7 +154,7 @@ bool isSimdValue(InstanceKind kind) {
case InstanceKind.int32x4:
return true;
default:
- return false;
+ return false;
}
}
@@ -133,7 +166,7 @@ bool isAbstractType(InstanceKind kind) {
case InstanceKind.boundedType:
return true;
default:
- return false;
+ return false;
}
}

Powered by Google App Engine
This is Rietveld 408576698