Browse Source

Regenerate the parser bindings

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1192/head
Dimitar Dobrev 6 years ago
parent
commit
926e8ab343
  1. 1
      src/AST/Stmt.cs
  2. 12
      src/CppParser/Bindings/CLI/Stmt.cpp
  3. 6
      src/CppParser/Bindings/CLI/Stmt.h
  4. 5395
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs
  5. 5387
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs
  6. 5395
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs
  7. 5391
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs
  8. 5395
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs
  9. 5391
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs
  10. 2
      src/CppParser/Stmt.cpp
  11. 1
      src/CppParser/Stmt.h
  12. 95
      src/Parser/ASTConverter.Expr.cs
  13. 30
      src/Parser/ASTConverter.Stmt.cs

1
src/AST/Stmt.cs

@ -147,6 +147,7 @@ namespace CppSharp.AST
} }
public SourceRange SourceRange { get; set; } public SourceRange SourceRange { get; set; }
public SourceLocation BeginLoc { get; set; }
public SourceLocation EndLoc { get; set; } public SourceLocation EndLoc { get; set; }
public Stmt StripLabelLikeStatements { get; set; } public Stmt StripLabelLikeStatements { get; set; }

12
src/CppParser/Bindings/CLI/Stmt.cpp

@ -89,6 +89,18 @@ void CppSharp::Parser::AST::Stmt::SourceRange::set(CppSharp::Parser::SourceRange
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; ((::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr;
} }
CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::BeginLoc::get()
{
return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc);
}
void CppSharp::Parser::AST::Stmt::BeginLoc::set(CppSharp::Parser::SourceLocation value)
{
auto _marshal0 = ::CppSharp::CppParser::SourceLocation();
_marshal0.ID = value.ID;
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc = _marshal0;
}
CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::EndLoc::get() CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::EndLoc::get()
{ {
return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc); return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc);

6
src/CppParser/Bindings/CLI/Stmt.h

