Searched refs:import_style (Results 1 – 3 of 3) sorted by relevance
102 $ protoc --js_out=import_style=commonjs,binary:. messages.proto base.proto136 The `import_style` option is left to the default, which is `closure`.137 - `--js_out=import_style=commonjs,binary:protos`: this contains the options138 `import_style=commonjs` and `binary` and outputs to the directory `protos`.
76 } import_style; member86 import_style(IMPORT_CLOSURE) {} in GeneratorOptions()
276 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS && in MaybeCrossFileRef()1551 GOOGLE_CHECK_EQ(options.import_style, GeneratorOptions::IMPORT_CLOSURE); in GenerateRequiresForLibrary()1765 if (options.import_style != GeneratorOptions:: IMPORT_CLOSURE) { in GenerateClass()3008 import_style = IMPORT_CLOSURE; in ParseFromOptions()3010 import_style = IMPORT_COMMONJS; in ParseFromOptions()3012 import_style = IMPORT_BROWSER; in ParseFromOptions()3014 import_style = IMPORT_ES6; in ParseFromOptions()3030 if (!library.empty() && import_style != IMPORT_CLOSURE) { in ParseFromOptions()3084 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS) { in GenerateFile()3129 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS) { in GenerateFile()[all …]