Skip to content

Commit 926e8ab

Browse files
committed
Regenerate the parser bindings
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent 8ad78c3 commit 926e8ab

File tree

13 files changed

+17589
-14916
lines changed

13 files changed

+17589
-14916
lines changed

src/AST/Stmt.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public Stmt()
147147
}
148148

149149
public SourceRange SourceRange { get; set; }
150+
public SourceLocation BeginLoc { get; set; }
150151
public SourceLocation EndLoc { get; set; }
151152
public Stmt StripLabelLikeStatements { get; set; }
152153

src/CppParser/Bindings/CLI/Stmt.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@ void CppSharp::Parser::AST::Stmt::SourceRange::set(CppSharp::Parser::SourceRange
8989
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr;
9090
}
9191

92+
CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::BeginLoc::get()
93+
{
94+
return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc);
95+
}
96+
97+
void CppSharp::Parser::AST::Stmt::BeginLoc::set(CppSharp::Parser::SourceLocation value)
98+
{
99+
auto _marshal0 = ::CppSharp::CppParser::SourceLocation();
100+
_marshal0.ID = value.ID;
101+
((::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc = _marshal0;
102+
}
103+
92104
CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::EndLoc::get()
93105
{
94106
return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc);

src/CppParser/Bindings/CLI/Stmt.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ namespace CppSharp
227227
void set(CppSharp::Parser::SourceRange^);
228228
}
229229

230+
property CppSharp::Parser::SourceLocation BeginLoc
231+
{
232+
CppSharp::Parser::SourceLocation get();
233+
void set(CppSharp::Parser::SourceLocation);
234+
}
235+
230236
property CppSharp::Parser::SourceLocation EndLoc
231237
{
232238
CppSharp::Parser::SourceLocation get();

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

Lines changed: 2909 additions & 2488 deletions
Large diffs are not rendered by default.

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

Lines changed: 2904 additions & 2483 deletions
Large diffs are not rendered by default.

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

Lines changed: 2907 additions & 2486 deletions
Large diffs are not rendered by default.

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

Lines changed: 2906 additions & 2485 deletions
Large diffs are not rendered by default.

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

Lines changed: 2908 additions & 2487 deletions
Large diffs are not rendered by default.

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

Lines changed: 2908 additions & 2487 deletions
Large diffs are not rendered by default.

src/CppParser/Stmt.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace CppSharp { namespace CppParser { namespace AST {
1414
Stmt::Stmt()
1515
: stmtClass(StmtClass::NoStmt)
1616
, sourceRange(SourceRange())
17+
, beginLoc(SourceLocation())
1718
, endLoc(SourceLocation())
1819
, stripLabelLikeStatements(nullptr)
1920
{
@@ -22,6 +23,7 @@ Stmt::Stmt()
2223
Stmt::Stmt(StmtClass klass)
2324
: stmtClass(klass)
2425
, sourceRange(SourceRange())
26+
, beginLoc(SourceLocation())
2527
, endLoc(SourceLocation())
2628
, stripLabelLikeStatements(nullptr)
2729
{

0 commit comments

Comments
 (0)