![]() |
TrinityCore
|
#include <parser.h>
Public Member Functions | |
SourceLocationTable () | |
~SourceLocationTable () | |
bool | Find (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int *line, int *column) const |
void | Add (const Message *descriptor, DescriptorPool::ErrorCollector::ErrorLocation location, int line, int column) |
void | Clear () |
Private Types | |
typedef map< pair< const Message *, DescriptorPool::ErrorCollector::ErrorLocation > , pair< int, int > > | LocationMap |
Private Attributes | |
LocationMap | location_map_ |
|
private |
google::protobuf::compiler::SourceLocationTable::SourceLocationTable | ( | ) |
google::protobuf::compiler::SourceLocationTable::~SourceLocationTable | ( | ) |
void google::protobuf::compiler::SourceLocationTable::Add | ( | const Message * | descriptor, |
DescriptorPool::ErrorCollector::ErrorLocation | location, | ||
int | line, | ||
int | column | ||
) |
void google::protobuf::compiler::SourceLocationTable::Clear | ( | ) |
bool google::protobuf::compiler::SourceLocationTable::Find | ( | const Message * | descriptor, |
DescriptorPool::ErrorCollector::ErrorLocation | location, | ||
int * | line, | ||
int * | column | ||
) | const |
|
private |