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

Unified Diff: sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files Created 3 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: sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart b/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
index fb7b5dfdef672a5635782c154e07f17d02699366..d2bc205bce60ecc710b60a84cb076ac5cba50d21 100644
--- a/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
+++ b/sdk/lib/_internal/js_runtime/lib/shared/embedded_names.dart
@@ -47,7 +47,6 @@ const NATIVE_SUPERCLASS_TAG_NAME = r"$nativeSuperclassTag";
/// the static function's unique (potentially minified) name.
const STATIC_FUNCTION_NAME_PROPERTY_NAME = r'$static_name';
-
/// The name of the embedded global for metadata.
///
/// Use [JsBuiltin.getMetadata] instead of directly accessing this embedded
@@ -224,7 +223,6 @@ const IS_HUNK_INITIALIZED = 'isHunkInitialized';
/// globals don't clash with it.
const DEFERRED_INITIALIZED = 'deferredInitialized';
-
/// Returns a function that creates all precompiled functions (in particular
/// constructors).
///
@@ -281,7 +279,6 @@ const TYPE_INFORMATION = 'typeInformation';
/// This embedded global is only used by reflection.
const STATICS = 'statics';
-
/// An array of library descriptors.
///
/// The descriptor contains information such as name, uri, classes, ...
@@ -313,39 +310,53 @@ enum JsGetName {
DEFAULT_VALUES_PROPERTY,
CALL_NAME_PROPERTY,
DEFERRED_ACTION_PROPERTY,
+
/// Prefix used for generated type argument substitutions on classes.
OPERATOR_AS_PREFIX,
+
/// Name used for generated function types on classes and methods.
SIGNATURE_NAME,
+
/// Name of JavaScript property used to store runtime-type information on
/// instances of parameterized classes.
RTI_NAME,
+
/// Name used to tag typedefs.
TYPEDEF_TAG,
+
/// Name used to tag a function type.
FUNCTION_TYPE_TAG,
+
/// Name used to tag void return in function type representations in
/// JavaScript.
FUNCTION_TYPE_VOID_RETURN_TAG,
+
/// Name used to tag return types in function type representations in
/// JavaScript.
FUNCTION_TYPE_RETURN_TYPE_TAG,
+
/// Name used to tag required parameters in function type representations
/// in JavaScript.
FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG,
+
/// Name used to tag optional parameters in function type representations
/// in JavaScript.
FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG,
+
/// Name used to tag named parameters in function type representations in
/// JavaScript.
FUNCTION_TYPE_NAMED_PARAMETERS_TAG,
+
/// Field name used for determining if an object or its interceptor has
/// JavaScript indexing behavior.
IS_INDEXABLE_FIELD_NAME,
+
/// String representation of the type of the null class.
NULL_CLASS_TYPE_NAME,
+
/// String representation of the type of the object class.
OBJECT_CLASS_TYPE_NAME,
+
/// String representation of the type of the function class.
FUNCTION_CLASS_TYPE_NAME,
}
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/regexp_helper.dart ('k') | sdk/lib/_internal/js_runtime/lib/string_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698