Classes | Functions
upbc.cc File Reference
#include <google/protobuf/compiler/plugin.h>
#include <google/protobuf/io/printer.h>
#include "absl/strings/str_replace.h"
#include "absl/strings/string_view.h"
#include "absl/strings/substitute.h"
#include "google/protobuf/compiler/code_generator.h"
#include "google/protobuf/descriptor.h"
#include "google/protobuf/descriptor.pb.h"
Include dependency graph for upbc.cc:

Go to the source code of this file.

Classes

class  LuaGenerator
 

Functions

static std::string Filename (const protobuf::FileDescriptor *file)
 
int main (int argc, char **argv)
 
static std::string ModuleName (const protobuf::FileDescriptor *file)
 
static void PrintHexDigit (char digit, protobuf::io::Printer *printer)
 
static void PrintString (int max_cols, absl::string_view *str, protobuf::io::Printer *printer)
 
static std::string StripExtension (absl::string_view fname)
 

Function Documentation

◆ Filename()

static std::string Filename ( const protobuf::FileDescriptor file)
static

Definition at line 53 of file upbc.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 132 of file upbc.cc.

◆ ModuleName()

static std::string ModuleName ( const protobuf::FileDescriptor file)
static

Definition at line 57 of file upbc.cc.

◆ PrintHexDigit()

static void PrintHexDigit ( char  digit,
protobuf::io::Printer *  printer 
)
static

Definition at line 62 of file upbc.cc.

◆ PrintString()

static void PrintString ( int  max_cols,
absl::string_view str,
protobuf::io::Printer *  printer 
)
static

Definition at line 72 of file upbc.cc.

◆ StripExtension()

static std::string StripExtension ( absl::string_view  fname)
static

Definition at line 45 of file upbc.cc.



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