JS: add import from descriptors to js.proto

This commit is contained in:
Michael Nedzelsky
2015-04-30 04:11:28 +03:00
parent 2a99f757c4
commit de3a31b07c
3 changed files with 1693 additions and 512 deletions
File diff suppressed because it is too large Load Diff
+20 -1
View File
@@ -16,10 +16,29 @@
package org.jetbrains.kotlin.serialization.js;
import "core/deserialization/src/descriptors.proto";
option java_outer_classname = "JsProtoBuf";
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 FileEntry {
required string path = 1;
File diff suppressed because it is too large Load Diff