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.phpdiff;
|
|
|
|
|
|
|
|
import "types.proto";
|
|
|
|
|
|
|
|
option java_package = "com.github.semantic.phpdiff";
|
|
|
|
option go_package = "github.com/semantic/phpdiff;php";
|
|
|
|
|
|
|
|
message PHPDiff {
|
|
|
|
oneof diff {
|
|
|
|
Merge merge = 1;
|
|
|
|
Delete delete = 2;
|
|
|
|
Insert insert = 3;
|
|
|
|
Replace replace = 4;
|
|
|
|
}
|
|
|
|
message Merge {
|
|
|
|
PHPSyntax syntax = 1;
|
|
|
|
}
|
|
|
|
message Delete {
|
|
|
|
PHPSyntax before = 1;
|
|
|
|
}
|
|
|
|
message Insert {
|
|
|
|
PHPSyntax after = 1;
|
|
|
|
}
|
|
|
|
message Replace {
|
|
|
|
PHPSyntax before = 1;
|
|
|
|
PHPSyntax after = 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message PHPSyntax {
|
|
|
|
oneof syntax {
|
|
|
|
Comment comment = 1;
|
|
|
|
Class class = 2;
|
|
|
|
Function function = 3;
|
|
|
|
Method method = 4;
|
|
|
|
VariableDeclaration variableDeclaration = 5;
|
2018-12-20 06:23:28 +03:00
|
|
|
Visibility visibility = 6;
|
|
|
|
Plus plus = 7;
|
|
|
|
Minus minus = 8;
|
|
|
|
Times times = 9;
|
|
|
|
DividedBy dividedBy = 10;
|
|
|
|
Modulo modulo = 11;
|
|
|
|
Power power = 12;
|
|
|
|
Negate negate = 13;
|
|
|
|
FloorDivision floorDivision = 14;
|
|
|
|
BAnd bAnd = 15;
|
|
|
|
BOr bOr = 16;
|
|
|
|
BXOr bXOr = 17;
|
|
|
|
LShift lShift = 18;
|
|
|
|
RShift rShift = 19;
|
|
|
|
And and = 20;
|
|
|
|
Not not = 21;
|
|
|
|
Or or = 22;
|
|
|
|
XOr xOr = 23;
|
|
|
|
Call call = 24;
|
|
|
|
Cast cast = 25;
|
|
|
|
LessThan lessThan = 26;
|
|
|
|
LessThanEqual lessThanEqual = 27;
|
|
|
|
GreaterThan greaterThan = 28;
|
|
|
|
GreaterThanEqual greaterThanEqual = 29;
|
|
|
|
Equal equal = 30;
|
|
|
|
StrictEqual strictEqual = 31;
|
|
|
|
Comparison comparison = 32;
|
|
|
|
InstanceOf instanceOf = 33;
|
|
|
|
MemberAccess memberAccess = 34;
|
|
|
|
New new = 35;
|
|
|
|
SequenceExpression sequenceExpression = 36;
|
|
|
|
Subscript subscript = 37;
|
|
|
|
Member member = 38;
|
|
|
|
Array array = 39;
|
|
|
|
Float float = 40;
|
|
|
|
Integer integer = 41;
|
|
|
|
KeyValue keyValue = 42;
|
|
|
|
TextElement textElement = 43;
|
|
|
|
Assignment assignment = 44;
|
|
|
|
Break break = 45;
|
|
|
|
Catch catch = 46;
|
|
|
|
Continue continue = 47;
|
|
|
|
DoWhile doWhile = 48;
|
|
|
|
Else else = 49;
|
|
|
|
Finally finally = 50;
|
|
|
|
For for = 51;
|
|
|
|
ForEach forEach = 52;
|
|
|
|
Goto goto = 53;
|
|
|
|
If if = 54;
|
|
|
|
Match match = 55;
|
|
|
|
Pattern pattern = 56;
|
|
|
|
Return return = 57;
|
|
|
|
Statements statements = 58;
|
|
|
|
Throw throw = 59;
|
|
|
|
Try try = 60;
|
|
|
|
While while = 61;
|
|
|
|
Yield yield = 62;
|
|
|
|
AliasAs aliasAs = 63;
|
|
|
|
ArrayElement arrayElement = 64;
|
|
|
|
BaseTypeDeclaration baseTypeDeclaration = 65;
|
|
|
|
CastType castType = 66;
|
|
|
|
ClassBaseClause classBaseClause = 67;
|
|
|
|
ClassConstDeclaration classConstDeclaration = 68;
|
|
|
|
ClassInterfaceClause classInterfaceClause = 69;
|
|
|
|
ClassModifier classModifier = 70;
|
|
|
|
Clone clone = 71;
|
|
|
|
ConstDeclaration constDeclaration = 72;
|
|
|
|
ConstructorDeclaration constructorDeclaration = 73;
|
|
|
|
Context context = 74;
|
|
|
|
Declare declare = 75;
|
|
|
|
DeclareDirective declareDirective = 76;
|
|
|
|
DestructorDeclaration destructorDeclaration = 77;
|
|
|
|
Echo echo = 78;
|
|
|
|
Empty empty = 79;
|
|
|
|
EmptyIntrinsic emptyIntrinsic = 80;
|
|
|
|
Error error = 81;
|
|
|
|
ErrorControl errorControl = 82;
|
|
|
|
EvalIntrinsic evalIntrinsic = 83;
|
|
|
|
ExitIntrinsic exitIntrinsic = 84;
|
|
|
|
GlobalDeclaration globalDeclaration = 85;
|
|
|
|
Identifier identifier = 86;
|
|
|
|
Include include = 87;
|
|
|
|
IncludeOnce includeOnce = 88;
|
|
|
|
InsteadOf insteadOf = 89;
|
|
|
|
InterfaceBaseClause interfaceBaseClause = 90;
|
|
|
|
InterfaceDeclaration interfaceDeclaration = 91;
|
|
|
|
IssetIntrinsic issetIntrinsic = 92;
|
|
|
|
LabeledStatement labeledStatement = 93;
|
|
|
|
Namespace namespace = 94;
|
|
|
|
NamespaceAliasingClause namespaceAliasingClause = 95;
|
|
|
|
NamespaceName namespaceName = 96;
|
|
|
|
NamespaceUseClause namespaceUseClause = 97;
|
|
|
|
NamespaceUseDeclaration namespaceUseDeclaration = 98;
|
|
|
|
NamespaceUseGroupClause namespaceUseGroupClause = 99;
|
|
|
|
NewVariable newVariable = 100;
|
|
|
|
PrintIntrinsic printIntrinsic = 101;
|
|
|
|
PropertyDeclaration propertyDeclaration = 102;
|
|
|
|
PropertyModifier propertyModifier = 103;
|
|
|
|
QualifiedName qualifiedName = 104;
|
|
|
|
RelativeScope relativeScope = 105;
|
|
|
|
Require require = 106;
|
|
|
|
RequireOnce requireOnce = 107;
|
|
|
|
ReturnType returnType = 108;
|
|
|
|
ScalarType scalarType = 109;
|
|
|
|
ShellCommand shellCommand = 110;
|
|
|
|
SimpleVariable simpleVariable = 111;
|
|
|
|
Static static = 112;
|
|
|
|
Text text = 113;
|
|
|
|
TraitDeclaration traitDeclaration = 114;
|
|
|
|
TraitUseClause traitUseClause = 115;
|
|
|
|
TraitUseSpecification traitUseSpecification = 116;
|
|
|
|
TypeDeclaration typeDeclaration = 117;
|
|
|
|
Unset unset = 118;
|
|
|
|
Update update = 119;
|
|
|
|
UseClause useClause = 120;
|
|
|
|
VariableName variableName = 121;
|
|
|
|
Annotation annotation = 122;
|
|
|
|
List list = 123;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message Comment {
|
|
|
|
string commentContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Class {
|
|
|
|
repeated PHPDiff classContext = 1;
|
|
|
|
PHPDiff classIdentifier = 2;
|
|
|
|
repeated PHPDiff classSuperclasses = 3;
|
|
|
|
PHPDiff classBody = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Function {
|
|
|
|
repeated PHPDiff functionContext = 1;
|
|
|
|
PHPDiff functionName = 2;
|
|
|
|
repeated PHPDiff functionParameters = 3;
|
|
|
|
PHPDiff functionBody = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Method {
|
|
|
|
repeated PHPDiff methodContext = 1;
|
2018-12-20 06:23:28 +03:00
|
|
|
PHPDiff methodVisibility = 2;
|
|
|
|
PHPDiff methodReceiver = 3;
|
|
|
|
PHPDiff methodName = 4;
|
|
|
|
repeated PHPDiff methodParameters = 5;
|
|
|
|
PHPDiff methodBody = 6;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message VariableDeclaration {
|
|
|
|
repeated PHPDiff variableDeclarations = 1;
|
|
|
|
}
|
|
|
|
|
2018-12-20 06:23:28 +03:00
|
|
|
message Visibility { }
|
|
|
|
|
2018-09-11 20:32:29 +03:00
|
|
|
message Plus {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Minus {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Times {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DividedBy {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Modulo {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Power {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Negate {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message FloorDivision {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message BAnd {
|
2018-12-11 00:42:33 +03:00
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message BOr {
|
2018-12-11 00:42:33 +03:00
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message BXOr {
|
2018-12-11 00:42:33 +03:00
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message LShift {
|
2018-12-11 00:42:33 +03:00
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message RShift {
|
2018-12-11 00:42:33 +03:00
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message And {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Not {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Or {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message XOr {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Call {
|
|
|
|
repeated PHPDiff callContext = 1;
|
|
|
|
PHPDiff callFunction = 2;
|
|
|
|
repeated PHPDiff callParams = 3;
|
|
|
|
PHPDiff callBlock = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Cast {
|
|
|
|
PHPDiff castSubject = 1;
|
|
|
|
PHPDiff castType = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LessThan {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LessThanEqual {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GreaterThan {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GreaterThanEqual {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Equal {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message StrictEqual {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Comparison {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InstanceOf {
|
|
|
|
PHPDiff instanceOfSubject = 1;
|
|
|
|
PHPDiff instanceOfObject = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message MemberAccess {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
bytes rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message New {
|
2018-12-20 06:23:28 +03:00
|
|
|
PHPDiff newSubject = 1;
|
|
|
|
PHPDiff newTypeParameters = 2;
|
|
|
|
repeated PHPDiff newArguments = 3;
|
2018-09-11 20:32:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
message SequenceExpression {
|
|
|
|
PHPDiff firstExpression = 1;
|
|
|
|
PHPDiff secondExpression = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Subscript {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
repeated PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Member {
|
|
|
|
PHPDiff lhs = 1;
|
|
|
|
PHPDiff rhs = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Array {
|
|
|
|
repeated PHPDiff arrayElements = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Float {
|
|
|
|
string floatContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Integer {
|
|
|
|
string integerContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message KeyValue {
|
|
|
|
PHPDiff key = 1;
|
|
|
|
PHPDiff value = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TextElement {
|
|
|
|
string textElementContent = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Assignment {
|
|
|
|
repeated PHPDiff assignmentContext = 1;
|
|
|
|
PHPDiff assignmentTarget = 2;
|
|
|
|
PHPDiff assignmentValue = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Break {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Catch {
|
|
|
|
PHPDiff catchException = 1;
|
|
|
|
PHPDiff catchBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Continue {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DoWhile {
|
|
|
|
PHPDiff doWhileCondition = 1;
|
|
|
|
PHPDiff doWhileBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Else {
|
|
|
|
PHPDiff elseCondition = 1;
|
|
|
|
PHPDiff elseBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Finally {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message For {
|
|
|
|
PHPDiff forBefore = 1;
|
|
|
|
PHPDiff forCondition = 2;
|
|
|
|
PHPDiff forStep = 3;
|
|
|
|
PHPDiff forBody = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ForEach {
|
|
|
|
PHPDiff forEachBinding = 1;
|
|
|
|
PHPDiff forEachSubject = 2;
|
|
|
|
PHPDiff forEachBody = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Goto {
|
|
|
|
PHPDiff gotoLocation = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message If {
|
|
|
|
PHPDiff ifCondition = 1;
|
|
|
|
PHPDiff ifThenBody = 2;
|
|
|
|
PHPDiff ifElseBody = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Match {
|
|
|
|
PHPDiff matchSubject = 1;
|
|
|
|
PHPDiff matchPatterns = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Pattern {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
PHPDiff patternBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Return {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Statements {
|
|
|
|
repeated PHPDiff statements = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Throw {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Try {
|
|
|
|
PHPDiff tryBody = 1;
|
|
|
|
repeated PHPDiff tryCatch = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message While {
|
|
|
|
PHPDiff whileCondition = 1;
|
|
|
|
PHPDiff whileBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Yield {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AliasAs {
|
|
|
|
PHPDiff aliasAsName = 1;
|
|
|
|
PHPDiff aliasAsModifier = 2;
|
|
|
|
PHPDiff aliasAsClause = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ArrayElement {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message BaseTypeDeclaration {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CastType {
|
|
|
|
string _castType = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ClassBaseClause {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ClassConstDeclaration {
|
|
|
|
PHPDiff visibility = 1;
|
|
|
|
repeated PHPDiff elements = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ClassInterfaceClause {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ClassModifier {
|
|
|
|
string value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Clone {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ConstDeclaration {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ConstructorDeclaration {
|
|
|
|
repeated PHPDiff modifiers = 1;
|
|
|
|
repeated PHPDiff parameters = 2;
|
|
|
|
PHPDiff body = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Context {
|
|
|
|
repeated PHPDiff contextTerms = 1;
|
|
|
|
PHPDiff contextSubject = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Declare {
|
|
|
|
PHPDiff left = 1;
|
|
|
|
PHPDiff right = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DeclareDirective {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DestructorDeclaration {
|
|
|
|
repeated PHPDiff body = 1;
|
|
|
|
PHPDiff name = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Echo {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Empty { }
|
|
|
|
|
|
|
|
message EmptyIntrinsic {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Error {
|
|
|
|
repeated ErrorSite errorCallStack = 1;
|
|
|
|
repeated string errorExpected = 2;
|
|
|
|
string errorActual = 3;
|
|
|
|
repeated PHPDiff errorChildren = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ErrorControl {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EvalIntrinsic {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ExitIntrinsic {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GlobalDeclaration {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Identifier {
|
|
|
|
bytes name = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Include {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message IncludeOnce {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InsteadOf {
|
|
|
|
PHPDiff left = 1;
|
|
|
|
PHPDiff right = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InterfaceBaseClause {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message InterfaceDeclaration {
|
|
|
|
PHPDiff name = 1;
|
|
|
|
PHPDiff base = 2;
|
|
|
|
repeated PHPDiff declarations = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message IssetIntrinsic {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LabeledStatement {
|
|
|
|
PHPDiff _labeledStatementIdentifier = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Namespace {
|
|
|
|
repeated PHPDiff namespaceName = 1;
|
|
|
|
PHPDiff namespaceBody = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NamespaceAliasingClause {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NamespaceName {
|
|
|
|
repeated PHPDiff names = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NamespaceUseClause {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NamespaceUseDeclaration {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NamespaceUseGroupClause {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message NewVariable {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PrintIntrinsic {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PropertyDeclaration {
|
|
|
|
PHPDiff modifier = 1;
|
|
|
|
repeated PHPDiff elements = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PropertyModifier {
|
|
|
|
PHPDiff visibility = 1;
|
|
|
|
PHPDiff static = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message QualifiedName {
|
|
|
|
PHPDiff name = 1;
|
|
|
|
PHPDiff identifier = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RelativeScope {
|
|
|
|
string value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Require {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RequireOnce {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ReturnType {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ScalarType {
|
|
|
|
string value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ShellCommand {
|
|
|
|
string value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SimpleVariable {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Static {
|
|
|
|
string value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Text {
|
|
|
|
string value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TraitDeclaration {
|
|
|
|
PHPDiff traitName = 1;
|
|
|
|
repeated PHPDiff traitStatements = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TraitUseClause {
|
|
|
|
repeated PHPDiff namespace = 1;
|
|
|
|
PHPDiff alias = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TraitUseSpecification {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message TypeDeclaration {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Unset {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Update {
|
|
|
|
PHPDiff _updateSubject = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message UseClause {
|
|
|
|
repeated PHPDiff values = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message VariableName {
|
|
|
|
PHPDiff value = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Annotation {
|
|
|
|
PHPDiff annotationSubject = 1;
|
|
|
|
PHPDiff annotationType = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message List {
|
|
|
|
repeated PHPDiff listContent = 1;
|
|
|
|
}
|