-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSemanticFlags.cs
executable file
·116 lines (105 loc) · 3.37 KB
/
SemanticFlags.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
// ------------------------------------------------------------------------------
using System;
namespace CSharpCodeParser
{
public enum SemanticFlags
{
None = 0,
SymbolDeclarationsMask = (1 << 8) - 1,
ScopesMask = ~SymbolDeclarationsMask,
SymbolDeclarationsBegin = 1,
NamespaceDeclaration,
UsingNamespace,
UsingAlias,
ExternAlias,
ClassDeclaration,
TypeParameterDeclaration,
BaseListDeclaration,
ConstructorDeclarator,
DestructorDeclarator,
ConstantDeclarator,
MethodDeclarator,
LocalVariableDeclarator,
ForEachVariableDeclaration,
FromClauseVariableDeclaration,
LabeledStatement,
CatchExceptionParameterDeclaration,
FixedParameterDeclaration,
ParameterArrayDeclaration,
ImplicitParameterDeclaration,
ExplicitParameterDeclaration,
PropertyDeclaration,
IndexerDeclaration,
GetAccessorDeclaration,
SetAccessorDeclaration,
EventDeclarator,
EventWithAccessorsDeclaration,
AddAccessorDeclaration,
RemoveAccessorDeclaration,
VariableDeclarator,
OperatorDeclarator,
ConversionOperatorDeclarator,
StructDeclaration,
InterfaceDeclaration,
InterfacePropertyDeclaration,
InterfaceMethodDeclaration,
InterfaceEventDeclaration,
InterfaceIndexerDeclaration,
InterfaceGetAccessorDeclaration,
InterfaceSetAccessorDeclaration,
EnumDeclaration,
EnumMemberDeclaration,
DelegateDeclaration,
AnonymousObjectCreation,
MemberDeclarator,
LambdaExpressionDeclaration,
AnonymousMethodDeclaration,
SymbolDeclarationsEnd,
ScopesBegin = 1 << 8,
CompilationUnitScope = 1 << 8,
NamespaceBodyScope = 2 << 8,
ClassBaseScope = 3 << 8,
TypeParameterConstraintsScope = 4 << 8,
ClassBodyScope = 5 << 8,
StructInterfacesScope = 6 << 8,
StructBodyScope = 7 << 8,
InterfaceBaseScope = 8 << 8,
InterfaceBodyScope = 9 << 8,
FormalParameterListScope = 10 << 8,
EnumBaseScope = 11 << 8,
EnumBodyScope = 12 << 8,
MethodBodyScope = 13 << 8,
ConstructorInitializerScope = 14 << 8,
LambdaExpressionScope = 15 << 8,
LambdaExpressionBodyScope = 16 << 8,
AnonymousMethodScope = 17 << 8,
AnonymousMethodBodyScope = 18 << 8,
CodeBlockScope = 19 << 8,
SwitchBlockScope = 20 << 8,
ForStatementScope = 21 << 8,
EmbeddedStatementScope = 22 << 8,
UsingStatementScope = 23 << 8,
LocalVariableInitializerScope = 24 << 8,
SpecificCatchScope = 25 << 8,
ArgumentListScope = 26 << 8,
AttributeArgumentsScope = 27 << 8,
MemberInitializerScope = 28 << 8,
TypeDeclarationScope = 29 << 8,
MethodDeclarationScope = 30 << 8,
AttributesScope = 31 << 8,
AccessorBodyScope = 32 << 8,
AccessorsListScope = 33 << 8,
QueryExpressionScope = 34 << 8,
QueryBodyScope = 35 << 8,
MemberDeclarationScope = 36 << 8,
ScopesEnd,
}
}