chromium/third_party/pdfium/fxjs/xfa/cfxjse_value.cpp

// Copyright 2014 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "fxjs/xfa/cfxjse_value.h"

#include <math.h>

#include "core/fxcrt/check.h"
#include "fxjs/fxv8.h"
#include "fxjs/xfa/cfxjse_class.h"
#include "fxjs/xfa/cfxjse_context.h"
#include "fxjs/xfa/cfxjse_isolatetracker.h"
#include "v8/include/v8-container.h"
#include "v8/include/v8-exception.h"
#include "v8/include/v8-function.h"
#include "v8/include/v8-local-handle.h"
#include "v8/include/v8-primitive.h"
#include "v8/include/v8-script.h"

namespace {

double ftod(float fNumber) {}

}  // namespace

void FXJSE_ThrowMessage(v8::Isolate* pIsolate, ByteStringView utf8Message) {}

CFXJSE_Value::CFXJSE_Value() = default;

CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate, v8::Local<v8::Value> value) {}

CFXJSE_Value::~CFXJSE_Value() = default;

CFXJSE_HostObject* CFXJSE_Value::ToHostObject(v8::Isolate* pIsolate) const {}

void CFXJSE_Value::SetHostObject(v8::Isolate* pIsolate,
                                 CFXJSE_HostObject* pObject,
                                 CFXJSE_Class* pClass) {}

void CFXJSE_Value::SetArray(
    v8::Isolate* pIsolate,
    const std::vector<std::unique_ptr<CFXJSE_Value>>& values) {}

void CFXJSE_Value::SetFloat(v8::Isolate* pIsolate, float fFloat) {}

bool CFXJSE_Value::SetObjectProperty(v8::Isolate* pIsolate,
                                     ByteStringView szPropName,
                                     CFXJSE_Value* pPropValue) {}

bool CFXJSE_Value::GetObjectProperty(v8::Isolate* pIsolate,
                                     ByteStringView szPropName,
                                     CFXJSE_Value* pPropValue) {}

bool CFXJSE_Value::GetObjectPropertyByIdx(v8::Isolate* pIsolate,
                                          uint32_t uPropIdx,
                                          CFXJSE_Value* pPropValue) {}

void CFXJSE_Value::DeleteObjectProperty(v8::Isolate* pIsolate,
                                        ByteStringView szPropName) {}

bool CFXJSE_Value::SetObjectOwnProperty(v8::Isolate* pIsolate,
                                        ByteStringView szPropName,
                                        CFXJSE_Value* pPropValue) {}

v8::Local<v8::Function> CFXJSE_Value::NewBoundFunction(
    v8::Isolate* pIsolate,
    v8::Local<v8::Function> hOldFunction,
    v8::Local<v8::Object> hNewThis) {}

v8::Local<v8::Value> CFXJSE_Value::GetValue(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsEmpty() const {}

bool CFXJSE_Value::IsUndefined(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsNull(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsBoolean(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsString(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsNumber(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsInteger(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsObject(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsArray(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::IsFunction(v8::Isolate* pIsolate) const {}

bool CFXJSE_Value::ToBoolean(v8::Isolate* pIsolate) const {}

float CFXJSE_Value::ToFloat(v8::Isolate* pIsolate) const {}

double CFXJSE_Value::ToDouble(v8::Isolate* pIsolate) const {}

int32_t CFXJSE_Value::ToInteger(v8::Isolate* pIsolate) const {}

ByteString CFXJSE_Value::ToString(v8::Isolate* pIsolate) const {}

void CFXJSE_Value::SetUndefined(v8::Isolate* pIsolate) {}

void CFXJSE_Value::SetNull(v8::Isolate* pIsolate) {}

void CFXJSE_Value::SetBoolean(v8::Isolate* pIsolate, bool bBoolean) {}

void CFXJSE_Value::SetInteger(v8::Isolate* pIsolate, int32_t nInteger) {}

void CFXJSE_Value::SetDouble(v8::Isolate* pIsolate, double dDouble) {}

void CFXJSE_Value::SetString(v8::Isolate* pIsolate, ByteStringView szString) {}