Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::CommandLineInterface::ErrorPrinter Class Reference
Inheritance diagram for google::protobuf::compiler::CommandLineInterface::ErrorPrinter:
Inheritance graph
[legend]

Public Member Functions

void AddError (const std::string &filename, const std::string &element_name, const Message *descriptor, ErrorLocation location, const std::string &message)
 
void AddError (const std::string &filename, const std::string &element_name, const Message *descriptor, ErrorLocation location, const std::string &message) override
 
void AddError (const std::string &filename, int line, int column, const std::string &message)
 
void AddError (const std::string &filename, int line, int column, const std::string &message) override
 
void AddError (int line, int column, const std::string &message)
 
void AddError (int line, int column, const std::string &message) override
 
void AddWarning (const std::string &filename, const std::string &element_name, const Message *descriptor, ErrorLocation location, const std::string &message)
 
void AddWarning (const std::string &filename, const std::string &element_name, const Message *descriptor, ErrorLocation location, const std::string &message) override
 
void AddWarning (const std::string &filename, int line, int column, const std::string &message)
 
void AddWarning (const std::string &filename, int line, int column, const std::string &message) override
 
void AddWarning (int line, int column, const std::string &message)
 
void AddWarning (int line, int column, const std::string &message) override
 
 ErrorPrinter (ErrorFormat format, DiskSourceTree *tree=NULL)
 
 ErrorPrinter (ErrorFormat format, DiskSourceTree *tree=NULL)
 
bool FoundErrors () const
 
bool FoundErrors () const
 
bool FoundWarnings () const
 
 ~ErrorPrinter ()
 
 ~ErrorPrinter ()
 
- Public Member Functions inherited from google::protobuf::compiler::MultiFileErrorCollector
 MultiFileErrorCollector ()
 
 MultiFileErrorCollector ()
 
virtual ~MultiFileErrorCollector ()
 
virtual ~MultiFileErrorCollector ()
 
- Public Member Functions inherited from google::protobuf::io::ErrorCollector
 ErrorCollector ()
 
 ErrorCollector ()
 
virtual ~ErrorCollector ()
 
virtual ~ErrorCollector ()
 
- Public Member Functions inherited from google::protobuf::DescriptorPool::ErrorCollector
 ErrorCollector ()
 
 ErrorCollector ()
 
virtual ~ErrorCollector ()
 
virtual ~ErrorCollector ()
 

Private Member Functions

void AddErrorOrWarning (const std::string &filename, int line, int column, const std::string &message, const std::string &type, std::ostream &out)
 
void AddErrorOrWarning (const std::string &filename, int line, int column, const std::string &message, const std::string &type, std::ostream &out)
 

Private Attributes

const ErrorFormat format_
 
bool found_errors_
 
bool found_warnings_
 
DiskSourceTreetree_
 

Additional Inherited Members

- Public Types inherited from google::protobuf::DescriptorPool::ErrorCollector
enum  ErrorLocation {
  NAME, NUMBER, TYPE, EXTENDEE,
  DEFAULT_VALUE, INPUT_TYPE, OUTPUT_TYPE, OPTION_NAME,
  OPTION_VALUE, IMPORT, OTHER, NAME,
  NUMBER, TYPE, EXTENDEE, DEFAULT_VALUE,
  INPUT_TYPE, OUTPUT_TYPE, OPTION_NAME, OPTION_VALUE,
  IMPORT, OTHER
}
 
enum  ErrorLocation {
  NAME, NUMBER, TYPE, EXTENDEE,
  DEFAULT_VALUE, INPUT_TYPE, OUTPUT_TYPE, OPTION_NAME,
  OPTION_VALUE, IMPORT, OTHER, NAME,
  NUMBER, TYPE, EXTENDEE, DEFAULT_VALUE,
  INPUT_TYPE, OUTPUT_TYPE, OPTION_NAME, OPTION_VALUE,
  IMPORT, OTHER
}
 

Detailed Description

Definition at line 276 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc.

Constructor & Destructor Documentation

◆ ErrorPrinter() [1/2]

