webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Public Attributes | List of all members
google::protobuf::compiler::js::GeneratorOptions Struct Reference

#include <js_generator.h>

Public Types

enum  ImportStyle { IMPORT_CLOSURE, IMPORT_COMMONJS, IMPORT_BROWSER, IMPORT_ES6 }
 

Public Member Functions

 GeneratorOptions ()
 
bool ParseFromOptions (const vector< pair< string, string > > &options, string *error)
 

Public Attributes

bool add_require_for_enums
 
bool testonly
 
string output_dir
 
string namespace_prefix
 
string library
 
bool error_on_name_conflict
 
bool binary
 
enum google::protobuf::compiler::js::GeneratorOptions::ImportStyle import_style
 

Member Enumeration Documentation

◆ ImportStyle

Enumerator
IMPORT_CLOSURE 
IMPORT_COMMONJS 
IMPORT_BROWSER 
IMPORT_ES6 

Constructor & Destructor Documentation

◆ GeneratorOptions()

google::protobuf::compiler::js::GeneratorOptions::GeneratorOptions ( )
inline

Member Function Documentation

◆ ParseFromOptions()

bool google::protobuf::compiler::js::GeneratorOptions::ParseFromOptions ( const vector< pair< string, string > > &  options,
string error 
)

Member Data Documentation

◆ add_require_for_enums

bool google::protobuf::compiler::js::GeneratorOptions::add_require_for_enums

◆ binary

bool google::protobuf::compiler::js::GeneratorOptions::binary

◆ error_on_name_conflict

bool google::protobuf::compiler::js::GeneratorOptions::error_on_name_conflict

◆ import_style

enum google::protobuf::compiler::js::GeneratorOptions::ImportStyle google::protobuf::compiler::js::GeneratorOptions::import_style

◆ library

string google::protobuf::compiler::js::GeneratorOptions::library

◆ namespace_prefix

string google::protobuf::compiler::js::GeneratorOptions::namespace_prefix

◆ output_dir

string google::protobuf::compiler::js::GeneratorOptions::output_dir

◆ testonly

bool google::protobuf::compiler::js::GeneratorOptions::testonly

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