1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 05:11:44 +03:00

Regen protos

This commit is contained in:
Rick Winfrey 2019-01-18 18:20:36 -08:00
parent ffc9437891
commit 27feb45a4b
10 changed files with 44 additions and 40 deletions

View File

@ -33,13 +33,13 @@ message GoDiff {
message GoSyntax { message GoSyntax {
oneof syntax { oneof syntax {
Comment comment = 1; Comment comment = 1;
Constructor constructor = 2; AccessControl accessControl = 2;
Function function = 3; Constructor constructor = 3;
Method method = 4; Function function = 4;
MethodSignature methodSignature = 5; Method method = 5;
Type type = 6; MethodSignature methodSignature = 6;
TypeAlias typeAlias = 7; Type type = 7;
AccessControl accessControl = 8; TypeAlias typeAlias = 8;
Plus plus = 9; Plus plus = 9;
Minus minus = 10; Minus minus = 10;
Times times = 11; Times times = 11;
@ -139,6 +139,8 @@ message Comment {
string commentContent = 1; string commentContent = 1;
} }
message AccessControl { }
message Constructor { message Constructor {
repeated GoDiff constructorContext = 1; repeated GoDiff constructorContext = 1;
GoDiff constructorName = 2; GoDiff constructorName = 2;
@ -154,7 +156,7 @@ message Function {
message Method { message Method {
repeated GoDiff methodContext = 1; repeated GoDiff methodContext = 1;
GoDiff methodVisibility = 2; GoDiff methodAccessControl = 2;
GoDiff methodReceiver = 3; GoDiff methodReceiver = 3;
GoDiff methodName = 4; GoDiff methodName = 4;
repeated GoDiff methodParameters = 5; repeated GoDiff methodParameters = 5;
@ -163,8 +165,9 @@ message Method {
message MethodSignature { message MethodSignature {
repeated GoDiff methodSignatureContext = 1; repeated GoDiff methodSignatureContext = 1;
GoDiff methodSignatureName = 2; GoDiff methodSignatureAccessControl = 2;
repeated GoDiff methodSignatureParameters = 3; GoDiff methodSignatureName = 3;
repeated GoDiff methodSignatureParameters = 4;
} }
message Type { message Type {
@ -178,8 +181,6 @@ message TypeAlias {
GoDiff typeAliasKind = 3; GoDiff typeAliasKind = 3;
} }
message AccessControl { }
message Plus { message Plus {
GoDiff lhs = 1; GoDiff lhs = 1;
GoDiff rhs = 2; GoDiff rhs = 2;

View File

@ -15,13 +15,13 @@ message GoTerm {
message GoSyntax { message GoSyntax {
oneof syntax { oneof syntax {
Comment comment = 1; Comment comment = 1;
Constructor constructor = 2; AccessControl accessControl = 2;
Function function = 3; Constructor constructor = 3;
Method method = 4; Function function = 4;
MethodSignature methodSignature = 5; Method method = 5;
Type type = 6; MethodSignature methodSignature = 6;
TypeAlias typeAlias = 7; Type type = 7;
AccessControl accessControl = 8; TypeAlias typeAlias = 8;
Plus plus = 9; Plus plus = 9;
Minus minus = 10; Minus minus = 10;
Times times = 11; Times times = 11;
@ -121,6 +121,8 @@ message Comment {
string commentContent = 1; string commentContent = 1;
} }
message AccessControl { }
message Constructor { message Constructor {
repeated GoTerm constructorContext = 1; repeated GoTerm constructorContext = 1;
GoTerm constructorName = 2; GoTerm constructorName = 2;
@ -136,7 +138,7 @@ message Function {
message Method { message Method {
repeated GoTerm methodContext = 1; repeated GoTerm methodContext = 1;
GoTerm methodVisibility = 2; GoTerm methodAccessControl = 2;
GoTerm methodReceiver = 3; GoTerm methodReceiver = 3;
GoTerm methodName = 4; GoTerm methodName = 4;
repeated GoTerm methodParameters = 5; repeated GoTerm methodParameters = 5;
@ -145,8 +147,9 @@ message Method {
message MethodSignature { message MethodSignature {
repeated GoTerm methodSignatureContext = 1; repeated GoTerm methodSignatureContext = 1;
GoTerm methodSignatureName = 2; GoTerm methodSignatureAccessControl = 2;
repeated GoTerm methodSignatureParameters = 3; GoTerm methodSignatureName = 3;
repeated GoTerm methodSignatureParameters = 4;
} }
message Type { message Type {
@ -160,8 +163,6 @@ message TypeAlias {
GoTerm typeAliasKind = 3; GoTerm typeAliasKind = 3;
} }
message AccessControl { }
message Plus { message Plus {
GoTerm lhs = 1; GoTerm lhs = 1;
GoTerm rhs = 2; GoTerm rhs = 2;

View File

@ -165,7 +165,7 @@ message InterfaceDeclaration {
message Method { message Method {
repeated JavaDiff methodContext = 1; repeated JavaDiff methodContext = 1;
JavaDiff methodVisibility = 2; JavaDiff methodAccessControl = 2;
JavaDiff methodReceiver = 3; JavaDiff methodReceiver = 3;
JavaDiff methodName = 4; JavaDiff methodName = 4;
repeated JavaDiff methodParameters = 5; repeated JavaDiff methodParameters = 5;

View File

@ -147,7 +147,7 @@ message InterfaceDeclaration {
message Method { message Method {
repeated JavaTerm methodContext = 1; repeated JavaTerm methodContext = 1;
JavaTerm methodVisibility = 2; JavaTerm methodAccessControl = 2;
JavaTerm methodReceiver = 3; JavaTerm methodReceiver = 3;
JavaTerm methodName = 4; JavaTerm methodName = 4;
repeated JavaTerm methodParameters = 5; repeated JavaTerm methodParameters = 5;

View File

@ -178,7 +178,7 @@ message Function {
message Method { message Method {
repeated PHPDiff methodContext = 1; repeated PHPDiff methodContext = 1;
PHPDiff methodVisibility = 2; PHPDiff methodAccessControl = 2;
PHPDiff methodReceiver = 3; PHPDiff methodReceiver = 3;
PHPDiff methodName = 4; PHPDiff methodName = 4;
repeated PHPDiff methodParameters = 5; repeated PHPDiff methodParameters = 5;

View File

@ -160,7 +160,7 @@ message Function {
message Method { message Method {
repeated PHPTerm methodContext = 1; repeated PHPTerm methodContext = 1;
PHPTerm methodVisibility = 2; PHPTerm methodAccessControl = 2;
PHPTerm methodReceiver = 3; PHPTerm methodReceiver = 3;
PHPTerm methodName = 4; PHPTerm methodName = 4;
repeated PHPTerm methodParameters = 5; repeated PHPTerm methodParameters = 5;

View File

@ -136,7 +136,7 @@ message Function {
message Method { message Method {
repeated RubyDiff methodContext = 1; repeated RubyDiff methodContext = 1;
RubyDiff methodVisibility = 2; RubyDiff methodAccessControl = 2;
RubyDiff methodReceiver = 3; RubyDiff methodReceiver = 3;
RubyDiff methodName = 4; RubyDiff methodName = 4;
repeated RubyDiff methodParameters = 5; repeated RubyDiff methodParameters = 5;

View File

@ -118,7 +118,7 @@ message Function {
message Method { message Method {
repeated RubyTerm methodContext = 1; repeated RubyTerm methodContext = 1;
RubyTerm methodVisibility = 2; RubyTerm methodAccessControl = 2;
RubyTerm methodReceiver = 3; RubyTerm methodReceiver = 3;
RubyTerm methodName = 4; RubyTerm methodName = 4;
repeated RubyTerm methodParameters = 5; repeated RubyTerm methodParameters = 5;

View File

@ -226,7 +226,7 @@ message Function {
message Method { message Method {
repeated TypeScriptDiff methodContext = 1; repeated TypeScriptDiff methodContext = 1;
TypeScriptDiff methodVisibility = 2; TypeScriptDiff methodAccessControl = 2;
TypeScriptDiff methodReceiver = 3; TypeScriptDiff methodReceiver = 3;
TypeScriptDiff methodName = 4; TypeScriptDiff methodName = 4;
repeated TypeScriptDiff methodParameters = 5; repeated TypeScriptDiff methodParameters = 5;
@ -235,8 +235,9 @@ message Method {
message MethodSignature { message MethodSignature {
repeated TypeScriptDiff methodSignatureContext = 1; repeated TypeScriptDiff methodSignatureContext = 1;
TypeScriptDiff methodSignatureName = 2; TypeScriptDiff methodSignatureAccessControl = 2;
repeated TypeScriptDiff methodSignatureParameters = 3; TypeScriptDiff methodSignatureName = 3;
repeated TypeScriptDiff methodSignatureParameters = 4;
} }
message InterfaceDeclaration { message InterfaceDeclaration {
@ -248,8 +249,8 @@ message InterfaceDeclaration {
message PublicFieldDefinition { message PublicFieldDefinition {
repeated TypeScriptDiff publicFieldContext = 1; repeated TypeScriptDiff publicFieldContext = 1;
TypeScriptDiff publicFieldPropertyName = 2; TypeScriptDiff publicFieldAccessControl = 2;
TypeScriptDiff publicFieldVisibility = 3; TypeScriptDiff publicFieldPropertyName = 3;
TypeScriptDiff publicFieldValue = 4; TypeScriptDiff publicFieldValue = 4;
} }

View File

@ -208,7 +208,7 @@ message Function {
message Method { message Method {
repeated TypeScriptTerm methodContext = 1; repeated TypeScriptTerm methodContext = 1;
TypeScriptTerm methodVisibility = 2; TypeScriptTerm methodAccessControl = 2;
TypeScriptTerm methodReceiver = 3; TypeScriptTerm methodReceiver = 3;
TypeScriptTerm methodName = 4; TypeScriptTerm methodName = 4;
repeated TypeScriptTerm methodParameters = 5; repeated TypeScriptTerm methodParameters = 5;
@ -217,8 +217,9 @@ message Method {
message MethodSignature { message MethodSignature {
repeated TypeScriptTerm methodSignatureContext = 1; repeated TypeScriptTerm methodSignatureContext = 1;
TypeScriptTerm methodSignatureName = 2; TypeScriptTerm methodSignatureAccessControl = 2;
repeated TypeScriptTerm methodSignatureParameters = 3; TypeScriptTerm methodSignatureName = 3;
repeated TypeScriptTerm methodSignatureParameters = 4;
} }
message InterfaceDeclaration { message InterfaceDeclaration {
@ -230,8 +231,8 @@ message InterfaceDeclaration {
message PublicFieldDefinition { message PublicFieldDefinition {
repeated TypeScriptTerm publicFieldContext = 1; repeated TypeScriptTerm publicFieldContext = 1;
TypeScriptTerm publicFieldPropertyName = 2; TypeScriptTerm publicFieldAccessControl = 2;
TypeScriptTerm publicFieldVisibility = 3; TypeScriptTerm publicFieldPropertyName = 3;
TypeScriptTerm publicFieldValue = 4; TypeScriptTerm publicFieldValue = 4;
} }