Public Member Functions | Private Types | Private Attributes | List of all members
google::protobuf::compiler::SourceLocationTable Class Reference

#include <parser.h>

Public Member Functions

void Add (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int line, int column)
 
void Add (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int line, int column)
 
void AddImport (const Message *descriptor, const std::string &name, int line, int column)
 
void AddImport (const Message *descriptor, const string &name, int line, int column)
 
void Clear ()
 
void Clear ()
 
bool Find (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int *line, int *column) const
 
bool Find (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int *line, int *column) const
 
bool FindImport (const Message *descriptor, const std::string &name, int *line, int *column) const
 
bool FindImport (const Message *descriptor, const string &name, int *line, int *column) const
 
 SourceLocationTable ()
 
 SourceLocationTable ()
 
 ~SourceLocationTable ()
 
 ~SourceLocationTable ()
 

Private Types

typedef std::map< std::pair< const Message *, DescriptorPool::ErrorCollector::ErrorLocation >, std::pair< int, int > > LocationMap
 
typedef std::map< std::pair< const Message *, DescriptorPool::ErrorCollector::ErrorLocation >, std::pair< int, int > > LocationMap
 

Private Attributes

std::map< std::pair< const Message *, string >, std::pair< int, int > > import_location_map_
 
std::map< std::pair< const Message *, std::string >, std::pair< int, int > > import_location_map_
 
LocationMap location_map_
 

Detailed Description

Definition at line 558 of file third_party/bloaty/third_party/protobuf/src/google/protobuf/compiler/parser.h.

Member Typedef Documentation

◆ LocationMap [1/2]

◆ LocationMap [2/2]

Constructor & Destructor Documentation

◆ SourceLocationTable() [1/2]

google::protobuf::compiler::SourceLocationTable::SourceLocationTable ( )

◆ ~SourceLocationTable() [1/2]

google::protobuf::compiler::SourceLocationTable::~SourceLocationTable ( )

◆ SourceLocationTable() [2/2]

google::protobuf::compiler::SourceLocationTable::SourceLocationTable ( )

◆ ~SourceLocationTable() [2/2]

google::protobuf::compiler::SourceLocationTable::~SourceLocationTable ( )

Member Function Documentation

◆ Add() [1/2]

void google::protobuf::compiler::SourceLocationTable::Add ( const Message descriptor,
DescriptorPool::ErrorCollector::ErrorLocation  location,
int  line,
int  column 
)

◆ Add() [2/2]

void google::protobuf::compiler::SourceLocationTable::Add ( const Message descriptor,
DescriptorPool::ErrorCollector::ErrorLocation  location,
int  line,
int  column 
)

◆ AddImport() [1/2]

void google::protobuf::compiler::SourceLocationTable::AddImport ( const Message descriptor,
const std::string &  name,
int  line,
int  column 
)

◆ AddImport() [2/2]

void google::protobuf::compiler::SourceLocationTable::AddImport ( const Message descriptor,
const string &  name,
int  line,
int  column 
)

◆ Clear() [1/2]

void google::protobuf::compiler::SourceLocationTable::Clear ( )

◆ Clear() [2/2]

void google::protobuf::compiler::SourceLocationTable::Clear ( )

◆ Find() [1/2]

bool google::protobuf::compiler::SourceLocationTable::Find ( const Message descriptor,
DescriptorPool::ErrorCollector::ErrorLocation  location,
int line,
int column 
) const

◆ Find() [2/2]

bool google::protobuf::compiler::SourceLocationTable::Find ( const Message descriptor,
DescriptorPool::ErrorCollector::ErrorLocation  location,
int line,
int column 
) const

◆ FindImport() [1/2]

bool google::protobuf::compiler::SourceLocationTable::FindImport ( const Message descriptor,
const std::string &  name,
int line,
int column 
) const

◆ FindImport() [2/2]

bool google::protobuf::compiler::SourceLocationTable::FindImport ( const Message descriptor,
const string &  name,
int line,
int column 
) const

Member Data Documentation

◆ import_location_map_ [1/2]

std::map<std::pair<const Message*, string>, std::pair<int, int> > google::protobuf::compiler::SourceLocationTable::import_location_map_
private

◆ import_location_map_ [2/2]

std::map<std::pair<const Message*, std::string>, std::pair<int, int> > google::protobuf::compiler::SourceLocationTable::import_location_map_
private

◆ location_map_

LocationMap google::protobuf::compiler::SourceLocationTable::location_map_
private

The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:22