Skip to content

Commit 34a3f0c

Browse files
committed
Unary Kind
1 parent 69dd6e3 commit 34a3f0c

10 files changed

+200
-82
lines changed

ast/unary_prefix.proto

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import "xds/type/v3/typed_struct.proto";
1010
message UnaryPrefix {
1111
int64 id = 1;
1212
unpack.v1.ast.NodeType node_type = 2;
13+
unpack.v1.ast.NodeType kind = 13;
1314
unpack.v1.ast.Src src = 3;
1415
unpack.v1.ast.Operator operator = 4;
1516
bool prefix = 5;

ast/unary_suffix.proto

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import "xds/type/v3/typed_struct.proto";
1010
message UnarySuffix {
1111
int64 id = 1;
1212
unpack.v1.ast.NodeType node_type = 2;
13+
unpack.v1.ast.NodeType kind = 13;
1314
unpack.v1.ast.Src src = 3;
1415
unpack.v1.ast.Operator operator = 4;
1516
bool prefix = 5;

dist/docs/docs.json

+24
Original file line numberDiff line numberDiff line change
@@ -12799,6 +12799,18 @@
1279912799
"oneofdecl": "",
1280012800
"defaultValue": ""
1280112801
},
12802+
{
12803+
"name": "kind",
12804+
"description": "",
12805+
"label": "",
12806+
"type": "NodeType",
12807+
"longType": "NodeType",
12808+
"fullType": "unpack.v1.ast.NodeType",
12809+
"ismap": false,
12810+
"isoneof": false,
12811+
"oneofdecl": "",
12812+
"defaultValue": ""
12813+
},
1280212814
{
1280312815
"name": "src",
1280412816
"description": "",
@@ -12969,6 +12981,18 @@
1296912981
"oneofdecl": "",
1297012982
"defaultValue": ""
1297112983
},
12984+
{
12985+
"name": "kind",
12986+
"description": "",
12987+
"label": "",
12988+
"type": "NodeType",
12989+
"longType": "NodeType",
12990+
"fullType": "unpack.v1.ast.NodeType",
12991+
"ismap": false,
12992+
"isoneof": false,
12993+
"oneofdecl": "",
12994+
"defaultValue": ""
12995+
},
1297212996
{
1297312997
"name": "src",
1297412998
"description": "",

dist/go/ast/unary_prefix.pb.go

+53-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)