google::protobuf::compiler::CommandLineInterface::ErrorPrinter::ErrorPrinter ( ErrorFormat  format,
DiskSourceTree tree = NULL 
)
inline

◆ ~ErrorPrinter() [1/2]

google::protobuf::compiler::CommandLineInterface::ErrorPrinter::~ErrorPrinter ( )
inline

◆ ErrorPrinter() [2/2]

google::protobuf::compiler::CommandLineInterface::ErrorPrinter::ErrorPrinter ( ErrorFormat  format,
DiskSourceTree tree = NULL 
)
inline

◆ ~ErrorPrinter() [2/2]

google::protobuf::compiler::CommandLineInterface::ErrorPrinter::~ErrorPrinter ( )
inline

Member Function Documentation

◆ AddError() [1/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddError ( const std::string &  filename,
const std::string &  element_name,
const Message descriptor,
ErrorLocation  location,
const std::string &  message 
)
inlinevirtual

◆ AddError() [2/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddError ( const std::string &  filename,
const std::string &  element_name,
const Message descriptor,
ErrorLocation  location,
const std::string &  message 
)
inlineoverridevirtual

◆ AddError() [3/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddError ( const std::string &  filename,
int  line,
int  column,
const std::string &  message 
)
inlinevirtual

◆ AddError() [4/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddError ( const std::string &  filename,
int  line,
int  column,
const std::string &  message 
)
inlineoverridevirtual

◆ AddError() [5/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddError ( int  line,
int  column,
const std::string &  message 
)
inlinevirtual

◆ AddError() [6/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddError ( int  line,
int  column,
const std::string &  message 
)
inlineoverridevirtual

◆ AddErrorOrWarning() [1/2]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddErrorOrWarning ( const std::string &  filename,
int  line,
int  column,
const std::string &  message,
const std::string &  type,
std::ostream &  out 
)
inlineprivate

◆ AddErrorOrWarning() [2/2]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddErrorOrWarning ( const std::string &  filename,
int  line,
int  column,
const std::string &  message,
const std::string &  type,
std::ostream &  out 
)
inlineprivate

◆ AddWarning() [1/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddWarning ( const std::string &  filename,
const std::string &  element_name,
const Message descriptor,
ErrorLocation  location,
const std::string &  message 
)
inlinevirtual

◆ AddWarning() [2/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddWarning ( const std::string &  filename,
const std::string &  element_name,
const Message descriptor,
ErrorLocation  location,
const std::string &  message 
)
inlineoverridevirtual

◆ AddWarning() [3/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddWarning ( const std::string &  filename,
int  line,
int  column,
const std::string &  message 
)
inlinevirtual

◆ AddWarning() [4/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddWarning ( const std::string &  filename,
int  line,
int  column,
const std::string &  message 
)
inlineoverridevirtual

◆ AddWarning() [5/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddWarning ( int  line,
int  column,
const std::string &  message 
)
inlinevirtual

◆ AddWarning() [6/6]

void google::protobuf::compiler::CommandLineInterface::ErrorPrinter::AddWarning ( int  line,
int  column,
const std::string &  message 
)
inlineoverridevirtual

◆ FoundErrors() [1/2]

bool google::protobuf::compiler::CommandLineInterface::ErrorPrinter::FoundErrors ( ) const
inline

◆ FoundErrors() [2/2]

bool google::protobuf::compiler::CommandLineInterface::ErrorPrinter::FoundErrors ( ) const
inline

◆ FoundWarnings()

bool google::protobuf::compiler::CommandLineInterface::ErrorPrinter::FoundWarnings ( ) const
inline

Member Data Documentation

◆ format_

const ErrorFormat google::protobuf::compiler::CommandLineInterface::ErrorPrinter::format_
private

◆ found_errors_

bool google::protobuf::compiler::CommandLineInterface::ErrorPrinter::found_errors_
private

◆ found_warnings_

bool google::protobuf::compiler::CommandLineInterface::ErrorPrinter::found_warnings_
private

◆ tree_

DiskSourceTree * google::protobuf::compiler::CommandLineInterface::ErrorPrinter::tree_
private

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


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