mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
Remove crazy term and diff language specific protos
This commit is contained in:
parent
d80098615d
commit
8d989cdead
@ -1,203 +0,0 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic;
|
||||
|
||||
// import "google/protobuf/duration.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/rpc/errdetails;errdetails";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "ErrorDetailsProto";
|
||||
option java_package = "com.google.rpc";
|
||||
option objc_class_prefix = "RPC";
|
||||
|
||||
|
||||
// Describes when the clients can retry a failed request. Clients could ignore
|
||||
// the recommendation here or retry when this information is missing from error
|
||||
// responses.
|
||||
//
|
||||
// It's always recommended that clients should use exponential backoff when
|
||||
// retrying.
|
||||
//
|
||||
// Clients should wait until `retry_delay` amount of time has passed since
|
||||
// receiving the error response before retrying. If retrying requests also
|
||||
// fail, clients should use an exponential backoff scheme to gradually increase
|
||||
// the delay between retries based on `retry_delay`, until either a maximum
|
||||
// number of retries have been reached or a maximum retry delay cap has been
|
||||
// reached.
|
||||
|
||||
// Commented out for the semantic code API for the time being
|
||||
|
||||
// message RetryInfo {
|
||||
// // Clients should wait at least this long between retrying the same request.
|
||||
// google.protobuf.Duration retry_delay = 1;
|
||||
// }
|
||||
|
||||
// Describes additional debugging info.
|
||||
message DebugInfo {
|
||||
// The stack trace entries indicating where the error occurred.
|
||||
repeated string stack_entries = 1;
|
||||
|
||||
// Additional debugging information provided by the server.
|
||||
string detail = 2;
|
||||
}
|
||||
|
||||
// Describes how a quota check failed.
|
||||
//
|
||||
// For example if a daily limit was exceeded for the calling project,
|
||||
// a service could respond with a QuotaFailure detail containing the project
|
||||
// id and the description of the quota limit that was exceeded. If the
|
||||
// calling project hasn't enabled the service in the developer console, then
|
||||
// a service could respond with the project id and set `service_disabled`
|
||||
// to true.
|
||||
//
|
||||
// Also see RetryDetail and Help types for other details about handling a
|
||||
// quota failure.
|
||||
message QuotaFailure {
|
||||
// A message type used to describe a single quota violation. For example, a
|
||||
// daily quota or a custom quota that was exceeded.
|
||||
message Violation {
|
||||
// The subject on which the quota check failed.
|
||||
// For example, "clientip:<ip address of client>" or "project:<Google
|
||||
// developer project id>".
|
||||
string subject = 1;
|
||||
|
||||
// A description of how the quota check failed. Clients can use this
|
||||
// description to find more about the quota configuration in the service's
|
||||
// public documentation, or find the relevant quota limit to adjust through
|
||||
// developer console.
|
||||
//
|
||||
// For example: "Service disabled" or "Daily Limit for read operations
|
||||
// exceeded".
|
||||
string description = 2;
|
||||
}
|
||||
|
||||
// Describes all quota violations.
|
||||
repeated Violation violations = 1;
|
||||
}
|
||||
|
||||
// Describes what preconditions have failed.
|
||||
//
|
||||
// For example, if an RPC failed because it required the Terms of Service to be
|
||||
// acknowledged, it could list the terms of service violation in the
|
||||
// PreconditionFailure message.
|
||||
message PreconditionFailure {
|
||||
// A message type used to describe a single precondition failure.
|
||||
message Violation {
|
||||
// The type of PreconditionFailure. We recommend using a service-specific
|
||||
// enum type to define the supported precondition violation types. For
|
||||
// example, "TOS" for "Terms of Service violation".
|
||||
string type = 1;
|
||||
|
||||
// The subject, relative to the type, that failed.
|
||||
// For example, "google.com/cloud" relative to the "TOS" type would
|
||||
// indicate which terms of service is being referenced.
|
||||
string subject = 2;
|
||||
|
||||
// A description of how the precondition failed. Developers can use this
|
||||
// description to understand how to fix the failure.
|
||||
//
|
||||
// For example: "Terms of service not accepted".
|
||||
string description = 3;
|
||||
}
|
||||
|
||||
// Describes all precondition violations.
|
||||
repeated Violation violations = 1;
|
||||
}
|
||||
|
||||
// Describes violations in a client request. This error type focuses on the
|
||||
// syntactic aspects of the request.
|
||||
message BadRequest {
|
||||
// A message type used to describe a single bad request field.
|
||||
message FieldViolation {
|
||||
// A path leading to a field in the request body. The value will be a
|
||||
// sequence of dot-separated identifiers that identify a protocol buffer
|
||||
// field. E.g., "field_violations.field" would identify this field.
|
||||
string field = 1;
|
||||
|
||||
// A description of why the request element is bad.
|
||||
string description = 2;
|
||||
}
|
||||
|
||||
// Describes all violations in a client request.
|
||||
repeated FieldViolation field_violations = 1;
|
||||
}
|
||||
|
||||
// Contains metadata about the request that clients can attach when filing a bug
|
||||
// or providing other forms of feedback.
|
||||
message RequestInfo {
|
||||
// An opaque string that should only be interpreted by the service generating
|
||||
// it. For example, it can be used to identify requests in the service's logs.
|
||||
string request_id = 1;
|
||||
|
||||
// Any data that was used to serve this request. For example, an encrypted
|
||||
// stack trace that can be sent back to the service provider for debugging.
|
||||
string serving_data = 2;
|
||||
}
|
||||
|
||||
// Describes the resource that is being accessed.
|
||||
message ResourceInfo {
|
||||
// A name for the type of resource being accessed, e.g. "sql table",
|
||||
// "cloud storage bucket", "file", "Google calendar"; or the type URL
|
||||
// of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
|
||||
string resource_type = 1;
|
||||
|
||||
// The name of the resource being accessed. For example, a shared calendar
|
||||
// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
|
||||
// error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
|
||||
string resource_name = 2;
|
||||
|
||||
// The owner of the resource (optional).
|
||||
// For example, "user:<owner email>" or "project:<Google developer project
|
||||
// id>".
|
||||
string owner = 3;
|
||||
|
||||
// Describes what error is encountered when accessing this resource.
|
||||
// For example, updating a cloud project may require the `writer` permission
|
||||
// on the developer console project.
|
||||
string description = 4;
|
||||
}
|
||||
|
||||
// Provides links to documentation or for performing an out of band action.
|
||||
//
|
||||
// For example, if a quota check failed with an error indicating the calling
|
||||
// project hasn't enabled the accessed service, this can contain a URL pointing
|
||||
// directly to the right place in the developer console to flip the bit.
|
||||
message Help {
|
||||
// Describes a URL link.
|
||||
message Link {
|
||||
// Describes what the link offers.
|
||||
string description = 1;
|
||||
|
||||
// The URL of the link.
|
||||
string url = 2;
|
||||
}
|
||||
|
||||
// URL(s) pointing to additional information on handling the current error.
|
||||
repeated Link links = 1;
|
||||
}
|
||||
|
||||
// Provides a localized error message that is safe to return to the user
|
||||
// which can be attached to an RPC error.
|
||||
message LocalizedMessage {
|
||||
// The locale used following the specification defined at
|
||||
// http://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
||||
// Examples are: "en-US", "fr-CH", "es-MX"
|
||||
string locale = 1;
|
||||
|
||||
// The localized error message in the above locale.
|
||||
string message = 2;
|
||||
}
|
@ -1,619 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.godiff;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.godiff";
|
||||
option go_package = "github.com/semantic/godiff;go";
|
||||
|
||||
message GoDiff {
|
||||
oneof diff {
|
||||
Merge merge = 1;
|
||||
Delete delete = 2;
|
||||
Insert insert = 3;
|
||||
Replace replace = 4;
|
||||
}
|
||||
message Merge {
|
||||
GoSyntax syntax = 1;
|
||||
}
|
||||
message Delete {
|
||||
GoSyntax before = 1;
|
||||
}
|
||||
message Insert {
|
||||
GoSyntax after = 1;
|
||||
}
|
||||
message Replace {
|
||||
GoSyntax before = 1;
|
||||
GoSyntax after = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message GoSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Constructor constructor = 2;
|
||||
Function function = 3;
|
||||
Method method = 4;
|
||||
MethodSignature methodSignature = 5;
|
||||
Type type = 6;
|
||||
TypeAlias typeAlias = 7;
|
||||
Plus plus = 8;
|
||||
Minus minus = 9;
|
||||
Times times = 10;
|
||||
DividedBy dividedBy = 11;
|
||||
Modulo modulo = 12;
|
||||
Power power = 13;
|
||||
Negate negate = 14;
|
||||
FloorDivision floorDivision = 15;
|
||||
BOr bOr = 16;
|
||||
BAnd bAnd = 17;
|
||||
BXOr bXOr = 18;
|
||||
LShift lShift = 19;
|
||||
RShift rShift = 20;
|
||||
UnsignedRShift unsignedRShift = 21;
|
||||
Complement complement = 22;
|
||||
Call call = 23;
|
||||
LessThan lessThan = 24;
|
||||
LessThanEqual lessThanEqual = 25;
|
||||
GreaterThan greaterThan = 26;
|
||||
GreaterThanEqual greaterThanEqual = 27;
|
||||
Equal equal = 28;
|
||||
StrictEqual strictEqual = 29;
|
||||
Comparison comparison = 30;
|
||||
Subscript subscript = 31;
|
||||
Member member = 32;
|
||||
PostDecrement postDecrement = 33;
|
||||
PostIncrement postIncrement = 34;
|
||||
MemberAccess memberAccess = 35;
|
||||
And and = 36;
|
||||
Not not = 37;
|
||||
Or or = 38;
|
||||
XOr xOr = 39;
|
||||
Composite composite = 40;
|
||||
DefaultPattern defaultPattern = 41;
|
||||
Defer defer = 42;
|
||||
Field field = 43;
|
||||
Go go = 44;
|
||||
Label label = 45;
|
||||
Package package = 46;
|
||||
Receive receive = 47;
|
||||
ReceiveOperator receiveOperator = 48;
|
||||
Rune rune = 49;
|
||||
Select select = 50;
|
||||
Send send = 51;
|
||||
Slice slice = 52;
|
||||
TypeAssertion typeAssertion = 53;
|
||||
TypeConversion typeConversion = 54;
|
||||
TypeSwitch typeSwitch = 55;
|
||||
TypeSwitchGuard typeSwitchGuard = 56;
|
||||
Variadic variadic = 57;
|
||||
BidirectionalChannel bidirectionalChannel = 58;
|
||||
ReceiveChannel receiveChannel = 59;
|
||||
SendChannel sendChannel = 60;
|
||||
Import import = 61;
|
||||
QualifiedImport qualifiedImport = 62;
|
||||
SideEffectImport sideEffectImport = 63;
|
||||
Array array = 64;
|
||||
Complex complex = 65;
|
||||
Float float = 66;
|
||||
Hash hash = 67;
|
||||
Integer integer = 68;
|
||||
KeyValue keyValue = 69;
|
||||
Pointer pointer = 70;
|
||||
Reference reference = 71;
|
||||
TextElement textElement = 72;
|
||||
Assignment assignment = 73;
|
||||
Break break = 74;
|
||||
Continue continue = 75;
|
||||
For for = 76;
|
||||
ForEach forEach = 77;
|
||||
Goto goto = 78;
|
||||
If if = 79;
|
||||
Match match = 80;
|
||||
NoOp noOp = 81;
|
||||
Pattern pattern = 82;
|
||||
Return return = 83;
|
||||
Statements statements = 84;
|
||||
Context context = 85;
|
||||
Error error = 86;
|
||||
Empty empty = 87;
|
||||
Identifier identifier = 88;
|
||||
Annotation annotation = 89;
|
||||
TypeArray typeArray = 90;
|
||||
TypeFunction typeFunction = 91;
|
||||
Interface interface = 92;
|
||||
Map map = 93;
|
||||
Parenthesized parenthesized = 94;
|
||||
TypePointer typePointer = 95;
|
||||
TypeSlice typeSlice = 96;
|
||||
List list = 97;
|
||||
String string = 98;
|
||||
EscapeSequence escapeSequence = 99;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
repeated GoDiff constructorContext = 1;
|
||||
GoDiff constructorName = 2;
|
||||
GoDiff constructorFields = 3;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated GoDiff functionContext = 1;
|
||||
GoDiff functionName = 2;
|
||||
repeated GoDiff functionParameters = 3;
|
||||
GoDiff functionBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated GoDiff methodContext = 1;
|
||||
GoDiff methodReceiver = 2;
|
||||
GoDiff methodName = 3;
|
||||
repeated GoDiff methodParameters = 4;
|
||||
GoDiff methodBody = 5;
|
||||
}
|
||||
|
||||
message MethodSignature {
|
||||
repeated GoDiff methodSignatureContext = 1;
|
||||
GoDiff methodSignatureName = 2;
|
||||
repeated GoDiff methodSignatureParameters = 3;
|
||||
}
|
||||
|
||||
message Type {
|
||||
GoDiff typeName = 1;
|
||||
GoDiff typeKind = 2;
|
||||
}
|
||||
|
||||
message TypeAlias {
|
||||
repeated GoDiff typeAliasContext = 1;
|
||||
GoDiff typeAliasIdentifier = 2;
|
||||
GoDiff typeAliasKind = 3;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message UnsignedRShift {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated GoDiff callContext = 1;
|
||||
GoDiff callFunction = 2;
|
||||
repeated GoDiff callParams = 3;
|
||||
GoDiff callBlock = 4;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
GoDiff lhs = 1;
|
||||
repeated GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message PostDecrement {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message PostIncrement {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
GoDiff lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message And {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
GoDiff lhs = 1;
|
||||
GoDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Composite {
|
||||
GoDiff compositeType = 1;
|
||||
GoDiff compositeElement = 2;
|
||||
}
|
||||
|
||||
message DefaultPattern {
|
||||
GoDiff defaultPatternBody = 1;
|
||||
}
|
||||
|
||||
message Defer {
|
||||
GoDiff deferBody = 1;
|
||||
}
|
||||
|
||||
message Field {
|
||||
repeated GoDiff fieldContext = 1;
|
||||
GoDiff fieldName = 2;
|
||||
}
|
||||
|
||||
message Go {
|
||||
GoDiff goBody = 1;
|
||||
}
|
||||
|
||||
message Label {
|
||||
GoDiff labelName = 1;
|
||||
GoDiff labelStatement = 2;
|
||||
}
|
||||
|
||||
message Package {
|
||||
GoDiff packageName = 1;
|
||||
repeated GoDiff packageContents = 2;
|
||||
}
|
||||
|
||||
message Receive {
|
||||
GoDiff receiveSubject = 1;
|
||||
GoDiff receiveExpression = 2;
|
||||
}
|
||||
|
||||
message ReceiveOperator {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Rune {
|
||||
string runeLiteral = 1;
|
||||
}
|
||||
|
||||
message Select {
|
||||
GoDiff selectCases = 1;
|
||||
}
|
||||
|
||||
message Send {
|
||||
GoDiff sendReceiver = 1;
|
||||
GoDiff sendValue = 2;
|
||||
}
|
||||
|
||||
message Slice {
|
||||
GoDiff sliceName = 1;
|
||||
GoDiff sliceLow = 2;
|
||||
GoDiff sliceHigh = 3;
|
||||
GoDiff sliceCapacity = 4;
|
||||
}
|
||||
|
||||
message TypeAssertion {
|
||||
GoDiff typeAssertionSubject = 1;
|
||||
GoDiff typeAssertionType = 2;
|
||||
}
|
||||
|
||||
message TypeConversion {
|
||||
GoDiff typeConversionType = 1;
|
||||
GoDiff typeConversionSubject = 2;
|
||||
}
|
||||
|
||||
message TypeSwitch {
|
||||
GoDiff typeSwitchSubject = 1;
|
||||
GoDiff typeSwitchCases = 2;
|
||||
}
|
||||
|
||||
message TypeSwitchGuard {
|
||||
GoDiff typeSwitchGuardSubject = 1;
|
||||
}
|
||||
|
||||
message Variadic {
|
||||
repeated GoDiff variadicContext = 1;
|
||||
GoDiff variadicIdentifier = 2;
|
||||
}
|
||||
|
||||
message BidirectionalChannel {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message ReceiveChannel {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message SendChannel {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
ImportPath importFrom = 1;
|
||||
GoDiff importWildcardToken = 2;
|
||||
}
|
||||
|
||||
message QualifiedImport {
|
||||
ImportPath qualifiedImportFrom = 1;
|
||||
GoDiff qualifiedImportAlias = 2;
|
||||
}
|
||||
|
||||
message SideEffectImport {
|
||||
ImportPath sideEffectImportFrom = 1;
|
||||
GoDiff sideEffectImportToken = 2;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated GoDiff arrayElements = 1;
|
||||
}
|
||||
|
||||
message Complex {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated GoDiff hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
GoDiff key = 1;
|
||||
GoDiff value = 2;
|
||||
}
|
||||
|
||||
message Pointer {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Reference {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated GoDiff assignmentContext = 1;
|
||||
GoDiff assignmentTarget = 2;
|
||||
GoDiff assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message For {
|
||||
GoDiff forBefore = 1;
|
||||
GoDiff forCondition = 2;
|
||||
GoDiff forStep = 3;
|
||||
GoDiff forBody = 4;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
GoDiff forEachBinding = 1;
|
||||
GoDiff forEachSubject = 2;
|
||||
GoDiff forEachBody = 3;
|
||||
}
|
||||
|
||||
message Goto {
|
||||
GoDiff gotoLocation = 1;
|
||||
}
|
||||
|
||||
message If {
|
||||
GoDiff ifCondition = 1;
|
||||
GoDiff ifThenBody = 2;
|
||||
GoDiff ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
GoDiff matchSubject = 1;
|
||||
GoDiff matchPatterns = 2;
|
||||
}
|
||||
|
||||
message NoOp {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
GoDiff value = 1;
|
||||
GoDiff patternBody = 2;
|
||||
}
|
||||
|
||||
message Return {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated GoDiff statements = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated GoDiff contextTerms = 1;
|
||||
GoDiff contextSubject = 2;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated GoDiff errorChildren = 4;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
GoDiff annotationSubject = 1;
|
||||
GoDiff annotationType = 2;
|
||||
}
|
||||
|
||||
message TypeArray {
|
||||
repeated GoDiff arraySize = 1;
|
||||
GoDiff arrayElementType = 2;
|
||||
}
|
||||
|
||||
message TypeFunction {
|
||||
repeated GoDiff functionParameters = 1;
|
||||
GoDiff functionReturn = 2;
|
||||
}
|
||||
|
||||
message Interface {
|
||||
repeated GoDiff values = 1;
|
||||
}
|
||||
|
||||
message Map {
|
||||
GoDiff mapKeyType = 1;
|
||||
GoDiff mapElementType = 2;
|
||||
}
|
||||
|
||||
message Parenthesized {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message TypePointer {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message TypeSlice {
|
||||
GoDiff value = 1;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated GoDiff listContent = 1;
|
||||
}
|
||||
|
||||
message String {
|
||||
repeated GoDiff stringElements = 1;
|
||||
}
|
||||
|
||||
message EscapeSequence {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message ImportPath {
|
||||
string unPath = 1;
|
||||
IsRelative pathIsRelative = 2;
|
||||
}
|
||||
|
||||
enum IsRelative {
|
||||
Unknown = 0;
|
||||
Relative = 1;
|
||||
NonRelative = 2;
|
||||
}
|
@ -1,601 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.goterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.goterm";
|
||||
option go_package = "github.com/semantic/goterm;go";
|
||||
|
||||
message GoTerm {
|
||||
GoSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message GoSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Constructor constructor = 2;
|
||||
Function function = 3;
|
||||
Method method = 4;
|
||||
MethodSignature methodSignature = 5;
|
||||
Type type = 6;
|
||||
TypeAlias typeAlias = 7;
|
||||
Plus plus = 8;
|
||||
Minus minus = 9;
|
||||
Times times = 10;
|
||||
DividedBy dividedBy = 11;
|
||||
Modulo modulo = 12;
|
||||
Power power = 13;
|
||||
Negate negate = 14;
|
||||
FloorDivision floorDivision = 15;
|
||||
BOr bOr = 16;
|
||||
BAnd bAnd = 17;
|
||||
BXOr bXOr = 18;
|
||||
LShift lShift = 19;
|
||||
RShift rShift = 20;
|
||||
UnsignedRShift unsignedRShift = 21;
|
||||
Complement complement = 22;
|
||||
Call call = 23;
|
||||
LessThan lessThan = 24;
|
||||
LessThanEqual lessThanEqual = 25;
|
||||
GreaterThan greaterThan = 26;
|
||||
GreaterThanEqual greaterThanEqual = 27;
|
||||
Equal equal = 28;
|
||||
StrictEqual strictEqual = 29;
|
||||
Comparison comparison = 30;
|
||||
Subscript subscript = 31;
|
||||
Member member = 32;
|
||||
PostDecrement postDecrement = 33;
|
||||
PostIncrement postIncrement = 34;
|
||||
MemberAccess memberAccess = 35;
|
||||
And and = 36;
|
||||
Not not = 37;
|
||||
Or or = 38;
|
||||
XOr xOr = 39;
|
||||
Composite composite = 40;
|
||||
DefaultPattern defaultPattern = 41;
|
||||
Defer defer = 42;
|
||||
Field field = 43;
|
||||
Go go = 44;
|
||||
Label label = 45;
|
||||
Package package = 46;
|
||||
Receive receive = 47;
|
||||
ReceiveOperator receiveOperator = 48;
|
||||
Rune rune = 49;
|
||||
Select select = 50;
|
||||
Send send = 51;
|
||||
Slice slice = 52;
|
||||
TypeAssertion typeAssertion = 53;
|
||||
TypeConversion typeConversion = 54;
|
||||
TypeSwitch typeSwitch = 55;
|
||||
TypeSwitchGuard typeSwitchGuard = 56;
|
||||
Variadic variadic = 57;
|
||||
BidirectionalChannel bidirectionalChannel = 58;
|
||||
ReceiveChannel receiveChannel = 59;
|
||||
SendChannel sendChannel = 60;
|
||||
Import import = 61;
|
||||
QualifiedImport qualifiedImport = 62;
|
||||
SideEffectImport sideEffectImport = 63;
|
||||
Array array = 64;
|
||||
Complex complex = 65;
|
||||
Float float = 66;
|
||||
Hash hash = 67;
|
||||
Integer integer = 68;
|
||||
KeyValue keyValue = 69;
|
||||
Pointer pointer = 70;
|
||||
Reference reference = 71;
|
||||
TextElement textElement = 72;
|
||||
Assignment assignment = 73;
|
||||
Break break = 74;
|
||||
Continue continue = 75;
|
||||
For for = 76;
|
||||
ForEach forEach = 77;
|
||||
Goto goto = 78;
|
||||
If if = 79;
|
||||
Match match = 80;
|
||||
NoOp noOp = 81;
|
||||
Pattern pattern = 82;
|
||||
Return return = 83;
|
||||
Statements statements = 84;
|
||||
Context context = 85;
|
||||
Error error = 86;
|
||||
Empty empty = 87;
|
||||
Identifier identifier = 88;
|
||||
Annotation annotation = 89;
|
||||
TypeArray typeArray = 90;
|
||||
TypeFunction typeFunction = 91;
|
||||
Interface interface = 92;
|
||||
Map map = 93;
|
||||
Parenthesized parenthesized = 94;
|
||||
TypePointer typePointer = 95;
|
||||
TypeSlice typeSlice = 96;
|
||||
List list = 97;
|
||||
String string = 98;
|
||||
EscapeSequence escapeSequence = 99;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
repeated GoTerm constructorContext = 1;
|
||||
GoTerm constructorName = 2;
|
||||
GoTerm constructorFields = 3;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated GoTerm functionContext = 1;
|
||||
GoTerm functionName = 2;
|
||||
repeated GoTerm functionParameters = 3;
|
||||
GoTerm functionBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated GoTerm methodContext = 1;
|
||||
GoTerm methodReceiver = 2;
|
||||
GoTerm methodName = 3;
|
||||
repeated GoTerm methodParameters = 4;
|
||||
GoTerm methodBody = 5;
|
||||
}
|
||||
|
||||
message MethodSignature {
|
||||
repeated GoTerm methodSignatureContext = 1;
|
||||
GoTerm methodSignatureName = 2;
|
||||
repeated GoTerm methodSignatureParameters = 3;
|
||||
}
|
||||
|
||||
message Type {
|
||||
GoTerm typeName = 1;
|
||||
GoTerm typeKind = 2;
|
||||
}
|
||||
|
||||
message TypeAlias {
|
||||
repeated GoTerm typeAliasContext = 1;
|
||||
GoTerm typeAliasIdentifier = 2;
|
||||
GoTerm typeAliasKind = 3;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message UnsignedRShift {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated GoTerm callContext = 1;
|
||||
GoTerm callFunction = 2;
|
||||
repeated GoTerm callParams = 3;
|
||||
GoTerm callBlock = 4;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
GoTerm lhs = 1;
|
||||
repeated GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message PostDecrement {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message PostIncrement {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
GoTerm lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message And {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
GoTerm lhs = 1;
|
||||
GoTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Composite {
|
||||
GoTerm compositeType = 1;
|
||||
GoTerm compositeElement = 2;
|
||||
}
|
||||
|
||||
message DefaultPattern {
|
||||
GoTerm defaultPatternBody = 1;
|
||||
}
|
||||
|
||||
message Defer {
|
||||
GoTerm deferBody = 1;
|
||||
}
|
||||
|
||||
message Field {
|
||||
repeated GoTerm fieldContext = 1;
|
||||
GoTerm fieldName = 2;
|
||||
}
|
||||
|
||||
message Go {
|
||||
GoTerm goBody = 1;
|
||||
}
|
||||
|
||||
message Label {
|
||||
GoTerm labelName = 1;
|
||||
GoTerm labelStatement = 2;
|
||||
}
|
||||
|
||||
message Package {
|
||||
GoTerm packageName = 1;
|
||||
repeated GoTerm packageContents = 2;
|
||||
}
|
||||
|
||||
message Receive {
|
||||
GoTerm receiveSubject = 1;
|
||||
GoTerm receiveExpression = 2;
|
||||
}
|
||||
|
||||
message ReceiveOperator {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Rune {
|
||||
string runeLiteral = 1;
|
||||
}
|
||||
|
||||
message Select {
|
||||
GoTerm selectCases = 1;
|
||||
}
|
||||
|
||||
message Send {
|
||||
GoTerm sendReceiver = 1;
|
||||
GoTerm sendValue = 2;
|
||||
}
|
||||
|
||||
message Slice {
|
||||
GoTerm sliceName = 1;
|
||||
GoTerm sliceLow = 2;
|
||||
GoTerm sliceHigh = 3;
|
||||
GoTerm sliceCapacity = 4;
|
||||
}
|
||||
|
||||
message TypeAssertion {
|
||||
GoTerm typeAssertionSubject = 1;
|
||||
GoTerm typeAssertionType = 2;
|
||||
}
|
||||
|
||||
message TypeConversion {
|
||||
GoTerm typeConversionType = 1;
|
||||
GoTerm typeConversionSubject = 2;
|
||||
}
|
||||
|
||||
message TypeSwitch {
|
||||
GoTerm typeSwitchSubject = 1;
|
||||
GoTerm typeSwitchCases = 2;
|
||||
}
|
||||
|
||||
message TypeSwitchGuard {
|
||||
GoTerm typeSwitchGuardSubject = 1;
|
||||
}
|
||||
|
||||
message Variadic {
|
||||
repeated GoTerm variadicContext = 1;
|
||||
GoTerm variadicIdentifier = 2;
|
||||
}
|
||||
|
||||
message BidirectionalChannel {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message ReceiveChannel {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message SendChannel {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
ImportPath importFrom = 1;
|
||||
GoTerm importWildcardToken = 2;
|
||||
}
|
||||
|
||||
message QualifiedImport {
|
||||
ImportPath qualifiedImportFrom = 1;
|
||||
GoTerm qualifiedImportAlias = 2;
|
||||
}
|
||||
|
||||
message SideEffectImport {
|
||||
ImportPath sideEffectImportFrom = 1;
|
||||
GoTerm sideEffectImportToken = 2;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated GoTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Complex {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated GoTerm hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
GoTerm key = 1;
|
||||
GoTerm value = 2;
|
||||
}
|
||||
|
||||
message Pointer {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Reference {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated GoTerm assignmentContext = 1;
|
||||
GoTerm assignmentTarget = 2;
|
||||
GoTerm assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message For {
|
||||
GoTerm forBefore = 1;
|
||||
GoTerm forCondition = 2;
|
||||
GoTerm forStep = 3;
|
||||
GoTerm forBody = 4;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
GoTerm forEachBinding = 1;
|
||||
GoTerm forEachSubject = 2;
|
||||
GoTerm forEachBody = 3;
|
||||
}
|
||||
|
||||
message Goto {
|
||||
GoTerm gotoLocation = 1;
|
||||
}
|
||||
|
||||
message If {
|
||||
GoTerm ifCondition = 1;
|
||||
GoTerm ifThenBody = 2;
|
||||
GoTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
GoTerm matchSubject = 1;
|
||||
GoTerm matchPatterns = 2;
|
||||
}
|
||||
|
||||
message NoOp {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
GoTerm value = 1;
|
||||
GoTerm patternBody = 2;
|
||||
}
|
||||
|
||||
message Return {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated GoTerm statements = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated GoTerm contextTerms = 1;
|
||||
GoTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated GoTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
GoTerm annotationSubject = 1;
|
||||
GoTerm annotationType = 2;
|
||||
}
|
||||
|
||||
message TypeArray {
|
||||
repeated GoTerm arraySize = 1;
|
||||
GoTerm arrayElementType = 2;
|
||||
}
|
||||
|
||||
message TypeFunction {
|
||||
repeated GoTerm functionParameters = 1;
|
||||
GoTerm functionReturn = 2;
|
||||
}
|
||||
|
||||
message Interface {
|
||||
repeated GoTerm values = 1;
|
||||
}
|
||||
|
||||
message Map {
|
||||
GoTerm mapKeyType = 1;
|
||||
GoTerm mapElementType = 2;
|
||||
}
|
||||
|
||||
message Parenthesized {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message TypePointer {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message TypeSlice {
|
||||
GoTerm value = 1;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated GoTerm listContent = 1;
|
||||
}
|
||||
|
||||
message String {
|
||||
repeated GoTerm stringElements = 1;
|
||||
}
|
||||
|
||||
message EscapeSequence {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message ImportPath {
|
||||
string unPath = 1;
|
||||
IsRelative pathIsRelative = 2;
|
||||
}
|
||||
|
||||
enum IsRelative {
|
||||
Unknown = 0;
|
||||
Relative = 1;
|
||||
NonRelative = 2;
|
||||
}
|
@ -1,800 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.haskelldiff;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.haskelldiff";
|
||||
option go_package = "github.com/semantic/haskelldiff;haskell";
|
||||
|
||||
message HaskellDiff {
|
||||
oneof diff {
|
||||
Merge merge = 1;
|
||||
Delete delete = 2;
|
||||
Insert insert = 3;
|
||||
Replace replace = 4;
|
||||
}
|
||||
message Merge {
|
||||
HaskellSyntax syntax = 1;
|
||||
}
|
||||
message Delete {
|
||||
HaskellSyntax before = 1;
|
||||
}
|
||||
message Insert {
|
||||
HaskellSyntax after = 1;
|
||||
}
|
||||
message Replace {
|
||||
HaskellSyntax before = 1;
|
||||
HaskellSyntax after = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message HaskellSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Constructor constructor = 2;
|
||||
Datatype datatype = 3;
|
||||
Function function = 4;
|
||||
Array array = 5;
|
||||
Character character = 6;
|
||||
Float float = 7;
|
||||
Integer integer = 8;
|
||||
TextElement textElement = 9;
|
||||
Tuple tuple = 10;
|
||||
If if = 11;
|
||||
Match match = 12;
|
||||
Pattern pattern = 13;
|
||||
AllConstructors allConstructors = 14;
|
||||
AnnotatedTypeVariable annotatedTypeVariable = 15;
|
||||
App app = 16;
|
||||
ArithmeticSequence arithmeticSequence = 17;
|
||||
AsPattern asPattern = 18;
|
||||
BindPattern bindPattern = 19;
|
||||
CaseGuardPattern caseGuardPattern = 20;
|
||||
Class class = 21;
|
||||
ConstructorIdentifier constructorIdentifier = 22;
|
||||
ConstructorOperator constructorOperator = 23;
|
||||
ConstructorPattern constructorPattern = 24;
|
||||
ConstructorSymbol constructorSymbol = 25;
|
||||
Context context = 26;
|
||||
ContextAlt contextAlt = 27;
|
||||
CPPDirective cPPDirective = 28;
|
||||
DefaultDeclaration defaultDeclaration = 29;
|
||||
DefaultSignature defaultSignature = 30;
|
||||
Deriving deriving = 31;
|
||||
Do do = 32;
|
||||
Empty empty = 33;
|
||||
Error error = 34;
|
||||
EqualityConstraint equalityConstraint = 35;
|
||||
Export export = 36;
|
||||
ExpressionTypeSignature expressionTypeSignature = 37;
|
||||
Field field = 38;
|
||||
FieldBind fieldBind = 39;
|
||||
FieldPattern fieldPattern = 40;
|
||||
FixityAlt fixityAlt = 41;
|
||||
FunctionalDependency functionalDependency = 42;
|
||||
FunctionConstructor functionConstructor = 43;
|
||||
FunctionGuardPattern functionGuardPattern = 44;
|
||||
FunctionType functionType = 45;
|
||||
GADT gADT = 46;
|
||||
GADTConstructor gADTConstructor = 47;
|
||||
Generator generator = 48;
|
||||
Guard guard = 49;
|
||||
HiddenImport hiddenImport = 50;
|
||||
Identifier identifier = 51;
|
||||
InfixConstructorIdentifier infixConstructorIdentifier = 52;
|
||||
InfixOperatorApp infixOperatorApp = 53;
|
||||
InfixVariableIdentifier infixVariableIdentifier = 54;
|
||||
ImplicitParameterIdentifier implicitParameterIdentifier = 55;
|
||||
Import import = 56;
|
||||
ImportAlias importAlias = 57;
|
||||
ImportDeclaration importDeclaration = 58;
|
||||
InfixDataConstructor infixDataConstructor = 59;
|
||||
InfixOperatorPattern infixOperatorPattern = 60;
|
||||
Instance instance = 61;
|
||||
IrrefutablePattern irrefutablePattern = 62;
|
||||
Kind kind = 63;
|
||||
KindFunctionType kindFunctionType = 64;
|
||||
KindListType kindListType = 65;
|
||||
KindParenthesizedConstructor kindParenthesizedConstructor = 66;
|
||||
KindSignature kindSignature = 67;
|
||||
KindTupleType kindTupleType = 68;
|
||||
LabeledConstruction labeledConstruction = 69;
|
||||
LabeledPattern labeledPattern = 70;
|
||||
LabeledUpdate labeledUpdate = 71;
|
||||
Lambda lambda = 72;
|
||||
LambdaCase lambdaCase = 73;
|
||||
LeftOperatorSection leftOperatorSection = 74;
|
||||
Let let = 75;
|
||||
ListComprehension listComprehension = 76;
|
||||
ListConstructor listConstructor = 77;
|
||||
ListPattern listPattern = 78;
|
||||
Module module = 79;
|
||||
ModuleExport moduleExport = 80;
|
||||
ModuleIdentifier moduleIdentifier = 81;
|
||||
NamedFieldPun namedFieldPun = 82;
|
||||
NegativeLiteral negativeLiteral = 83;
|
||||
NewType newType = 84;
|
||||
PatternGuard patternGuard = 85;
|
||||
Pragma pragma = 86;
|
||||
PrefixNegation prefixNegation = 87;
|
||||
PrimitiveConstructorIdentifier primitiveConstructorIdentifier = 88;
|
||||
PrimitiveVariableIdentifier primitiveVariableIdentifier = 89;
|
||||
PromotedTypeOperator promotedTypeOperator = 90;
|
||||
QualifiedConstructorIdentifier qualifiedConstructorIdentifier = 91;
|
||||
QualifiedInfixVariableIdentifier qualifiedInfixVariableIdentifier = 92;
|
||||
QualifiedModuleIdentifier qualifiedModuleIdentifier = 93;
|
||||
QualifiedImportDeclaration qualifiedImportDeclaration = 94;
|
||||
QualifiedTypeClassIdentifier qualifiedTypeClassIdentifier = 95;
|
||||
QualifiedTypeConstructorIdentifier qualifiedTypeConstructorIdentifier = 96;
|
||||
QualifiedVariableIdentifier qualifiedVariableIdentifier = 97;
|
||||
QuasiQuotation quasiQuotation = 98;
|
||||
QuasiQuotationDeclaration quasiQuotationDeclaration = 99;
|
||||
QuasiQuotationExpression quasiQuotationExpression = 100;
|
||||
QuasiQuotationExpressionBody quasiQuotationExpressionBody = 101;
|
||||
QuasiQuotationPattern quasiQuotationPattern = 102;
|
||||
QuasiQuotationQuoter quasiQuotationQuoter = 103;
|
||||
QuasiQuotationType quasiQuotationType = 104;
|
||||
QuotedName quotedName = 105;
|
||||
RecordDataConstructor recordDataConstructor = 106;
|
||||
RecordWildCards recordWildCards = 107;
|
||||
RightOperatorSection rightOperatorSection = 108;
|
||||
ScopedTypeVariables scopedTypeVariables = 109;
|
||||
Splice splice = 110;
|
||||
StandaloneDerivingInstance standaloneDerivingInstance = 111;
|
||||
Star star = 112;
|
||||
StrictPattern strictPattern = 113;
|
||||
StrictType strictType = 114;
|
||||
StrictTypeVariable strictTypeVariable = 115;
|
||||
TupleConstructor tupleConstructor = 116;
|
||||
TupleExpression tupleExpression = 117;
|
||||
TuplePattern tuplePattern = 118;
|
||||
Type type = 119;
|
||||
TypeApp typeApp = 120;
|
||||
TypeClass typeClass = 121;
|
||||
TypeClassIdentifier typeClassIdentifier = 122;
|
||||
TypeClassInstance typeClassInstance = 123;
|
||||
TypeConstructorExport typeConstructorExport = 124;
|
||||
TypeConstructorIdentifier typeConstructorIdentifier = 125;
|
||||
TypeFamily typeFamily = 126;
|
||||
TypeInstance typeInstance = 127;
|
||||
TypeOperator typeOperator = 128;
|
||||
TypePattern typePattern = 129;
|
||||
TypeSignature typeSignature = 130;
|
||||
TypeSynonym typeSynonym = 131;
|
||||
TypeVariableIdentifier typeVariableIdentifier = 132;
|
||||
UnitConstructor unitConstructor = 133;
|
||||
VariableIdentifier variableIdentifier = 134;
|
||||
VariableOperator variableOperator = 135;
|
||||
VariableSymbol variableSymbol = 136;
|
||||
ViewPattern viewPattern = 137;
|
||||
Wildcard wildcard = 138;
|
||||
TypeParameters typeParameters = 139;
|
||||
List list = 140;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
repeated HaskellDiff constructorContext = 1;
|
||||
HaskellDiff constructorName = 2;
|
||||
HaskellDiff constructorFields = 3;
|
||||
}
|
||||
|
||||
message Datatype {
|
||||
HaskellDiff datatypeContext = 1;
|
||||
HaskellDiff datatypeName = 2;
|
||||
repeated HaskellDiff datatypeConstructors = 3;
|
||||
HaskellDiff datatypeDeriving = 4;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated HaskellDiff functionContext = 1;
|
||||
HaskellDiff functionName = 2;
|
||||
repeated HaskellDiff functionParameters = 3;
|
||||
HaskellDiff functionBody = 4;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated HaskellDiff arrayElements = 1;
|
||||
}
|
||||
|
||||
message Character {
|
||||
string characterContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Tuple {
|
||||
repeated HaskellDiff tupleContents = 1;
|
||||
}
|
||||
|
||||
message If {
|
||||
HaskellDiff ifCondition = 1;
|
||||
HaskellDiff ifThenBody = 2;
|
||||
HaskellDiff ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
HaskellDiff matchSubject = 1;
|
||||
HaskellDiff matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
HaskellDiff value = 1;
|
||||
HaskellDiff patternBody = 2;
|
||||
}
|
||||
|
||||
message AllConstructors { }
|
||||
|
||||
message AnnotatedTypeVariable {
|
||||
HaskellDiff annotatedTypeVariableIdentifier = 1;
|
||||
HaskellDiff annotatedTypeVariableannotation = 2;
|
||||
}
|
||||
|
||||
message App {
|
||||
HaskellDiff appLeft = 1;
|
||||
HaskellDiff appLeftTypeApp = 2;
|
||||
HaskellDiff appRight = 3;
|
||||
}
|
||||
|
||||
message ArithmeticSequence {
|
||||
HaskellDiff from = 1;
|
||||
repeated HaskellDiff next = 2;
|
||||
repeated HaskellDiff to = 3;
|
||||
}
|
||||
|
||||
message AsPattern {
|
||||
HaskellDiff asPatternLeft = 1;
|
||||
HaskellDiff asPatternRight = 2;
|
||||
}
|
||||
|
||||
message BindPattern {
|
||||
repeated HaskellDiff bindPatternLeft = 1;
|
||||
HaskellDiff bindPatternRight = 2;
|
||||
}
|
||||
|
||||
message CaseGuardPattern {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated HaskellDiff classContent = 1;
|
||||
}
|
||||
|
||||
message ConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message ConstructorOperator {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message ConstructorPattern {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message ConstructorSymbol {
|
||||
bytes constructorSymbolName = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated HaskellDiff contextTerms = 1;
|
||||
HaskellDiff contextSubject = 2;
|
||||
}
|
||||
|
||||
message ContextAlt {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message CPPDirective {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message DefaultDeclaration {
|
||||
repeated HaskellDiff defaultDeclarationContent = 1;
|
||||
}
|
||||
|
||||
message DefaultSignature {
|
||||
repeated HaskellDiff defaultSignatureName = 1;
|
||||
repeated HaskellDiff defaultSignatureContext = 2;
|
||||
HaskellDiff defaultSignatureContent = 3;
|
||||
}
|
||||
|
||||
message Deriving {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message Do {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated HaskellDiff errorChildren = 4;
|
||||
}
|
||||
|
||||
message EqualityConstraint {
|
||||
HaskellDiff equalityConstraintLeft = 1;
|
||||
HaskellDiff equalityConstraintRight = 2;
|
||||
}
|
||||
|
||||
message Export {
|
||||
HaskellDiff exportContent = 1;
|
||||
}
|
||||
|
||||
message ExpressionTypeSignature {
|
||||
repeated HaskellDiff expressionTypeSignatureName = 1;
|
||||
repeated HaskellDiff expressionTypeSignatureContext = 2;
|
||||
HaskellDiff expressionTypeSignatureContent = 3;
|
||||
}
|
||||
|
||||
message Field {
|
||||
HaskellDiff fieldName = 1;
|
||||
HaskellDiff fieldBody = 2;
|
||||
}
|
||||
|
||||
message FieldBind {
|
||||
HaskellDiff fieldBindLeft = 1;
|
||||
HaskellDiff fieldBindRight = 2;
|
||||
}
|
||||
|
||||
message FieldPattern {
|
||||
HaskellDiff fieldPatternLeft = 1;
|
||||
HaskellDiff fieldPatternRight = 2;
|
||||
}
|
||||
|
||||
message FixityAlt {
|
||||
HaskellDiff fixityPrecedence = 1;
|
||||
repeated HaskellDiff fixityIdentifier = 2;
|
||||
}
|
||||
|
||||
message FunctionalDependency {
|
||||
HaskellDiff functionalDependencyContent = 1;
|
||||
}
|
||||
|
||||
message FunctionConstructor { }
|
||||
|
||||
message FunctionGuardPattern {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message FunctionType {
|
||||
HaskellDiff functionTypeLeft = 1;
|
||||
HaskellDiff functionTypeRight = 2;
|
||||
}
|
||||
|
||||
message GADT {
|
||||
HaskellDiff gadtContext = 1;
|
||||
HaskellDiff gadtName = 2;
|
||||
HaskellDiff gadtConstructors = 3;
|
||||
}
|
||||
|
||||
message GADTConstructor {
|
||||
HaskellDiff gadtConstructorContext = 1;
|
||||
HaskellDiff gadtConstructorName = 2;
|
||||
HaskellDiff gadtConstructorTypeSignature = 3;
|
||||
}
|
||||
|
||||
message Generator {
|
||||
HaskellDiff generatorValue = 1;
|
||||
HaskellDiff generatorSource = 2;
|
||||
}
|
||||
|
||||
message Guard {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message HiddenImport {
|
||||
HaskellDiff hiddenimportContent = 1;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message InfixConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message InfixOperatorApp {
|
||||
HaskellDiff infixOperatorAppLeft = 1;
|
||||
HaskellDiff infixOperatorAppLeftTypeApp = 2;
|
||||
HaskellDiff infixOperatorAppOperator = 3;
|
||||
HaskellDiff infixOperatorAppRight = 4;
|
||||
}
|
||||
|
||||
message InfixVariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message ImplicitParameterIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
HaskellDiff importContent = 1;
|
||||
}
|
||||
|
||||
message ImportAlias {
|
||||
HaskellDiff importAliasSource = 1;
|
||||
HaskellDiff importAliasName = 2;
|
||||
}
|
||||
|
||||
message ImportDeclaration {
|
||||
HaskellDiff importPackageQualifiedContent = 1;
|
||||
HaskellDiff importModule = 2;
|
||||
repeated HaskellDiff importSpec = 3;
|
||||
}
|
||||
|
||||
message InfixDataConstructor {
|
||||
repeated HaskellDiff infixDataConstructorContext = 1;
|
||||
HaskellDiff infixDataConstructorLeft = 2;
|
||||
HaskellDiff infixDataConstructorOperator = 3;
|
||||
HaskellDiff infixDataConstructorRight = 4;
|
||||
}
|
||||
|
||||
message InfixOperatorPattern {
|
||||
HaskellDiff infixOperatorPatternLeft = 1;
|
||||
HaskellDiff infixOperatorPatternOperator = 2;
|
||||
HaskellDiff infixOperatorPatternRight = 3;
|
||||
}
|
||||
|
||||
message Instance {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message IrrefutablePattern {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message Kind {
|
||||
HaskellDiff kindKind = 1;
|
||||
}
|
||||
|
||||
message KindFunctionType {
|
||||
HaskellDiff kindFunctionTypeLeft = 1;
|
||||
HaskellDiff kindFunctionTypeRight = 2;
|
||||
}
|
||||
|
||||
message KindListType {
|
||||
HaskellDiff kindListTypeKind = 1;
|
||||
}
|
||||
|
||||
message KindParenthesizedConstructor {
|
||||
HaskellDiff kindParenthesizedConstructorContent = 1;
|
||||
}
|
||||
|
||||
message KindSignature {
|
||||
HaskellDiff kindSignatureContent = 1;
|
||||
}
|
||||
|
||||
message KindTupleType {
|
||||
repeated HaskellDiff kindTupleType = 1;
|
||||
}
|
||||
|
||||
message LabeledConstruction {
|
||||
HaskellDiff labeledConstructionConstructor = 1;
|
||||
repeated HaskellDiff labeledConstructionFields = 2;
|
||||
}
|
||||
|
||||
message LabeledPattern {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message LabeledUpdate {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message Lambda {
|
||||
HaskellDiff lambdaHead = 1;
|
||||
HaskellDiff lambdaBody = 2;
|
||||
}
|
||||
|
||||
message LambdaCase {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message LeftOperatorSection {
|
||||
HaskellDiff lhs = 1;
|
||||
HaskellDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Let {
|
||||
repeated HaskellDiff letStatements = 1;
|
||||
HaskellDiff letInClause = 2;
|
||||
}
|
||||
|
||||
message ListComprehension {
|
||||
HaskellDiff comprehensionValue = 1;
|
||||
repeated HaskellDiff comprehensionSource = 2;
|
||||
}
|
||||
|
||||
message ListConstructor { }
|
||||
|
||||
message ListPattern {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message Module {
|
||||
repeated HaskellDiff moduleContext = 1;
|
||||
HaskellDiff moduleIdentifier = 2;
|
||||
repeated HaskellDiff moduleExports = 3;
|
||||
HaskellDiff moduleStatements = 4;
|
||||
}
|
||||
|
||||
message ModuleExport {
|
||||
HaskellDiff moduleExportContent = 1;
|
||||
}
|
||||
|
||||
message ModuleIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message NamedFieldPun {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message NegativeLiteral {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message NewType {
|
||||
repeated HaskellDiff newTypeContext = 1;
|
||||
HaskellDiff newTypeLeft = 2;
|
||||
HaskellDiff newTypeRight = 3;
|
||||
HaskellDiff newTypeDeriving = 4;
|
||||
}
|
||||
|
||||
message PatternGuard {
|
||||
HaskellDiff patternGuardPattern = 1;
|
||||
HaskellDiff patternGuardExpression = 2;
|
||||
}
|
||||
|
||||
message Pragma {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message PrefixNegation {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message PrimitiveConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message PrimitiveVariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message PromotedTypeOperator {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message QualifiedConstructorIdentifier {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message QualifiedInfixVariableIdentifier {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message QualifiedModuleIdentifier {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message QualifiedImportDeclaration {
|
||||
HaskellDiff qualifiedImportPackageQualifiedContent = 1;
|
||||
HaskellDiff qualifiedImportModule = 2;
|
||||
repeated HaskellDiff qualifiedImportSpec = 3;
|
||||
}
|
||||
|
||||
message QualifiedTypeClassIdentifier {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message QualifiedTypeConstructorIdentifier {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message QualifiedVariableIdentifier {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message QuasiQuotation {
|
||||
HaskellDiff quasiQuotationHead = 1;
|
||||
HaskellDiff quasiQuotationBody = 2;
|
||||
}
|
||||
|
||||
message QuasiQuotationDeclaration { }
|
||||
|
||||
message QuasiQuotationExpression { }
|
||||
|
||||
message QuasiQuotationExpressionBody {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message QuasiQuotationPattern { }
|
||||
|
||||
message QuasiQuotationQuoter {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message QuasiQuotationType { }
|
||||
|
||||
message QuotedName {
|
||||
HaskellDiff quotedNameContent = 1;
|
||||
}
|
||||
|
||||
message RecordDataConstructor {
|
||||
repeated HaskellDiff recordDataConstructorContext = 1;
|
||||
HaskellDiff recordDataConstructorName = 2;
|
||||
HaskellDiff recordDataConstructorFields = 3;
|
||||
}
|
||||
|
||||
message RecordWildCards { }
|
||||
|
||||
message RightOperatorSection {
|
||||
HaskellDiff lhs = 1;
|
||||
HaskellDiff rhs = 2;
|
||||
}
|
||||
|
||||
message ScopedTypeVariables {
|
||||
HaskellDiff scopedTypeVariablesContent = 1;
|
||||
}
|
||||
|
||||
message Splice {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message StandaloneDerivingInstance {
|
||||
repeated HaskellDiff standaloneDerivingInstanceContext = 1;
|
||||
HaskellDiff standaloneDerivingInstanceClass = 2;
|
||||
HaskellDiff standaloneDerivingInstanceInstance = 3;
|
||||
}
|
||||
|
||||
message Star { }
|
||||
|
||||
message StrictPattern {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message StrictType {
|
||||
HaskellDiff strictTypeIdentifier = 1;
|
||||
HaskellDiff strictTypeParameters = 2;
|
||||
}
|
||||
|
||||
message StrictTypeVariable {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message TupleConstructor {
|
||||
int64 tupleConstructorArity = 1;
|
||||
}
|
||||
|
||||
message TupleExpression {
|
||||
repeated HaskellDiff values = 1;
|
||||
}
|
||||
|
||||
message TuplePattern {
|
||||
repeated HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message Type {
|
||||
HaskellDiff typeIdentifier = 1;
|
||||
HaskellDiff typeParameters = 2;
|
||||
HaskellDiff typeKindSignature = 3;
|
||||
}
|
||||
|
||||
message TypeApp {
|
||||
HaskellDiff typeAppType = 1;
|
||||
}
|
||||
|
||||
message TypeClass {
|
||||
HaskellDiff typeClassContext = 1;
|
||||
HaskellDiff typeClassIdentifier = 2;
|
||||
repeated HaskellDiff typeClassParameters = 3;
|
||||
HaskellDiff typeClassBody = 4;
|
||||
}
|
||||
|
||||
message TypeClassIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message TypeClassInstance {
|
||||
repeated HaskellDiff typeClassInstanceContext = 1;
|
||||
HaskellDiff typeClassInstanceIdentifier = 2;
|
||||
HaskellDiff typeClassInstanceInstance = 3;
|
||||
HaskellDiff typeClassInstanceBody = 4;
|
||||
}
|
||||
|
||||
message TypeConstructorExport {
|
||||
HaskellDiff typeConstructorExportContent = 1;
|
||||
}
|
||||
|
||||
message TypeConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message TypeFamily {
|
||||
HaskellDiff typeFamilyIdentifier = 1;
|
||||
repeated HaskellDiff typeFamilyParameters = 2;
|
||||
HaskellDiff typeFamilySignature = 3;
|
||||
HaskellDiff typeFamilyBody = 4;
|
||||
}
|
||||
|
||||
message TypeInstance {
|
||||
HaskellDiff typeInstanceType = 1;
|
||||
HaskellDiff typeInstanceBody = 2;
|
||||
}
|
||||
|
||||
message TypeOperator {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message TypePattern {
|
||||
HaskellDiff typePatternContent = 1;
|
||||
}
|
||||
|
||||
message TypeSignature {
|
||||
repeated HaskellDiff typeSignatureName = 1;
|
||||
repeated HaskellDiff typeSignatureContext = 2;
|
||||
HaskellDiff typeSignatureContent = 3;
|
||||
}
|
||||
|
||||
message TypeSynonym {
|
||||
HaskellDiff typeSynonymLeft = 1;
|
||||
repeated HaskellDiff typeSynonymContext = 2;
|
||||
HaskellDiff typeSynonymRight = 3;
|
||||
}
|
||||
|
||||
message TypeVariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message UnitConstructor { }
|
||||
|
||||
message VariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message VariableOperator {
|
||||
HaskellDiff value = 1;
|
||||
}
|
||||
|
||||
message VariableSymbol {
|
||||
bytes variableSymbolName = 1;
|
||||
}
|
||||
|
||||
message ViewPattern {
|
||||
HaskellDiff viewPatternLeft = 1;
|
||||
HaskellDiff viewPatternRight = 2;
|
||||
}
|
||||
|
||||
message Wildcard { }
|
||||
|
||||
message TypeParameters {
|
||||
repeated HaskellDiff terms = 1;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated HaskellDiff listContent = 1;
|
||||
}
|
@ -1,782 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.haskellterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.haskellterm";
|
||||
option go_package = "github.com/semantic/haskellterm;haskell";
|
||||
|
||||
message HaskellTerm {
|
||||
HaskellSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message HaskellSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Constructor constructor = 2;
|
||||
Datatype datatype = 3;
|
||||
Function function = 4;
|
||||
Array array = 5;
|
||||
Character character = 6;
|
||||
Float float = 7;
|
||||
Integer integer = 8;
|
||||
TextElement textElement = 9;
|
||||
Tuple tuple = 10;
|
||||
If if = 11;
|
||||
Match match = 12;
|
||||
Pattern pattern = 13;
|
||||
AllConstructors allConstructors = 14;
|
||||
AnnotatedTypeVariable annotatedTypeVariable = 15;
|
||||
App app = 16;
|
||||
ArithmeticSequence arithmeticSequence = 17;
|
||||
AsPattern asPattern = 18;
|
||||
BindPattern bindPattern = 19;
|
||||
CaseGuardPattern caseGuardPattern = 20;
|
||||
Class class = 21;
|
||||
ConstructorIdentifier constructorIdentifier = 22;
|
||||
ConstructorOperator constructorOperator = 23;
|
||||
ConstructorPattern constructorPattern = 24;
|
||||
ConstructorSymbol constructorSymbol = 25;
|
||||
Context context = 26;
|
||||
ContextAlt contextAlt = 27;
|
||||
CPPDirective cPPDirective = 28;
|
||||
DefaultDeclaration defaultDeclaration = 29;
|
||||
DefaultSignature defaultSignature = 30;
|
||||
Deriving deriving = 31;
|
||||
Do do = 32;
|
||||
Empty empty = 33;
|
||||
Error error = 34;
|
||||
EqualityConstraint equalityConstraint = 35;
|
||||
Export export = 36;
|
||||
ExpressionTypeSignature expressionTypeSignature = 37;
|
||||
Field field = 38;
|
||||
FieldBind fieldBind = 39;
|
||||
FieldPattern fieldPattern = 40;
|
||||
FixityAlt fixityAlt = 41;
|
||||
FunctionalDependency functionalDependency = 42;
|
||||
FunctionConstructor functionConstructor = 43;
|
||||
FunctionGuardPattern functionGuardPattern = 44;
|
||||
FunctionType functionType = 45;
|
||||
GADT gADT = 46;
|
||||
GADTConstructor gADTConstructor = 47;
|
||||
Generator generator = 48;
|
||||
Guard guard = 49;
|
||||
HiddenImport hiddenImport = 50;
|
||||
Identifier identifier = 51;
|
||||
InfixConstructorIdentifier infixConstructorIdentifier = 52;
|
||||
InfixOperatorApp infixOperatorApp = 53;
|
||||
InfixVariableIdentifier infixVariableIdentifier = 54;
|
||||
ImplicitParameterIdentifier implicitParameterIdentifier = 55;
|
||||
Import import = 56;
|
||||
ImportAlias importAlias = 57;
|
||||
ImportDeclaration importDeclaration = 58;
|
||||
InfixDataConstructor infixDataConstructor = 59;
|
||||
InfixOperatorPattern infixOperatorPattern = 60;
|
||||
Instance instance = 61;
|
||||
IrrefutablePattern irrefutablePattern = 62;
|
||||
Kind kind = 63;
|
||||
KindFunctionType kindFunctionType = 64;
|
||||
KindListType kindListType = 65;
|
||||
KindParenthesizedConstructor kindParenthesizedConstructor = 66;
|
||||
KindSignature kindSignature = 67;
|
||||
KindTupleType kindTupleType = 68;
|
||||
LabeledConstruction labeledConstruction = 69;
|
||||
LabeledPattern labeledPattern = 70;
|
||||
LabeledUpdate labeledUpdate = 71;
|
||||
Lambda lambda = 72;
|
||||
LambdaCase lambdaCase = 73;
|
||||
LeftOperatorSection leftOperatorSection = 74;
|
||||
Let let = 75;
|
||||
ListComprehension listComprehension = 76;
|
||||
ListConstructor listConstructor = 77;
|
||||
ListPattern listPattern = 78;
|
||||
Module module = 79;
|
||||
ModuleExport moduleExport = 80;
|
||||
ModuleIdentifier moduleIdentifier = 81;
|
||||
NamedFieldPun namedFieldPun = 82;
|
||||
NegativeLiteral negativeLiteral = 83;
|
||||
NewType newType = 84;
|
||||
PatternGuard patternGuard = 85;
|
||||
Pragma pragma = 86;
|
||||
PrefixNegation prefixNegation = 87;
|
||||
PrimitiveConstructorIdentifier primitiveConstructorIdentifier = 88;
|
||||
PrimitiveVariableIdentifier primitiveVariableIdentifier = 89;
|
||||
PromotedTypeOperator promotedTypeOperator = 90;
|
||||
QualifiedConstructorIdentifier qualifiedConstructorIdentifier = 91;
|
||||
QualifiedInfixVariableIdentifier qualifiedInfixVariableIdentifier = 92;
|
||||
QualifiedModuleIdentifier qualifiedModuleIdentifier = 93;
|
||||
QualifiedImportDeclaration qualifiedImportDeclaration = 94;
|
||||
QualifiedTypeClassIdentifier qualifiedTypeClassIdentifier = 95;
|
||||
QualifiedTypeConstructorIdentifier qualifiedTypeConstructorIdentifier = 96;
|
||||
QualifiedVariableIdentifier qualifiedVariableIdentifier = 97;
|
||||
QuasiQuotation quasiQuotation = 98;
|
||||
QuasiQuotationDeclaration quasiQuotationDeclaration = 99;
|
||||
QuasiQuotationExpression quasiQuotationExpression = 100;
|
||||
QuasiQuotationExpressionBody quasiQuotationExpressionBody = 101;
|
||||
QuasiQuotationPattern quasiQuotationPattern = 102;
|
||||
QuasiQuotationQuoter quasiQuotationQuoter = 103;
|
||||
QuasiQuotationType quasiQuotationType = 104;
|
||||
QuotedName quotedName = 105;
|
||||
RecordDataConstructor recordDataConstructor = 106;
|
||||
RecordWildCards recordWildCards = 107;
|
||||
RightOperatorSection rightOperatorSection = 108;
|
||||
ScopedTypeVariables scopedTypeVariables = 109;
|
||||
Splice splice = 110;
|
||||
StandaloneDerivingInstance standaloneDerivingInstance = 111;
|
||||
Star star = 112;
|
||||
StrictPattern strictPattern = 113;
|
||||
StrictType strictType = 114;
|
||||
StrictTypeVariable strictTypeVariable = 115;
|
||||
TupleConstructor tupleConstructor = 116;
|
||||
TupleExpression tupleExpression = 117;
|
||||
TuplePattern tuplePattern = 118;
|
||||
Type type = 119;
|
||||
TypeApp typeApp = 120;
|
||||
TypeClass typeClass = 121;
|
||||
TypeClassIdentifier typeClassIdentifier = 122;
|
||||
TypeClassInstance typeClassInstance = 123;
|
||||
TypeConstructorExport typeConstructorExport = 124;
|
||||
TypeConstructorIdentifier typeConstructorIdentifier = 125;
|
||||
TypeFamily typeFamily = 126;
|
||||
TypeInstance typeInstance = 127;
|
||||
TypeOperator typeOperator = 128;
|
||||
TypePattern typePattern = 129;
|
||||
TypeSignature typeSignature = 130;
|
||||
TypeSynonym typeSynonym = 131;
|
||||
TypeVariableIdentifier typeVariableIdentifier = 132;
|
||||
UnitConstructor unitConstructor = 133;
|
||||
VariableIdentifier variableIdentifier = 134;
|
||||
VariableOperator variableOperator = 135;
|
||||
VariableSymbol variableSymbol = 136;
|
||||
ViewPattern viewPattern = 137;
|
||||
Wildcard wildcard = 138;
|
||||
TypeParameters typeParameters = 139;
|
||||
List list = 140;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
repeated HaskellTerm constructorContext = 1;
|
||||
HaskellTerm constructorName = 2;
|
||||
HaskellTerm constructorFields = 3;
|
||||
}
|
||||
|
||||
message Datatype {
|
||||
HaskellTerm datatypeContext = 1;
|
||||
HaskellTerm datatypeName = 2;
|
||||
repeated HaskellTerm datatypeConstructors = 3;
|
||||
HaskellTerm datatypeDeriving = 4;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated HaskellTerm functionContext = 1;
|
||||
HaskellTerm functionName = 2;
|
||||
repeated HaskellTerm functionParameters = 3;
|
||||
HaskellTerm functionBody = 4;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated HaskellTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Character {
|
||||
string characterContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Tuple {
|
||||
repeated HaskellTerm tupleContents = 1;
|
||||
}
|
||||
|
||||
message If {
|
||||
HaskellTerm ifCondition = 1;
|
||||
HaskellTerm ifThenBody = 2;
|
||||
HaskellTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
HaskellTerm matchSubject = 1;
|
||||
HaskellTerm matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
HaskellTerm value = 1;
|
||||
HaskellTerm patternBody = 2;
|
||||
}
|
||||
|
||||
message AllConstructors { }
|
||||
|
||||
message AnnotatedTypeVariable {
|
||||
HaskellTerm annotatedTypeVariableIdentifier = 1;
|
||||
HaskellTerm annotatedTypeVariableannotation = 2;
|
||||
}
|
||||
|
||||
message App {
|
||||
HaskellTerm appLeft = 1;
|
||||
HaskellTerm appLeftTypeApp = 2;
|
||||
HaskellTerm appRight = 3;
|
||||
}
|
||||
|
||||
message ArithmeticSequence {
|
||||
HaskellTerm from = 1;
|
||||
repeated HaskellTerm next = 2;
|
||||
repeated HaskellTerm to = 3;
|
||||
}
|
||||
|
||||
message AsPattern {
|
||||
HaskellTerm asPatternLeft = 1;
|
||||
HaskellTerm asPatternRight = 2;
|
||||
}
|
||||
|
||||
message BindPattern {
|
||||
repeated HaskellTerm bindPatternLeft = 1;
|
||||
HaskellTerm bindPatternRight = 2;
|
||||
}
|
||||
|
||||
message CaseGuardPattern {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated HaskellTerm classContent = 1;
|
||||
}
|
||||
|
||||
message ConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message ConstructorOperator {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message ConstructorPattern {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message ConstructorSymbol {
|
||||
bytes constructorSymbolName = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated HaskellTerm contextTerms = 1;
|
||||
HaskellTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message ContextAlt {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message CPPDirective {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message DefaultDeclaration {
|
||||
repeated HaskellTerm defaultDeclarationContent = 1;
|
||||
}
|
||||
|
||||
message DefaultSignature {
|
||||
repeated HaskellTerm defaultSignatureName = 1;
|
||||
repeated HaskellTerm defaultSignatureContext = 2;
|
||||
HaskellTerm defaultSignatureContent = 3;
|
||||
}
|
||||
|
||||
message Deriving {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message Do {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated HaskellTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message EqualityConstraint {
|
||||
HaskellTerm equalityConstraintLeft = 1;
|
||||
HaskellTerm equalityConstraintRight = 2;
|
||||
}
|
||||
|
||||
message Export {
|
||||
HaskellTerm exportContent = 1;
|
||||
}
|
||||
|
||||
message ExpressionTypeSignature {
|
||||
repeated HaskellTerm expressionTypeSignatureName = 1;
|
||||
repeated HaskellTerm expressionTypeSignatureContext = 2;
|
||||
HaskellTerm expressionTypeSignatureContent = 3;
|
||||
}
|
||||
|
||||
message Field {
|
||||
HaskellTerm fieldName = 1;
|
||||
HaskellTerm fieldBody = 2;
|
||||
}
|
||||
|
||||
message FieldBind {
|
||||
HaskellTerm fieldBindLeft = 1;
|
||||
HaskellTerm fieldBindRight = 2;
|
||||
}
|
||||
|
||||
message FieldPattern {
|
||||
HaskellTerm fieldPatternLeft = 1;
|
||||
HaskellTerm fieldPatternRight = 2;
|
||||
}
|
||||
|
||||
message FixityAlt {
|
||||
HaskellTerm fixityPrecedence = 1;
|
||||
repeated HaskellTerm fixityIdentifier = 2;
|
||||
}
|
||||
|
||||
message FunctionalDependency {
|
||||
HaskellTerm functionalDependencyContent = 1;
|
||||
}
|
||||
|
||||
message FunctionConstructor { }
|
||||
|
||||
message FunctionGuardPattern {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message FunctionType {
|
||||
HaskellTerm functionTypeLeft = 1;
|
||||
HaskellTerm functionTypeRight = 2;
|
||||
}
|
||||
|
||||
message GADT {
|
||||
HaskellTerm gadtContext = 1;
|
||||
HaskellTerm gadtName = 2;
|
||||
HaskellTerm gadtConstructors = 3;
|
||||
}
|
||||
|
||||
message GADTConstructor {
|
||||
HaskellTerm gadtConstructorContext = 1;
|
||||
HaskellTerm gadtConstructorName = 2;
|
||||
HaskellTerm gadtConstructorTypeSignature = 3;
|
||||
}
|
||||
|
||||
message Generator {
|
||||
HaskellTerm generatorValue = 1;
|
||||
HaskellTerm generatorSource = 2;
|
||||
}
|
||||
|
||||
message Guard {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message HiddenImport {
|
||||
HaskellTerm hiddenimportContent = 1;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message InfixConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message InfixOperatorApp {
|
||||
HaskellTerm infixOperatorAppLeft = 1;
|
||||
HaskellTerm infixOperatorAppLeftTypeApp = 2;
|
||||
HaskellTerm infixOperatorAppOperator = 3;
|
||||
HaskellTerm infixOperatorAppRight = 4;
|
||||
}
|
||||
|
||||
message InfixVariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message ImplicitParameterIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
HaskellTerm importContent = 1;
|
||||
}
|
||||
|
||||
message ImportAlias {
|
||||
HaskellTerm importAliasSource = 1;
|
||||
HaskellTerm importAliasName = 2;
|
||||
}
|
||||
|
||||
message ImportDeclaration {
|
||||
HaskellTerm importPackageQualifiedContent = 1;
|
||||
HaskellTerm importModule = 2;
|
||||
repeated HaskellTerm importSpec = 3;
|
||||
}
|
||||
|
||||
message InfixDataConstructor {
|
||||
repeated HaskellTerm infixDataConstructorContext = 1;
|
||||
HaskellTerm infixDataConstructorLeft = 2;
|
||||
HaskellTerm infixDataConstructorOperator = 3;
|
||||
HaskellTerm infixDataConstructorRight = 4;
|
||||
}
|
||||
|
||||
message InfixOperatorPattern {
|
||||
HaskellTerm infixOperatorPatternLeft = 1;
|
||||
HaskellTerm infixOperatorPatternOperator = 2;
|
||||
HaskellTerm infixOperatorPatternRight = 3;
|
||||
}
|
||||
|
||||
message Instance {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message IrrefutablePattern {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message Kind {
|
||||
HaskellTerm kindKind = 1;
|
||||
}
|
||||
|
||||
message KindFunctionType {
|
||||
HaskellTerm kindFunctionTypeLeft = 1;
|
||||
HaskellTerm kindFunctionTypeRight = 2;
|
||||
}
|
||||
|
||||
message KindListType {
|
||||
HaskellTerm kindListTypeKind = 1;
|
||||
}
|
||||
|
||||
message KindParenthesizedConstructor {
|
||||
HaskellTerm kindParenthesizedConstructorContent = 1;
|
||||
}
|
||||
|
||||
message KindSignature {
|
||||
HaskellTerm kindSignatureContent = 1;
|
||||
}
|
||||
|
||||
message KindTupleType {
|
||||
repeated HaskellTerm kindTupleType = 1;
|
||||
}
|
||||
|
||||
message LabeledConstruction {
|
||||
HaskellTerm labeledConstructionConstructor = 1;
|
||||
repeated HaskellTerm labeledConstructionFields = 2;
|
||||
}
|
||||
|
||||
message LabeledPattern {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message LabeledUpdate {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message Lambda {
|
||||
HaskellTerm lambdaHead = 1;
|
||||
HaskellTerm lambdaBody = 2;
|
||||
}
|
||||
|
||||
message LambdaCase {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message LeftOperatorSection {
|
||||
HaskellTerm lhs = 1;
|
||||
HaskellTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Let {
|
||||
repeated HaskellTerm letStatements = 1;
|
||||
HaskellTerm letInClause = 2;
|
||||
}
|
||||
|
||||
message ListComprehension {
|
||||
HaskellTerm comprehensionValue = 1;
|
||||
repeated HaskellTerm comprehensionSource = 2;
|
||||
}
|
||||
|
||||
message ListConstructor { }
|
||||
|
||||
message ListPattern {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message Module {
|
||||
repeated HaskellTerm moduleContext = 1;
|
||||
HaskellTerm moduleIdentifier = 2;
|
||||
repeated HaskellTerm moduleExports = 3;
|
||||
HaskellTerm moduleStatements = 4;
|
||||
}
|
||||
|
||||
message ModuleExport {
|
||||
HaskellTerm moduleExportContent = 1;
|
||||
}
|
||||
|
||||
message ModuleIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message NamedFieldPun {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message NegativeLiteral {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message NewType {
|
||||
repeated HaskellTerm newTypeContext = 1;
|
||||
HaskellTerm newTypeLeft = 2;
|
||||
HaskellTerm newTypeRight = 3;
|
||||
HaskellTerm newTypeDeriving = 4;
|
||||
}
|
||||
|
||||
message PatternGuard {
|
||||
HaskellTerm patternGuardPattern = 1;
|
||||
HaskellTerm patternGuardExpression = 2;
|
||||
}
|
||||
|
||||
message Pragma {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message PrefixNegation {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message PrimitiveConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message PrimitiveVariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message PromotedTypeOperator {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message QualifiedConstructorIdentifier {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message QualifiedInfixVariableIdentifier {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message QualifiedModuleIdentifier {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message QualifiedImportDeclaration {
|
||||
HaskellTerm qualifiedImportPackageQualifiedContent = 1;
|
||||
HaskellTerm qualifiedImportModule = 2;
|
||||
repeated HaskellTerm qualifiedImportSpec = 3;
|
||||
}
|
||||
|
||||
message QualifiedTypeClassIdentifier {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message QualifiedTypeConstructorIdentifier {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message QualifiedVariableIdentifier {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message QuasiQuotation {
|
||||
HaskellTerm quasiQuotationHead = 1;
|
||||
HaskellTerm quasiQuotationBody = 2;
|
||||
}
|
||||
|
||||
message QuasiQuotationDeclaration { }
|
||||
|
||||
message QuasiQuotationExpression { }
|
||||
|
||||
message QuasiQuotationExpressionBody {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message QuasiQuotationPattern { }
|
||||
|
||||
message QuasiQuotationQuoter {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message QuasiQuotationType { }
|
||||
|
||||
message QuotedName {
|
||||
HaskellTerm quotedNameContent = 1;
|
||||
}
|
||||
|
||||
message RecordDataConstructor {
|
||||
repeated HaskellTerm recordDataConstructorContext = 1;
|
||||
HaskellTerm recordDataConstructorName = 2;
|
||||
HaskellTerm recordDataConstructorFields = 3;
|
||||
}
|
||||
|
||||
message RecordWildCards { }
|
||||
|
||||
message RightOperatorSection {
|
||||
HaskellTerm lhs = 1;
|
||||
HaskellTerm rhs = 2;
|
||||
}
|
||||
|
||||
message ScopedTypeVariables {
|
||||
HaskellTerm scopedTypeVariablesContent = 1;
|
||||
}
|
||||
|
||||
message Splice {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message StandaloneDerivingInstance {
|
||||
repeated HaskellTerm standaloneDerivingInstanceContext = 1;
|
||||
HaskellTerm standaloneDerivingInstanceClass = 2;
|
||||
HaskellTerm standaloneDerivingInstanceInstance = 3;
|
||||
}
|
||||
|
||||
message Star { }
|
||||
|
||||
message StrictPattern {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message StrictType {
|
||||
HaskellTerm strictTypeIdentifier = 1;
|
||||
HaskellTerm strictTypeParameters = 2;
|
||||
}
|
||||
|
||||
message StrictTypeVariable {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message TupleConstructor {
|
||||
int64 tupleConstructorArity = 1;
|
||||
}
|
||||
|
||||
message TupleExpression {
|
||||
repeated HaskellTerm values = 1;
|
||||
}
|
||||
|
||||
message TuplePattern {
|
||||
repeated HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message Type {
|
||||
HaskellTerm typeIdentifier = 1;
|
||||
HaskellTerm typeParameters = 2;
|
||||
HaskellTerm typeKindSignature = 3;
|
||||
}
|
||||
|
||||
message TypeApp {
|
||||
HaskellTerm typeAppType = 1;
|
||||
}
|
||||
|
||||
message TypeClass {
|
||||
HaskellTerm typeClassContext = 1;
|
||||
HaskellTerm typeClassIdentifier = 2;
|
||||
repeated HaskellTerm typeClassParameters = 3;
|
||||
HaskellTerm typeClassBody = 4;
|
||||
}
|
||||
|
||||
message TypeClassIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message TypeClassInstance {
|
||||
repeated HaskellTerm typeClassInstanceContext = 1;
|
||||
HaskellTerm typeClassInstanceIdentifier = 2;
|
||||
HaskellTerm typeClassInstanceInstance = 3;
|
||||
HaskellTerm typeClassInstanceBody = 4;
|
||||
}
|
||||
|
||||
message TypeConstructorExport {
|
||||
HaskellTerm typeConstructorExportContent = 1;
|
||||
}
|
||||
|
||||
message TypeConstructorIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message TypeFamily {
|
||||
HaskellTerm typeFamilyIdentifier = 1;
|
||||
repeated HaskellTerm typeFamilyParameters = 2;
|
||||
HaskellTerm typeFamilySignature = 3;
|
||||
HaskellTerm typeFamilyBody = 4;
|
||||
}
|
||||
|
||||
message TypeInstance {
|
||||
HaskellTerm typeInstanceType = 1;
|
||||
HaskellTerm typeInstanceBody = 2;
|
||||
}
|
||||
|
||||
message TypeOperator {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message TypePattern {
|
||||
HaskellTerm typePatternContent = 1;
|
||||
}
|
||||
|
||||
message TypeSignature {
|
||||
repeated HaskellTerm typeSignatureName = 1;
|
||||
repeated HaskellTerm typeSignatureContext = 2;
|
||||
HaskellTerm typeSignatureContent = 3;
|
||||
}
|
||||
|
||||
message TypeSynonym {
|
||||
HaskellTerm typeSynonymLeft = 1;
|
||||
repeated HaskellTerm typeSynonymContext = 2;
|
||||
HaskellTerm typeSynonymRight = 3;
|
||||
}
|
||||
|
||||
message TypeVariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message UnitConstructor { }
|
||||
|
||||
message VariableIdentifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message VariableOperator {
|
||||
HaskellTerm value = 1;
|
||||
}
|
||||
|
||||
message VariableSymbol {
|
||||
bytes variableSymbolName = 1;
|
||||
}
|
||||
|
||||
message ViewPattern {
|
||||
HaskellTerm viewPatternLeft = 1;
|
||||
HaskellTerm viewPatternRight = 2;
|
||||
}
|
||||
|
||||
message Wildcard { }
|
||||
|
||||
message TypeParameters {
|
||||
repeated HaskellTerm terms = 1;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated HaskellTerm listContent = 1;
|
||||
}
|
@ -1,660 +0,0 @@
|
||||
// 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;
|
||||
Plus plus = 6;
|
||||
Minus minus = 7;
|
||||
Times times = 8;
|
||||
DividedBy dividedBy = 9;
|
||||
Modulo modulo = 10;
|
||||
Power power = 11;
|
||||
Negate negate = 12;
|
||||
FloorDivision floorDivision = 13;
|
||||
Call call = 14;
|
||||
LessThan lessThan = 15;
|
||||
LessThanEqual lessThanEqual = 16;
|
||||
GreaterThan greaterThan = 17;
|
||||
GreaterThanEqual greaterThanEqual = 18;
|
||||
Equal equal = 19;
|
||||
StrictEqual strictEqual = 20;
|
||||
Comparison comparison = 21;
|
||||
BOr bOr = 22;
|
||||
BXOr bXOr = 23;
|
||||
BAnd bAnd = 24;
|
||||
LShift lShift = 25;
|
||||
RShift rShift = 26;
|
||||
UnsignedRShift unsignedRShift = 27;
|
||||
Complement complement = 28;
|
||||
And and = 29;
|
||||
Not not = 30;
|
||||
Or or = 31;
|
||||
XOr xOr = 32;
|
||||
InstanceOf instanceOf = 33;
|
||||
MemberAccess memberAccess = 34;
|
||||
Subscript subscript = 35;
|
||||
Member member = 36;
|
||||
Super super = 37;
|
||||
This this = 38;
|
||||
AnnotatedType annotatedType = 39;
|
||||
JavaAnnotation javaAnnotation = 40;
|
||||
AnnotationField annotationField = 41;
|
||||
AnnotationTypeElement annotationTypeElement = 42;
|
||||
ArrayCreationExpression arrayCreationExpression = 43;
|
||||
AssertStatement assertStatement = 44;
|
||||
Asterisk asterisk = 45;
|
||||
CatchType catchType = 46;
|
||||
Constructor constructor = 47;
|
||||
ClassBody classBody = 48;
|
||||
ClassLiteral classLiteral = 49;
|
||||
DefaultValue defaultValue = 50;
|
||||
DimsExpr dimsExpr = 51;
|
||||
EnumDeclaration enumDeclaration = 52;
|
||||
GenericType genericType = 53;
|
||||
Import import = 54;
|
||||
Lambda lambda = 55;
|
||||
LambdaBody lambdaBody = 56;
|
||||
MethodReference methodReference = 57;
|
||||
Module module = 58;
|
||||
New new = 59;
|
||||
NewKeyword newKeyword = 60;
|
||||
Package package = 61;
|
||||
SpreadParameter spreadParameter = 62;
|
||||
StaticInitializer staticInitializer = 63;
|
||||
Synchronized synchronized = 64;
|
||||
TryWithResources tryWithResources = 65;
|
||||
TypeParameter typeParameter = 66;
|
||||
TypeWithModifiers typeWithModifiers = 67;
|
||||
Variable variable = 68;
|
||||
Wildcard wildcard = 69;
|
||||
WildcardBounds wildcardBounds = 70;
|
||||
Array array = 71;
|
||||
Boolean boolean = 72;
|
||||
Integer integer = 73;
|
||||
Float float = 74;
|
||||
Null null = 75;
|
||||
String string = 76;
|
||||
TextElement textElement = 77;
|
||||
Assignment assignment = 78;
|
||||
Break break = 79;
|
||||
Catch catch = 80;
|
||||
Continue continue = 81;
|
||||
DoWhile doWhile = 82;
|
||||
Finally finally = 83;
|
||||
For for = 84;
|
||||
ForEach forEach = 85;
|
||||
If if = 86;
|
||||
Match match = 87;
|
||||
Pattern pattern = 88;
|
||||
PostIncrement postIncrement = 89;
|
||||
PostDecrement postDecrement = 90;
|
||||
PreIncrement preIncrement = 91;
|
||||
PreDecrement preDecrement = 92;
|
||||
While while = 93;
|
||||
Statements statements = 94;
|
||||
Throw throw = 95;
|
||||
Try try = 96;
|
||||
Context context = 97;
|
||||
Empty empty = 98;
|
||||
Error error = 99;
|
||||
Identifier identifier = 100;
|
||||
AccessibilityModifier accessibilityModifier = 101;
|
||||
TypeArray typeArray = 102;
|
||||
Bool bool = 103;
|
||||
Int int = 104;
|
||||
Void void = 105;
|
||||
TypeFloat typeFloat = 106;
|
||||
Annotation annotation = 107;
|
||||
Return return = 108;
|
||||
List list = 109;
|
||||
}
|
||||
}
|
||||
|
||||
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;
|
||||
JavaDiff methodReceiver = 2;
|
||||
JavaDiff methodName = 3;
|
||||
repeated JavaDiff methodParameters = 4;
|
||||
JavaDiff methodBody = 5;
|
||||
}
|
||||
|
||||
message VariableDeclaration {
|
||||
repeated JavaDiff variableDeclarations = 1;
|
||||
}
|
||||
|
||||
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 {
|
||||
JavaDiff lhs = 1;
|
||||
JavaDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
JavaDiff lhs = 1;
|
||||
JavaDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
JavaDiff lhs = 1;
|
||||
JavaDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
JavaDiff lhs = 1;
|
||||
JavaDiff rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
JavaDiff lhs = 1;
|
||||
JavaDiff rhs = 2;
|
||||
}
|
||||
|
||||
message UnsignedRShift {
|
||||
JavaDiff lhs = 1;
|
||||
JavaDiff rhs = 2;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
@ -1,642 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.javaterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.javaterm";
|
||||
option go_package = "github.com/semantic/javaterm;java";
|
||||
|
||||
message JavaTerm {
|
||||
JavaSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message JavaSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Class class = 2;
|
||||
InterfaceDeclaration interfaceDeclaration = 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;
|
||||
Call call = 14;
|
||||
LessThan lessThan = 15;
|
||||
LessThanEqual lessThanEqual = 16;
|
||||
GreaterThan greaterThan = 17;
|
||||
GreaterThanEqual greaterThanEqual = 18;
|
||||
Equal equal = 19;
|
||||
StrictEqual strictEqual = 20;
|
||||
Comparison comparison = 21;
|
||||
BOr bOr = 22;
|
||||
BXOr bXOr = 23;
|
||||
BAnd bAnd = 24;
|
||||
LShift lShift = 25;
|
||||
RShift rShift = 26;
|
||||
UnsignedRShift unsignedRShift = 27;
|
||||
Complement complement = 28;
|
||||
And and = 29;
|
||||
Not not = 30;
|
||||
Or or = 31;
|
||||
XOr xOr = 32;
|
||||
InstanceOf instanceOf = 33;
|
||||
MemberAccess memberAccess = 34;
|
||||
Subscript subscript = 35;
|
||||
Member member = 36;
|
||||
Super super = 37;
|
||||
This this = 38;
|
||||
AnnotatedType annotatedType = 39;
|
||||
JavaAnnotation javaAnnotation = 40;
|
||||
AnnotationField annotationField = 41;
|
||||
AnnotationTypeElement annotationTypeElement = 42;
|
||||
ArrayCreationExpression arrayCreationExpression = 43;
|
||||
AssertStatement assertStatement = 44;
|
||||
Asterisk asterisk = 45;
|
||||
CatchType catchType = 46;
|
||||
Constructor constructor = 47;
|
||||
ClassBody classBody = 48;
|
||||
ClassLiteral classLiteral = 49;
|
||||
DefaultValue defaultValue = 50;
|
||||
DimsExpr dimsExpr = 51;
|
||||
EnumDeclaration enumDeclaration = 52;
|
||||
GenericType genericType = 53;
|
||||
Import import = 54;
|
||||
Lambda lambda = 55;
|
||||
LambdaBody lambdaBody = 56;
|
||||
MethodReference methodReference = 57;
|
||||
Module module = 58;
|
||||
New new = 59;
|
||||
NewKeyword newKeyword = 60;
|
||||
Package package = 61;
|
||||
SpreadParameter spreadParameter = 62;
|
||||
StaticInitializer staticInitializer = 63;
|
||||
Synchronized synchronized = 64;
|
||||
TryWithResources tryWithResources = 65;
|
||||
TypeParameter typeParameter = 66;
|
||||
TypeWithModifiers typeWithModifiers = 67;
|
||||
Variable variable = 68;
|
||||
Wildcard wildcard = 69;
|
||||
WildcardBounds wildcardBounds = 70;
|
||||
Array array = 71;
|
||||
Boolean boolean = 72;
|
||||
Integer integer = 73;
|
||||
Float float = 74;
|
||||
Null null = 75;
|
||||
String string = 76;
|
||||
TextElement textElement = 77;
|
||||
Assignment assignment = 78;
|
||||
Break break = 79;
|
||||
Catch catch = 80;
|
||||
Continue continue = 81;
|
||||
DoWhile doWhile = 82;
|
||||
Finally finally = 83;
|
||||
For for = 84;
|
||||
ForEach forEach = 85;
|
||||
If if = 86;
|
||||
Match match = 87;
|
||||
Pattern pattern = 88;
|
||||
PostIncrement postIncrement = 89;
|
||||
PostDecrement postDecrement = 90;
|
||||
PreIncrement preIncrement = 91;
|
||||
PreDecrement preDecrement = 92;
|
||||
While while = 93;
|
||||
Statements statements = 94;
|
||||
Throw throw = 95;
|
||||
Try try = 96;
|
||||
Context context = 97;
|
||||
Empty empty = 98;
|
||||
Error error = 99;
|
||||
Identifier identifier = 100;
|
||||
AccessibilityModifier accessibilityModifier = 101;
|
||||
TypeArray typeArray = 102;
|
||||
Bool bool = 103;
|
||||
Int int = 104;
|
||||
Void void = 105;
|
||||
TypeFloat typeFloat = 106;
|
||||
Annotation annotation = 107;
|
||||
Return return = 108;
|
||||
List list = 109;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated JavaTerm classContext = 1;
|
||||
JavaTerm classIdentifier = 2;
|
||||
repeated JavaTerm classSuperclasses = 3;
|
||||
JavaTerm classBody = 4;
|
||||
}
|
||||
|
||||
message InterfaceDeclaration {
|
||||
repeated JavaTerm interfaceDeclarationContext = 1;
|
||||
JavaTerm interfaceDeclarationIdentifier = 2;
|
||||
repeated JavaTerm interfaceDeclarationSuperInterfaces = 3;
|
||||
JavaTerm interfaceDeclarationBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated JavaTerm methodContext = 1;
|
||||
JavaTerm methodReceiver = 2;
|
||||
JavaTerm methodName = 3;
|
||||
repeated JavaTerm methodParameters = 4;
|
||||
JavaTerm methodBody = 5;
|
||||
}
|
||||
|
||||
message VariableDeclaration {
|
||||
repeated JavaTerm variableDeclarations = 1;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated JavaTerm callContext = 1;
|
||||
JavaTerm callFunction = 2;
|
||||
repeated JavaTerm callParams = 3;
|
||||
JavaTerm callBlock = 4;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message UnsignedRShift {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message And {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message InstanceOf {
|
||||
JavaTerm instanceOfSubject = 1;
|
||||
JavaTerm instanceOfObject = 2;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
JavaTerm lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
JavaTerm lhs = 1;
|
||||
repeated JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
JavaTerm lhs = 1;
|
||||
JavaTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Super { }
|
||||
|
||||
message This { }
|
||||
|
||||
message AnnotatedType {
|
||||
repeated JavaTerm annotationes = 1;
|
||||
JavaTerm annotatedType = 2;
|
||||
}
|
||||
|
||||
message JavaAnnotation {
|
||||
JavaTerm annotationName = 1;
|
||||
repeated JavaTerm annotationField = 2;
|
||||
}
|
||||
|
||||
message AnnotationField {
|
||||
JavaTerm annotationFieldName = 1;
|
||||
JavaTerm annotationFieldValue = 2;
|
||||
}
|
||||
|
||||
message AnnotationTypeElement {
|
||||
repeated JavaTerm modifiers = 1;
|
||||
JavaTerm annotationType = 2;
|
||||
JavaTerm identifier = 3;
|
||||
repeated JavaTerm dims = 4;
|
||||
JavaTerm defaultValue = 5;
|
||||
}
|
||||
|
||||
message ArrayCreationExpression {
|
||||
JavaTerm arrayCreationExpressionType = 1;
|
||||
repeated JavaTerm arrayCreationExpressionDims = 2;
|
||||
}
|
||||
|
||||
message AssertStatement {
|
||||
JavaTerm assertLHS = 1;
|
||||
repeated JavaTerm assertRHS = 2;
|
||||
}
|
||||
|
||||
message Asterisk { }
|
||||
|
||||
message CatchType {
|
||||
repeated JavaTerm types = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
repeated JavaTerm constructorModifiers = 1;
|
||||
repeated JavaTerm constructorTypeParams = 2;
|
||||
JavaTerm constructorIdentifier = 3;
|
||||
repeated JavaTerm constructorParams = 4;
|
||||
repeated JavaTerm constructorThrows = 5;
|
||||
JavaTerm constructorBody = 6;
|
||||
}
|
||||
|
||||
message ClassBody {
|
||||
repeated JavaTerm classBodyExpression = 1;
|
||||
}
|
||||
|
||||
message ClassLiteral {
|
||||
JavaTerm classLiteralType = 1;
|
||||
}
|
||||
|
||||
message DefaultValue {
|
||||
JavaTerm defaultValueElement = 1;
|
||||
}
|
||||
|
||||
message DimsExpr {
|
||||
repeated JavaTerm dimsExprAnnotation = 1;
|
||||
repeated JavaTerm dimsExprExpression = 2;
|
||||
}
|
||||
|
||||
message EnumDeclaration {
|
||||
repeated JavaTerm enumDeclarationModifier = 1;
|
||||
JavaTerm enumDeclarationIdentifier = 2;
|
||||
repeated JavaTerm enumDeclarationSuperInterfaces = 3;
|
||||
repeated JavaTerm enumDeclarationConstant = 4;
|
||||
repeated JavaTerm enumDeclarationBody = 5;
|
||||
}
|
||||
|
||||
message GenericType {
|
||||
JavaTerm genericTypeIdentifier = 1;
|
||||
repeated JavaTerm genericTypeArguments = 2;
|
||||
}
|
||||
|
||||
message Import {
|
||||
repeated JavaTerm imports = 1;
|
||||
}
|
||||
|
||||
message Lambda {
|
||||
repeated JavaTerm lambdaParams = 1;
|
||||
JavaTerm lambdaBody = 2;
|
||||
}
|
||||
|
||||
message LambdaBody {
|
||||
repeated JavaTerm lambdaBodyExpression = 1;
|
||||
}
|
||||
|
||||
message MethodReference {
|
||||
JavaTerm methodReferenceType = 1;
|
||||
repeated JavaTerm methodReferenceTypeArgs = 2;
|
||||
JavaTerm methodReferenceIdentifier = 3;
|
||||
}
|
||||
|
||||
message Module {
|
||||
JavaTerm moduleIdentifier = 1;
|
||||
repeated JavaTerm moduleStatements = 2;
|
||||
}
|
||||
|
||||
message New {
|
||||
JavaTerm newType = 1;
|
||||
repeated JavaTerm newArgs = 2;
|
||||
repeated JavaTerm newClassBody = 3;
|
||||
}
|
||||
|
||||
message NewKeyword { }
|
||||
|
||||
message Package {
|
||||
repeated JavaTerm packages = 1;
|
||||
}
|
||||
|
||||
message SpreadParameter {
|
||||
JavaTerm spreadParameterVariableDeclarator = 1;
|
||||
}
|
||||
|
||||
message StaticInitializer {
|
||||
JavaTerm staticInitializerBlock = 1;
|
||||
}
|
||||
|
||||
message Synchronized {
|
||||
JavaTerm synchronizedSubject = 1;
|
||||
JavaTerm synchronizedBody = 2;
|
||||
}
|
||||
|
||||
message TryWithResources {
|
||||
repeated JavaTerm tryResources = 1;
|
||||
JavaTerm tryBody = 2;
|
||||
repeated JavaTerm tryCatch = 3;
|
||||
}
|
||||
|
||||
message TypeParameter {
|
||||
repeated JavaTerm typeParamAnnotation = 1;
|
||||
JavaTerm typeParamIdentifier = 2;
|
||||
repeated JavaTerm typeParamTypeBound = 3;
|
||||
}
|
||||
|
||||
message TypeWithModifiers {
|
||||
repeated JavaTerm types = 1;
|
||||
JavaTerm modifier = 2;
|
||||
}
|
||||
|
||||
message Variable {
|
||||
repeated JavaTerm variableModifiers = 1;
|
||||
JavaTerm variableType = 2;
|
||||
JavaTerm variableName = 3;
|
||||
}
|
||||
|
||||
message Wildcard {
|
||||
repeated JavaTerm wildcardAnnotation = 1;
|
||||
repeated JavaTerm wildcardBounds = 2;
|
||||
}
|
||||
|
||||
message WildcardBounds {
|
||||
oneof sum {
|
||||
JavaTerm wildcardBoundExtendsType = 1;
|
||||
JavaTerm wildcardBoundSuperType = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated JavaTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message String {
|
||||
repeated JavaTerm stringElements = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated JavaTerm assignmentContext = 1;
|
||||
JavaTerm assignmentTarget = 2;
|
||||
JavaTerm assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
JavaTerm catchException = 1;
|
||||
JavaTerm catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message DoWhile {
|
||||
JavaTerm doWhileCondition = 1;
|
||||
JavaTerm doWhileBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message For {
|
||||
JavaTerm forBefore = 1;
|
||||
JavaTerm forCondition = 2;
|
||||
JavaTerm forStep = 3;
|
||||
JavaTerm forBody = 4;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
JavaTerm forEachBinding = 1;
|
||||
JavaTerm forEachSubject = 2;
|
||||
JavaTerm forEachBody = 3;
|
||||
}
|
||||
|
||||
message If {
|
||||
JavaTerm ifCondition = 1;
|
||||
JavaTerm ifThenBody = 2;
|
||||
JavaTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
JavaTerm matchSubject = 1;
|
||||
JavaTerm matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
JavaTerm value = 1;
|
||||
JavaTerm patternBody = 2;
|
||||
}
|
||||
|
||||
message PostIncrement {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message PostDecrement {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message PreIncrement {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message PreDecrement {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message While {
|
||||
JavaTerm whileCondition = 1;
|
||||
JavaTerm whileBody = 2;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated JavaTerm statements = 1;
|
||||
}
|
||||
|
||||
message Throw {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
JavaTerm tryBody = 1;
|
||||
repeated JavaTerm tryCatch = 2;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated JavaTerm contextTerms = 1;
|
||||
JavaTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated JavaTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message AccessibilityModifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message TypeArray {
|
||||
repeated JavaTerm arraySize = 1;
|
||||
JavaTerm arrayElementType = 2;
|
||||
}
|
||||
|
||||
message Bool { }
|
||||
|
||||
message Int { }
|
||||
|
||||
message Void { }
|
||||
|
||||
message TypeFloat { }
|
||||
|
||||
message Annotation {
|
||||
JavaTerm annotationSubject = 1;
|
||||
JavaTerm annotationType = 2;
|
||||
}
|
||||
|
||||
message Return {
|
||||
JavaTerm value = 1;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated JavaTerm listContent = 1;
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.jsondiff;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.jsondiff";
|
||||
option go_package = "github.com/semantic/jsondiff;json";
|
||||
|
||||
message JSONDiff {
|
||||
oneof diff {
|
||||
Merge merge = 1;
|
||||
Delete delete = 2;
|
||||
Insert insert = 3;
|
||||
Replace replace = 4;
|
||||
}
|
||||
message Merge {
|
||||
JSONSyntax syntax = 1;
|
||||
}
|
||||
message Delete {
|
||||
JSONSyntax before = 1;
|
||||
}
|
||||
message Insert {
|
||||
JSONSyntax after = 1;
|
||||
}
|
||||
message Replace {
|
||||
JSONSyntax before = 1;
|
||||
JSONSyntax after = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message JSONSyntax {
|
||||
oneof syntax {
|
||||
Null null = 1;
|
||||
Array array = 2;
|
||||
Boolean boolean = 3;
|
||||
Hash hash = 4;
|
||||
Float float = 5;
|
||||
KeyValue keyValue = 6;
|
||||
TextElement textElement = 7;
|
||||
Error error = 8;
|
||||
}
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message Array {
|
||||
repeated JSONDiff arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated JSONDiff hashElements = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
JSONDiff key = 1;
|
||||
JSONDiff value = 2;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated JSONDiff errorChildren = 4;
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.jsonterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.jsonterm";
|
||||
option go_package = "github.com/semantic/jsonterm;json";
|
||||
|
||||
message JSONTerm {
|
||||
JSONSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message JSONSyntax {
|
||||
oneof syntax {
|
||||
Null null = 1;
|
||||
Array array = 2;
|
||||
Boolean boolean = 3;
|
||||
Hash hash = 4;
|
||||
Float float = 5;
|
||||
KeyValue keyValue = 6;
|
||||
TextElement textElement = 7;
|
||||
Error error = 8;
|
||||
}
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message Array {
|
||||
repeated JSONTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated JSONTerm hashElements = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
JSONTerm key = 1;
|
||||
JSONTerm value = 2;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated JSONTerm errorChildren = 4;
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.markdowndiff;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.markdowndiff";
|
||||
option go_package = "github.com/semantic/markdowndiff;markdown";
|
||||
|
||||
message MarkdownDiff {
|
||||
oneof diff {
|
||||
Merge merge = 1;
|
||||
Delete delete = 2;
|
||||
Insert insert = 3;
|
||||
Replace replace = 4;
|
||||
}
|
||||
message Merge {
|
||||
MarkdownSyntax syntax = 1;
|
||||
}
|
||||
message Delete {
|
||||
MarkdownSyntax before = 1;
|
||||
}
|
||||
message Insert {
|
||||
MarkdownSyntax after = 1;
|
||||
}
|
||||
message Replace {
|
||||
MarkdownSyntax before = 1;
|
||||
MarkdownSyntax after = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message MarkdownSyntax {
|
||||
oneof syntax {
|
||||
Document document = 1;
|
||||
BlockQuote blockQuote = 2;
|
||||
Heading heading = 3;
|
||||
HTMLBlock hTMLBlock = 4;
|
||||
OrderedList orderedList = 5;
|
||||
Paragraph paragraph = 6;
|
||||
ThematicBreak thematicBreak = 7;
|
||||
UnorderedList unorderedList = 8;
|
||||
Table table = 9;
|
||||
TableRow tableRow = 10;
|
||||
TableCell tableCell = 11;
|
||||
Code code = 12;
|
||||
Emphasis emphasis = 13;
|
||||
Image image = 14;
|
||||
LineBreak lineBreak = 15;
|
||||
Link link = 16;
|
||||
Strong strong = 17;
|
||||
Text text = 18;
|
||||
Strikethrough strikethrough = 19;
|
||||
Error error = 20;
|
||||
List list = 21;
|
||||
}
|
||||
}
|
||||
|
||||
message Document {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message BlockQuote {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Heading {
|
||||
int64 headingLevel = 1;
|
||||
repeated MarkdownDiff headingContent = 2;
|
||||
repeated MarkdownDiff sectionContent = 3;
|
||||
}
|
||||
|
||||
message HTMLBlock {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message OrderedList {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Paragraph {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message ThematicBreak { }
|
||||
|
||||
message UnorderedList {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Table {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message TableRow {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message TableCell {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Code {
|
||||
string codeLanguage = 1;
|
||||
string codeContent = 2;
|
||||
}
|
||||
|
||||
message Emphasis {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Image {
|
||||
string imageURL = 1;
|
||||
string imageTitle = 2;
|
||||
}
|
||||
|
||||
message LineBreak { }
|
||||
|
||||
message Link {
|
||||
string linkUrl = 1;
|
||||
string linkTitle = 2;
|
||||
}
|
||||
|
||||
message Strong {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Text {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Strikethrough {
|
||||
repeated MarkdownDiff values = 1;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated MarkdownDiff errorChildren = 4;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated MarkdownDiff listContent = 1;
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.markdownterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.markdownterm";
|
||||
option go_package = "github.com/semantic/markdownterm;markdown";
|
||||
|
||||
message MarkdownTerm {
|
||||
MarkdownSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message MarkdownSyntax {
|
||||
oneof syntax {
|
||||
Document document = 1;
|
||||
BlockQuote blockQuote = 2;
|
||||
Heading heading = 3;
|
||||
HTMLBlock hTMLBlock = 4;
|
||||
OrderedList orderedList = 5;
|
||||
Paragraph paragraph = 6;
|
||||
ThematicBreak thematicBreak = 7;
|
||||
UnorderedList unorderedList = 8;
|
||||
Table table = 9;
|
||||
TableRow tableRow = 10;
|
||||
TableCell tableCell = 11;
|
||||
Code code = 12;
|
||||
Emphasis emphasis = 13;
|
||||
Image image = 14;
|
||||
LineBreak lineBreak = 15;
|
||||
Link link = 16;
|
||||
Strong strong = 17;
|
||||
Text text = 18;
|
||||
Strikethrough strikethrough = 19;
|
||||
Error error = 20;
|
||||
List list = 21;
|
||||
}
|
||||
}
|
||||
|
||||
message Document {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message BlockQuote {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Heading {
|
||||
int64 headingLevel = 1;
|
||||
repeated MarkdownTerm headingContent = 2;
|
||||
repeated MarkdownTerm sectionContent = 3;
|
||||
}
|
||||
|
||||
message HTMLBlock {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message OrderedList {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Paragraph {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message ThematicBreak { }
|
||||
|
||||
message UnorderedList {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Table {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message TableRow {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message TableCell {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Code {
|
||||
string codeLanguage = 1;
|
||||
string codeContent = 2;
|
||||
}
|
||||
|
||||
message Emphasis {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Image {
|
||||
string imageURL = 1;
|
||||
string imageTitle = 2;
|
||||
}
|
||||
|
||||
message LineBreak { }
|
||||
|
||||
message Link {
|
||||
string linkUrl = 1;
|
||||
string linkTitle = 2;
|
||||
}
|
||||
|
||||
message Strong {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Text {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Strikethrough {
|
||||
repeated MarkdownTerm values = 1;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated MarkdownTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated MarkdownTerm listContent = 1;
|
||||
}
|
@ -1,725 +0,0 @@
|
||||
// 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 {
|
||||
PHPDiff subject = 1;
|
||||
PHPDiff typeParameters = 2;
|
||||
repeated PHPDiff arguments = 3;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
@ -1,723 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.phpterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.phpterm";
|
||||
option go_package = "github.com/semantic/phpterm;php";
|
||||
|
||||
message PHPTerm {
|
||||
PHPSyntax syntax = 1;
|
||||
}
|
||||
|
||||
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 PHPTerm classContext = 1;
|
||||
PHPTerm classIdentifier = 2;
|
||||
repeated PHPTerm classSuperclasses = 3;
|
||||
PHPTerm classBody = 4;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated PHPTerm functionContext = 1;
|
||||
PHPTerm functionName = 2;
|
||||
repeated PHPTerm functionParameters = 3;
|
||||
PHPTerm functionBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated PHPTerm methodContext = 1;
|
||||
PHPTerm methodReceiver = 2;
|
||||
PHPTerm methodName = 3;
|
||||
repeated PHPTerm methodParameters = 4;
|
||||
PHPTerm methodBody = 5;
|
||||
}
|
||||
|
||||
message VariableDeclaration {
|
||||
repeated PHPTerm variableDeclarations = 1;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message And {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated PHPTerm callContext = 1;
|
||||
PHPTerm callFunction = 2;
|
||||
repeated PHPTerm callParams = 3;
|
||||
PHPTerm callBlock = 4;
|
||||
}
|
||||
|
||||
message Cast {
|
||||
PHPTerm castSubject = 1;
|
||||
PHPTerm castType = 2;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message InstanceOf {
|
||||
PHPTerm instanceOfSubject = 1;
|
||||
PHPTerm instanceOfObject = 2;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
PHPTerm lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message New {
|
||||
PHPTerm subject = 1;
|
||||
PHPTerm typeParameters = 2;
|
||||
repeated PHPTerm arguments = 3;
|
||||
}
|
||||
|
||||
message SequenceExpression {
|
||||
PHPTerm firstExpression = 1;
|
||||
PHPTerm secondExpression = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
PHPTerm lhs = 1;
|
||||
repeated PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
PHPTerm lhs = 1;
|
||||
PHPTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated PHPTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
PHPTerm key = 1;
|
||||
PHPTerm value = 2;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated PHPTerm assignmentContext = 1;
|
||||
PHPTerm assignmentTarget = 2;
|
||||
PHPTerm assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
PHPTerm catchException = 1;
|
||||
PHPTerm catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message DoWhile {
|
||||
PHPTerm doWhileCondition = 1;
|
||||
PHPTerm doWhileBody = 2;
|
||||
}
|
||||
|
||||
message Else {
|
||||
PHPTerm elseCondition = 1;
|
||||
PHPTerm elseBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message For {
|
||||
PHPTerm forBefore = 1;
|
||||
PHPTerm forCondition = 2;
|
||||
PHPTerm forStep = 3;
|
||||
PHPTerm forBody = 4;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
PHPTerm forEachBinding = 1;
|
||||
PHPTerm forEachSubject = 2;
|
||||
PHPTerm forEachBody = 3;
|
||||
}
|
||||
|
||||
message Goto {
|
||||
PHPTerm gotoLocation = 1;
|
||||
}
|
||||
|
||||
message If {
|
||||
PHPTerm ifCondition = 1;
|
||||
PHPTerm ifThenBody = 2;
|
||||
PHPTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
PHPTerm matchSubject = 1;
|
||||
PHPTerm matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
PHPTerm value = 1;
|
||||
PHPTerm patternBody = 2;
|
||||
}
|
||||
|
||||
message Return {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated PHPTerm statements = 1;
|
||||
}
|
||||
|
||||
message Throw {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
PHPTerm tryBody = 1;
|
||||
repeated PHPTerm tryCatch = 2;
|
||||
}
|
||||
|
||||
message While {
|
||||
PHPTerm whileCondition = 1;
|
||||
PHPTerm whileBody = 2;
|
||||
}
|
||||
|
||||
message Yield {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message AliasAs {
|
||||
PHPTerm aliasAsName = 1;
|
||||
PHPTerm aliasAsModifier = 2;
|
||||
PHPTerm aliasAsClause = 3;
|
||||
}
|
||||
|
||||
message ArrayElement {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message BaseTypeDeclaration {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message CastType {
|
||||
string _castType = 1;
|
||||
}
|
||||
|
||||
message ClassBaseClause {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message ClassConstDeclaration {
|
||||
PHPTerm visibility = 1;
|
||||
repeated PHPTerm elements = 2;
|
||||
}
|
||||
|
||||
message ClassInterfaceClause {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message ClassModifier {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Clone {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message ConstDeclaration {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message ConstructorDeclaration {
|
||||
repeated PHPTerm modifiers = 1;
|
||||
repeated PHPTerm parameters = 2;
|
||||
PHPTerm body = 3;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated PHPTerm contextTerms = 1;
|
||||
PHPTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message Declare {
|
||||
PHPTerm left = 1;
|
||||
PHPTerm right = 2;
|
||||
}
|
||||
|
||||
message DeclareDirective {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message DestructorDeclaration {
|
||||
repeated PHPTerm body = 1;
|
||||
PHPTerm name = 2;
|
||||
}
|
||||
|
||||
message Echo {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message EmptyIntrinsic {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated PHPTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message ErrorControl {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message EvalIntrinsic {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message ExitIntrinsic {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message GlobalDeclaration {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Include {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message IncludeOnce {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message InsteadOf {
|
||||
PHPTerm left = 1;
|
||||
PHPTerm right = 2;
|
||||
}
|
||||
|
||||
message InterfaceBaseClause {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message InterfaceDeclaration {
|
||||
PHPTerm name = 1;
|
||||
PHPTerm base = 2;
|
||||
repeated PHPTerm declarations = 3;
|
||||
}
|
||||
|
||||
message IssetIntrinsic {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message LabeledStatement {
|
||||
PHPTerm _labeledStatementIdentifier = 1;
|
||||
}
|
||||
|
||||
message Namespace {
|
||||
repeated PHPTerm namespaceName = 1;
|
||||
PHPTerm namespaceBody = 2;
|
||||
}
|
||||
|
||||
message NamespaceAliasingClause {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message NamespaceName {
|
||||
repeated PHPTerm names = 1;
|
||||
}
|
||||
|
||||
message NamespaceUseClause {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message NamespaceUseDeclaration {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message NamespaceUseGroupClause {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message NewVariable {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message PrintIntrinsic {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message PropertyDeclaration {
|
||||
PHPTerm modifier = 1;
|
||||
repeated PHPTerm elements = 2;
|
||||
}
|
||||
|
||||
message PropertyModifier {
|
||||
PHPTerm visibility = 1;
|
||||
PHPTerm static = 2;
|
||||
}
|
||||
|
||||
message QualifiedName {
|
||||
PHPTerm name = 1;
|
||||
PHPTerm identifier = 2;
|
||||
}
|
||||
|
||||
message RelativeScope {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Require {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message RequireOnce {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message ReturnType {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message ScalarType {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message ShellCommand {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message SimpleVariable {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Static {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Text {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message TraitDeclaration {
|
||||
PHPTerm traitName = 1;
|
||||
repeated PHPTerm traitStatements = 2;
|
||||
}
|
||||
|
||||
message TraitUseClause {
|
||||
repeated PHPTerm namespace = 1;
|
||||
PHPTerm alias = 2;
|
||||
}
|
||||
|
||||
message TraitUseSpecification {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message TypeDeclaration {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Unset {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Update {
|
||||
PHPTerm _updateSubject = 1;
|
||||
}
|
||||
|
||||
message UseClause {
|
||||
repeated PHPTerm values = 1;
|
||||
}
|
||||
|
||||
message VariableName {
|
||||
PHPTerm value = 1;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
PHPTerm annotationSubject = 1;
|
||||
PHPTerm annotationType = 2;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated PHPTerm listContent = 1;
|
||||
}
|
||||
|
||||
message Alias {
|
||||
bytes aliasValue = 1;
|
||||
bytes aliasName = 2;
|
||||
}
|
||||
|
||||
message ImportPath {
|
||||
string unPath = 1;
|
||||
IsRelative pathIsRelative = 2;
|
||||
}
|
||||
|
||||
enum IsRelative {
|
||||
Unknown = 0;
|
||||
Relative = 1;
|
||||
NonRelative = 2;
|
||||
}
|
@ -1,484 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.pythondiff;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.pythondiff";
|
||||
option go_package = "github.com/semantic/pythondiff;python";
|
||||
|
||||
message PythonDiff {
|
||||
oneof diff {
|
||||
Merge merge = 1;
|
||||
Delete delete = 2;
|
||||
Insert insert = 3;
|
||||
Replace replace = 4;
|
||||
}
|
||||
message Merge {
|
||||
PythonSyntax syntax = 1;
|
||||
}
|
||||
message Delete {
|
||||
PythonSyntax before = 1;
|
||||
}
|
||||
message Insert {
|
||||
PythonSyntax after = 1;
|
||||
}
|
||||
message Replace {
|
||||
PythonSyntax before = 1;
|
||||
PythonSyntax after = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message PythonSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Class class = 2;
|
||||
Comprehension comprehension = 3;
|
||||
Decorator decorator = 4;
|
||||
Function function = 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;
|
||||
And and = 14;
|
||||
Not not = 15;
|
||||
Or or = 16;
|
||||
XOr xOr = 17;
|
||||
BAnd bAnd = 18;
|
||||
BOr bOr = 19;
|
||||
BXOr bXOr = 20;
|
||||
LShift lShift = 21;
|
||||
RShift rShift = 22;
|
||||
Complement complement = 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;
|
||||
ScopeResolution scopeResolution = 33;
|
||||
MemberAccess memberAccess = 34;
|
||||
Subscript subscript = 35;
|
||||
Member member = 36;
|
||||
Array array = 37;
|
||||
Boolean boolean = 38;
|
||||
Float float = 39;
|
||||
Hash hash = 40;
|
||||
Integer integer = 41;
|
||||
KeyValue keyValue = 42;
|
||||
Null null = 43;
|
||||
Set set = 44;
|
||||
String string = 45;
|
||||
TextElement textElement = 46;
|
||||
Tuple tuple = 47;
|
||||
Ellipsis ellipsis = 48;
|
||||
FutureImport futureImport = 49;
|
||||
Import import = 50;
|
||||
QualifiedImport qualifiedImport = 51;
|
||||
QualifiedAliasedImport qualifiedAliasedImport = 52;
|
||||
Redirect redirect = 53;
|
||||
Assignment assignment = 54;
|
||||
Break break = 55;
|
||||
Catch catch = 56;
|
||||
Continue continue = 57;
|
||||
Else else = 58;
|
||||
Finally finally = 59;
|
||||
ForEach forEach = 60;
|
||||
If if = 61;
|
||||
Let let = 62;
|
||||
NoOp noOp = 63;
|
||||
Return return = 64;
|
||||
Statements statements = 65;
|
||||
Throw throw = 66;
|
||||
Try try = 67;
|
||||
While while = 68;
|
||||
Yield yield = 69;
|
||||
Context context = 70;
|
||||
Empty empty = 71;
|
||||
Error error = 72;
|
||||
Identifier identifier = 73;
|
||||
Annotation annotation = 74;
|
||||
List list = 75;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated PythonDiff classContext = 1;
|
||||
PythonDiff classIdentifier = 2;
|
||||
repeated PythonDiff classSuperclasses = 3;
|
||||
PythonDiff classBody = 4;
|
||||
}
|
||||
|
||||
message Comprehension {
|
||||
PythonDiff comprehensionValue = 1;
|
||||
PythonDiff comprehensionBody = 2;
|
||||
}
|
||||
|
||||
message Decorator {
|
||||
PythonDiff decoratorIdentifier = 1;
|
||||
repeated PythonDiff decoratorParamaters = 2;
|
||||
PythonDiff decoratorBody = 3;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated PythonDiff functionContext = 1;
|
||||
PythonDiff functionName = 2;
|
||||
repeated PythonDiff functionParameters = 3;
|
||||
PythonDiff functionBody = 4;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message And {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated PythonDiff callContext = 1;
|
||||
PythonDiff callFunction = 2;
|
||||
repeated PythonDiff callParams = 3;
|
||||
PythonDiff callBlock = 4;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Enumeration {
|
||||
PythonDiff enumerationStart = 1;
|
||||
PythonDiff enumerationEnd = 2;
|
||||
PythonDiff enumerationStep = 3;
|
||||
}
|
||||
|
||||
message ScopeResolution {
|
||||
repeated PythonDiff scopes = 1;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
PythonDiff lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
PythonDiff lhs = 1;
|
||||
repeated PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated PythonDiff arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated PythonDiff hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
PythonDiff key = 1;
|
||||
PythonDiff value = 2;
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message Set {
|
||||
repeated PythonDiff setElements = 1;
|
||||
}
|
||||
|
||||
message String {
|
||||
repeated PythonDiff stringElements = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Tuple {
|
||||
repeated PythonDiff tupleContents = 1;
|
||||
}
|
||||
|
||||
message Ellipsis { }
|
||||
|
||||
message FutureImport {
|
||||
repeated Alias futureImportSymbols = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
QualifiedName importFrom = 1;
|
||||
repeated Alias importSymbols = 2;
|
||||
}
|
||||
|
||||
message QualifiedImport {
|
||||
repeated string qualifiedImportFrom = 1;
|
||||
}
|
||||
|
||||
message QualifiedAliasedImport {
|
||||
QualifiedName qualifiedAliasedImportFrom = 1;
|
||||
PythonDiff qualifiedAliasedImportAlias = 2;
|
||||
}
|
||||
|
||||
message Redirect {
|
||||
PythonDiff lhs = 1;
|
||||
PythonDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated PythonDiff assignmentContext = 1;
|
||||
PythonDiff assignmentTarget = 2;
|
||||
PythonDiff assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
PythonDiff catchException = 1;
|
||||
PythonDiff catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Else {
|
||||
PythonDiff elseCondition = 1;
|
||||
PythonDiff elseBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
PythonDiff forEachBinding = 1;
|
||||
PythonDiff forEachSubject = 2;
|
||||
PythonDiff forEachBody = 3;
|
||||
}
|
||||
|
||||
message If {
|
||||
PythonDiff ifCondition = 1;
|
||||
PythonDiff ifThenBody = 2;
|
||||
PythonDiff ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Let {
|
||||
PythonDiff letVariable = 1;
|
||||
PythonDiff letValue = 2;
|
||||
PythonDiff letBody = 3;
|
||||
}
|
||||
|
||||
message NoOp {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Return {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated PythonDiff statements = 1;
|
||||
}
|
||||
|
||||
message Throw {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
PythonDiff tryBody = 1;
|
||||
repeated PythonDiff tryCatch = 2;
|
||||
}
|
||||
|
||||
message While {
|
||||
PythonDiff whileCondition = 1;
|
||||
PythonDiff whileBody = 2;
|
||||
}
|
||||
|
||||
message Yield {
|
||||
PythonDiff value = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated PythonDiff contextTerms = 1;
|
||||
PythonDiff contextSubject = 2;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated PythonDiff errorChildren = 4;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
PythonDiff annotationSubject = 1;
|
||||
PythonDiff annotationType = 2;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated PythonDiff listContent = 1;
|
||||
}
|
||||
|
||||
message QualifiedName {
|
||||
oneof sum {
|
||||
QualifiedName qualifiedName = 1;
|
||||
RelativeQualifiedName relativeQualifiedName = 2;
|
||||
}
|
||||
message QualifiedName {
|
||||
repeated string paths = 1;
|
||||
}
|
||||
message RelativeQualifiedName {
|
||||
string path = 1;
|
||||
QualifiedName maybeQualifiedName = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message Alias {
|
||||
bytes aliasValue = 1;
|
||||
bytes aliasName = 2;
|
||||
}
|
@ -1,466 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.pythonterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.pythonterm";
|
||||
option go_package = "github.com/semantic/pythonterm;python";
|
||||
|
||||
message PythonTerm {
|
||||
PythonSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message PythonSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
Class class = 2;
|
||||
Comprehension comprehension = 3;
|
||||
Decorator decorator = 4;
|
||||
Function function = 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;
|
||||
And and = 14;
|
||||
Not not = 15;
|
||||
Or or = 16;
|
||||
XOr xOr = 17;
|
||||
BAnd bAnd = 18;
|
||||
BOr bOr = 19;
|
||||
BXOr bXOr = 20;
|
||||
LShift lShift = 21;
|
||||
RShift rShift = 22;
|
||||
Complement complement = 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;
|
||||
ScopeResolution scopeResolution = 33;
|
||||
MemberAccess memberAccess = 34;
|
||||
Subscript subscript = 35;
|
||||
Member member = 36;
|
||||
Array array = 37;
|
||||
Boolean boolean = 38;
|
||||
Float float = 39;
|
||||
Hash hash = 40;
|
||||
Integer integer = 41;
|
||||
KeyValue keyValue = 42;
|
||||
Null null = 43;
|
||||
Set set = 44;
|
||||
String string = 45;
|
||||
TextElement textElement = 46;
|
||||
Tuple tuple = 47;
|
||||
Ellipsis ellipsis = 48;
|
||||
FutureImport futureImport = 49;
|
||||
Import import = 50;
|
||||
QualifiedImport qualifiedImport = 51;
|
||||
QualifiedAliasedImport qualifiedAliasedImport = 52;
|
||||
Redirect redirect = 53;
|
||||
Assignment assignment = 54;
|
||||
Break break = 55;
|
||||
Catch catch = 56;
|
||||
Continue continue = 57;
|
||||
Else else = 58;
|
||||
Finally finally = 59;
|
||||
ForEach forEach = 60;
|
||||
If if = 61;
|
||||
Let let = 62;
|
||||
NoOp noOp = 63;
|
||||
Return return = 64;
|
||||
Statements statements = 65;
|
||||
Throw throw = 66;
|
||||
Try try = 67;
|
||||
While while = 68;
|
||||
Yield yield = 69;
|
||||
Context context = 70;
|
||||
Empty empty = 71;
|
||||
Error error = 72;
|
||||
Identifier identifier = 73;
|
||||
Annotation annotation = 74;
|
||||
List list = 75;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated PythonTerm classContext = 1;
|
||||
PythonTerm classIdentifier = 2;
|
||||
repeated PythonTerm classSuperclasses = 3;
|
||||
PythonTerm classBody = 4;
|
||||
}
|
||||
|
||||
message Comprehension {
|
||||
PythonTerm comprehensionValue = 1;
|
||||
PythonTerm comprehensionBody = 2;
|
||||
}
|
||||
|
||||
message Decorator {
|
||||
PythonTerm decoratorIdentifier = 1;
|
||||
repeated PythonTerm decoratorParamaters = 2;
|
||||
PythonTerm decoratorBody = 3;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated PythonTerm functionContext = 1;
|
||||
PythonTerm functionName = 2;
|
||||
repeated PythonTerm functionParameters = 3;
|
||||
PythonTerm functionBody = 4;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message And {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated PythonTerm callContext = 1;
|
||||
PythonTerm callFunction = 2;
|
||||
repeated PythonTerm callParams = 3;
|
||||
PythonTerm callBlock = 4;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Enumeration {
|
||||
PythonTerm enumerationStart = 1;
|
||||
PythonTerm enumerationEnd = 2;
|
||||
PythonTerm enumerationStep = 3;
|
||||
}
|
||||
|
||||
message ScopeResolution {
|
||||
repeated PythonTerm scopes = 1;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
PythonTerm lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
PythonTerm lhs = 1;
|
||||
repeated PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Array {
|
||||
repeated PythonTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated PythonTerm hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
PythonTerm key = 1;
|
||||
PythonTerm value = 2;
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message Set {
|
||||
repeated PythonTerm setElements = 1;
|
||||
}
|
||||
|
||||
message String {
|
||||
repeated PythonTerm stringElements = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Tuple {
|
||||
repeated PythonTerm tupleContents = 1;
|
||||
}
|
||||
|
||||
message Ellipsis { }
|
||||
|
||||
message FutureImport {
|
||||
repeated Alias futureImportSymbols = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
QualifiedName importFrom = 1;
|
||||
repeated Alias importSymbols = 2;
|
||||
}
|
||||
|
||||
message QualifiedImport {
|
||||
repeated string qualifiedImportFrom = 1;
|
||||
}
|
||||
|
||||
message QualifiedAliasedImport {
|
||||
QualifiedName qualifiedAliasedImportFrom = 1;
|
||||
PythonTerm qualifiedAliasedImportAlias = 2;
|
||||
}
|
||||
|
||||
message Redirect {
|
||||
PythonTerm lhs = 1;
|
||||
PythonTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated PythonTerm assignmentContext = 1;
|
||||
PythonTerm assignmentTarget = 2;
|
||||
PythonTerm assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
PythonTerm catchException = 1;
|
||||
PythonTerm catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Else {
|
||||
PythonTerm elseCondition = 1;
|
||||
PythonTerm elseBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
PythonTerm forEachBinding = 1;
|
||||
PythonTerm forEachSubject = 2;
|
||||
PythonTerm forEachBody = 3;
|
||||
}
|
||||
|
||||
message If {
|
||||
PythonTerm ifCondition = 1;
|
||||
PythonTerm ifThenBody = 2;
|
||||
PythonTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Let {
|
||||
PythonTerm letVariable = 1;
|
||||
PythonTerm letValue = 2;
|
||||
PythonTerm letBody = 3;
|
||||
}
|
||||
|
||||
message NoOp {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Return {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated PythonTerm statements = 1;
|
||||
}
|
||||
|
||||
message Throw {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
PythonTerm tryBody = 1;
|
||||
repeated PythonTerm tryCatch = 2;
|
||||
}
|
||||
|
||||
message While {
|
||||
PythonTerm whileCondition = 1;
|
||||
PythonTerm whileBody = 2;
|
||||
}
|
||||
|
||||
message Yield {
|
||||
PythonTerm value = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated PythonTerm contextTerms = 1;
|
||||
PythonTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated PythonTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
PythonTerm annotationSubject = 1;
|
||||
PythonTerm annotationType = 2;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated PythonTerm listContent = 1;
|
||||
}
|
||||
|
||||
message QualifiedName {
|
||||
oneof sum {
|
||||
QualifiedName qualifiedName = 1;
|
||||
RelativeQualifiedName relativeQualifiedName = 2;
|
||||
}
|
||||
message QualifiedName {
|
||||
repeated string paths = 1;
|
||||
}
|
||||
message RelativeQualifiedName {
|
||||
string path = 1;
|
||||
QualifiedName maybeQualifiedName = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message Alias {
|
||||
bytes aliasValue = 1;
|
||||
bytes aliasName = 2;
|
||||
}
|
@ -1,525 +0,0 @@
|
||||
// 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;
|
||||
ZSuper zSuper = 86;
|
||||
List list = 87;
|
||||
}
|
||||
}
|
||||
|
||||
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 lhs = 1;
|
||||
RubyDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
RubyDiff lhs = 1;
|
||||
RubyDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
RubyDiff lhs = 1;
|
||||
RubyDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
RubyDiff lhs = 1;
|
||||
RubyDiff rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
RubyDiff lhs = 1;
|
||||
RubyDiff rhs = 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 ZSuper { }
|
||||
|
||||
message List {
|
||||
repeated RubyDiff listContent = 1;
|
||||
}
|
@ -1,507 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.rubyterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.rubyterm";
|
||||
option go_package = "github.com/semantic/rubyterm;ruby";
|
||||
|
||||
message RubyTerm {
|
||||
RubySyntax syntax = 1;
|
||||
}
|
||||
|
||||
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;
|
||||
ZSuper zSuper = 86;
|
||||
List list = 87;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated RubyTerm functionContext = 1;
|
||||
RubyTerm functionName = 2;
|
||||
repeated RubyTerm functionParameters = 3;
|
||||
RubyTerm functionBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated RubyTerm methodContext = 1;
|
||||
RubyTerm methodReceiver = 2;
|
||||
RubyTerm methodName = 3;
|
||||
repeated RubyTerm methodParameters = 4;
|
||||
RubyTerm methodBody = 5;
|
||||
}
|
||||
|
||||
message File { }
|
||||
|
||||
message Line { }
|
||||
|
||||
message Plus {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message And {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated RubyTerm callContext = 1;
|
||||
RubyTerm callFunction = 2;
|
||||
repeated RubyTerm callParams = 3;
|
||||
RubyTerm callBlock = 4;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Enumeration {
|
||||
RubyTerm enumerationStart = 1;
|
||||
RubyTerm enumerationEnd = 2;
|
||||
RubyTerm enumerationStep = 3;
|
||||
}
|
||||
|
||||
message Matches {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message NotMatches {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
RubyTerm lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message ScopeResolution {
|
||||
repeated RubyTerm scopes = 1;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
RubyTerm lhs = 1;
|
||||
repeated RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message This { }
|
||||
|
||||
message Array {
|
||||
repeated RubyTerm 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 RubyTerm hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message InterpolationElement {
|
||||
RubyTerm interpolationBody = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
RubyTerm key = 1;
|
||||
RubyTerm value = 2;
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message Rational {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Regex {
|
||||
string regexContent = 1;
|
||||
}
|
||||
|
||||
message String {
|
||||
repeated RubyTerm stringElements = 1;
|
||||
}
|
||||
|
||||
message Symbol {
|
||||
repeated RubyTerm symbolElements = 1;
|
||||
}
|
||||
|
||||
message SymbolElement {
|
||||
string symbolContent = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated RubyTerm assignmentContext = 1;
|
||||
RubyTerm assignmentTarget = 2;
|
||||
RubyTerm assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
RubyTerm catchException = 1;
|
||||
RubyTerm catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message Else {
|
||||
RubyTerm elseCondition = 1;
|
||||
RubyTerm elseBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
RubyTerm forEachBinding = 1;
|
||||
RubyTerm forEachSubject = 2;
|
||||
RubyTerm forEachBody = 3;
|
||||
}
|
||||
|
||||
message If {
|
||||
RubyTerm ifCondition = 1;
|
||||
RubyTerm ifThenBody = 2;
|
||||
RubyTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
RubyTerm matchSubject = 1;
|
||||
RubyTerm matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
RubyTerm value = 1;
|
||||
RubyTerm patternBody = 2;
|
||||
}
|
||||
|
||||
message Retry {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message Return {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message ScopeEntry {
|
||||
repeated RubyTerm terms = 1;
|
||||
}
|
||||
|
||||
message ScopeExit {
|
||||
repeated RubyTerm terms = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated RubyTerm statements = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
RubyTerm tryBody = 1;
|
||||
repeated RubyTerm tryCatch = 2;
|
||||
}
|
||||
|
||||
message While {
|
||||
RubyTerm whileCondition = 1;
|
||||
RubyTerm whileBody = 2;
|
||||
}
|
||||
|
||||
message Yield {
|
||||
RubyTerm value = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated RubyTerm contextTerms = 1;
|
||||
RubyTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated RubyTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
RubyTerm classIdentifier = 1;
|
||||
repeated RubyTerm classSuperClass = 2;
|
||||
RubyTerm classBody = 3;
|
||||
}
|
||||
|
||||
message Load {
|
||||
RubyTerm loadPath = 1;
|
||||
repeated RubyTerm loadWrap = 2;
|
||||
}
|
||||
|
||||
message LowPrecedenceAnd {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LowPrecedenceOr {
|
||||
RubyTerm lhs = 1;
|
||||
RubyTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Module {
|
||||
RubyTerm moduleIdentifier = 1;
|
||||
repeated RubyTerm moduleStatements = 2;
|
||||
}
|
||||
|
||||
message Require {
|
||||
bool requireRelative = 1;
|
||||
RubyTerm requirePath = 2;
|
||||
}
|
||||
|
||||
message Send {
|
||||
repeated RubyTerm sendReceiver = 1;
|
||||
repeated RubyTerm sendSelector = 2;
|
||||
repeated RubyTerm sendArgs = 3;
|
||||
repeated RubyTerm sendBlock = 4;
|
||||
}
|
||||
|
||||
message ZSuper { }
|
||||
|
||||
message List {
|
||||
repeated RubyTerm listContent = 1;
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic;
|
||||
|
||||
import "go_term.proto";
|
||||
import "go_diff.proto";
|
||||
import "haskell_term.proto";
|
||||
import "haskell_diff.proto";
|
||||
import "java_term.proto";
|
||||
import "java_diff.proto";
|
||||
import "json_term.proto";
|
||||
import "json_diff.proto";
|
||||
import "markdown_term.proto";
|
||||
import "markdown_diff.proto";
|
||||
import "python_term.proto";
|
||||
import "python_diff.proto";
|
||||
import "ruby_term.proto";
|
||||
import "ruby_diff.proto";
|
||||
import "typescript_term.proto";
|
||||
import "typescript_diff.proto";
|
||||
import "php_term.proto";
|
||||
import "php_diff.proto";
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.terms";
|
||||
option go_package = "github.com/semantic/terms;terms";
|
||||
|
||||
message ParseTree {
|
||||
Language language = 1;
|
||||
string path = 2;
|
||||
oneof response_type {
|
||||
string error = 3;
|
||||
goterm.GoTerm go_tree = 4;
|
||||
haskellterm.HaskellTerm haskell_tree = 5;
|
||||
javaterm.JavaTerm java_tree = 6;
|
||||
jsonterm.JSONTerm json_tree = 7;
|
||||
markdownterm.MarkdownTerm markdown_tree = 8;
|
||||
pythonterm.PythonTerm python_tree = 9;
|
||||
rubyterm.RubyTerm ruby_tree = 10;
|
||||
typescriptterm.TypeScriptTerm typescript_tree = 11;
|
||||
phpterm.PHPTerm php_tree = 12;
|
||||
}
|
||||
}
|
||||
|
||||
message DiffTree {
|
||||
Language language_before = 1;
|
||||
Language language_after = 2;
|
||||
string path_before = 3;
|
||||
string path_after = 4;
|
||||
oneof response_type {
|
||||
string error = 5;
|
||||
godiff.GoDiff go_diff = 6;
|
||||
haskelldiff.HaskellDiff haskell_diff = 7;
|
||||
javadiff.JavaDiff java_diff = 8;
|
||||
jsondiff.JSONDiff json_diff = 9;
|
||||
markdowndiff.MarkdownDiff markdown_diff = 10;
|
||||
pythondiff.PythonDiff python_diff = 11;
|
||||
rubydiff.RubyDiff ruby_diff = 12;
|
||||
typescriptdiff.TypeScriptDiff typescript_diff = 13;
|
||||
phpdiff.PHPDiff php_diff = 14;
|
||||
}
|
||||
}
|
@ -1,994 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.typescriptdiff;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.typescriptdiff";
|
||||
option go_package = "github.com/semantic/typescriptdiff;typescript";
|
||||
|
||||
message TypeScriptDiff {
|
||||
oneof diff {
|
||||
Merge merge = 1;
|
||||
Delete delete = 2;
|
||||
Insert insert = 3;
|
||||
Replace replace = 4;
|
||||
}
|
||||
message Merge {
|
||||
TypeScriptSyntax syntax = 1;
|
||||
}
|
||||
message Delete {
|
||||
TypeScriptSyntax before = 1;
|
||||
}
|
||||
message Insert {
|
||||
TypeScriptSyntax after = 1;
|
||||
}
|
||||
message Replace {
|
||||
TypeScriptSyntax before = 1;
|
||||
TypeScriptSyntax after = 2;
|
||||
}
|
||||
}
|
||||
|
||||
message TypeScriptSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
HashBang hashBang = 2;
|
||||
Class class = 3;
|
||||
Function function = 4;
|
||||
Method method = 5;
|
||||
MethodSignature methodSignature = 6;
|
||||
InterfaceDeclaration interfaceDeclaration = 7;
|
||||
PublicFieldDefinition publicFieldDefinition = 8;
|
||||
VariableDeclaration variableDeclaration = 9;
|
||||
TypeAlias typeAlias = 10;
|
||||
Plus plus = 11;
|
||||
Minus minus = 12;
|
||||
Times times = 13;
|
||||
DividedBy dividedBy = 14;
|
||||
Modulo modulo = 15;
|
||||
Power power = 16;
|
||||
Negate negate = 17;
|
||||
FloorDivision floorDivision = 18;
|
||||
BAnd bAnd = 19;
|
||||
BOr bOr = 20;
|
||||
BXOr bXOr = 21;
|
||||
LShift lShift = 22;
|
||||
RShift rShift = 23;
|
||||
UnsignedRShift unsignedRShift = 24;
|
||||
Complement complement = 25;
|
||||
And and = 26;
|
||||
Not not = 27;
|
||||
Or or = 28;
|
||||
XOr xOr = 29;
|
||||
Call call = 30;
|
||||
Cast cast = 31;
|
||||
LessThan lessThan = 32;
|
||||
LessThanEqual lessThanEqual = 33;
|
||||
GreaterThan greaterThan = 34;
|
||||
GreaterThanEqual greaterThanEqual = 35;
|
||||
Equal equal = 36;
|
||||
StrictEqual strictEqual = 37;
|
||||
Comparison comparison = 38;
|
||||
Enumeration enumeration = 39;
|
||||
MemberAccess memberAccess = 40;
|
||||
NonNullExpression nonNullExpression = 41;
|
||||
ScopeResolution scopeResolution = 42;
|
||||
SequenceExpression sequenceExpression = 43;
|
||||
Subscript subscript = 44;
|
||||
Member member = 45;
|
||||
Delete delete = 46;
|
||||
Void void = 47;
|
||||
Typeof typeof = 48;
|
||||
InstanceOf instanceOf = 49;
|
||||
New new = 50;
|
||||
Await await = 51;
|
||||
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;
|
||||
StatementBlock statementBlock = 165;
|
||||
MetaProperty metaProperty = 166;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message HashBang {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated TypeScriptDiff classContext = 1;
|
||||
TypeScriptDiff classIdentifier = 2;
|
||||
repeated TypeScriptDiff classSuperclasses = 3;
|
||||
TypeScriptDiff classBody = 4;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated TypeScriptDiff functionContext = 1;
|
||||
TypeScriptDiff functionName = 2;
|
||||
repeated TypeScriptDiff functionParameters = 3;
|
||||
TypeScriptDiff functionBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated TypeScriptDiff methodContext = 1;
|
||||
TypeScriptDiff methodReceiver = 2;
|
||||
TypeScriptDiff methodName = 3;
|
||||
repeated TypeScriptDiff methodParameters = 4;
|
||||
TypeScriptDiff methodBody = 5;
|
||||
}
|
||||
|
||||
message MethodSignature {
|
||||
repeated TypeScriptDiff methodSignatureContext = 1;
|
||||
TypeScriptDiff methodSignatureName = 2;
|
||||
repeated TypeScriptDiff methodSignatureParameters = 3;
|
||||
}
|
||||
|
||||
message InterfaceDeclaration {
|
||||
repeated TypeScriptDiff interfaceDeclarationContext = 1;
|
||||
TypeScriptDiff interfaceDeclarationIdentifier = 2;
|
||||
repeated TypeScriptDiff interfaceDeclarationSuperInterfaces = 3;
|
||||
TypeScriptDiff interfaceDeclarationBody = 4;
|
||||
}
|
||||
|
||||
message PublicFieldDefinition {
|
||||
repeated TypeScriptDiff publicFieldContext = 1;
|
||||
TypeScriptDiff publicFieldPropertyName = 2;
|
||||
TypeScriptDiff publicFieldValue = 3;
|
||||
}
|
||||
|
||||
message VariableDeclaration {
|
||||
repeated TypeScriptDiff variableDeclarations = 1;
|
||||
}
|
||||
|
||||
message TypeAlias {
|
||||
repeated TypeScriptDiff typeAliasContext = 1;
|
||||
TypeScriptDiff typeAliasIdentifier = 2;
|
||||
TypeScriptDiff typeAliasKind = 3;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message UnsignedRShift {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message And {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated TypeScriptDiff callContext = 1;
|
||||
TypeScriptDiff callFunction = 2;
|
||||
repeated TypeScriptDiff callParams = 3;
|
||||
TypeScriptDiff callBlock = 4;
|
||||
}
|
||||
|
||||
message Cast {
|
||||
TypeScriptDiff castSubject = 1;
|
||||
TypeScriptDiff castType = 2;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Enumeration {
|
||||
TypeScriptDiff enumerationStart = 1;
|
||||
TypeScriptDiff enumerationEnd = 2;
|
||||
TypeScriptDiff enumerationStep = 3;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
TypeScriptDiff lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message NonNullExpression {
|
||||
TypeScriptDiff nonNullExpression = 1;
|
||||
}
|
||||
|
||||
message ScopeResolution {
|
||||
repeated TypeScriptDiff scopes = 1;
|
||||
}
|
||||
|
||||
message SequenceExpression {
|
||||
TypeScriptDiff firstExpression = 1;
|
||||
TypeScriptDiff secondExpression = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
TypeScriptDiff lhs = 1;
|
||||
repeated TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
TypeScriptDiff lhs = 1;
|
||||
TypeScriptDiff rhs = 2;
|
||||
}
|
||||
|
||||
message Delete {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message Void {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message Typeof {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message InstanceOf {
|
||||
TypeScriptDiff instanceOfSubject = 1;
|
||||
TypeScriptDiff instanceOfObject = 2;
|
||||
}
|
||||
|
||||
message New {
|
||||
TypeScriptDiff subject = 1;
|
||||
TypeScriptDiff typeParameters = 2;
|
||||
repeated TypeScriptDiff arguments = 3;
|
||||
}
|
||||
|
||||
message Await {
|
||||
TypeScriptDiff awaitSubject = 1;
|
||||
}
|
||||
|
||||
message This { }
|
||||
|
||||
message Array {
|
||||
repeated TypeScriptDiff arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated TypeScriptDiff hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
TypeScriptDiff key = 1;
|
||||
TypeScriptDiff value = 2;
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message String {
|
||||
repeated TypeScriptDiff stringElements = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Regex {
|
||||
string regexContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated TypeScriptDiff assignmentContext = 1;
|
||||
TypeScriptDiff assignmentTarget = 2;
|
||||
TypeScriptDiff assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
TypeScriptDiff catchException = 1;
|
||||
TypeScriptDiff catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message DoWhile {
|
||||
TypeScriptDiff doWhileCondition = 1;
|
||||
TypeScriptDiff doWhileBody = 2;
|
||||
}
|
||||
|
||||
message Else {
|
||||
TypeScriptDiff elseCondition = 1;
|
||||
TypeScriptDiff elseBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message For {
|
||||
TypeScriptDiff forBefore = 1;
|
||||
TypeScriptDiff forCondition = 2;
|
||||
TypeScriptDiff forStep = 3;
|
||||
TypeScriptDiff forBody = 4;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
TypeScriptDiff forEachBinding = 1;
|
||||
TypeScriptDiff forEachSubject = 2;
|
||||
TypeScriptDiff forEachBody = 3;
|
||||
}
|
||||
|
||||
message If {
|
||||
TypeScriptDiff ifCondition = 1;
|
||||
TypeScriptDiff ifThenBody = 2;
|
||||
TypeScriptDiff ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
TypeScriptDiff matchSubject = 1;
|
||||
TypeScriptDiff matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
TypeScriptDiff value = 1;
|
||||
TypeScriptDiff patternBody = 2;
|
||||
}
|
||||
|
||||
message Retry {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message Return {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message ScopeEntry {
|
||||
repeated TypeScriptDiff terms = 1;
|
||||
}
|
||||
|
||||
message ScopeExit {
|
||||
repeated TypeScriptDiff terms = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated TypeScriptDiff statements = 1;
|
||||
}
|
||||
|
||||
message Throw {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
TypeScriptDiff tryBody = 1;
|
||||
repeated TypeScriptDiff tryCatch = 2;
|
||||
}
|
||||
|
||||
message While {
|
||||
TypeScriptDiff whileCondition = 1;
|
||||
TypeScriptDiff whileBody = 2;
|
||||
}
|
||||
|
||||
message Yield {
|
||||
TypeScriptDiff value = 1;
|
||||
}
|
||||
|
||||
message AccessibilityModifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated TypeScriptDiff errorChildren = 4;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated TypeScriptDiff contextTerms = 1;
|
||||
TypeScriptDiff contextSubject = 2;
|
||||
}
|
||||
|
||||
message Readonly { }
|
||||
|
||||
message TypeParameters {
|
||||
repeated TypeScriptDiff terms = 1;
|
||||
}
|
||||
|
||||
message TypeParameter {
|
||||
TypeScriptDiff typeParameter = 1;
|
||||
TypeScriptDiff typeParameterConstraint = 2;
|
||||
TypeScriptDiff typeParameterDefaultType = 3;
|
||||
}
|
||||
|
||||
message Constraint {
|
||||
TypeScriptDiff constraintType = 1;
|
||||
}
|
||||
|
||||
message ParenthesizedType {
|
||||
TypeScriptDiff parenthesizedType = 1;
|
||||
}
|
||||
|
||||
message DefaultType {
|
||||
TypeScriptDiff defaultType = 1;
|
||||
}
|
||||
|
||||
message PredefinedType {
|
||||
string predefinedType = 1;
|
||||
}
|
||||
|
||||
message TypeIdentifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message NestedIdentifier {
|
||||
TypeScriptDiff left = 1;
|
||||
TypeScriptDiff right = 2;
|
||||
}
|
||||
|
||||
message NestedTypeIdentifier {
|
||||
TypeScriptDiff left = 1;
|
||||
TypeScriptDiff right = 2;
|
||||
}
|
||||
|
||||
message GenericType {
|
||||
TypeScriptDiff genericTypeIdentifier = 1;
|
||||
TypeScriptDiff genericTypeArguments = 2;
|
||||
}
|
||||
|
||||
message TypeArguments {
|
||||
repeated TypeScriptDiff typeArguments = 1;
|
||||
}
|
||||
|
||||
message TypePredicate {
|
||||
TypeScriptDiff typePredicateIdentifier = 1;
|
||||
TypeScriptDiff typePredicateType = 2;
|
||||
}
|
||||
|
||||
message CallSignature {
|
||||
TypeScriptDiff callSignatureTypeParameters = 1;
|
||||
repeated TypeScriptDiff callSignatureParameters = 2;
|
||||
TypeScriptDiff callSignatureType = 3;
|
||||
}
|
||||
|
||||
message ConstructSignature {
|
||||
TypeScriptDiff constructSignatureTypeParameters = 1;
|
||||
repeated TypeScriptDiff constructSignatureParameters = 2;
|
||||
TypeScriptDiff constructSignatureType = 3;
|
||||
}
|
||||
|
||||
message ArrayType {
|
||||
TypeScriptDiff arrayType = 1;
|
||||
}
|
||||
|
||||
message LookupType {
|
||||
TypeScriptDiff lookupTypeIdentifier = 1;
|
||||
TypeScriptDiff lookupTypeKey = 2;
|
||||
}
|
||||
|
||||
message FlowMaybeType {
|
||||
TypeScriptDiff flowMaybeType = 1;
|
||||
}
|
||||
|
||||
message TypeQuery {
|
||||
TypeScriptDiff typeQuerySubject = 1;
|
||||
}
|
||||
|
||||
message IndexTypeQuery {
|
||||
TypeScriptDiff indexTypeQuerySubject = 1;
|
||||
}
|
||||
|
||||
message ThisType {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message ExistentialType {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message AbstractMethodSignature {
|
||||
repeated TypeScriptDiff abstractMethodSignatureContext = 1;
|
||||
TypeScriptDiff abstractMethodSignatureName = 2;
|
||||
repeated TypeScriptDiff abstractMethodSignatureParameters = 3;
|
||||
}
|
||||
|
||||
message IndexSignature {
|
||||
TypeScriptDiff subject = 1;
|
||||
TypeScriptDiff subjectType = 2;
|
||||
TypeScriptDiff typeAnnotation = 3;
|
||||
}
|
||||
|
||||
message ObjectType {
|
||||
repeated TypeScriptDiff objectTypeElements = 1;
|
||||
}
|
||||
|
||||
message LiteralType {
|
||||
TypeScriptDiff literalTypeSubject = 1;
|
||||
}
|
||||
|
||||
message Union {
|
||||
TypeScriptDiff unionLeft = 1;
|
||||
TypeScriptDiff unionRight = 2;
|
||||
}
|
||||
|
||||
message Intersection {
|
||||
TypeScriptDiff intersectionLeft = 1;
|
||||
TypeScriptDiff intersectionRight = 2;
|
||||
}
|
||||
|
||||
message Module {
|
||||
TypeScriptDiff moduleIdentifier = 1;
|
||||
repeated TypeScriptDiff moduleStatements = 2;
|
||||
}
|
||||
|
||||
message InternalModule {
|
||||
TypeScriptDiff internalModuleIdentifier = 1;
|
||||
repeated TypeScriptDiff internalModuleStatements = 2;
|
||||
}
|
||||
|
||||
message FunctionType {
|
||||
TypeScriptDiff functionTypeParameters = 1;
|
||||
repeated TypeScriptDiff functionFormalParameters = 2;
|
||||
TypeScriptDiff functionType = 3;
|
||||
}
|
||||
|
||||
message Tuple {
|
||||
repeated TypeScriptDiff tupleElements = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
TypeScriptDiff constructorTypeParameters = 1;
|
||||
repeated TypeScriptDiff constructorFormalParameters = 2;
|
||||
TypeScriptDiff constructorType = 3;
|
||||
}
|
||||
|
||||
message TypeAssertion {
|
||||
TypeScriptDiff typeAssertionParameters = 1;
|
||||
TypeScriptDiff typeAssertionExpression = 2;
|
||||
}
|
||||
|
||||
message ImportAlias {
|
||||
TypeScriptDiff importAliasSubject = 1;
|
||||
TypeScriptDiff importAlias = 2;
|
||||
}
|
||||
|
||||
message Debugger { }
|
||||
|
||||
message ShorthandPropertyIdentifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message Super { }
|
||||
|
||||
message Undefined { }
|
||||
|
||||
message ClassHeritage {
|
||||
TypeScriptDiff classHeritageExtendsClause = 1;
|
||||
TypeScriptDiff implementsClause = 2;
|
||||
}
|
||||
|
||||
message AbstractClass {
|
||||
TypeScriptDiff abstractClassIdentifier = 1;
|
||||
TypeScriptDiff abstractClassTypeParameters = 2;
|
||||
repeated TypeScriptDiff classHeritage = 3;
|
||||
TypeScriptDiff classBody = 4;
|
||||
}
|
||||
|
||||
message ImplementsClause {
|
||||
repeated TypeScriptDiff implementsClauseTypes = 1;
|
||||
}
|
||||
|
||||
message JsxElement {
|
||||
TypeScriptDiff jsxOpeningElement = 1;
|
||||
repeated TypeScriptDiff jsxElements = 2;
|
||||
TypeScriptDiff jsxClosingElement = 3;
|
||||
}
|
||||
|
||||
message JsxSelfClosingElement {
|
||||
TypeScriptDiff jsxSelfClosingElementIdentifier = 1;
|
||||
repeated TypeScriptDiff jsxSelfClosingElementAttributes = 2;
|
||||
}
|
||||
|
||||
message JsxOpeningElement {
|
||||
TypeScriptDiff jsxOpeningElementIdentifier = 1;
|
||||
repeated TypeScriptDiff jsxAttributes = 2;
|
||||
}
|
||||
|
||||
message JsxText {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message JsxClosingElement {
|
||||
TypeScriptDiff jsxClosingElementIdentifier = 1;
|
||||
}
|
||||
|
||||
message JsxExpression {
|
||||
TypeScriptDiff jsxExpression = 1;
|
||||
}
|
||||
|
||||
message JsxAttribute {
|
||||
TypeScriptDiff jsxAttributeTarget = 1;
|
||||
TypeScriptDiff jsxAttributeValue = 2;
|
||||
}
|
||||
|
||||
message JsxFragment {
|
||||
repeated TypeScriptDiff terms = 1;
|
||||
}
|
||||
|
||||
message JsxNamespaceName {
|
||||
TypeScriptDiff left = 1;
|
||||
TypeScriptDiff right = 2;
|
||||
}
|
||||
|
||||
message OptionalParameter {
|
||||
repeated TypeScriptDiff optionalParameterContext = 1;
|
||||
TypeScriptDiff optionalParameterSubject = 2;
|
||||
}
|
||||
|
||||
message RequiredParameter {
|
||||
repeated TypeScriptDiff requiredParameterContext = 1;
|
||||
TypeScriptDiff requiredParameterSubject = 2;
|
||||
TypeScriptDiff requiredParameterValue = 3;
|
||||
}
|
||||
|
||||
message RestParameter {
|
||||
repeated TypeScriptDiff restParameterContext = 1;
|
||||
TypeScriptDiff restParameterSubject = 2;
|
||||
}
|
||||
|
||||
message PropertySignature {
|
||||
repeated TypeScriptDiff modifiers = 1;
|
||||
TypeScriptDiff propertySignaturePropertyName = 2;
|
||||
}
|
||||
|
||||
message AmbientDeclaration {
|
||||
TypeScriptDiff ambientDeclarationBody = 1;
|
||||
}
|
||||
|
||||
message EnumDeclaration {
|
||||
TypeScriptDiff enumDeclarationIdentifier = 1;
|
||||
repeated TypeScriptDiff enumDeclarationBody = 2;
|
||||
}
|
||||
|
||||
message ExtendsClause {
|
||||
repeated TypeScriptDiff extendsClauses = 1;
|
||||
}
|
||||
|
||||
message AmbientFunction {
|
||||
repeated TypeScriptDiff ambientFunctionContext = 1;
|
||||
TypeScriptDiff ambientFunctionIdentifier = 2;
|
||||
repeated TypeScriptDiff ambientFunctionParameters = 3;
|
||||
}
|
||||
|
||||
message ImportRequireClause {
|
||||
TypeScriptDiff importRequireIdentifier = 1;
|
||||
TypeScriptDiff importRequireSubject = 2;
|
||||
}
|
||||
|
||||
message ImportClause {
|
||||
repeated TypeScriptDiff importClauseElements = 1;
|
||||
}
|
||||
|
||||
message LabeledStatement {
|
||||
TypeScriptDiff labeledStatementIdentifier = 1;
|
||||
TypeScriptDiff labeledStatementSubject = 2;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
TypeScriptDiff annotationType = 1;
|
||||
}
|
||||
|
||||
message With {
|
||||
TypeScriptDiff withExpression = 1;
|
||||
TypeScriptDiff withBody = 2;
|
||||
}
|
||||
|
||||
message ForOf {
|
||||
TypeScriptDiff forOfBinding = 1;
|
||||
TypeScriptDiff forOfSubject = 2;
|
||||
TypeScriptDiff forOfBody = 3;
|
||||
}
|
||||
|
||||
message Update {
|
||||
TypeScriptDiff updateSubject = 1;
|
||||
}
|
||||
|
||||
message ComputedPropertyName {
|
||||
TypeScriptDiff propertyName = 1;
|
||||
}
|
||||
|
||||
message Decorator {
|
||||
TypeScriptDiff decoratorTerm = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
repeated Alias importSymbols = 1;
|
||||
ImportPath importFrom = 2;
|
||||
}
|
||||
|
||||
message QualifiedAliasedImport {
|
||||
TypeScriptDiff qualifiedAliasedImportAlias = 1;
|
||||
ImportPath qualifiedAliasedImportFrom = 2;
|
||||
}
|
||||
|
||||
message SideEffectImport {
|
||||
ImportPath sideEffectImportFrom = 1;
|
||||
}
|
||||
|
||||
message DefaultExport {
|
||||
TypeScriptDiff defaultExport = 1;
|
||||
}
|
||||
|
||||
message QualifiedExport {
|
||||
repeated Alias qualifiedExportSymbols = 1;
|
||||
}
|
||||
|
||||
message QualifiedExportFrom {
|
||||
ImportPath qualifiedExportFrom = 1;
|
||||
repeated Alias qualifiedExportFromSymbols = 2;
|
||||
}
|
||||
|
||||
message JavaScriptRequire {
|
||||
TypeScriptDiff javascriptRequireIden = 1;
|
||||
ImportPath javascriptRequireFrom = 2;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated TypeScriptDiff listContent = 1;
|
||||
}
|
||||
|
||||
message StatementBlock {
|
||||
repeated TypeScriptDiff statements = 1;
|
||||
}
|
||||
|
||||
message MetaProperty { }
|
||||
|
||||
message Alias {
|
||||
bytes aliasValue = 1;
|
||||
bytes aliasName = 2;
|
||||
}
|
||||
|
||||
message ImportPath {
|
||||
string unPath = 1;
|
||||
IsRelative pathIsRelative = 2;
|
||||
}
|
||||
|
||||
enum IsRelative {
|
||||
Unknown = 0;
|
||||
Relative = 1;
|
||||
NonRelative = 2;
|
||||
}
|
@ -1,976 +0,0 @@
|
||||
// This file was generated by proto-gen. Do not edit by hand.
|
||||
syntax = "proto3";
|
||||
|
||||
package github.semantic.typescriptterm;
|
||||
|
||||
import "types.proto";
|
||||
|
||||
option java_package = "com.github.semantic.typescriptterm";
|
||||
option go_package = "github.com/semantic/typescriptterm;typescript";
|
||||
|
||||
message TypeScriptTerm {
|
||||
TypeScriptSyntax syntax = 1;
|
||||
}
|
||||
|
||||
message TypeScriptSyntax {
|
||||
oneof syntax {
|
||||
Comment comment = 1;
|
||||
HashBang hashBang = 2;
|
||||
Class class = 3;
|
||||
Function function = 4;
|
||||
Method method = 5;
|
||||
MethodSignature methodSignature = 6;
|
||||
InterfaceDeclaration interfaceDeclaration = 7;
|
||||
PublicFieldDefinition publicFieldDefinition = 8;
|
||||
VariableDeclaration variableDeclaration = 9;
|
||||
TypeAlias typeAlias = 10;
|
||||
Plus plus = 11;
|
||||
Minus minus = 12;
|
||||
Times times = 13;
|
||||
DividedBy dividedBy = 14;
|
||||
Modulo modulo = 15;
|
||||
Power power = 16;
|
||||
Negate negate = 17;
|
||||
FloorDivision floorDivision = 18;
|
||||
BAnd bAnd = 19;
|
||||
BOr bOr = 20;
|
||||
BXOr bXOr = 21;
|
||||
LShift lShift = 22;
|
||||
RShift rShift = 23;
|
||||
UnsignedRShift unsignedRShift = 24;
|
||||
Complement complement = 25;
|
||||
And and = 26;
|
||||
Not not = 27;
|
||||
Or or = 28;
|
||||
XOr xOr = 29;
|
||||
Call call = 30;
|
||||
Cast cast = 31;
|
||||
LessThan lessThan = 32;
|
||||
LessThanEqual lessThanEqual = 33;
|
||||
GreaterThan greaterThan = 34;
|
||||
GreaterThanEqual greaterThanEqual = 35;
|
||||
Equal equal = 36;
|
||||
StrictEqual strictEqual = 37;
|
||||
Comparison comparison = 38;
|
||||
Enumeration enumeration = 39;
|
||||
MemberAccess memberAccess = 40;
|
||||
NonNullExpression nonNullExpression = 41;
|
||||
ScopeResolution scopeResolution = 42;
|
||||
SequenceExpression sequenceExpression = 43;
|
||||
Subscript subscript = 44;
|
||||
Member member = 45;
|
||||
Delete delete = 46;
|
||||
Void void = 47;
|
||||
Typeof typeof = 48;
|
||||
InstanceOf instanceOf = 49;
|
||||
New new = 50;
|
||||
Await await = 51;
|
||||
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;
|
||||
StatementBlock statementBlock = 165;
|
||||
MetaProperty metaProperty = 166;
|
||||
}
|
||||
}
|
||||
|
||||
message Comment {
|
||||
string commentContent = 1;
|
||||
}
|
||||
|
||||
message HashBang {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message Class {
|
||||
repeated TypeScriptTerm classContext = 1;
|
||||
TypeScriptTerm classIdentifier = 2;
|
||||
repeated TypeScriptTerm classSuperclasses = 3;
|
||||
TypeScriptTerm classBody = 4;
|
||||
}
|
||||
|
||||
message Function {
|
||||
repeated TypeScriptTerm functionContext = 1;
|
||||
TypeScriptTerm functionName = 2;
|
||||
repeated TypeScriptTerm functionParameters = 3;
|
||||
TypeScriptTerm functionBody = 4;
|
||||
}
|
||||
|
||||
message Method {
|
||||
repeated TypeScriptTerm methodContext = 1;
|
||||
TypeScriptTerm methodReceiver = 2;
|
||||
TypeScriptTerm methodName = 3;
|
||||
repeated TypeScriptTerm methodParameters = 4;
|
||||
TypeScriptTerm methodBody = 5;
|
||||
}
|
||||
|
||||
message MethodSignature {
|
||||
repeated TypeScriptTerm methodSignatureContext = 1;
|
||||
TypeScriptTerm methodSignatureName = 2;
|
||||
repeated TypeScriptTerm methodSignatureParameters = 3;
|
||||
}
|
||||
|
||||
message InterfaceDeclaration {
|
||||
repeated TypeScriptTerm interfaceDeclarationContext = 1;
|
||||
TypeScriptTerm interfaceDeclarationIdentifier = 2;
|
||||
repeated TypeScriptTerm interfaceDeclarationSuperInterfaces = 3;
|
||||
TypeScriptTerm interfaceDeclarationBody = 4;
|
||||
}
|
||||
|
||||
message PublicFieldDefinition {
|
||||
repeated TypeScriptTerm publicFieldContext = 1;
|
||||
TypeScriptTerm publicFieldPropertyName = 2;
|
||||
TypeScriptTerm publicFieldValue = 3;
|
||||
}
|
||||
|
||||
message VariableDeclaration {
|
||||
repeated TypeScriptTerm variableDeclarations = 1;
|
||||
}
|
||||
|
||||
message TypeAlias {
|
||||
repeated TypeScriptTerm typeAliasContext = 1;
|
||||
TypeScriptTerm typeAliasIdentifier = 2;
|
||||
TypeScriptTerm typeAliasKind = 3;
|
||||
}
|
||||
|
||||
message Plus {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Minus {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Times {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message DividedBy {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Modulo {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Power {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Negate {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message FloorDivision {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BAnd {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BOr {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message BXOr {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LShift {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message RShift {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message UnsignedRShift {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Complement {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message And {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Not {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message Or {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message XOr {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Call {
|
||||
repeated TypeScriptTerm callContext = 1;
|
||||
TypeScriptTerm callFunction = 2;
|
||||
repeated TypeScriptTerm callParams = 3;
|
||||
TypeScriptTerm callBlock = 4;
|
||||
}
|
||||
|
||||
message Cast {
|
||||
TypeScriptTerm castSubject = 1;
|
||||
TypeScriptTerm castType = 2;
|
||||
}
|
||||
|
||||
message LessThan {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message LessThanEqual {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThan {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message GreaterThanEqual {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Equal {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message StrictEqual {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Comparison {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Enumeration {
|
||||
TypeScriptTerm enumerationStart = 1;
|
||||
TypeScriptTerm enumerationEnd = 2;
|
||||
TypeScriptTerm enumerationStep = 3;
|
||||
}
|
||||
|
||||
message MemberAccess {
|
||||
TypeScriptTerm lhs = 1;
|
||||
bytes rhs = 2;
|
||||
}
|
||||
|
||||
message NonNullExpression {
|
||||
TypeScriptTerm nonNullExpression = 1;
|
||||
}
|
||||
|
||||
message ScopeResolution {
|
||||
repeated TypeScriptTerm scopes = 1;
|
||||
}
|
||||
|
||||
message SequenceExpression {
|
||||
TypeScriptTerm firstExpression = 1;
|
||||
TypeScriptTerm secondExpression = 2;
|
||||
}
|
||||
|
||||
message Subscript {
|
||||
TypeScriptTerm lhs = 1;
|
||||
repeated TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Member {
|
||||
TypeScriptTerm lhs = 1;
|
||||
TypeScriptTerm rhs = 2;
|
||||
}
|
||||
|
||||
message Delete {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message Void {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message Typeof {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message InstanceOf {
|
||||
TypeScriptTerm instanceOfSubject = 1;
|
||||
TypeScriptTerm instanceOfObject = 2;
|
||||
}
|
||||
|
||||
message New {
|
||||
TypeScriptTerm subject = 1;
|
||||
TypeScriptTerm typeParameters = 2;
|
||||
repeated TypeScriptTerm arguments = 3;
|
||||
}
|
||||
|
||||
message Await {
|
||||
TypeScriptTerm awaitSubject = 1;
|
||||
}
|
||||
|
||||
message This { }
|
||||
|
||||
message Array {
|
||||
repeated TypeScriptTerm arrayElements = 1;
|
||||
}
|
||||
|
||||
message Boolean {
|
||||
bool booleanContent = 1;
|
||||
}
|
||||
|
||||
message Float {
|
||||
string floatContent = 1;
|
||||
}
|
||||
|
||||
message Hash {
|
||||
repeated TypeScriptTerm hashElements = 1;
|
||||
}
|
||||
|
||||
message Integer {
|
||||
string integerContent = 1;
|
||||
}
|
||||
|
||||
message KeyValue {
|
||||
TypeScriptTerm key = 1;
|
||||
TypeScriptTerm value = 2;
|
||||
}
|
||||
|
||||
message Null { }
|
||||
|
||||
message String {
|
||||
repeated TypeScriptTerm stringElements = 1;
|
||||
}
|
||||
|
||||
message TextElement {
|
||||
string textElementContent = 1;
|
||||
}
|
||||
|
||||
message Regex {
|
||||
string regexContent = 1;
|
||||
}
|
||||
|
||||
message Assignment {
|
||||
repeated TypeScriptTerm assignmentContext = 1;
|
||||
TypeScriptTerm assignmentTarget = 2;
|
||||
TypeScriptTerm assignmentValue = 3;
|
||||
}
|
||||
|
||||
message Break {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message Catch {
|
||||
TypeScriptTerm catchException = 1;
|
||||
TypeScriptTerm catchBody = 2;
|
||||
}
|
||||
|
||||
message Continue {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message DoWhile {
|
||||
TypeScriptTerm doWhileCondition = 1;
|
||||
TypeScriptTerm doWhileBody = 2;
|
||||
}
|
||||
|
||||
message Else {
|
||||
TypeScriptTerm elseCondition = 1;
|
||||
TypeScriptTerm elseBody = 2;
|
||||
}
|
||||
|
||||
message Finally {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message For {
|
||||
TypeScriptTerm forBefore = 1;
|
||||
TypeScriptTerm forCondition = 2;
|
||||
TypeScriptTerm forStep = 3;
|
||||
TypeScriptTerm forBody = 4;
|
||||
}
|
||||
|
||||
message ForEach {
|
||||
TypeScriptTerm forEachBinding = 1;
|
||||
TypeScriptTerm forEachSubject = 2;
|
||||
TypeScriptTerm forEachBody = 3;
|
||||
}
|
||||
|
||||
message If {
|
||||
TypeScriptTerm ifCondition = 1;
|
||||
TypeScriptTerm ifThenBody = 2;
|
||||
TypeScriptTerm ifElseBody = 3;
|
||||
}
|
||||
|
||||
message Match {
|
||||
TypeScriptTerm matchSubject = 1;
|
||||
TypeScriptTerm matchPatterns = 2;
|
||||
}
|
||||
|
||||
message Pattern {
|
||||
TypeScriptTerm value = 1;
|
||||
TypeScriptTerm patternBody = 2;
|
||||
}
|
||||
|
||||
message Retry {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message Return {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message ScopeEntry {
|
||||
repeated TypeScriptTerm terms = 1;
|
||||
}
|
||||
|
||||
message ScopeExit {
|
||||
repeated TypeScriptTerm terms = 1;
|
||||
}
|
||||
|
||||
message Statements {
|
||||
repeated TypeScriptTerm statements = 1;
|
||||
}
|
||||
|
||||
message Throw {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message Try {
|
||||
TypeScriptTerm tryBody = 1;
|
||||
repeated TypeScriptTerm tryCatch = 2;
|
||||
}
|
||||
|
||||
message While {
|
||||
TypeScriptTerm whileCondition = 1;
|
||||
TypeScriptTerm whileBody = 2;
|
||||
}
|
||||
|
||||
message Yield {
|
||||
TypeScriptTerm value = 1;
|
||||
}
|
||||
|
||||
message AccessibilityModifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message Empty { }
|
||||
|
||||
message Error {
|
||||
repeated ErrorSite errorCallStack = 1;
|
||||
repeated string errorExpected = 2;
|
||||
string errorActual = 3;
|
||||
repeated TypeScriptTerm errorChildren = 4;
|
||||
}
|
||||
|
||||
message Identifier {
|
||||
bytes name = 1;
|
||||
}
|
||||
|
||||
message Context {
|
||||
repeated TypeScriptTerm contextTerms = 1;
|
||||
TypeScriptTerm contextSubject = 2;
|
||||
}
|
||||
|
||||
message Readonly { }
|
||||
|
||||
message TypeParameters {
|
||||
repeated TypeScriptTerm terms = 1;
|
||||
}
|
||||
|
||||
message TypeParameter {
|
||||
TypeScriptTerm typeParameter = 1;
|
||||
TypeScriptTerm typeParameterConstraint = 2;
|
||||
TypeScriptTerm typeParameterDefaultType = 3;
|
||||
}
|
||||
|
||||
message Constraint {
|
||||
TypeScriptTerm constraintType = 1;
|
||||
}
|
||||
|
||||
message ParenthesizedType {
|
||||
TypeScriptTerm parenthesizedType = 1;
|
||||
}
|
||||
|
||||
message DefaultType {
|
||||
TypeScriptTerm defaultType = 1;
|
||||
}
|
||||
|
||||
message PredefinedType {
|
||||
string predefinedType = 1;
|
||||
}
|
||||
|
||||
message TypeIdentifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message NestedIdentifier {
|
||||
TypeScriptTerm left = 1;
|
||||
TypeScriptTerm right = 2;
|
||||
}
|
||||
|
||||
message NestedTypeIdentifier {
|
||||
TypeScriptTerm left = 1;
|
||||
TypeScriptTerm right = 2;
|
||||
}
|
||||
|
||||
message GenericType {
|
||||
TypeScriptTerm genericTypeIdentifier = 1;
|
||||
TypeScriptTerm genericTypeArguments = 2;
|
||||
}
|
||||
|
||||
message TypeArguments {
|
||||
repeated TypeScriptTerm typeArguments = 1;
|
||||
}
|
||||
|
||||
message TypePredicate {
|
||||
TypeScriptTerm typePredicateIdentifier = 1;
|
||||
TypeScriptTerm typePredicateType = 2;
|
||||
}
|
||||
|
||||
message CallSignature {
|
||||
TypeScriptTerm callSignatureTypeParameters = 1;
|
||||
repeated TypeScriptTerm callSignatureParameters = 2;
|
||||
TypeScriptTerm callSignatureType = 3;
|
||||
}
|
||||
|
||||
message ConstructSignature {
|
||||
TypeScriptTerm constructSignatureTypeParameters = 1;
|
||||
repeated TypeScriptTerm constructSignatureParameters = 2;
|
||||
TypeScriptTerm constructSignatureType = 3;
|
||||
}
|
||||
|
||||
message ArrayType {
|
||||
TypeScriptTerm arrayType = 1;
|
||||
}
|
||||
|
||||
message LookupType {
|
||||
TypeScriptTerm lookupTypeIdentifier = 1;
|
||||
TypeScriptTerm lookupTypeKey = 2;
|
||||
}
|
||||
|
||||
message FlowMaybeType {
|
||||
TypeScriptTerm flowMaybeType = 1;
|
||||
}
|
||||
|
||||
message TypeQuery {
|
||||
TypeScriptTerm typeQuerySubject = 1;
|
||||
}
|
||||
|
||||
message IndexTypeQuery {
|
||||
TypeScriptTerm indexTypeQuerySubject = 1;
|
||||
}
|
||||
|
||||
message ThisType {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message ExistentialType {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message AbstractMethodSignature {
|
||||
repeated TypeScriptTerm abstractMethodSignatureContext = 1;
|
||||
TypeScriptTerm abstractMethodSignatureName = 2;
|
||||
repeated TypeScriptTerm abstractMethodSignatureParameters = 3;
|
||||
}
|
||||
|
||||
message IndexSignature {
|
||||
TypeScriptTerm subject = 1;
|
||||
TypeScriptTerm subjectType = 2;
|
||||
TypeScriptTerm typeAnnotation = 3;
|
||||
}
|
||||
|
||||
message ObjectType {
|
||||
repeated TypeScriptTerm objectTypeElements = 1;
|
||||
}
|
||||
|
||||
message LiteralType {
|
||||
TypeScriptTerm literalTypeSubject = 1;
|
||||
}
|
||||
|
||||
message Union {
|
||||
TypeScriptTerm unionLeft = 1;
|
||||
TypeScriptTerm unionRight = 2;
|
||||
}
|
||||
|
||||
message Intersection {
|
||||
TypeScriptTerm intersectionLeft = 1;
|
||||
TypeScriptTerm intersectionRight = 2;
|
||||
}
|
||||
|
||||
message Module {
|
||||
TypeScriptTerm moduleIdentifier = 1;
|
||||
repeated TypeScriptTerm moduleStatements = 2;
|
||||
}
|
||||
|
||||
message InternalModule {
|
||||
TypeScriptTerm internalModuleIdentifier = 1;
|
||||
repeated TypeScriptTerm internalModuleStatements = 2;
|
||||
}
|
||||
|
||||
message FunctionType {
|
||||
TypeScriptTerm functionTypeParameters = 1;
|
||||
repeated TypeScriptTerm functionFormalParameters = 2;
|
||||
TypeScriptTerm functionType = 3;
|
||||
}
|
||||
|
||||
message Tuple {
|
||||
repeated TypeScriptTerm tupleElements = 1;
|
||||
}
|
||||
|
||||
message Constructor {
|
||||
TypeScriptTerm constructorTypeParameters = 1;
|
||||
repeated TypeScriptTerm constructorFormalParameters = 2;
|
||||
TypeScriptTerm constructorType = 3;
|
||||
}
|
||||
|
||||
message TypeAssertion {
|
||||
TypeScriptTerm typeAssertionParameters = 1;
|
||||
TypeScriptTerm typeAssertionExpression = 2;
|
||||
}
|
||||
|
||||
message ImportAlias {
|
||||
TypeScriptTerm importAliasSubject = 1;
|
||||
TypeScriptTerm importAlias = 2;
|
||||
}
|
||||
|
||||
message Debugger { }
|
||||
|
||||
message ShorthandPropertyIdentifier {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message Super { }
|
||||
|
||||
message Undefined { }
|
||||
|
||||
message ClassHeritage {
|
||||
TypeScriptTerm classHeritageExtendsClause = 1;
|
||||
TypeScriptTerm implementsClause = 2;
|
||||
}
|
||||
|
||||
message AbstractClass {
|
||||
TypeScriptTerm abstractClassIdentifier = 1;
|
||||
TypeScriptTerm abstractClassTypeParameters = 2;
|
||||
repeated TypeScriptTerm classHeritage = 3;
|
||||
TypeScriptTerm classBody = 4;
|
||||
}
|
||||
|
||||
message ImplementsClause {
|
||||
repeated TypeScriptTerm implementsClauseTypes = 1;
|
||||
}
|
||||
|
||||
message JsxElement {
|
||||
TypeScriptTerm jsxOpeningElement = 1;
|
||||
repeated TypeScriptTerm jsxElements = 2;
|
||||
TypeScriptTerm jsxClosingElement = 3;
|
||||
}
|
||||
|
||||
message JsxSelfClosingElement {
|
||||
TypeScriptTerm jsxSelfClosingElementIdentifier = 1;
|
||||
repeated TypeScriptTerm jsxSelfClosingElementAttributes = 2;
|
||||
}
|
||||
|
||||
message JsxOpeningElement {
|
||||
TypeScriptTerm jsxOpeningElementIdentifier = 1;
|
||||
repeated TypeScriptTerm jsxAttributes = 2;
|
||||
}
|
||||
|
||||
message JsxText {
|
||||
string contents = 1;
|
||||
}
|
||||
|
||||
message JsxClosingElement {
|
||||
TypeScriptTerm jsxClosingElementIdentifier = 1;
|
||||
}
|
||||
|
||||
message JsxExpression {
|
||||
TypeScriptTerm jsxExpression = 1;
|
||||
}
|
||||
|
||||
message JsxAttribute {
|
||||
TypeScriptTerm jsxAttributeTarget = 1;
|
||||
TypeScriptTerm jsxAttributeValue = 2;
|
||||
}
|
||||
|
||||
message JsxFragment {
|
||||
repeated TypeScriptTerm terms = 1;
|
||||
}
|
||||
|
||||
message JsxNamespaceName {
|
||||
TypeScriptTerm left = 1;
|
||||
TypeScriptTerm right = 2;
|
||||
}
|
||||
|
||||
message OptionalParameter {
|
||||
repeated TypeScriptTerm optionalParameterContext = 1;
|
||||
TypeScriptTerm optionalParameterSubject = 2;
|
||||
}
|
||||
|
||||
message RequiredParameter {
|
||||
repeated TypeScriptTerm requiredParameterContext = 1;
|
||||
TypeScriptTerm requiredParameterSubject = 2;
|
||||
TypeScriptTerm requiredParameterValue = 3;
|
||||
}
|
||||
|
||||
message RestParameter {
|
||||
repeated TypeScriptTerm restParameterContext = 1;
|
||||
TypeScriptTerm restParameterSubject = 2;
|
||||
}
|
||||
|
||||
message PropertySignature {
|
||||
repeated TypeScriptTerm modifiers = 1;
|
||||
TypeScriptTerm propertySignaturePropertyName = 2;
|
||||
}
|
||||
|
||||
message AmbientDeclaration {
|
||||
TypeScriptTerm ambientDeclarationBody = 1;
|
||||
}
|
||||
|
||||
message EnumDeclaration {
|
||||
TypeScriptTerm enumDeclarationIdentifier = 1;
|
||||
repeated TypeScriptTerm enumDeclarationBody = 2;
|
||||
}
|
||||
|
||||
message ExtendsClause {
|
||||
repeated TypeScriptTerm extendsClauses = 1;
|
||||
}
|
||||
|
||||
message AmbientFunction {
|
||||
repeated TypeScriptTerm ambientFunctionContext = 1;
|
||||
TypeScriptTerm ambientFunctionIdentifier = 2;
|
||||
repeated TypeScriptTerm ambientFunctionParameters = 3;
|
||||
}
|
||||
|
||||
message ImportRequireClause {
|
||||
TypeScriptTerm importRequireIdentifier = 1;
|
||||
TypeScriptTerm importRequireSubject = 2;
|
||||
}
|
||||
|
||||
message ImportClause {
|
||||
repeated TypeScriptTerm importClauseElements = 1;
|
||||
}
|
||||
|
||||
message LabeledStatement {
|
||||
TypeScriptTerm labeledStatementIdentifier = 1;
|
||||
TypeScriptTerm labeledStatementSubject = 2;
|
||||
}
|
||||
|
||||
message Annotation {
|
||||
TypeScriptTerm annotationType = 1;
|
||||
}
|
||||
|
||||
message With {
|
||||
TypeScriptTerm withExpression = 1;
|
||||
TypeScriptTerm withBody = 2;
|
||||
}
|
||||
|
||||
message ForOf {
|
||||
TypeScriptTerm forOfBinding = 1;
|
||||
TypeScriptTerm forOfSubject = 2;
|
||||
TypeScriptTerm forOfBody = 3;
|
||||
}
|
||||
|
||||
message Update {
|
||||
TypeScriptTerm updateSubject = 1;
|
||||
}
|
||||
|
||||
message ComputedPropertyName {
|
||||
TypeScriptTerm propertyName = 1;
|
||||
}
|
||||
|
||||
message Decorator {
|
||||
TypeScriptTerm decoratorTerm = 1;
|
||||
}
|
||||
|
||||
message Import {
|
||||
repeated Alias importSymbols = 1;
|
||||
ImportPath importFrom = 2;
|
||||
}
|
||||
|
||||
message QualifiedAliasedImport {
|
||||
TypeScriptTerm qualifiedAliasedImportAlias = 1;
|
||||
ImportPath qualifiedAliasedImportFrom = 2;
|
||||
}
|
||||
|
||||
message SideEffectImport {
|
||||
ImportPath sideEffectImportFrom = 1;
|
||||
}
|
||||
|
||||
message DefaultExport {
|
||||
TypeScriptTerm defaultExport = 1;
|
||||
}
|
||||
|
||||
message QualifiedExport {
|
||||
repeated Alias qualifiedExportSymbols = 1;
|
||||
}
|
||||
|
||||
message QualifiedExportFrom {
|
||||
ImportPath qualifiedExportFrom = 1;
|
||||
repeated Alias qualifiedExportFromSymbols = 2;
|
||||
}
|
||||
|
||||
message JavaScriptRequire {
|
||||
TypeScriptTerm javascriptRequireIden = 1;
|
||||
ImportPath javascriptRequireFrom = 2;
|
||||
}
|
||||
|
||||
message List {
|
||||
repeated TypeScriptTerm listContent = 1;
|
||||
}
|
||||
|
||||
message StatementBlock {
|
||||
repeated TypeScriptTerm statements = 1;
|
||||
}
|
||||
|
||||
message MetaProperty { }
|
||||
|
||||
message Alias {
|
||||
bytes aliasValue = 1;
|
||||
bytes aliasName = 2;
|
||||
}
|
||||
|
||||
message ImportPath {
|
||||
string unPath = 1;
|
||||
IsRelative pathIsRelative = 2;
|
||||
}
|
||||
|
||||
enum IsRelative {
|
||||
Unknown = 0;
|
||||
Relative = 1;
|
||||
NonRelative = 2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user