Home
last modified time | relevance | path

Searched refs:import_style (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/js/
DREADME.md102 $ protoc --js_out=import_style=commonjs,binary:. messages.proto base.proto
136 The `import_style` option is left to the default, which is `closure`.
137 - `--js_out=import_style=commonjs,binary:protos`: this contains the options
138 `import_style=commonjs` and `binary` and outputs to the directory `protos`.
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.h76 } import_style; member
86 import_style(IMPORT_CLOSURE) {} in GeneratorOptions()
Djs_generator.cc268 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 …]