Sha256: f9c6d195ba503fdaa6c2c08500659c7099f320cb500987ad0fbb14ab0968c1f5
Contents?: true
Size: 1.21 KB
Versions: 5
Compression:
Stored size: 1.21 KB
Contents
// Copyright 2011 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_PARSING_SCANNER_CHARACTER_STREAMS_H_ #define V8_PARSING_SCANNER_CHARACTER_STREAMS_H_ #include "include/v8.h" // for v8::ScriptCompiler #include "src/globals.h" namespace v8 { namespace internal { template <typename T> class Handle; class Utf16CharacterStream; class RuntimeCallStats; class String; class V8_EXPORT_PRIVATE ScannerStream { public: static Utf16CharacterStream* For(Handle<String> data); static Utf16CharacterStream* For(Handle<String> data, int start_pos, int end_pos); static Utf16CharacterStream* For( ScriptCompiler::ExternalSourceStream* source_stream, ScriptCompiler::StreamedSource::Encoding encoding, RuntimeCallStats* stats); // For testing: static std::unique_ptr<Utf16CharacterStream> ForTesting(const char* data); static std::unique_ptr<Utf16CharacterStream> ForTesting(const char* data, size_t length); }; } // namespace internal } // namespace v8 #endif // V8_PARSING_SCANNER_CHARACTER_STREAMS_H_
Version data entries
5 entries across 5 versions & 1 rubygems