2018-09-11 20:32:29 +03:00
|
|
|
// This file was generated by proto-gen. Do not edit by hand.
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package github.semantic.javadiff;
|
|
|
|
|
|
|
|
import "types.proto";
|
|
|
|
|
|
|
|
option java_package = "com.github.semantic.javadiff";
|
|
|
|
option go_package = "github.com/semantic/javadiff;java";
|
|
|
|
|
|
|
|
message JavaDiff {
|
|
|
|
oneof diff {
|
|
|
|
Merge merge = 1;
|
|
|
|
Delete delete = 2;
|
|
|
|
Insert insert = 3;
|
|
|
|
Replace replace = 4;
|
|
|
|
}
|
|
|
|
message Merge {
|
|
|
|
JavaSyntax syntax = 1;
|
|
|
|
}
|
|
|
|
message Delete {
|
|
|
|
JavaSyntax before = 1;
|
|
|
|
}
|
|
|
|
message Insert {
|
|
|
|
JavaSyntax after = 1;
|
|
|
|
}
|
|
|
|
message Replace {
|
|
|
|
JavaSyntax before = 1;
|
|
|
|
JavaSyntax after = 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message JavaSyntax {
|
|
|
|
oneof syntax {
|
|
|
|
Comment comment = 1;
|
|
|
|
Class class = 2;
|
|
|
|
InterfaceDeclaration interfaceDeclaration = 3;
|
|
|
|
Method method = 4;
|
|
|
|
VariableDeclaration variableDeclaration = 5;
|
2019-01-19 02:43:04 +03:00
|
|
|
AccessControl accessControl = 6;
|
2018-12-20 06:23:28 +03:00
|
|
|
Plus plus = 7;
|
|
|
|
Minus minus = 8;
|
|
|
|
Times times = 9;
|
|
|
|
DividedBy dividedBy = 10;
|
|
|
|
Modulo modulo = 11;
|
|
|
|
Power power = 12;
|
|
|
|
Negate negate = 13;
|
|
|
|
FloorDivision floorDivision = 14;
|
|
|
|
Call call = 15;
|
|
|
|
LessThan lessThan = 16;
|
|
|
|
LessThanEqual lessThanEqual = 17;
|
|
|
|
GreaterThan greaterThan = 18;
|
|
|
|
GreaterThanEqual greaterThanEqual = 19;
|
|
|
|
Equal equal = 20;
|
|
|
|
StrictEqual strictEqual = 21;
|
|
|
|
Comparison comparison = 22;
|
|
|
|
BOr bOr = 23;
|
|
|
|
BXOr bXOr = 24;
|
|
|
|
BAnd bAnd = 25;
|
|
|
|
LShift lShift = 26;
|
|
|
|
RShift rShift = 27;
|
|
|
|
UnsignedRShift unsignedRShift = 28;
|
|
|
|
Complement complement = 29;
|
|
|
|
And and = 30;
|
|
|
|
Not not = 31;
|
|
|
|
Or or = 32;
|
|
|
|
XOr xOr = 33;
|
|
|
|
InstanceOf instanceOf = 34;
|
|
|
|
MemberAccess memberAccess = 35;
|
|
|
|
Subscript subscript = 36;
|
|
|
|
Member member = 37;
|
|
|
|
Super super = 38;
|
|
|
|
This this = 39;
|
|
|
|
AnnotatedType annotatedType = 40;
|
|
|
|
JavaAnnotation javaAnnotation = 41;
|
|
|
|
AnnotationField annotationField = 42;
|
|
|
|
AnnotationTypeElement annotationTypeElement = 43;
|
|
|
|
ArrayCreationExpression arrayCreationExpression = 44;
|
|
|
|
AssertStatement assertStatement = 45;
|
|
|
|
Asterisk asterisk = 46;
|
|
|
|
CatchType catchType = 47;
|
|
|
|
Constructor constructor = 48;
|
|
|
|
ClassBody classBody = 49;
|
|
|
|
ClassLiteral classLiteral = 50;
|
|
|
|
DefaultValue defaultValue = 51;
|
|
|
|
DimsExpr dimsExpr = 52;
|
|
|
|
EnumDeclaration enumDeclaration = 53;
|
|
|
|
GenericType genericType = 54;
|
|
|
|
Import import = 55;
|
|
|
|
Lambda lambda = 56;
|
|
|
|
LambdaBody lambdaBody = 57;
|
|
|
|
MethodReference methodReference = 58;
|
|
|
|
Module module = 59;
|
|
|
|
New new = 60;
|
|
|
|
NewKeyword newKeyword = 61;
|
|
|
|
Package package = 62;
|
|
|
|
SpreadParameter spreadParameter = 63;
|
|
|
|
StaticInitializer staticInitializer = 64;
|
|
|
|
Synchronized synchronized = 65;
|
|
|
|
TryWithResources tryWithResources = 66;
|
|
|
|
TypeParameter typeParameter = 67;
|
|
|
|
TypeWithModifiers typeWithModifiers = 68;
|
|
|
|
Variable variable = 69;
|
|
|
|
Wildcard wildcard = 70;
|
|
|
|
WildcardBounds wildcardBounds = 71;
|
|
|
|
Array array = 72;
|
|
|
|
Boolean boolean = 73;
|
|
|
|
Integer integer = 74;
|
|
|
|
Float float = 75;
|
|
|
|
Null null = 76;
|
|
|
|
String string = 77;
|
|
|
|
TextElement textElement = 78;
|
|
|
|
Assignment assignment = 79;
|
|
|
|
Break break = 80;
|
|
|
|
Catch catch = 81;
|
|
|
|
Continue continue = 82;
|
|
|
|
DoWhile doWhile = 83;
|
|
|
|
Finally finally = 84;
|
|
|
|
For for = 85;
|
|
|
|
ForEach forEach = 86;
|
|
|
|
If if = 87;
|
|
|
|
Match match = 88;
|
|
|
|
Pattern pattern = 89;
|
|
|
|
PostIncrement postIncrement = 90;
|
|
|
|
PostDecrement postDecrement = 91;
|
|
|
|
PreIncrement preIncrement = 92;
|
|
|
|
PreDecrement preDecrement = 93;
|
|
|
|
While while = 94;
|
|
|
|
Statements statements = 95;
|
|
|
|
Throw throw = 96;
|
|
|
|
Try try = 97;
|
|
|
|
Context context = 98;
|
|
|
|
Empty empty = 99;
|
|
|
|
Error error = 100;
|
|
|
|
Identifier identifier = 101;
|
|
|
|
AccessibilityModifier accessibilityModifier = 102;
|
|
|
|
TypeArray typeArray = 103;
|
|
|
|
Bool bool = 104;
|
|
|
|
Int int = 105;
|
|
|
|
Void void = 106;
|
|
|
|
TypeFloat typeFloat = 107;
|
|
|
|
Annotation annotation = 108;
|
|
|
|
Return return = 109;
|
|
|
|
List list = 110;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message Comment {
|
|
|
|
string commentContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Class {
|
|
|
|
repeated JavaDiff classContext = 1;
|
|
|
|
JavaDiff classIdentifier = 2;
|
|
|
|
repeated JavaDiff classSuperclasses = 3;
|
|
|
|
JavaDiff classBody = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InterfaceDeclaration {
|
|
|
|
repeated JavaDiff interfaceDeclarationContext = 1;
|
|
|
|
JavaDiff interfaceDeclarationIdentifier = 2;
|
|
|
|
repeated JavaDiff interfaceDeclarationSuperInterfaces = 3;
|
|
|
|
JavaDiff interfaceDeclarationBody = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Method {
|
|
|
|
repeated JavaDiff methodContext = 1;
|
2019-01-19 05:20:36 +03:00
|
|
|
JavaDiff methodAccessControl = 2;
|
2018-12-20 06:23:28 +03:00
|
|
|
JavaDiff methodReceiver = 3;
|
|
|
|
JavaDiff methodName = 4;
|
|
|
|
repeated JavaDiff methodParameters = 5;
|
|
|
|
JavaDiff methodBody = 6;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message VariableDeclaration {
|
|
|
|
repeated JavaDiff variableDeclarations = 1;
|
|
|
|
}
|
|
|
|
|
2019-01-19 02:43:04 +03:00
|
|
|
message AccessControl { }
|
2018-12-20 06:23:28 +03:00
|
|
|
|
2018-09-11 20:32:29 +03:00
|
|
|
message Plus {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Minus {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Times {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DividedBy {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Modulo {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Power {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Negate {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FloorDivision {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Call {
|
|
|
|
repeated JavaDiff callContext = 1;
|
|
|
|
JavaDiff callFunction = 2;
|
|
|
|
repeated JavaDiff callParams = 3;
|
|
|
|
JavaDiff callBlock = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LessThan {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LessThanEqual {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GreaterThan {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GreaterThanEqual {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Equal {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message StrictEqual {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Comparison {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message BOr {
|
2018-12-11 00:42:33 +03:00
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message BXOr {
|
2018-12-11 00:42:33 +03:00
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message BAnd {
|
2018-12-11 00:42:33 +03:00
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message LShift {
|
2018-12-11 00:42:33 +03:00
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message RShift {
|
2018-12-11 00:42:33 +03:00
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message UnsignedRShift {
|
2018-12-11 00:42:33 +03:00
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message Complement {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message And {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Not {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Or {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message XOr {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InstanceOf {
|
|
|
|
JavaDiff instanceOfSubject = 1;
|
|
|
|
JavaDiff instanceOfObject = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MemberAccess {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
bytes rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Subscript {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
repeated JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Member {
|
|
|
|
JavaDiff lhs = 1;
|
|
|
|
JavaDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Super { }
|
|
|
|
|
|
|
|
message This { }
|
|
|
|
|
|
|
|
message AnnotatedType {
|
|
|
|
repeated JavaDiff annotationes = 1;
|
|
|
|
JavaDiff annotatedType = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message JavaAnnotation {
|
|
|
|
JavaDiff annotationName = 1;
|
|
|
|
repeated JavaDiff annotationField = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AnnotationField {
|
|
|
|
JavaDiff annotationFieldName = 1;
|
|
|
|
JavaDiff annotationFieldValue = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AnnotationTypeElement {
|
|
|
|
repeated JavaDiff modifiers = 1;
|
|
|
|
JavaDiff annotationType = 2;
|
|
|
|
JavaDiff identifier = 3;
|
|
|
|
repeated JavaDiff dims = 4;
|
|
|
|
JavaDiff defaultValue = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ArrayCreationExpression {
|
|
|
|
JavaDiff arrayCreationExpressionType = 1;
|
|
|
|
repeated JavaDiff arrayCreationExpressionDims = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AssertStatement {
|
|
|
|
JavaDiff assertLHS = 1;
|
|
|
|
repeated JavaDiff assertRHS = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Asterisk { }
|
|
|
|
|
|
|
|
message CatchType {
|
|
|
|
repeated JavaDiff types = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Constructor {
|
|
|
|
repeated JavaDiff constructorModifiers = 1;
|
|
|
|
repeated JavaDiff constructorTypeParams = 2;
|
|
|
|
JavaDiff constructorIdentifier = 3;
|
|
|
|
repeated JavaDiff constructorParams = 4;
|
|
|
|
repeated JavaDiff constructorThrows = 5;
|
|
|
|
JavaDiff constructorBody = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ClassBody {
|
|
|
|
repeated JavaDiff classBodyExpression = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ClassLiteral {
|
|
|
|
JavaDiff classLiteralType = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DefaultValue {
|
|
|
|
JavaDiff defaultValueElement = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DimsExpr {
|
|
|
|
repeated JavaDiff dimsExprAnnotation = 1;
|
|
|
|
repeated JavaDiff dimsExprExpression = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EnumDeclaration {
|
|
|
|
repeated JavaDiff enumDeclarationModifier = 1;
|
|
|
|
JavaDiff enumDeclarationIdentifier = 2;
|
|
|
|
repeated JavaDiff enumDeclarationSuperInterfaces = 3;
|
|
|
|
repeated JavaDiff enumDeclarationConstant = 4;
|
|
|
|
repeated JavaDiff enumDeclarationBody = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GenericType {
|
|
|
|
JavaDiff genericTypeIdentifier = 1;
|
|
|
|
repeated JavaDiff genericTypeArguments = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Import {
|
|
|
|
repeated JavaDiff imports = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Lambda {
|
|
|
|
repeated JavaDiff lambdaParams = 1;
|
|
|
|
JavaDiff lambdaBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LambdaBody {
|
|
|
|
repeated JavaDiff lambdaBodyExpression = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MethodReference {
|
|
|
|
JavaDiff methodReferenceType = 1;
|
|
|
|
repeated JavaDiff methodReferenceTypeArgs = 2;
|
|
|
|
JavaDiff methodReferenceIdentifier = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Module {
|
|
|
|
JavaDiff moduleIdentifier = 1;
|
|
|
|
repeated JavaDiff moduleStatements = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message New {
|
|
|
|
JavaDiff newType = 1;
|
|
|
|
repeated JavaDiff newArgs = 2;
|
|
|
|
repeated JavaDiff newClassBody = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NewKeyword { }
|
|
|
|
|
|
|
|
message Package {
|
|
|
|
repeated JavaDiff packages = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SpreadParameter {
|
|
|
|
JavaDiff spreadParameterVariableDeclarator = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message StaticInitializer {
|
|
|
|
JavaDiff staticInitializerBlock = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Synchronized {
|
|
|
|
JavaDiff synchronizedSubject = 1;
|
|
|
|
JavaDiff synchronizedBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TryWithResources {
|
|
|
|
repeated JavaDiff tryResources = 1;
|
|
|
|
JavaDiff tryBody = 2;
|
|
|
|
repeated JavaDiff tryCatch = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TypeParameter {
|
|
|
|
repeated JavaDiff typeParamAnnotation = 1;
|
|
|
|
JavaDiff typeParamIdentifier = 2;
|
|
|
|
repeated JavaDiff typeParamTypeBound = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TypeWithModifiers {
|
|
|
|
repeated JavaDiff types = 1;
|
|
|
|
JavaDiff modifier = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Variable {
|
|
|
|
repeated JavaDiff variableModifiers = 1;
|
|
|
|
JavaDiff variableType = 2;
|
|
|
|
JavaDiff variableName = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Wildcard {
|
|
|
|
repeated JavaDiff wildcardAnnotation = 1;
|
|
|
|
repeated JavaDiff wildcardBounds = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message WildcardBounds {
|
|
|
|
oneof sum {
|
|
|
|
JavaDiff wildcardBoundExtendsType = 1;
|
|
|
|
JavaDiff wildcardBoundSuperType = 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message Array {
|
|
|
|
repeated JavaDiff arrayElements = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Boolean {
|
|
|
|
bool booleanContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Integer {
|
|
|
|
string integerContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Float {
|
|
|
|
string floatContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Null { }
|
|
|
|
|
|
|
|
message String {
|
|
|
|
repeated JavaDiff stringElements = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TextElement {
|
|
|
|
string textElementContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Assignment {
|
|
|
|
repeated JavaDiff assignmentContext = 1;
|
|
|
|
JavaDiff assignmentTarget = 2;
|
|
|
|
JavaDiff assignmentValue = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Break {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Catch {
|
|
|
|
JavaDiff catchException = 1;
|
|
|
|
JavaDiff catchBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Continue {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DoWhile {
|
|
|
|
JavaDiff doWhileCondition = 1;
|
|
|
|
JavaDiff doWhileBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Finally {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message For {
|
|
|
|
JavaDiff forBefore = 1;
|
|
|
|
JavaDiff forCondition = 2;
|
|
|
|
JavaDiff forStep = 3;
|
|
|
|
JavaDiff forBody = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ForEach {
|
|
|
|
JavaDiff forEachBinding = 1;
|
|
|
|
JavaDiff forEachSubject = 2;
|
|
|
|
JavaDiff forEachBody = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message If {
|
|
|
|
JavaDiff ifCondition = 1;
|
|
|
|
JavaDiff ifThenBody = 2;
|
|
|
|
JavaDiff ifElseBody = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Match {
|
|
|
|
JavaDiff matchSubject = 1;
|
|
|
|
JavaDiff matchPatterns = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Pattern {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
JavaDiff patternBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PostIncrement {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PostDecrement {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PreIncrement {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PreDecrement {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message While {
|
|
|
|
JavaDiff whileCondition = 1;
|
|
|
|
JavaDiff whileBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Statements {
|
|
|
|
repeated JavaDiff statements = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Throw {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Try {
|
|
|
|
JavaDiff tryBody = 1;
|
|
|
|
repeated JavaDiff tryCatch = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Context {
|
|
|
|
repeated JavaDiff contextTerms = 1;
|
|
|
|
JavaDiff contextSubject = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Empty { }
|
|
|
|
|
|
|
|
message Error {
|
|
|
|
repeated ErrorSite errorCallStack = 1;
|
|
|
|
repeated string errorExpected = 2;
|
|
|
|
string errorActual = 3;
|
|
|
|
repeated JavaDiff errorChildren = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Identifier {
|
|
|
|
bytes name = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AccessibilityModifier {
|
|
|
|
string contents = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TypeArray {
|
|
|
|
repeated JavaDiff arraySize = 1;
|
|
|
|
JavaDiff arrayElementType = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Bool { }
|
|
|
|
|
|
|
|
message Int { }
|
|
|
|
|
|
|
|
message Void { }
|
|
|
|
|
|
|
|
message TypeFloat { }
|
|
|
|
|
|
|
|
message Annotation {
|
|
|
|
JavaDiff annotationSubject = 1;
|
|
|
|
JavaDiff annotationType = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Return {
|
|
|
|
JavaDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message List {
|
|
|
|
repeated JavaDiff listContent = 1;
|
|
|
|
}
|