Skip to content

Commit

Permalink
Unary Kind
Browse files Browse the repository at this point in the history
  • Loading branch information
0x19 committed Oct 17, 2023
1 parent 69dd6e3 commit 34a3f0c
Show file tree
Hide file tree
Showing 10 changed files with 200 additions and 82 deletions.
1 change: 1 addition & 0 deletions ast/unary_prefix.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "xds/type/v3/typed_struct.proto";
message UnaryPrefix {
int64 id = 1;
unpack.v1.ast.NodeType node_type = 2;
unpack.v1.ast.NodeType kind = 13;
unpack.v1.ast.Src src = 3;
unpack.v1.ast.Operator operator = 4;
bool prefix = 5;
Expand Down
1 change: 1 addition & 0 deletions ast/unary_suffix.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "xds/type/v3/typed_struct.proto";
message UnarySuffix {
int64 id = 1;
unpack.v1.ast.NodeType node_type = 2;
unpack.v1.ast.NodeType kind = 13;
unpack.v1.ast.Src src = 3;
unpack.v1.ast.Operator operator = 4;
bool prefix = 5;
Expand Down
24 changes: 24 additions & 0 deletions dist/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12799,6 +12799,18 @@
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "kind",
"description": "",
"label": "",
"type": "NodeType",
"longType": "NodeType",
"fullType": "unpack.v1.ast.NodeType",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "src",
"description": "",
Expand Down Expand Up @@ -12969,6 +12981,18 @@
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "kind",
"description": "",
"label": "",
"type": "NodeType",
"longType": "NodeType",
"fullType": "unpack.v1.ast.NodeType",
"ismap": false,
"isoneof": false,
"oneofdecl": "",
"defaultValue": ""
},
{
"name": "src",
"description": "",
Expand Down
94 changes: 53 additions & 41 deletions dist/go/ast/unary_prefix.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 34a3f0c

Please sign in to comment.