1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/proto/terms.proto

64 lines
1.7 KiB
Protocol Buffer

// 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;types";
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;
}
}