// 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; Plus plus = 6; Minus minus = 7; Times times = 8; DividedBy dividedBy = 9; Modulo modulo = 10; Power power = 11; Negate negate = 12; FloorDivision floorDivision = 13; BAnd bAnd = 14; BOr bOr = 15; BXOr bXOr = 16; LShift lShift = 17; RShift rShift = 18; And and = 19; Not not = 20; Or or = 21; XOr xOr = 22; Call call = 23; Cast cast = 24; LessThan lessThan = 25; LessThanEqual lessThanEqual = 26; GreaterThan greaterThan = 27; GreaterThanEqual greaterThanEqual = 28; Equal equal = 29; StrictEqual strictEqual = 30; Comparison comparison = 31; InstanceOf instanceOf = 32; MemberAccess memberAccess = 33; New new = 34; SequenceExpression sequenceExpression = 35; Subscript subscript = 36; Member member = 37; Array array = 38; Float float = 39; Integer integer = 40; KeyValue keyValue = 41; TextElement textElement = 42; Assignment assignment = 43; Break break = 44; Catch catch = 45; Continue continue = 46; DoWhile doWhile = 47; Else else = 48; Finally finally = 49; For for = 50; ForEach forEach = 51; Goto goto = 52; If if = 53; Match match = 54; Pattern pattern = 55; Return return = 56; Statements statements = 57; Throw throw = 58; Try try = 59; While while = 60; Yield yield = 61; AliasAs aliasAs = 62; ArrayElement arrayElement = 63; BaseTypeDeclaration baseTypeDeclaration = 64; CastType castType = 65; ClassBaseClause classBaseClause = 66; ClassConstDeclaration classConstDeclaration = 67; ClassInterfaceClause classInterfaceClause = 68; ClassModifier classModifier = 69; Clone clone = 70; ConstDeclaration constDeclaration = 71; ConstructorDeclaration constructorDeclaration = 72; Context context = 73; Declare declare = 74; DeclareDirective declareDirective = 75; DestructorDeclaration destructorDeclaration = 76; Echo echo = 77; Empty empty = 78; EmptyIntrinsic emptyIntrinsic = 79; Error error = 80; ErrorControl errorControl = 81; EvalIntrinsic evalIntrinsic = 82; ExitIntrinsic exitIntrinsic = 83; GlobalDeclaration globalDeclaration = 84; Identifier identifier = 85; Include include = 86; IncludeOnce includeOnce = 87; InsteadOf insteadOf = 88; InterfaceBaseClause interfaceBaseClause = 89; InterfaceDeclaration interfaceDeclaration = 90; IssetIntrinsic issetIntrinsic = 91; LabeledStatement labeledStatement = 92; Namespace namespace = 93; NamespaceAliasingClause namespaceAliasingClause = 94; NamespaceName namespaceName = 95; NamespaceUseClause namespaceUseClause = 96; NamespaceUseDeclaration namespaceUseDeclaration = 97; NamespaceUseGroupClause namespaceUseGroupClause = 98; NewVariable newVariable = 99; PrintIntrinsic printIntrinsic = 100; PropertyDeclaration propertyDeclaration = 101; PropertyModifier propertyModifier = 102; QualifiedName qualifiedName = 103; RelativeScope relativeScope = 104; Require require = 105; RequireOnce requireOnce = 106; ReturnType returnType = 107; ScalarType scalarType = 108; ShellCommand shellCommand = 109; SimpleVariable simpleVariable = 110; Static static = 111; Text text = 112; TraitDeclaration traitDeclaration = 113; TraitUseClause traitUseClause = 114; TraitUseSpecification traitUseSpecification = 115; TypeDeclaration typeDeclaration = 116; Unset unset = 117; Update update = 118; UseClause useClause = 119; VariableName variableName = 120; Annotation annotation = 121; List list = 122; } } 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; PHPDiff methodReceiver = 2; PHPDiff methodName = 3; repeated PHPDiff methodParameters = 4; PHPDiff methodBody = 5; } message VariableDeclaration { repeated PHPDiff variableDeclarations = 1; } 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 { PHPDiff lhs = 1; PHPDiff rhs = 2; } message BOr { PHPDiff lhs = 1; PHPDiff rhs = 2; } message BXOr { PHPDiff lhs = 1; PHPDiff rhs = 2; } message LShift { PHPDiff lhs = 1; PHPDiff rhs = 2; } message RShift { PHPDiff lhs = 1; PHPDiff rhs = 2; } 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 { repeated PHPDiff newSubject = 1; } 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; }