Skip to content

Commit

Permalink
Re-generated parser bindings and bootstrap code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Mar 10, 2019
1 parent e0875c7 commit a0169c2
Show file tree
Hide file tree
Showing 17 changed files with 13,370 additions and 16,192 deletions.
1 change: 0 additions & 1 deletion src/AST/Stmt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ public Stmt()
public SourceRange SourceRange { get; set; }
public SourceLocation BeginLoc { get; set; }
public SourceLocation EndLoc { get; set; }
public Stmt StripLabelLikeStatements { get; set; }

public abstract T Visit<T>(IStmtVisitor<T> visitor);
}
Expand Down
14 changes: 2 additions & 12 deletions src/CppParser/Bindings/CLI/Stmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,6 @@ void CppSharp::Parser::AST::Stmt::EndLoc::set(CppSharp::Parser::SourceLocation v
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc = _marshal0;
}

CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::Stmt::StripLabelLikeStatements::get()
{
return (((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stripLabelLikeStatements == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stripLabelLikeStatements);
}

void CppSharp::Parser::AST::Stmt::StripLabelLikeStatements::set(CppSharp::Parser::AST::Stmt^ value)
{
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stripLabelLikeStatements = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr;
}

CppSharp::Parser::AST::DeclStmt::DeclStmt(::CppSharp::CppParser::AST::DeclStmt* native)
: CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native)
{
Expand Down Expand Up @@ -2444,12 +2434,12 @@ void CppSharp::Parser::AST::CapturedStmt::CaptureInits::set(System::Collections:
((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_inits = _tmpvalue;
}

CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CapturedStmt::capturedStmt::get()
CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CapturedStmt::CapturedStmt::get()
{
return (((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt == nullptr) ? nullptr : gcnew CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt);
}

void CppSharp::Parser::AST::CapturedStmt::capturedStmt::set(CppSharp::Parser::AST::Stmt^ value)
void CppSharp::Parser::AST::CapturedStmt::CapturedStmt::set(CppSharp::Parser::AST::Stmt^ value)
{
((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr;
}
Expand Down
8 changes: 1 addition & 7 deletions src/CppParser/Bindings/CLI/Stmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@ namespace CppSharp
void set(CppSharp::Parser::SourceLocation);
}

property CppSharp::Parser::AST::Stmt^ StripLabelLikeStatements
{
CppSharp::Parser::AST::Stmt^ get();
void set(CppSharp::Parser::AST::Stmt^);
}

static operator CppSharp::Parser::AST::Stmt^(CppSharp::Parser::AST::StmtClass klass);

protected:
Expand Down Expand Up @@ -1366,7 +1360,7 @@ namespace CppSharp
void set(System::Collections::Generic::List<CppSharp::Parser::AST::Expr^>^);
}

property CppSharp::Parser::AST::Stmt^ capturedStmt
property CppSharp::Parser::AST::Stmt^ CapturedStmt
{
CppSharp::Parser::AST::Stmt^ get();
void set(CppSharp::Parser::AST::Stmt^);
Expand Down
Loading

0 comments on commit a0169c2

Please sign in to comment.