@ -227,6 +227,12 @@ namespace CppSharp
void set(CppSharp::Parser::SourceRange^); void set(CppSharp::Parser::SourceRange^);
} }
property CppSharp::Parser::SourceLocation BeginLoc
{
CppSharp::Parser::SourceLocation get();
void set(CppSharp::Parser::SourceLocation);
}
property CppSharp::Parser::SourceLocation EndLoc property CppSharp::Parser::SourceLocation EndLoc
{ {
CppSharp::Parser::SourceLocation get(); CppSharp::Parser::SourceLocation get();

5395
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

5387
src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

5395
src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

5391
src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

5395
src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

5391
src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs

File diff suppressed because it is too large Load Diff

2
src/CppParser/Stmt.cpp

@ -14,6 +14,7 @@ namespace CppSharp { namespace CppParser { namespace AST {
Stmt::Stmt() Stmt::Stmt()
: stmtClass(StmtClass::NoStmt) : stmtClass(StmtClass::NoStmt)
, sourceRange(SourceRange()) , sourceRange(SourceRange())
, beginLoc(SourceLocation())
, endLoc(SourceLocation()) , endLoc(SourceLocation())
, stripLabelLikeStatements(nullptr) , stripLabelLikeStatements(nullptr)
{ {
@ -22,6 +23,7 @@ Stmt::Stmt()
Stmt::Stmt(StmtClass klass) Stmt::Stmt(StmtClass klass)
: stmtClass(klass) : stmtClass(klass)
, sourceRange(SourceRange()) , sourceRange(SourceRange())
, beginLoc(SourceLocation())
, endLoc(SourceLocation()) , endLoc(SourceLocation())
, stripLabelLikeStatements(nullptr) , stripLabelLikeStatements(nullptr)
{ {

1
src/CppParser/Stmt.h

@ -153,6 +153,7 @@ public:
Stmt(StmtClass klass); Stmt(StmtClass klass);
StmtClass stmtClass; StmtClass stmtClass;
SourceRange sourceRange; SourceRange sourceRange;
SourceLocation beginLoc;
SourceLocation endLoc; SourceLocation endLoc;
Stmt* stripLabelLikeStatements; Stmt* stripLabelLikeStatements;
}; };

95
src/Parser/ASTConverter.Expr.cs

@ -605,6 +605,7 @@ namespace CppSharp
{ {
var _expr = new AST.ConstantExpr(); var _expr = new AST.ConstantExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -629,6 +630,7 @@ namespace CppSharp
{ {
var _expr = new AST.OpaqueValueExpr(); var _expr = new AST.OpaqueValueExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -655,6 +657,7 @@ namespace CppSharp
{ {
var _expr = new AST.DeclRefExpr(); var _expr = new AST.DeclRefExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -690,6 +693,7 @@ namespace CppSharp
{ {
var _expr = new AST.IntegerLiteral(); var _expr = new AST.IntegerLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -715,6 +719,7 @@ namespace CppSharp
{ {
var _expr = new AST.FixedPointLiteral(); var _expr = new AST.FixedPointLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -740,6 +745,7 @@ namespace CppSharp
{ {
var _expr = new AST.CharacterLiteral(); var _expr = new AST.CharacterLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -766,6 +772,7 @@ namespace CppSharp
{ {
var _expr = new AST.FloatingLiteral(); var _expr = new AST.FloatingLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -792,6 +799,7 @@ namespace CppSharp
{ {
var _expr = new AST.ImaginaryLiteral(); var _expr = new AST.ImaginaryLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -816,6 +824,7 @@ namespace CppSharp
{ {
var _expr = new AST.StringLiteral(); var _expr = new AST.StringLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -854,6 +863,7 @@ namespace CppSharp
{ {
var _expr = new AST.PredefinedExpr(); var _expr = new AST.PredefinedExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -879,6 +889,7 @@ namespace CppSharp
{ {
var _expr = new AST.ParenExpr(); var _expr = new AST.ParenExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -905,6 +916,7 @@ namespace CppSharp
{ {
var _expr = new AST.UnaryOperator(); var _expr = new AST.UnaryOperator();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -938,6 +950,7 @@ namespace CppSharp
{ {
var _expr = new AST.OffsetOfExpr(); var _expr = new AST.OffsetOfExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -965,6 +978,7 @@ namespace CppSharp
{ {
var _expr = new AST.UnaryExprOrTypeTraitExpr(); var _expr = new AST.UnaryExprOrTypeTraitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -995,6 +1009,7 @@ namespace CppSharp
{ {
var _expr = new AST.ArraySubscriptExpr(); var _expr = new AST.ArraySubscriptExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1023,6 +1038,7 @@ namespace CppSharp
{ {
var _expr = new AST.CallExpr(); var _expr = new AST.CallExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1059,6 +1075,7 @@ namespace CppSharp
{ {
var _expr = new AST.MemberExpr(); var _expr = new AST.MemberExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1095,6 +1112,7 @@ namespace CppSharp
{ {
var _expr = new AST.CompoundLiteralExpr(); var _expr = new AST.CompoundLiteralExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1121,6 +1139,7 @@ namespace CppSharp
{ {
var _expr = new AST.ImplicitCastExpr(); var _expr = new AST.ImplicitCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1152,6 +1171,7 @@ namespace CppSharp
{ {
var _expr = new AST.CStyleCastExpr(); var _expr = new AST.CStyleCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1185,6 +1205,7 @@ namespace CppSharp
{ {
var _expr = new AST.BinaryOperator(); var _expr = new AST.BinaryOperator();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1227,6 +1248,7 @@ namespace CppSharp
{ {
var _expr = new AST.CompoundAssignOperator(); var _expr = new AST.CompoundAssignOperator();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1271,6 +1293,7 @@ namespace CppSharp
{ {
var _expr = new AST.ConditionalOperator(); var _expr = new AST.ConditionalOperator();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1301,6 +1324,7 @@ namespace CppSharp
{ {
var _expr = new AST.BinaryConditionalOperator(); var _expr = new AST.BinaryConditionalOperator();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1331,6 +1355,7 @@ namespace CppSharp
{ {
var _expr = new AST.AddrLabelExpr(); var _expr = new AST.AddrLabelExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1356,6 +1381,7 @@ namespace CppSharp
{ {
var _expr = new AST.StmtExpr(); var _expr = new AST.StmtExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1382,6 +1408,7 @@ namespace CppSharp
{ {
var _expr = new AST.ShuffleVectorExpr(); var _expr = new AST.ShuffleVectorExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1408,6 +1435,7 @@ namespace CppSharp
{ {
var _expr = new AST.ConvertVectorExpr(); var _expr = new AST.ConvertVectorExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1434,6 +1462,7 @@ namespace CppSharp
{ {
var _expr = new AST.ChooseExpr(); var _expr = new AST.ChooseExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1465,6 +1494,7 @@ namespace CppSharp
{ {
var _expr = new AST.GNUNullExpr(); var _expr = new AST.GNUNullExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1489,6 +1519,7 @@ namespace CppSharp
{ {
var _expr = new AST.VAArgExpr(); var _expr = new AST.VAArgExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1516,6 +1547,7 @@ namespace CppSharp
{ {
var _expr = new AST.InitListExpr(); var _expr = new AST.InitListExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1551,6 +1583,7 @@ namespace CppSharp
{ {
var _expr = new AST.DesignatedInitExpr(); var _expr = new AST.DesignatedInitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1580,6 +1613,7 @@ namespace CppSharp
{ {
var _expr = new AST.NoInitExpr(); var _expr = new AST.NoInitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1603,6 +1637,7 @@ namespace CppSharp
{ {
var _expr = new AST.DesignatedInitUpdateExpr(); var _expr = new AST.DesignatedInitUpdateExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1628,6 +1663,7 @@ namespace CppSharp
{ {
var _expr = new AST.ArrayInitLoopExpr(); var _expr = new AST.ArrayInitLoopExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1653,6 +1689,7 @@ namespace CppSharp
{ {
var _expr = new AST.ArrayInitIndexExpr(); var _expr = new AST.ArrayInitIndexExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1676,6 +1713,7 @@ namespace CppSharp
{ {
var _expr = new AST.ImplicitValueInitExpr(); var _expr = new AST.ImplicitValueInitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1699,6 +1737,7 @@ namespace CppSharp
{ {
var _expr = new AST.ParenListExpr(); var _expr = new AST.ParenListExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1725,6 +1764,7 @@ namespace CppSharp
{ {
var _expr = new AST.GenericSelectionExpr(); var _expr = new AST.GenericSelectionExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1756,6 +1796,7 @@ namespace CppSharp
{ {
var _expr = new AST.ExtVectorElementExpr(); var _expr = new AST.ExtVectorElementExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1784,6 +1825,7 @@ namespace CppSharp
{ {
var _expr = new AST.BlockExpr(); var _expr = new AST.BlockExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1809,6 +1851,7 @@ namespace CppSharp
{ {
var _expr = new AST.AsTypeExpr(); var _expr = new AST.AsTypeExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1835,6 +1878,7 @@ namespace CppSharp
{ {
var _expr = new AST.PseudoObjectExpr(); var _expr = new AST.PseudoObjectExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1862,6 +1906,7 @@ namespace CppSharp
{ {
var _expr = new AST.AtomicExpr(); var _expr = new AST.AtomicExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1900,6 +1945,7 @@ namespace CppSharp
{ {
var _expr = new AST.TypoExpr(); var _expr = new AST.TypoExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1923,6 +1969,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXOperatorCallExpr(); var _expr = new AST.CXXOperatorCallExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -1964,6 +2011,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXMemberCallExpr(); var _expr = new AST.CXXMemberCallExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2002,6 +2050,7 @@ namespace CppSharp
{ {
var _expr = new AST.CUDAKernelCallExpr(); var _expr = new AST.CUDAKernelCallExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2039,6 +2088,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXStaticCastExpr(); var _expr = new AST.CXXStaticCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2074,6 +2124,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXDynamicCastExpr(); var _expr = new AST.CXXDynamicCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2110,6 +2161,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXReinterpretCastExpr(); var _expr = new AST.CXXReinterpretCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2145,6 +2197,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXConstCastExpr(); var _expr = new AST.CXXConstCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2180,6 +2233,7 @@ namespace CppSharp
{ {
var _expr = new AST.UserDefinedLiteral(); var _expr = new AST.UserDefinedLiteral();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2219,6 +2273,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXBoolLiteralExpr(); var _expr = new AST.CXXBoolLiteralExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2244,6 +2299,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXNullPtrLiteralExpr(); var _expr = new AST.CXXNullPtrLiteralExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2268,6 +2324,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXStdInitializerListExpr(); var _expr = new AST.CXXStdInitializerListExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2292,6 +2349,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXTypeidExpr(); var _expr = new AST.CXXTypeidExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2318,6 +2376,7 @@ namespace CppSharp
{ {
var _expr = new AST.MSPropertyRefExpr(); var _expr = new AST.MSPropertyRefExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2345,6 +2404,7 @@ namespace CppSharp
{ {
var _expr = new AST.MSPropertySubscriptExpr(); var _expr = new AST.MSPropertySubscriptExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2371,6 +2431,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXUuidofExpr(); var _expr = new AST.CXXUuidofExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2397,6 +2458,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXThisExpr(); var _expr = new AST.CXXThisExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2422,6 +2484,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXThrowExpr(); var _expr = new AST.CXXThrowExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2448,6 +2511,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXDefaultArgExpr(); var _expr = new AST.CXXDefaultArgExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2473,6 +2537,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXDefaultInitExpr(); var _expr = new AST.CXXDefaultInitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2498,6 +2563,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXBindTemporaryExpr(); var _expr = new AST.CXXBindTemporaryExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2522,6 +2588,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXConstructExpr(); var _expr = new AST.CXXConstructExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2558,6 +2625,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXInheritedCtorInitExpr(); var _expr = new AST.CXXInheritedCtorInitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2584,6 +2652,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXFunctionalCastExpr(); var _expr = new AST.CXXFunctionalCastExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2618,6 +2687,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXTemporaryObjectExpr(); var _expr = new AST.CXXTemporaryObjectExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2654,6 +2724,7 @@ namespace CppSharp
{ {
var _expr = new AST.LambdaExpr(); var _expr = new AST.LambdaExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2691,6 +2762,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXScalarValueInitExpr(); var _expr = new AST.CXXScalarValueInitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2715,6 +2787,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXNewExpr(); var _expr = new AST.CXXNewExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2757,6 +2830,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXDeleteExpr(); var _expr = new AST.CXXDeleteExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2786,6 +2860,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXPseudoDestructorExpr(); var _expr = new AST.CXXPseudoDestructorExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2817,6 +2892,7 @@ namespace CppSharp
{ {
var _expr = new AST.TypeTraitExpr(); var _expr = new AST.TypeTraitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2842,6 +2918,7 @@ namespace CppSharp
{ {
var _expr = new AST.ArrayTypeTraitExpr(); var _expr = new AST.ArrayTypeTraitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2868,6 +2945,7 @@ namespace CppSharp
{ {
var _expr = new AST.ExpressionTraitExpr(); var _expr = new AST.ExpressionTraitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2893,6 +2971,7 @@ namespace CppSharp
{ {
var _expr = new AST.UnresolvedLookupExpr(); var _expr = new AST.UnresolvedLookupExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2926,6 +3005,7 @@ namespace CppSharp
{ {
var _expr = new AST.DependentScopeDeclRefExpr(); var _expr = new AST.DependentScopeDeclRefExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2956,6 +3036,7 @@ namespace CppSharp
{ {
var _expr = new AST.ExprWithCleanups(); var _expr = new AST.ExprWithCleanups();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -2982,6 +3063,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXUnresolvedConstructExpr(); var _expr = new AST.CXXUnresolvedConstructExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3015,6 +3097,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXDependentScopeMemberExpr(); var _expr = new AST.CXXDependentScopeMemberExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3051,6 +3134,7 @@ namespace CppSharp
{ {
var _expr = new AST.UnresolvedMemberExpr(); var _expr = new AST.UnresolvedMemberExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3089,6 +3173,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXNoexceptExpr(); var _expr = new AST.CXXNoexceptExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3114,6 +3199,7 @@ namespace CppSharp
{ {
var _expr = new AST.PackExpansionExpr(); var _expr = new AST.PackExpansionExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3139,6 +3225,7 @@ namespace CppSharp
{ {
var _expr = new AST.SizeOfPackExpr(); var _expr = new AST.SizeOfPackExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3168,6 +3255,7 @@ namespace CppSharp
{ {
var _expr = new AST.SubstNonTypeTemplateParmExpr(); var _expr = new AST.SubstNonTypeTemplateParmExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3193,6 +3281,7 @@ namespace CppSharp
{ {
var _expr = new AST.SubstNonTypeTemplateParmPackExpr(); var _expr = new AST.SubstNonTypeTemplateParmPackExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3218,6 +3307,7 @@ namespace CppSharp
{ {
var _expr = new AST.FunctionParmPackExpr(); var _expr = new AST.FunctionParmPackExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3243,6 +3333,7 @@ namespace CppSharp
{ {
var _expr = new AST.MaterializeTemporaryExpr(); var _expr = new AST.MaterializeTemporaryExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3270,6 +3361,7 @@ namespace CppSharp
{ {
var _expr = new AST.CXXFoldExpr(); var _expr = new AST.CXXFoldExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3301,6 +3393,7 @@ namespace CppSharp
{ {
var _expr = new AST.CoawaitExpr(); var _expr = new AST.CoawaitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3332,6 +3425,7 @@ namespace CppSharp
{ {
var _expr = new AST.DependentCoawaitExpr(); var _expr = new AST.DependentCoawaitExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);
@ -3358,6 +3452,7 @@ namespace CppSharp
{ {
var _expr = new AST.CoyieldExpr(); var _expr = new AST.CoyieldExpr();
_expr.SourceRange = VisitSourceRange(expr.SourceRange); _expr.SourceRange = VisitSourceRange(expr.SourceRange);
_expr.BeginLoc = VisitSourceLocation(expr.BeginLoc);
_expr.EndLoc = VisitSourceLocation(expr.EndLoc); _expr.EndLoc = VisitSourceLocation(expr.EndLoc);
_expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt; _expr.StripLabelLikeStatements = VisitStatement(expr.StripLabelLikeStatements) as AST.Stmt;
_expr.Type = VisitQualifiedType(expr.Type); _expr.Type = VisitQualifiedType(expr.Type);

30
src/Parser/ASTConverter.Stmt.cs

@ -690,6 +690,7 @@ namespace CppSharp
{ {
var _stmt = new AST.DeclStmt(); var _stmt = new AST.DeclStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.IsSingleDecl = stmt.IsSingleDecl; _stmt.IsSingleDecl = stmt.IsSingleDecl;
@ -706,6 +707,7 @@ namespace CppSharp
{ {
var _stmt = new AST.NullStmt(); var _stmt = new AST.NullStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.SemiLoc = VisitSourceLocation(stmt.SemiLoc); _stmt.SemiLoc = VisitSourceLocation(stmt.SemiLoc);
@ -717,6 +719,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CompoundStmt(); var _stmt = new AST.CompoundStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.BodyEmpty = stmt.BodyEmpty; _stmt.BodyEmpty = stmt.BodyEmpty;
@ -737,6 +740,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CaseStmt(); var _stmt = new AST.CaseStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc); _stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
@ -754,6 +758,7 @@ namespace CppSharp
{ {
var _stmt = new AST.DefaultStmt(); var _stmt = new AST.DefaultStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc); _stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
@ -767,6 +772,7 @@ namespace CppSharp
{ {
var _stmt = new AST.LabelStmt(); var _stmt = new AST.LabelStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.IdentLoc = VisitSourceLocation(stmt.IdentLoc); _stmt.IdentLoc = VisitSourceLocation(stmt.IdentLoc);
@ -779,6 +785,7 @@ namespace CppSharp
{ {
var _stmt = new AST.AttributedStmt(); var _stmt = new AST.AttributedStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.AttrLoc = VisitSourceLocation(stmt.AttrLoc); _stmt.AttrLoc = VisitSourceLocation(stmt.AttrLoc);
@ -790,6 +797,7 @@ namespace CppSharp
{ {
var _stmt = new AST.IfStmt(); var _stmt = new AST.IfStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr; _stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
@ -811,6 +819,7 @@ namespace CppSharp
{ {
var _stmt = new AST.SwitchStmt(); var _stmt = new AST.SwitchStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr; _stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
@ -828,6 +837,7 @@ namespace CppSharp
{ {
var _stmt = new AST.WhileStmt(); var _stmt = new AST.WhileStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr; _stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
@ -842,6 +852,7 @@ namespace CppSharp
{ {
var _stmt = new AST.DoStmt(); var _stmt = new AST.DoStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr; _stmt.Cond = VisitExpression(stmt.Cond) as AST.Expr;
@ -856,6 +867,7 @@ namespace CppSharp
{ {
var _stmt = new AST.ForStmt(); var _stmt = new AST.ForStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Init = VisitStatement(stmt.Init) as AST.Stmt; _stmt.Init = VisitStatement(stmt.Init) as AST.Stmt;
@ -873,6 +885,7 @@ namespace CppSharp
{ {
var _stmt = new AST.GotoStmt(); var _stmt = new AST.GotoStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.GotoLoc = VisitSourceLocation(stmt.GotoLoc); _stmt.GotoLoc = VisitSourceLocation(stmt.GotoLoc);
@ -884,6 +897,7 @@ namespace CppSharp
{ {
var _stmt = new AST.IndirectGotoStmt(); var _stmt = new AST.IndirectGotoStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.GotoLoc = VisitSourceLocation(stmt.GotoLoc); _stmt.GotoLoc = VisitSourceLocation(stmt.GotoLoc);
@ -896,6 +910,7 @@ namespace CppSharp
{ {
var _stmt = new AST.ContinueStmt(); var _stmt = new AST.ContinueStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.ContinueLoc = VisitSourceLocation(stmt.ContinueLoc); _stmt.ContinueLoc = VisitSourceLocation(stmt.ContinueLoc);
@ -906,6 +921,7 @@ namespace CppSharp
{ {
var _stmt = new AST.BreakStmt(); var _stmt = new AST.BreakStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.BreakLoc = VisitSourceLocation(stmt.BreakLoc); _stmt.BreakLoc = VisitSourceLocation(stmt.BreakLoc);
@ -916,6 +932,7 @@ namespace CppSharp
{ {
var _stmt = new AST.ReturnStmt(); var _stmt = new AST.ReturnStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.RetValue = VisitExpression(stmt.RetValue) as AST.Expr; _stmt.RetValue = VisitExpression(stmt.RetValue) as AST.Expr;
@ -927,6 +944,7 @@ namespace CppSharp
{ {
var _stmt = new AST.GCCAsmStmt(); var _stmt = new AST.GCCAsmStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.AsmLoc = VisitSourceLocation(stmt.AsmLoc); _stmt.AsmLoc = VisitSourceLocation(stmt.AsmLoc);
@ -954,6 +972,7 @@ namespace CppSharp
{ {
var _stmt = new AST.MSAsmStmt(); var _stmt = new AST.MSAsmStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.AsmLoc = VisitSourceLocation(stmt.AsmLoc); _stmt.AsmLoc = VisitSourceLocation(stmt.AsmLoc);
@ -984,6 +1003,7 @@ namespace CppSharp
{ {
var _stmt = new AST.SEHExceptStmt(); var _stmt = new AST.SEHExceptStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.ExceptLoc = VisitSourceLocation(stmt.ExceptLoc); _stmt.ExceptLoc = VisitSourceLocation(stmt.ExceptLoc);
@ -996,6 +1016,7 @@ namespace CppSharp
{ {
var _stmt = new AST.SEHFinallyStmt(); var _stmt = new AST.SEHFinallyStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.FinallyLoc = VisitSourceLocation(stmt.FinallyLoc); _stmt.FinallyLoc = VisitSourceLocation(stmt.FinallyLoc);
@ -1007,6 +1028,7 @@ namespace CppSharp
{ {
var _stmt = new AST.SEHTryStmt(); var _stmt = new AST.SEHTryStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.TryLoc = VisitSourceLocation(stmt.TryLoc); _stmt.TryLoc = VisitSourceLocation(stmt.TryLoc);
@ -1022,6 +1044,7 @@ namespace CppSharp
{ {
var _stmt = new AST.SEHLeaveStmt(); var _stmt = new AST.SEHLeaveStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.LeaveLoc = VisitSourceLocation(stmt.LeaveLoc); _stmt.LeaveLoc = VisitSourceLocation(stmt.LeaveLoc);
@ -1032,6 +1055,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CapturedStmt(); var _stmt = new AST.CapturedStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.capturedStmt = VisitStatement(stmt.capturedStmt) as AST.Stmt; _stmt.capturedStmt = VisitStatement(stmt.capturedStmt) as AST.Stmt;
@ -1048,6 +1072,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CXXCatchStmt(); var _stmt = new AST.CXXCatchStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.CatchLoc = VisitSourceLocation(stmt.CatchLoc); _stmt.CatchLoc = VisitSourceLocation(stmt.CatchLoc);
@ -1060,6 +1085,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CXXTryStmt(); var _stmt = new AST.CXXTryStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.TryLoc = VisitSourceLocation(stmt.TryLoc); _stmt.TryLoc = VisitSourceLocation(stmt.TryLoc);
@ -1072,6 +1098,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CXXForRangeStmt(); var _stmt = new AST.CXXForRangeStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.Init = VisitStatement(stmt.Init) as AST.Stmt; _stmt.Init = VisitStatement(stmt.Init) as AST.Stmt;
@ -1094,6 +1121,7 @@ namespace CppSharp
{ {
var _stmt = new AST.MSDependentExistsStmt(); var _stmt = new AST.MSDependentExistsStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc); _stmt.KeywordLoc = VisitSourceLocation(stmt.KeywordLoc);
@ -1107,6 +1135,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CoroutineBodyStmt(); var _stmt = new AST.CoroutineBodyStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.HasDependentPromiseType = stmt.HasDependentPromiseType; _stmt.HasDependentPromiseType = stmt.HasDependentPromiseType;
@ -1129,6 +1158,7 @@ namespace CppSharp
{ {
var _stmt = new AST.CoreturnStmt(); var _stmt = new AST.CoreturnStmt();
_stmt.SourceRange = VisitSourceRange(stmt.SourceRange); _stmt.SourceRange = VisitSourceRange(stmt.SourceRange);
_stmt.BeginLoc = VisitSourceLocation(stmt.BeginLoc);
_stmt.EndLoc = VisitSourceLocation(stmt.EndLoc); _stmt.EndLoc = VisitSourceLocation(stmt.EndLoc);
_stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt; _stmt.StripLabelLikeStatements = VisitStatement(stmt.StripLabelLikeStatements) as AST.Stmt;
_stmt.IsImplicit = stmt.IsImplicit; _stmt.IsImplicit = stmt.IsImplicit;

Loading…
Cancel
Save