Classes | Functions | Variables
google::protobuf::compiler::js Namespace Reference

Classes

class  Generator
 
struct  GeneratorOptions
 

Functions

void FindProvidesForOneOfEnum (const GeneratorOptions &options, const OneofDescriptor *oneof, std::set< std::string > *provided)
 
void FindProvidesForOneOfEnums (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc, std::set< std::string > *provided)
 
void GenerateBytesWrapper (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field, BytesMode bytes_mode)
 
bool NamespaceOnly (const Descriptor *desc)
 

Variables

const char * kKeyword []
 
static const int kNumKeyword = sizeof(kKeyword) / sizeof(char*)
 
static const int kNumKeyword = sizeof(kKeyword) / sizeof(char*)
 

Function Documentation

◆ FindProvidesForOneOfEnum()

void google::protobuf::compiler::js::FindProvidesForOneOfEnum ( const GeneratorOptions options,
const OneofDescriptor oneof,
std::set< std::string > *  provided 
)

◆ FindProvidesForOneOfEnums()

void google::protobuf::compiler::js::FindProvidesForOneOfEnums ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc,
std::set< std::string > *  provided 
)

◆ GenerateBytesWrapper()

void google::protobuf::compiler::js::GenerateBytesWrapper ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field,
BytesMode  bytes_mode 
)

◆ NamespaceOnly()

bool google::protobuf::compiler::js::NamespaceOnly ( const Descriptor desc)

Variable Documentation

◆ kKeyword

const char * google::protobuf::compiler::js::kKeyword
Initial value:
= {
"abstract", "boolean", "break", "byte", "case",
"catch", "char", "class", "const", "continue",
"debugger", "default", "delete", "do", "double",
"else", "enum", "export", "extends", "false",
"final", "finally", "float", "for", "function",
"goto", "if", "implements", "import", "in",
"instanceof", "int", "interface", "long", "native",
"new", "null", "package", "private", "protected",
"public", "return", "short", "static", "super",
"switch", "synchronized", "this", "throw", "throws",
"transient", "try", "typeof", "var", "void",
"volatile", "while", "with",
}

Definition at line 60 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.cc.

◆ kNumKeyword [1/2]

const int google::protobuf::compiler::js::kNumKeyword = sizeof(kKeyword) / sizeof(char*)
static

◆ kNumKeyword [2/2]

const int google::protobuf::compiler::js::kNumKeyword = sizeof(kKeyword) / sizeof(char*)
static


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