1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00

Merge pull request #2162 from github/proto-rework

Proto rework
This commit is contained in:
Josh Vera 2018-09-04 12:14:41 -04:00 committed by GitHub
commit ff7328b1c9
9 changed files with 37 additions and 35 deletions

2
.gitignore vendored
View File

@ -30,3 +30,5 @@ bin/
.licenses/log/
codex.tags
vendor/proto3-suite

View File

@ -2,13 +2,13 @@ syntax = "proto3";
package github.semantic;
import "ruby-terms.proto";
import "ruby-diffs.proto";
import "json-terms.proto";
import "typescript-terms.proto";
import "typescript-diffs.proto";
import "python-terms.proto";
import "python-diffs.proto";
import "ruby_term.proto";
import "ruby_diff.proto";
import "json_term.proto";
import "typescript_term.proto";
import "typescript_diff.proto";
import "python_term.proto";
import "python_diff.proto";
import "types.proto";
import "error_details.proto";
@ -60,22 +60,22 @@ message ParseTreeResponse {
}
message RubyResponse {
repeated ruby_terms.RubyTerm terms = 1;
repeated rubyterm.RubyTerm terms = 1;
repeated DebugInfo errors = 2;
}
message JSONResponse {
repeated json_terms.JSONTerm terms = 1;
repeated jsonterm.JSONTerm terms = 1;
repeated DebugInfo errors = 2;
}
message TypeScriptResponse {
repeated typescript_terms.TypeScriptTerm terms = 1;
repeated typescriptterm.TypeScriptTerm terms = 1;
repeated DebugInfo errors = 2;
}
message PythonResponse {
repeated python_terms.PythonTerm terms = 1;
repeated pythonterm.PythonTerm terms = 1;
repeated DebugInfo errors = 2;
}
@ -103,15 +103,15 @@ message DiffTreeResponse {
}
message RubyDiffResponse {
repeated ruby_diffs.RubyDiff diffs = 1;
repeated rubydiff.RubyDiff diffs = 1;
}
message PythonDiffResponse {
repeated python_diffs.PythonDiff diffs = 1;
repeated pythondiff.PythonDiff diffs = 1;
}
message TypeScriptDiffResponse {
repeated typescript_diffs.TypeScriptDiff diffs = 1;
repeated typescriptdiff.TypeScriptDiff diffs = 1;
}
message CallGraphRequest {

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.json_terms;
package github.semantic.jsonterm;
import "types.proto";
option java_package = "com.github.semantic.json_terms";
option go_package = "github.com/semantic/json_terms;json";
option java_package = "com.github.semantic.jsonterm";
option go_package = "github.com/semantic/jsonterm;json";
message JSONTerm {
JSONSyntax syntax = 1;

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.python_diffs;
package github.semantic.pythondiff;
import "types.proto";
option java_package = "com.github.semantic.python_diffs";
option go_package = "github.com/semantic/python_diffs;python";
option java_package = "com.github.semantic.pythondiff";
option go_package = "github.com/semantic/pythondiff;python";
message PythonDiff {
oneof diff {

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.python_terms;
package github.semantic.pythonterm;
import "types.proto";
option java_package = "com.github.semantic.python_terms";
option go_package = "github.com/semantic/python_terms;python";
option java_package = "com.github.semantic.pythonterm";
option go_package = "github.com/semantic/pythonterm;python";
message PythonTerm {
PythonSyntax syntax = 1;

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.ruby_diffs;
package github.semantic.rubydiff;
import "types.proto";
option java_package = "com.github.semantic.ruby_diffs";
option go_package = "github.com/semantic/ruby_diffs;ruby";
option java_package = "com.github.semantic.rubydiff";
option go_package = "github.com/semantic/rubydiff;ruby";
message RubyDiff {
oneof diff {

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.ruby_terms;
package github.semantic.rubyterm;
import "types.proto";
option java_package = "com.github.semantic.ruby_terms";
option go_package = "github.com/semantic/ruby_terms;ruby";
option java_package = "com.github.semantic.rubyterm";
option go_package = "github.com/semantic/rubyterm;ruby";
message RubyTerm {
RubySyntax syntax = 1;

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.typescript_diffs;
package github.semantic.typescriptdiff;
import "types.proto";
option java_package = "com.github.semantic.typescript_diffs";
option go_package = "github.com/semantic/typescript_diffs;typescript";
option java_package = "com.github.semantic.typescriptdiff";
option go_package = "github.com/semantic/typescriptdiff;typescript";
message TypeScriptDiff {
oneof diff {

View File

@ -1,12 +1,12 @@
// This file was generated by proto-gen. Do not edit by hand.
syntax = "proto3";
package github.semantic.typescript_terms;
package github.semantic.typescriptterm;
import "types.proto";
option java_package = "com.github.semantic.typescript_terms";
option go_package = "github.com/semantic/typescript_terms;typescript";
option java_package = "com.github.semantic.typescriptterm";
option go_package = "github.com/semantic/typescriptterm;typescript";
message TypeScriptTerm {
TypeScriptSyntax syntax = 1;