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 AddImport (const Message *descriptor, const string &name, int line, int column)
 
void Clear ()
 
bool Find (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int *line, int *column) const
 
bool FindImport (const Message *descriptor, const string &name, int *line, int *column) const
 
 SourceLocationTable ()
 
 ~SourceLocationTable ()
 

Private Types

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_
 
LocationMap location_map_
 

Detailed Description

Definition at line 557 of file parser.h.

Member Typedef Documentation

◆ LocationMap

Definition at line 587 of file parser.h.

Constructor & Destructor Documentation

◆ SourceLocationTable()

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

Definition at line 2341 of file parser.cc.

◆ ~SourceLocationTable()

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

Definition at line 2342 of file parser.cc.

Member Function Documentation

◆ Add()

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

Definition at line 2377 of file parser.cc.

◆ AddImport()

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

Definition at line 2385 of file parser.cc.

◆ Clear()

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

Definition at line 2391 of file parser.cc.

◆ Find()

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

Definition at line 2344 of file parser.cc.

◆ FindImport()

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

Definition at line 2361 of file parser.cc.

Member Data Documentation

◆ import_location_map_

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

Definition at line 590 of file parser.h.

◆ location_map_

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

Definition at line 588 of file parser.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09