9d6a64e81b
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed. * Removed existing Uri constructor as it was equivalent with Uri.parse * Remamed constructor Uri.fromComponents to Uri * Moved toplevel function encodeUriComponent to static method Uri.encodeComponent * Moved toplevel function decodeUriComponent to static method Uri.decodeComponent * Moved toplevel function encodeUri to static method Uri.encodeFull * Moved toplevel function decodeUri to static method Uri.decodeFull * Rename domain to host * Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent * Added support for path generation and splitting * Added support for query generation and splitting * Added some level of normalization R=floitsch@google.com, lrn@google.com, nweiz@google.com, scheglov@google.com BUG= Review URL: https://codereview.chromium.org//16019002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
48 lines
1.5 KiB
C++
48 lines
1.5 KiB
C++
// 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.
|
|
|
|
#ifndef VM_BOOTSTRAP_H_
|
|
#define VM_BOOTSTRAP_H_
|
|
|
|
#include "vm/allocation.h"
|
|
|
|
namespace dart {
|
|
|
|
// Forward declarations.
|
|
class RawError;
|
|
|
|
class Bootstrap : public AllStatic {
|
|
public:
|
|
static RawError* LoadandCompileScripts();
|
|
static void SetupNativeResolver();
|
|
|
|
// Source path mapping for library URI and 'parts'.
|
|
static const char* async_source_paths_[];
|
|
static const char* corelib_source_paths_[];
|
|
static const char* collection_source_paths_[];
|
|
static const char* collection_dev_source_paths_[];
|
|
static const char* crypto_source_paths_[];
|
|
static const char* isolate_source_paths_[];
|
|
static const char* json_source_paths_[];
|
|
static const char* math_source_paths_[];
|
|
static const char* mirrors_source_paths_[];
|
|
static const char* typed_data_source_paths_[];
|
|
static const char* utf_source_paths_[];
|
|
|
|
// Source path mapping for patch URI and 'parts'.
|
|
static const char* async_patch_paths_[];
|
|
static const char* corelib_patch_paths_[];
|
|
static const char* collection_patch_paths_[];
|
|
static const char* collection_dev_patch_paths_[];
|
|
static const char* isolate_patch_paths_[];
|
|
static const char* json_patch_paths_[];
|
|
static const char* math_patch_paths_[];
|
|
static const char* mirrors_patch_paths_[];
|
|
static const char* typed_data_patch_paths_[];
|
|
};
|
|
|
|
} // namespace dart
|
|
|
|
#endif // VM_BOOTSTRAP_H_
|