Skip to content

Commit 7f64333

Browse files
authored
Remove Data member from PropertyKind and make it non-Flags (#349)
1 parent a863d11 commit 7f64333

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/Esprima/Ast/PropertyKind.cs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
namespace Esprima.Ast;
22

3-
[Flags]
43
public enum PropertyKind
54
{
6-
None = 0,
7-
Data = 1,
8-
Get = 2,
9-
Set = 4,
10-
Init = 8,
11-
Constructor = 16,
12-
Method = 32,
13-
Property = 64
14-
};
5+
None,
6+
Get,
7+
Set,
8+
Init,
9+
Constructor,
10+
Method,
11+
Property
12+
}

0 commit comments

Comments
 (0)