mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Add semantic-types.proto and bump proto3-suite
This commit is contained in:
parent
de3bf57072
commit
a28a4c15f6
25
semantic-types.proto
Normal file
25
semantic-types.proto
Normal file
@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
package semantic;
|
||||
message Array { repeated Term arrayElements = 1;
|
||||
}
|
||||
message Boolean { bool booleanContent = 1;
|
||||
}
|
||||
message Hash { repeated Term hashElements = 1;
|
||||
}
|
||||
message Float { bytes floatContent = 1;
|
||||
}
|
||||
message KeyValue { Term key = 1;
|
||||
Term value = 2;
|
||||
}
|
||||
message Null {
|
||||
}
|
||||
message TextElement { bytes textElementContent = 1;
|
||||
}
|
||||
message Term { oneof syntax {Array array = 1;
|
||||
Boolean boolean = 2;
|
||||
Hash hash = 3;
|
||||
Float float = 4;
|
||||
KeyValue keyValue = 5;
|
||||
Null null = 6;
|
||||
TextElement textElement = 7;}
|
||||
}
|
2
vendor/proto3-suite
vendored
2
vendor/proto3-suite
vendored
@ -1 +1 @@
|
||||
Subproject commit ec16a218e27f59ae65a66c0162931d4e51f57d18
|
||||
Subproject commit 63fb9c3c2c43fd425f9d93da127a57e3c17e23b6
|
Loading…
Reference in New Issue
Block a user