chromium/v8/src/torque/kythe-data.cc

// Copyright 2021 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.

#include "src/torque/kythe-data.h"

namespace v8 {
namespace internal {
namespace torque {

namespace {

KythePosition MakeKythePosition(const SourcePosition& pos) {}

}  // namespace

// Constants
kythe_entity_t KytheData::AddConstantDefinition(const Value* constant) {}

void KytheData::AddConstantUse(SourcePosition use_position,
                               const Value* constant) {}

// Callables
kythe_entity_t KytheData::AddFunctionDefinition(Callable* callable) {}

void KytheData::AddCall(Callable* caller, SourcePosition call_position,
                        Callable* callee) {}

// Class fields
kythe_entity_t KytheData::AddClassFieldDefinition(const Field* field) {}

void KytheData::AddClassFieldUse(SourcePosition use_position,
                                 const Field* field) {}

// Bindings
kythe_entity_t KytheData::AddBindingDefinition(Binding<LocalValue>* binding) {}

kythe_entity_t KytheData::AddBindingDefinition(Binding<LocalLabel>* binding) {}

kythe_entity_t KytheData::AddBindingDefinitionImpl(
    uint64_t binding_index, const std::string& name,
    const SourcePosition& ident_pos) {}

void KytheData::AddBindingUse(SourcePosition use_position,
                              Binding<LocalValue>* binding) {}

void KytheData::AddBindingUse(SourcePosition use_position,
                              Binding<LocalLabel>* binding) {}

// Types
kythe_entity_t KytheData::AddTypeDefinition(const Declarable* type_decl) {}

void KytheData::AddTypeUse(SourcePosition use_position,
                           const Declarable* type_decl) {}

}  // namespace torque
}  // namespace internal
}  // namespace v8