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()
268 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS && in MaybeCrossFileRef()1479 GOOGLE_CHECK_EQ(options.import_style, GeneratorOptions::IMPORT_CLOSURE); in GenerateRequiresForLibrary()1684 if (options.import_style != GeneratorOptions:: IMPORT_CLOSURE) { in GenerateClass()2754 import_style = IMPORT_CLOSURE; in ParseFromOptions()2756 import_style = IMPORT_COMMONJS; in ParseFromOptions()2758 import_style = IMPORT_BROWSER; in ParseFromOptions()2760 import_style = IMPORT_ES6; in ParseFromOptions()2776 if (!library.empty() && import_style != IMPORT_CLOSURE) { in ParseFromOptions()2830 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS) { in GenerateFile()2875 if (options.import_style == GeneratorOptions::IMPORT_COMMONJS) { in GenerateFile()[all …]