diff --git a/proto/ruby-diffs.proto b/proto/ruby-diffs.proto index 6bb9faae5..b2d80ea36 100644 --- a/proto/ruby-diffs.proto +++ b/proto/ruby-diffs.proto @@ -440,52 +440,52 @@ message RubySyntax { ScopeResolution scopeResolution = 37; Subscript subscript = 38; Member member = 39; - Array array = 40; - Character character = 41; - Complex complex = 42; - Float float = 43; - Hash hash = 44; - Integer integer = 45; - InterpolationElement interpolationElement = 46; - KeyValue keyValue = 47; - Null null = 48; - Rational rational = 49; - Regex regex = 50; - String string = 51; - Symbol symbol = 52; - SymbolElement symbolElement = 53; - TextElement textElement = 54; - Assignment assignment = 55; - Break break = 56; - Catch catch = 57; - Continue continue = 58; - Else else = 59; - Finally finally = 60; - ForEach forEach = 61; - If if = 62; - Match match = 63; - Pattern pattern = 64; - Retry retry = 65; - Return return = 66; - ScopeEntry scopeEntry = 67; - ScopeExit scopeExit = 68; - Statements statements = 69; - Try try = 70; - While while = 71; - Yield yield = 72; - Context context = 73; - Empty empty = 74; - Error error = 75; - Identifier identifier = 76; - Class class = 77; - Load load = 78; - LowPrecedenceAnd lowPrecedenceAnd = 79; - LowPrecedenceOr lowPrecedenceOr = 80; - Module module = 81; - Require require = 82; - Send send = 83; - List list = 84; - This this = 85; + This this = 40; + Array array = 41; + Character character = 42; + Complex complex = 43; + Float float = 44; + Hash hash = 45; + Integer integer = 46; + InterpolationElement interpolationElement = 47; + KeyValue keyValue = 48; + Null null = 49; + Rational rational = 50; + Regex regex = 51; + String string = 52; + Symbol symbol = 53; + SymbolElement symbolElement = 54; + TextElement textElement = 55; + Assignment assignment = 56; + Break break = 57; + Catch catch = 58; + Continue continue = 59; + Else else = 60; + Finally finally = 61; + ForEach forEach = 62; + If if = 63; + Match match = 64; + Pattern pattern = 65; + Retry retry = 66; + Return return = 67; + ScopeEntry scopeEntry = 68; + ScopeExit scopeExit = 69; + Statements statements = 70; + Try try = 71; + While while = 72; + Yield yield = 73; + Context context = 74; + Empty empty = 75; + Error error = 76; + Identifier identifier = 77; + Class class = 78; + Load load = 79; + LowPrecedenceAnd lowPrecedenceAnd = 80; + LowPrecedenceOr lowPrecedenceOr = 81; + Module module = 82; + Require require = 83; + Send send = 84; + List list = 85; } } diff --git a/proto/ruby-terms.proto b/proto/ruby-terms.proto index c37490f6b..65ad5a571 100644 --- a/proto/ruby-terms.proto +++ b/proto/ruby-terms.proto @@ -422,52 +422,52 @@ message RubySyntax { ScopeResolution scopeResolution = 37; Subscript subscript = 38; Member member = 39; - Array array = 40; - Character character = 41; - Complex complex = 42; - Float float = 43; - Hash hash = 44; - Integer integer = 45; - InterpolationElement interpolationElement = 46; - KeyValue keyValue = 47; - Null null = 48; - Rational rational = 49; - Regex regex = 50; - String string = 51; - Symbol symbol = 52; - SymbolElement symbolElement = 53; - TextElement textElement = 54; - Assignment assignment = 55; - Break break = 56; - Catch catch = 57; - Continue continue = 58; - Else else = 59; - Finally finally = 60; - ForEach forEach = 61; - If if = 62; - Match match = 63; - Pattern pattern = 64; - Retry retry = 65; - Return return = 66; - ScopeEntry scopeEntry = 67; - ScopeExit scopeExit = 68; - Statements statements = 69; - Try try = 70; - While while = 71; - Yield yield = 72; - Context context = 73; - Empty empty = 74; - Error error = 75; - Identifier identifier = 76; - Class class = 77; - Load load = 78; - LowPrecedenceAnd lowPrecedenceAnd = 79; - LowPrecedenceOr lowPrecedenceOr = 80; - Module module = 81; - Require require = 82; - Send send = 83; - List list = 84; - This this = 85; + This this = 40; + Array array = 41; + Character character = 42; + Complex complex = 43; + Float float = 44; + Hash hash = 45; + Integer integer = 46; + InterpolationElement interpolationElement = 47; + KeyValue keyValue = 48; + Null null = 49; + Rational rational = 50; + Regex regex = 51; + String string = 52; + Symbol symbol = 53; + SymbolElement symbolElement = 54; + TextElement textElement = 55; + Assignment assignment = 56; + Break break = 57; + Catch catch = 58; + Continue continue = 59; + Else else = 60; + Finally finally = 61; + ForEach forEach = 62; + If if = 63; + Match match = 64; + Pattern pattern = 65; + Retry retry = 66; + Return return = 67; + ScopeEntry scopeEntry = 68; + ScopeExit scopeExit = 69; + Statements statements = 70; + Try try = 71; + While while = 72; + Yield yield = 73; + Context context = 74; + Empty empty = 75; + Error error = 76; + Identifier identifier = 77; + Class class = 78; + Load load = 79; + LowPrecedenceAnd lowPrecedenceAnd = 80; + LowPrecedenceOr lowPrecedenceOr = 81; + Module module = 82; + Require require = 83; + Send send = 84; + List list = 85; } } diff --git a/proto/typescript-diffs.proto b/proto/typescript-diffs.proto index 520f34668..1197c2194 100644 --- a/proto/typescript-diffs.proto +++ b/proto/typescript-diffs.proto @@ -99,119 +99,119 @@ message TypeScriptSyntax { InstanceOf instanceOf = 49; New new = 50; Await await = 51; - Array array = 52; - Boolean boolean = 53; - Float float = 54; - Hash hash = 55; - Integer integer = 56; - KeyValue keyValue = 57; - Null null = 58; - String string = 59; - TextElement textElement = 60; - Regex regex = 61; - Assignment assignment = 62; - Break break = 63; - Catch catch = 64; - Continue continue = 65; - DoWhile doWhile = 66; - Else else = 67; - Finally finally = 68; - For for = 69; - ForEach forEach = 70; - If if = 71; - Match match = 72; - Pattern pattern = 73; - Retry retry = 74; - Return return = 75; - ScopeEntry scopeEntry = 76; - ScopeExit scopeExit = 77; - Statements statements = 78; - Throw throw = 79; - Try try = 80; - While while = 81; - Yield yield = 82; - AccessibilityModifier accessibilityModifier = 83; - Empty empty = 84; - Error error = 85; - Identifier identifier = 86; - Context context = 87; - Readonly readonly = 88; - TypeParameters typeParameters = 89; - TypeParameter typeParameter = 90; - Constraint constraint = 91; - ParenthesizedType parenthesizedType = 92; - DefaultType defaultType = 93; - PredefinedType predefinedType = 94; - TypeIdentifier typeIdentifier = 95; - NestedIdentifier nestedIdentifier = 96; - NestedTypeIdentifier nestedTypeIdentifier = 97; - GenericType genericType = 98; - TypeArguments typeArguments = 99; - TypePredicate typePredicate = 100; - CallSignature callSignature = 101; - ConstructSignature constructSignature = 102; - ArrayType arrayType = 103; - LookupType lookupType = 104; - FlowMaybeType flowMaybeType = 105; - TypeQuery typeQuery = 106; - IndexTypeQuery indexTypeQuery = 107; - ThisType thisType = 108; - ExistentialType existentialType = 109; - AbstractMethodSignature abstractMethodSignature = 110; - IndexSignature indexSignature = 111; - ObjectType objectType = 112; - LiteralType literalType = 113; - Union union = 114; - Intersection intersection = 115; - Module module = 116; - InternalModule internalModule = 117; - FunctionType functionType = 118; - Tuple tuple = 119; - Constructor constructor = 120; - TypeAssertion typeAssertion = 121; - ImportAlias importAlias = 122; - Debugger debugger = 123; - ShorthandPropertyIdentifier shorthandPropertyIdentifier = 124; - Super super = 125; - Undefined undefined = 126; - ClassHeritage classHeritage = 127; - AbstractClass abstractClass = 128; - ImplementsClause implementsClause = 129; - JsxElement jsxElement = 130; - JsxSelfClosingElement jsxSelfClosingElement = 131; - JsxOpeningElement jsxOpeningElement = 132; - JsxText jsxText = 133; - JsxClosingElement jsxClosingElement = 134; - JsxExpression jsxExpression = 135; - JsxAttribute jsxAttribute = 136; - JsxFragment jsxFragment = 137; - JsxNamespaceName jsxNamespaceName = 138; - OptionalParameter optionalParameter = 139; - RequiredParameter requiredParameter = 140; - RestParameter restParameter = 141; - PropertySignature propertySignature = 142; - AmbientDeclaration ambientDeclaration = 143; - EnumDeclaration enumDeclaration = 144; - ExtendsClause extendsClause = 145; - AmbientFunction ambientFunction = 146; - ImportRequireClause importRequireClause = 147; - ImportClause importClause = 148; - LabeledStatement labeledStatement = 149; - Annotation annotation = 150; - With with = 151; - ForOf forOf = 152; - Update update = 153; - ComputedPropertyName computedPropertyName = 154; - Decorator decorator = 155; - Import import = 156; - QualifiedAliasedImport qualifiedAliasedImport = 157; - SideEffectImport sideEffectImport = 158; - DefaultExport defaultExport = 159; - QualifiedExport qualifiedExport = 160; - QualifiedExportFrom qualifiedExportFrom = 161; - JavaScriptRequire javaScriptRequire = 162; - List list = 163; - This this = 164; + This this = 52; + Array array = 53; + Boolean boolean = 54; + Float float = 55; + Hash hash = 56; + Integer integer = 57; + KeyValue keyValue = 58; + Null null = 59; + String string = 60; + TextElement textElement = 61; + Regex regex = 62; + Assignment assignment = 63; + Break break = 64; + Catch catch = 65; + Continue continue = 66; + DoWhile doWhile = 67; + Else else = 68; + Finally finally = 69; + For for = 70; + ForEach forEach = 71; + If if = 72; + Match match = 73; + Pattern pattern = 74; + Retry retry = 75; + Return return = 76; + ScopeEntry scopeEntry = 77; + ScopeExit scopeExit = 78; + Statements statements = 79; + Throw throw = 80; + Try try = 81; + While while = 82; + Yield yield = 83; + AccessibilityModifier accessibilityModifier = 84; + Empty empty = 85; + Error error = 86; + Identifier identifier = 87; + Context context = 88; + Readonly readonly = 89; + TypeParameters typeParameters = 90; + TypeParameter typeParameter = 91; + Constraint constraint = 92; + ParenthesizedType parenthesizedType = 93; + DefaultType defaultType = 94; + PredefinedType predefinedType = 95; + TypeIdentifier typeIdentifier = 96; + NestedIdentifier nestedIdentifier = 97; + NestedTypeIdentifier nestedTypeIdentifier = 98; + GenericType genericType = 99; + TypeArguments typeArguments = 100; + TypePredicate typePredicate = 101; + CallSignature callSignature = 102; + ConstructSignature constructSignature = 103; + ArrayType arrayType = 104; + LookupType lookupType = 105; + FlowMaybeType flowMaybeType = 106; + TypeQuery typeQuery = 107; + IndexTypeQuery indexTypeQuery = 108; + ThisType thisType = 109; + ExistentialType existentialType = 110; + AbstractMethodSignature abstractMethodSignature = 111; + IndexSignature indexSignature = 112; + ObjectType objectType = 113; + LiteralType literalType = 114; + Union union = 115; + Intersection intersection = 116; + Module module = 117; + InternalModule internalModule = 118; + FunctionType functionType = 119; + Tuple tuple = 120; + Constructor constructor = 121; + TypeAssertion typeAssertion = 122; + ImportAlias importAlias = 123; + Debugger debugger = 124; + ShorthandPropertyIdentifier shorthandPropertyIdentifier = 125; + Super super = 126; + Undefined undefined = 127; + ClassHeritage classHeritage = 128; + AbstractClass abstractClass = 129; + ImplementsClause implementsClause = 130; + JsxElement jsxElement = 131; + JsxSelfClosingElement jsxSelfClosingElement = 132; + JsxOpeningElement jsxOpeningElement = 133; + JsxText jsxText = 134; + JsxClosingElement jsxClosingElement = 135; + JsxExpression jsxExpression = 136; + JsxAttribute jsxAttribute = 137; + JsxFragment jsxFragment = 138; + JsxNamespaceName jsxNamespaceName = 139; + OptionalParameter optionalParameter = 140; + RequiredParameter requiredParameter = 141; + RestParameter restParameter = 142; + PropertySignature propertySignature = 143; + AmbientDeclaration ambientDeclaration = 144; + EnumDeclaration enumDeclaration = 145; + ExtendsClause extendsClause = 146; + AmbientFunction ambientFunction = 147; + ImportRequireClause importRequireClause = 148; + ImportClause importClause = 149; + LabeledStatement labeledStatement = 150; + Annotation annotation = 151; + With with = 152; + ForOf forOf = 153; + Update update = 154; + ComputedPropertyName computedPropertyName = 155; + Decorator decorator = 156; + Import import = 157; + QualifiedAliasedImport qualifiedAliasedImport = 158; + SideEffectImport sideEffectImport = 159; + DefaultExport defaultExport = 160; + QualifiedExport qualifiedExport = 161; + QualifiedExportFrom qualifiedExportFrom = 162; + JavaScriptRequire javaScriptRequire = 163; + List list = 164; } } @@ -472,6 +472,8 @@ message Await { TypeScriptDiff awaitSubject = 1; } +message This { } + message Array { repeated TypeScriptDiff arrayElements = 1; } @@ -978,5 +980,3 @@ message JavaScriptRequire { message List { repeated TypeScriptDiff listContent = 1; } - -message This { } diff --git a/proto/typescript-terms.proto b/proto/typescript-terms.proto index 94db4da5e..825b6b584 100644 --- a/proto/typescript-terms.proto +++ b/proto/typescript-terms.proto @@ -81,119 +81,119 @@ message TypeScriptSyntax { InstanceOf instanceOf = 49; New new = 50; Await await = 51; - Array array = 52; - Boolean boolean = 53; - Float float = 54; - Hash hash = 55; - Integer integer = 56; - KeyValue keyValue = 57; - Null null = 58; - String string = 59; - TextElement textElement = 60; - Regex regex = 61; - Assignment assignment = 62; - Break break = 63; - Catch catch = 64; - Continue continue = 65; - DoWhile doWhile = 66; - Else else = 67; - Finally finally = 68; - For for = 69; - ForEach forEach = 70; - If if = 71; - Match match = 72; - Pattern pattern = 73; - Retry retry = 74; - Return return = 75; - ScopeEntry scopeEntry = 76; - ScopeExit scopeExit = 77; - Statements statements = 78; - Throw throw = 79; - Try try = 80; - While while = 81; - Yield yield = 82; - AccessibilityModifier accessibilityModifier = 83; - Empty empty = 84; - Error error = 85; - Identifier identifier = 86; - Context context = 87; - Readonly readonly = 88; - TypeParameters typeParameters = 89; - TypeParameter typeParameter = 90; - Constraint constraint = 91; - ParenthesizedType parenthesizedType = 92; - DefaultType defaultType = 93; - PredefinedType predefinedType = 94; - TypeIdentifier typeIdentifier = 95; - NestedIdentifier nestedIdentifier = 96; - NestedTypeIdentifier nestedTypeIdentifier = 97; - GenericType genericType = 98; - TypeArguments typeArguments = 99; - TypePredicate typePredicate = 100; - CallSignature callSignature = 101; - ConstructSignature constructSignature = 102; - ArrayType arrayType = 103; - LookupType lookupType = 104; - FlowMaybeType flowMaybeType = 105; - TypeQuery typeQuery = 106; - IndexTypeQuery indexTypeQuery = 107; - ThisType thisType = 108; - ExistentialType existentialType = 109; - AbstractMethodSignature abstractMethodSignature = 110; - IndexSignature indexSignature = 111; - ObjectType objectType = 112; - LiteralType literalType = 113; - Union union = 114; - Intersection intersection = 115; - Module module = 116; - InternalModule internalModule = 117; - FunctionType functionType = 118; - Tuple tuple = 119; - Constructor constructor = 120; - TypeAssertion typeAssertion = 121; - ImportAlias importAlias = 122; - Debugger debugger = 123; - ShorthandPropertyIdentifier shorthandPropertyIdentifier = 124; - Super super = 125; - Undefined undefined = 126; - ClassHeritage classHeritage = 127; - AbstractClass abstractClass = 128; - ImplementsClause implementsClause = 129; - JsxElement jsxElement = 130; - JsxSelfClosingElement jsxSelfClosingElement = 131; - JsxOpeningElement jsxOpeningElement = 132; - JsxText jsxText = 133; - JsxClosingElement jsxClosingElement = 134; - JsxExpression jsxExpression = 135; - JsxAttribute jsxAttribute = 136; - JsxFragment jsxFragment = 137; - JsxNamespaceName jsxNamespaceName = 138; - OptionalParameter optionalParameter = 139; - RequiredParameter requiredParameter = 140; - RestParameter restParameter = 141; - PropertySignature propertySignature = 142; - AmbientDeclaration ambientDeclaration = 143; - EnumDeclaration enumDeclaration = 144; - ExtendsClause extendsClause = 145; - AmbientFunction ambientFunction = 146; - ImportRequireClause importRequireClause = 147; - ImportClause importClause = 148; - LabeledStatement labeledStatement = 149; - Annotation annotation = 150; - With with = 151; - ForOf forOf = 152; - Update update = 153; - ComputedPropertyName computedPropertyName = 154; - Decorator decorator = 155; - Import import = 156; - QualifiedAliasedImport qualifiedAliasedImport = 157; - SideEffectImport sideEffectImport = 158; - DefaultExport defaultExport = 159; - QualifiedExport qualifiedExport = 160; - QualifiedExportFrom qualifiedExportFrom = 161; - JavaScriptRequire javaScriptRequire = 162; - List list = 163; - This this = 164; + This this = 52; + Array array = 53; + Boolean boolean = 54; + Float float = 55; + Hash hash = 56; + Integer integer = 57; + KeyValue keyValue = 58; + Null null = 59; + String string = 60; + TextElement textElement = 61; + Regex regex = 62; + Assignment assignment = 63; + Break break = 64; + Catch catch = 65; + Continue continue = 66; + DoWhile doWhile = 67; + Else else = 68; + Finally finally = 69; + For for = 70; + ForEach forEach = 71; + If if = 72; + Match match = 73; + Pattern pattern = 74; + Retry retry = 75; + Return return = 76; + ScopeEntry scopeEntry = 77; + ScopeExit scopeExit = 78; + Statements statements = 79; + Throw throw = 80; + Try try = 81; + While while = 82; + Yield yield = 83; + AccessibilityModifier accessibilityModifier = 84; + Empty empty = 85; + Error error = 86; + Identifier identifier = 87; + Context context = 88; + Readonly readonly = 89; + TypeParameters typeParameters = 90; + TypeParameter typeParameter = 91; + Constraint constraint = 92; + ParenthesizedType parenthesizedType = 93; + DefaultType defaultType = 94; + PredefinedType predefinedType = 95; + TypeIdentifier typeIdentifier = 96; + NestedIdentifier nestedIdentifier = 97; + NestedTypeIdentifier nestedTypeIdentifier = 98; + GenericType genericType = 99; + TypeArguments typeArguments = 100; + TypePredicate typePredicate = 101; + CallSignature callSignature = 102; + ConstructSignature constructSignature = 103; + ArrayType arrayType = 104; + LookupType lookupType = 105; + FlowMaybeType flowMaybeType = 106; + TypeQuery typeQuery = 107; + IndexTypeQuery indexTypeQuery = 108; + ThisType thisType = 109; + ExistentialType existentialType = 110; + AbstractMethodSignature abstractMethodSignature = 111; + IndexSignature indexSignature = 112; + ObjectType objectType = 113; + LiteralType literalType = 114; + Union union = 115; + Intersection intersection = 116; + Module module = 117; + InternalModule internalModule = 118; + FunctionType functionType = 119; + Tuple tuple = 120; + Constructor constructor = 121; + TypeAssertion typeAssertion = 122; + ImportAlias importAlias = 123; + Debugger debugger = 124; + ShorthandPropertyIdentifier shorthandPropertyIdentifier = 125; + Super super = 126; + Undefined undefined = 127; + ClassHeritage classHeritage = 128; + AbstractClass abstractClass = 129; + ImplementsClause implementsClause = 130; + JsxElement jsxElement = 131; + JsxSelfClosingElement jsxSelfClosingElement = 132; + JsxOpeningElement jsxOpeningElement = 133; + JsxText jsxText = 134; + JsxClosingElement jsxClosingElement = 135; + JsxExpression jsxExpression = 136; + JsxAttribute jsxAttribute = 137; + JsxFragment jsxFragment = 138; + JsxNamespaceName jsxNamespaceName = 139; + OptionalParameter optionalParameter = 140; + RequiredParameter requiredParameter = 141; + RestParameter restParameter = 142; + PropertySignature propertySignature = 143; + AmbientDeclaration ambientDeclaration = 144; + EnumDeclaration enumDeclaration = 145; + ExtendsClause extendsClause = 146; + AmbientFunction ambientFunction = 147; + ImportRequireClause importRequireClause = 148; + ImportClause importClause = 149; + LabeledStatement labeledStatement = 150; + Annotation annotation = 151; + With with = 152; + ForOf forOf = 153; + Update update = 154; + ComputedPropertyName computedPropertyName = 155; + Decorator decorator = 156; + Import import = 157; + QualifiedAliasedImport qualifiedAliasedImport = 158; + SideEffectImport sideEffectImport = 159; + DefaultExport defaultExport = 160; + QualifiedExport qualifiedExport = 161; + QualifiedExportFrom qualifiedExportFrom = 162; + JavaScriptRequire javaScriptRequire = 163; + List list = 164; } }