1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 21:01:35 +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 {
oneof syntax {
Comment comment = 1;
Constructor constructor = 2;
Function function = 3;
Method method = 4;
MethodSignature methodSignature = 5;
Type type = 6;
TypeAlias typeAlias = 7;
AccessControl accessControl = 8;
AccessControl accessControl = 2;
Constructor constructor = 3;
Function function = 4;
Method method = 5;
MethodSignature methodSignature = 6;
Type type = 7;
TypeAlias typeAlias = 8;
Plus plus = 9;
Minus minus = 10;
Times times = 11;
@ -139,6 +139,8 @@ message Comment {
string commentContent = 1;
}
message AccessControl { }
message Constructor {
repeated GoDiff constructorContext = 1;
GoDiff constructorName = 2;
@ -154,7 +156,7 @@ message Function {
message Method {
repeated GoDiff methodContext = 1;
GoDiff methodVisibility = 2;
GoDiff methodAccessControl = 2;
GoDiff methodReceiver = 3;
GoDiff methodName = 4;
repeated GoDiff methodParameters = 5;
@ -163,8 +165,9 @@ message Method {
message MethodSignature {
repeated GoDiff methodSignatureContext = 1;
GoDiff methodSignatureName = 2;
repeated GoDiff methodSignatureParameters = 3;
GoDiff methodSignatureAccessControl = 2;
GoDiff methodSignatureName = 3;
repeated GoDiff methodSignatureParameters = 4;
}
message Type {
@ -178,8 +181,6 @@ message TypeAlias {
GoDiff typeAliasKind = 3;
}
message AccessControl { }
message Plus {
GoDiff lhs = 1;
GoDiff rhs = 2;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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