// This file was generated by proto-gen. Do not edit by hand. syntax = "proto3"; package github.semantic.rubydiff; import "types.proto"; option java_package = "com.github.semantic.rubydiff"; option go_package = "github.com/semantic/rubydiff;ruby"; message RubyDiff { oneof diff { Merge merge = 1; Delete delete = 2; Insert insert = 3; Replace replace = 4; } message Merge { RubySyntax syntax = 1; } message Delete { RubySyntax before = 1; } message Insert { RubySyntax after = 1; } message Replace { RubySyntax before = 1; RubySyntax after = 2; } } message RubySyntax { oneof syntax { Comment comment = 1; Function function = 2; Method method = 3; File file = 4; Line line = 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; Complement complement = 19; And and = 20; Not not = 21; Or or = 22; XOr xOr = 23; Call call = 24; LessThan lessThan = 25; LessThanEqual lessThanEqual = 26; GreaterThan greaterThan = 27; GreaterThanEqual greaterThanEqual = 28; Equal equal = 29; StrictEqual strictEqual = 30; Comparison comparison = 31; Enumeration enumeration = 32; Matches matches = 33; NotMatches notMatches = 34; MemberAccess memberAccess = 35; ScopeResolution scopeResolution = 36; Subscript subscript = 37; Member member = 38; This this = 39; Array array = 40; Boolean boolean = 41; Character character = 42; Complex complex = 43; EscapeSequence escapeSequence = 44; Float float = 45; Hash hash = 46; Integer integer = 47; InterpolationElement interpolationElement = 48; KeyValue keyValue = 49; Null null = 50; Rational rational = 51; Regex regex = 52; String string = 53; Symbol symbol = 54; SymbolElement symbolElement = 55; TextElement textElement = 56; Assignment assignment = 57; Break break = 58; Catch catch = 59; Continue continue = 60; Else else = 61; Finally finally = 62; ForEach forEach = 63; If if = 64; Match match = 65; Pattern pattern = 66; Retry retry = 67; Return return = 68; ScopeEntry scopeEntry = 69; ScopeExit scopeExit = 70; Statements statements = 71; Try try = 72; While while = 73; Yield yield = 74; Context context = 75; Empty empty = 76; Error error = 77; Identifier identifier = 78; Class class = 79; Load load = 80; LowPrecedenceAnd lowPrecedenceAnd = 81; LowPrecedenceOr lowPrecedenceOr = 82; Module module = 83; Require require = 84; Send send = 85; List list = 86; } } message Comment { string commentContent = 1; } message Function { repeated RubyDiff functionContext = 1; RubyDiff functionName = 2; repeated RubyDiff functionParameters = 3; RubyDiff functionBody = 4; } message Method { repeated RubyDiff methodContext = 1; RubyDiff methodReceiver = 2; RubyDiff methodName = 3; repeated RubyDiff methodParameters = 4; RubyDiff methodBody = 5; } message File { } message Line { } message Plus { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Minus { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Times { RubyDiff lhs = 1; RubyDiff rhs = 2; } message DividedBy { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Modulo { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Power { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Negate { RubyDiff value = 1; } message FloorDivision { RubyDiff lhs = 1; RubyDiff rhs = 2; } message BAnd { RubyDiff left = 1; RubyDiff right = 2; } message BOr { RubyDiff left = 1; RubyDiff right = 2; } message BXOr { RubyDiff left = 1; RubyDiff right = 2; } message LShift { RubyDiff left = 1; RubyDiff right = 2; } message RShift { RubyDiff left = 1; RubyDiff right = 2; } message Complement { RubyDiff value = 1; } message And { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Not { RubyDiff value = 1; } message Or { RubyDiff lhs = 1; RubyDiff rhs = 2; } message XOr { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Call { repeated RubyDiff callContext = 1; RubyDiff callFunction = 2; repeated RubyDiff callParams = 3; RubyDiff callBlock = 4; } message LessThan { RubyDiff lhs = 1; RubyDiff rhs = 2; } message LessThanEqual { RubyDiff lhs = 1; RubyDiff rhs = 2; } message GreaterThan { RubyDiff lhs = 1; RubyDiff rhs = 2; } message GreaterThanEqual { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Equal { RubyDiff lhs = 1; RubyDiff rhs = 2; } message StrictEqual { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Comparison { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Enumeration { RubyDiff enumerationStart = 1; RubyDiff enumerationEnd = 2; RubyDiff enumerationStep = 3; } message Matches { RubyDiff lhs = 1; RubyDiff rhs = 2; } message NotMatches { RubyDiff lhs = 1; RubyDiff rhs = 2; } message MemberAccess { RubyDiff lhs = 1; bytes rhs = 2; } message ScopeResolution { repeated RubyDiff scopes = 1; } message Subscript { RubyDiff lhs = 1; repeated RubyDiff rhs = 2; } message Member { RubyDiff lhs = 1; RubyDiff rhs = 2; } message This { } message Array { repeated RubyDiff arrayElements = 1; } message Boolean { bool booleanContent = 1; } message Character { string characterContent = 1; } message Complex { string value = 1; } message EscapeSequence { string value = 1; } message Float { string floatContent = 1; } message Hash { repeated RubyDiff hashElements = 1; } message Integer { string integerContent = 1; } message InterpolationElement { RubyDiff interpolationBody = 1; } message KeyValue { RubyDiff key = 1; RubyDiff value = 2; } message Null { } message Rational { string value = 1; } message Regex { string regexContent = 1; } message String { repeated RubyDiff stringElements = 1; } message Symbol { repeated RubyDiff symbolElements = 1; } message SymbolElement { string symbolContent = 1; } message TextElement { string textElementContent = 1; } message Assignment { repeated RubyDiff assignmentContext = 1; RubyDiff assignmentTarget = 2; RubyDiff assignmentValue = 3; } message Break { RubyDiff value = 1; } message Catch { RubyDiff catchException = 1; RubyDiff catchBody = 2; } message Continue { RubyDiff value = 1; } message Else { RubyDiff elseCondition = 1; RubyDiff elseBody = 2; } message Finally { RubyDiff value = 1; } message ForEach { RubyDiff forEachBinding = 1; RubyDiff forEachSubject = 2; RubyDiff forEachBody = 3; } message If { RubyDiff ifCondition = 1; RubyDiff ifThenBody = 2; RubyDiff ifElseBody = 3; } message Match { RubyDiff matchSubject = 1; RubyDiff matchPatterns = 2; } message Pattern { RubyDiff value = 1; RubyDiff patternBody = 2; } message Retry { RubyDiff value = 1; } message Return { RubyDiff value = 1; } message ScopeEntry { repeated RubyDiff terms = 1; } message ScopeExit { repeated RubyDiff terms = 1; } message Statements { repeated RubyDiff statements = 1; } message Try { RubyDiff tryBody = 1; repeated RubyDiff tryCatch = 2; } message While { RubyDiff whileCondition = 1; RubyDiff whileBody = 2; } message Yield { RubyDiff value = 1; } message Context { repeated RubyDiff contextTerms = 1; RubyDiff contextSubject = 2; } message Empty { } message Error { repeated ErrorSite errorCallStack = 1; repeated string errorExpected = 2; string errorActual = 3; repeated RubyDiff errorChildren = 4; } message Identifier { bytes name = 1; } message Class { RubyDiff classIdentifier = 1; repeated RubyDiff classSuperClass = 2; RubyDiff classBody = 3; } message Load { RubyDiff loadPath = 1; repeated RubyDiff loadWrap = 2; } message LowPrecedenceAnd { RubyDiff lhs = 1; RubyDiff rhs = 2; } message LowPrecedenceOr { RubyDiff lhs = 1; RubyDiff rhs = 2; } message Module { RubyDiff moduleIdentifier = 1; repeated RubyDiff moduleStatements = 2; } message Require { bool requireRelative = 1; RubyDiff requirePath = 2; } message Send { repeated RubyDiff sendReceiver = 1; repeated RubyDiff sendSelector = 2; repeated RubyDiff sendArgs = 3; repeated RubyDiff sendBlock = 4; } message List { repeated RubyDiff listContent = 1; }