Home
last modified time | relevance | path

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

/external/grpc-grpc/examples/node/static_codegen/
DREADME.md6 grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../node/static_codegen/ --grpc_out=../…
7 grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../node/static_codegen/route_guide/ --…
/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.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 …]
Djs_generator.h76 } import_style; member
86 import_style(IMPORT_CLOSURE) {} in GeneratorOptions()