JS: add import from descriptors to js.proto
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -16,10 +16,29 @@
|
|||||||
|
|
||||||
package org.jetbrains.kotlin.serialization.js;
|
package org.jetbrains.kotlin.serialization.js;
|
||||||
|
|
||||||
|
import "core/deserialization/src/descriptors.proto";
|
||||||
|
|
||||||
option java_outer_classname = "JsProtoBuf";
|
option java_outer_classname = "JsProtoBuf";
|
||||||
option optimize_for = LITE_RUNTIME;
|
option optimize_for = LITE_RUNTIME;
|
||||||
|
|
||||||
// For Kotlin/Javascript we reuse builtins serialization code.
|
extend Class {
|
||||||
|
repeated Annotation class_annotation = 130;
|
||||||
|
}
|
||||||
|
|
||||||
|
extend Callable {
|
||||||
|
repeated Annotation callable_annotation = 130;
|
||||||
|
optional Annotation.Argument.Value compile_time_value = 131;
|
||||||
|
}
|
||||||
|
|
||||||
|
extend Callable.ValueParameter {
|
||||||
|
repeated Annotation parameter_annotation = 130;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Classes {
|
||||||
|
// id in StringTable
|
||||||
|
repeated int32 class_name = 1 [packed = true];
|
||||||
|
}
|
||||||
|
|
||||||
message Library {
|
message Library {
|
||||||
message FileEntry {
|
message FileEntry {
|
||||||
required string path = 1;
|
required string path = 1;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user