Skip to content

Commit

Permalink
Prefix and suffix unary kinds
Browse files Browse the repository at this point in the history
  • Loading branch information
0x19 committed Oct 3, 2023
1 parent 47b0572 commit f84c162
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 74 deletions.
4 changes: 2 additions & 2 deletions ast/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ enum NodeType {
BIT_OR_OPERATION = 101;
BIT_XOR_OPERATION = 102;
SHIFT_OPERATION = 103;
UNARY_PREFIX = 104;
UNARY_SUFFIX = 105;
KIND_UNARY_PREFIX = 104;
KIND_UNARY_SUFFIX = 105;
}

enum Mutability {
Expand Down
4 changes: 2 additions & 2 deletions dist/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12327,12 +12327,12 @@
"description": ""
},
{
"name": "UNARY_PREFIX",
"name": "KIND_UNARY_PREFIX",
"number": "104",
"description": ""
},
{
"name": "UNARY_SUFFIX",
"name": "KIND_UNARY_SUFFIX",
"number": "105",
"description": ""
}
Expand Down
133 changes: 67 additions & 66 deletions dist/go/ast/types.pb.go

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

4 changes: 2 additions & 2 deletions dist/js/ast/types_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export enum NodeType {
BIT_OR_OPERATION = 101,
BIT_XOR_OPERATION = 102,
SHIFT_OPERATION = 103,
UNARY_PREFIX = 104,
UNARY_SUFFIX = 105,
KIND_UNARY_PREFIX = 104,
KIND_UNARY_SUFFIX = 105,
}
export enum Mutability {
M_DEFAULT = 0,
Expand Down
4 changes: 2 additions & 2 deletions dist/js/ast/types_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ proto.unpack.v1.ast.NodeType = {
BIT_OR_OPERATION: 101,
BIT_XOR_OPERATION: 102,
SHIFT_OPERATION: 103,
UNARY_PREFIX: 104,
UNARY_SUFFIX: 105
KIND_UNARY_PREFIX: 104,
KIND_UNARY_SUFFIX: 105
};

/**
Expand Down
Binary file modified dist/protosets/unpack.protoset
Binary file not shown.

0 comments on commit f84c162

Please sign in to comment.