|
10 | 10 |
|
11 | 11 | namespace CppSharp.AST
|
12 | 12 | {
|
13 |
| - public enum StmtClass |
14 |
| - { |
15 |
| - NoStmt = 0, |
16 |
| - GCCAsmStmt = 1, |
17 |
| - MSAsmStmt = 2, |
18 |
| - AttributedStmt = 3, |
19 |
| - BreakStmt = 4, |
20 |
| - CXXCatchStmt = 5, |
21 |
| - CXXForRangeStmt = 6, |
22 |
| - CXXTryStmt = 7, |
23 |
| - CapturedStmt = 8, |
24 |
| - CompoundStmt = 9, |
25 |
| - ContinueStmt = 10, |
26 |
| - CoreturnStmt = 11, |
27 |
| - CoroutineBodyStmt = 12, |
28 |
| - DeclStmt = 13, |
29 |
| - DoStmt = 14, |
30 |
| - BinaryConditionalOperator = 15, |
31 |
| - ConditionalOperator = 16, |
32 |
| - AddrLabelExpr = 17, |
33 |
| - ArrayInitIndexExpr = 18, |
34 |
| - ArrayInitLoopExpr = 19, |
35 |
| - ArraySubscriptExpr = 20, |
36 |
| - ArrayTypeTraitExpr = 21, |
37 |
| - AsTypeExpr = 22, |
38 |
| - AtomicExpr = 23, |
39 |
| - BinaryOperator = 24, |
40 |
| - CompoundAssignOperator = 25, |
41 |
| - BlockExpr = 26, |
42 |
| - CXXBindTemporaryExpr = 27, |
43 |
| - CXXBoolLiteralExpr = 28, |
44 |
| - CXXConstructExpr = 29, |
45 |
| - CXXTemporaryObjectExpr = 30, |
46 |
| - CXXDefaultArgExpr = 31, |
47 |
| - CXXDefaultInitExpr = 32, |
48 |
| - CXXDeleteExpr = 33, |
49 |
| - CXXDependentScopeMemberExpr = 34, |
50 |
| - CXXFoldExpr = 35, |
51 |
| - CXXInheritedCtorInitExpr = 36, |
52 |
| - CXXNewExpr = 37, |
53 |
| - CXXNoexceptExpr = 38, |
54 |
| - CXXNullPtrLiteralExpr = 39, |
55 |
| - CXXPseudoDestructorExpr = 40, |
56 |
| - CXXScalarValueInitExpr = 41, |
57 |
| - CXXStdInitializerListExpr = 42, |
58 |
| - CXXThisExpr = 43, |
59 |
| - CXXThrowExpr = 44, |
60 |
| - CXXTypeidExpr = 45, |
61 |
| - CXXUnresolvedConstructExpr = 46, |
62 |
| - CXXUuidofExpr = 47, |
63 |
| - CallExpr = 48, |
64 |
| - CUDAKernelCallExpr = 49, |
65 |
| - CXXMemberCallExpr = 50, |
66 |
| - CXXOperatorCallExpr = 51, |
67 |
| - UserDefinedLiteral = 52, |
68 |
| - CStyleCastExpr = 53, |
69 |
| - CXXFunctionalCastExpr = 54, |
70 |
| - CXXConstCastExpr = 55, |
71 |
| - CXXDynamicCastExpr = 56, |
72 |
| - CXXReinterpretCastExpr = 57, |
73 |
| - CXXStaticCastExpr = 58, |
74 |
| - ImplicitCastExpr = 60, |
75 |
| - CharacterLiteral = 61, |
76 |
| - ChooseExpr = 62, |
77 |
| - CompoundLiteralExpr = 63, |
78 |
| - ConvertVectorExpr = 64, |
79 |
| - CoawaitExpr = 65, |
80 |
| - CoyieldExpr = 66, |
81 |
| - DeclRefExpr = 67, |
82 |
| - DependentCoawaitExpr = 68, |
83 |
| - DependentScopeDeclRefExpr = 69, |
84 |
| - DesignatedInitExpr = 70, |
85 |
| - DesignatedInitUpdateExpr = 71, |
86 |
| - ExpressionTraitExpr = 72, |
87 |
| - ExtVectorElementExpr = 73, |
88 |
| - FixedPointLiteral = 74, |
89 |
| - FloatingLiteral = 75, |
90 |
| - ConstantExpr = 76, |
91 |
| - ExprWithCleanups = 77, |
92 |
| - FunctionParmPackExpr = 78, |
93 |
| - GNUNullExpr = 79, |
94 |
| - GenericSelectionExpr = 80, |
95 |
| - ImaginaryLiteral = 81, |
96 |
| - ImplicitValueInitExpr = 82, |
97 |
| - InitListExpr = 83, |
98 |
| - IntegerLiteral = 84, |
99 |
| - LambdaExpr = 85, |
100 |
| - MSPropertyRefExpr = 86, |
101 |
| - MSPropertySubscriptExpr = 87, |
102 |
| - MaterializeTemporaryExpr = 88, |
103 |
| - MemberExpr = 89, |
104 |
| - NoInitExpr = 90, |
105 |
| - OffsetOfExpr = 107, |
106 |
| - OpaqueValueExpr = 108, |
107 |
| - UnresolvedLookupExpr = 109, |
108 |
| - UnresolvedMemberExpr = 110, |
109 |
| - PackExpansionExpr = 111, |
110 |
| - ParenExpr = 112, |
111 |
| - ParenListExpr = 113, |
112 |
| - PredefinedExpr = 114, |
113 |
| - PseudoObjectExpr = 115, |
114 |
| - ShuffleVectorExpr = 116, |
115 |
| - SizeOfPackExpr = 117, |
116 |
| - StmtExpr = 118, |
117 |
| - StringLiteral = 119, |
118 |
| - SubstNonTypeTemplateParmExpr = 120, |
119 |
| - SubstNonTypeTemplateParmPackExpr = 121, |
120 |
| - TypeTraitExpr = 122, |
121 |
| - TypoExpr = 123, |
122 |
| - UnaryExprOrTypeTraitExpr = 124, |
123 |
| - UnaryOperator = 125, |
124 |
| - VAArgExpr = 126, |
125 |
| - ForStmt = 127, |
126 |
| - GotoStmt = 128, |
127 |
| - IfStmt = 129, |
128 |
| - IndirectGotoStmt = 130, |
129 |
| - LabelStmt = 131, |
130 |
| - MSDependentExistsStmt = 132, |
131 |
| - NullStmt = 133, |
132 |
| - ReturnStmt = 188, |
133 |
| - SEHExceptStmt = 189, |
134 |
| - SEHFinallyStmt = 190, |
135 |
| - SEHLeaveStmt = 191, |
136 |
| - SEHTryStmt = 192, |
137 |
| - CaseStmt = 193, |
138 |
| - DefaultStmt = 194, |
139 |
| - SwitchStmt = 195, |
140 |
| - WhileStmt = 196, |
141 |
| - } |
142 |
| - |
143 | 13 | public partial class Stmt
|
144 | 14 | {
|
| 15 | + public enum StmtClass |
| 16 | + { |
| 17 | + NoStmt = 0, |
| 18 | + GCCAsmStmt = 1, |
| 19 | + MSAsmStmt = 2, |
| 20 | + AttributedStmt = 3, |
| 21 | + BreakStmt = 4, |
| 22 | + CXXCatchStmt = 5, |
| 23 | + CXXForRangeStmt = 6, |
| 24 | + CXXTryStmt = 7, |
| 25 | + CapturedStmt = 8, |
| 26 | + CompoundStmt = 9, |
| 27 | + ContinueStmt = 10, |
| 28 | + CoreturnStmt = 11, |
| 29 | + CoroutineBodyStmt = 12, |
| 30 | + DeclStmt = 13, |
| 31 | + DoStmt = 14, |
| 32 | + BinaryConditionalOperator = 15, |
| 33 | + ConditionalOperator = 16, |
| 34 | + AddrLabelExpr = 17, |
| 35 | + ArrayInitIndexExpr = 18, |
| 36 | + ArrayInitLoopExpr = 19, |
| 37 | + ArraySubscriptExpr = 20, |
| 38 | + ArrayTypeTraitExpr = 21, |
| 39 | + AsTypeExpr = 22, |
| 40 | + AtomicExpr = 23, |
| 41 | + BinaryOperator = 24, |
| 42 | + CompoundAssignOperator = 25, |
| 43 | + BlockExpr = 26, |
| 44 | + CXXBindTemporaryExpr = 27, |
| 45 | + CXXBoolLiteralExpr = 28, |
| 46 | + CXXConstructExpr = 29, |
| 47 | + CXXTemporaryObjectExpr = 30, |
| 48 | + CXXDefaultArgExpr = 31, |
| 49 | + CXXDefaultInitExpr = 32, |
| 50 | + CXXDeleteExpr = 33, |
| 51 | + CXXDependentScopeMemberExpr = 34, |
| 52 | + CXXFoldExpr = 35, |
| 53 | + CXXInheritedCtorInitExpr = 36, |
| 54 | + CXXNewExpr = 37, |
| 55 | + CXXNoexceptExpr = 38, |
| 56 | + CXXNullPtrLiteralExpr = 39, |
| 57 | + CXXPseudoDestructorExpr = 40, |
| 58 | + CXXScalarValueInitExpr = 41, |
| 59 | + CXXStdInitializerListExpr = 42, |
| 60 | + CXXThisExpr = 43, |
| 61 | + CXXThrowExpr = 44, |
| 62 | + CXXTypeidExpr = 45, |
| 63 | + CXXUnresolvedConstructExpr = 46, |
| 64 | + CXXUuidofExpr = 47, |
| 65 | + CallExpr = 48, |
| 66 | + CUDAKernelCallExpr = 49, |
| 67 | + CXXMemberCallExpr = 50, |
| 68 | + CXXOperatorCallExpr = 51, |
| 69 | + UserDefinedLiteral = 52, |
| 70 | + CStyleCastExpr = 53, |
| 71 | + CXXFunctionalCastExpr = 54, |
| 72 | + CXXConstCastExpr = 55, |
| 73 | + CXXDynamicCastExpr = 56, |
| 74 | + CXXReinterpretCastExpr = 57, |
| 75 | + CXXStaticCastExpr = 58, |
| 76 | + ImplicitCastExpr = 60, |
| 77 | + CharacterLiteral = 61, |
| 78 | + ChooseExpr = 62, |
| 79 | + CompoundLiteralExpr = 63, |
| 80 | + ConvertVectorExpr = 64, |
| 81 | + CoawaitExpr = 65, |
| 82 | + CoyieldExpr = 66, |
| 83 | + DeclRefExpr = 67, |
| 84 | + DependentCoawaitExpr = 68, |
| 85 | + DependentScopeDeclRefExpr = 69, |
| 86 | + DesignatedInitExpr = 70, |
| 87 | + DesignatedInitUpdateExpr = 71, |
| 88 | + ExpressionTraitExpr = 72, |
| 89 | + ExtVectorElementExpr = 73, |
| 90 | + FixedPointLiteral = 74, |
| 91 | + FloatingLiteral = 75, |
| 92 | + ConstantExpr = 76, |
| 93 | + ExprWithCleanups = 77, |
| 94 | + FunctionParmPackExpr = 78, |
| 95 | + GNUNullExpr = 79, |
| 96 | + GenericSelectionExpr = 80, |
| 97 | + ImaginaryLiteral = 81, |
| 98 | + ImplicitValueInitExpr = 82, |
| 99 | + InitListExpr = 83, |
| 100 | + IntegerLiteral = 84, |
| 101 | + LambdaExpr = 85, |
| 102 | + MSPropertyRefExpr = 86, |
| 103 | + MSPropertySubscriptExpr = 87, |
| 104 | + MaterializeTemporaryExpr = 88, |
| 105 | + MemberExpr = 89, |
| 106 | + NoInitExpr = 90, |
| 107 | + OffsetOfExpr = 107, |
| 108 | + OpaqueValueExpr = 108, |
| 109 | + UnresolvedLookupExpr = 109, |
| 110 | + UnresolvedMemberExpr = 110, |
| 111 | + PackExpansionExpr = 111, |
| 112 | + ParenExpr = 112, |
| 113 | + ParenListExpr = 113, |
| 114 | + PredefinedExpr = 114, |
| 115 | + PseudoObjectExpr = 115, |
| 116 | + ShuffleVectorExpr = 116, |
| 117 | + SizeOfPackExpr = 117, |
| 118 | + StmtExpr = 118, |
| 119 | + StringLiteral = 119, |
| 120 | + SubstNonTypeTemplateParmExpr = 120, |
| 121 | + SubstNonTypeTemplateParmPackExpr = 121, |
| 122 | + TypeTraitExpr = 122, |
| 123 | + TypoExpr = 123, |
| 124 | + UnaryExprOrTypeTraitExpr = 124, |
| 125 | + UnaryOperator = 125, |
| 126 | + VAArgExpr = 126, |
| 127 | + ForStmt = 127, |
| 128 | + GotoStmt = 128, |
| 129 | + IfStmt = 129, |
| 130 | + IndirectGotoStmt = 130, |
| 131 | + LabelStmt = 131, |
| 132 | + MSDependentExistsStmt = 132, |
| 133 | + NullStmt = 133, |
| 134 | + ReturnStmt = 188, |
| 135 | + SEHExceptStmt = 189, |
| 136 | + SEHFinallyStmt = 190, |
| 137 | + SEHLeaveStmt = 191, |
| 138 | + SEHTryStmt = 192, |
| 139 | + CaseStmt = 193, |
| 140 | + DefaultStmt = 194, |
| 141 | + SwitchStmt = 195, |
| 142 | + WhileStmt = 196, |
| 143 | + } |
| 144 | + |
145 | 145 | public Stmt()
|
146 | 146 | {
|
147 | 147 | }
|
148 | 148 |
|
| 149 | + public Stmt.StmtClass stmtClass { get; set; } |
149 | 150 | public SourceRange SourceRange { get; set; }
|
| 151 | + public SourceLocation BeginLoc { get; set; } |
150 | 152 | public SourceLocation EndLoc { get; set; }
|
151 | 153 | public Stmt StripLabelLikeStatements { get; set; }
|
152 | 154 | }
|
|
0 commit comments