Skip to content

Commit 6f9a779

Browse files
committed
Regenerate the parser bindings
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent fe33488 commit 6f9a779

File tree

31 files changed

+2952
-5212
lines changed

31 files changed

+2952
-5212
lines changed

CODE-OF-CONDUCT.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/CppParser/Bindings/CLI/AST.cpp

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ CppSharp::Parser::AST::NativeLibrary::NativeLibrary(::CppSharp::CppParser::AST::
2525
{
2626
NativePtr = native;
2727
}
28+
29+
CppSharp::Parser::AST::NativeLibrary^ CppSharp::Parser::AST::NativeLibrary::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
30+
{
31+
return gcnew ::CppSharp::Parser::AST::NativeLibrary((::CppSharp::CppParser::AST::NativeLibrary*) native.ToPointer(), __ownsNativeInstance);
32+
}
33+
2834
CppSharp::Parser::AST::NativeLibrary::~NativeLibrary()
2935
{
3036
delete NativePtr;
@@ -185,6 +191,12 @@ CppSharp::Parser::AST::Comment::Comment(::CppSharp::CppParser::AST::Comment* nat
185191
{
186192
NativePtr = native;
187193
}
194+
195+
CppSharp::Parser::AST::Comment^ CppSharp::Parser::AST::Comment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
196+
{
197+
return gcnew ::CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*) native.ToPointer(), __ownsNativeInstance);
198+
}
199+
188200
CppSharp::Parser::AST::Comment::~Comment()
189201
{
190202
delete NativePtr;
@@ -248,6 +260,12 @@ CppSharp::Parser::AST::BlockContentComment::BlockContentComment(::CppSharp::CppP
248260
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance)
249261
{
250262
}
263+
264+
CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::BlockContentComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
265+
{
266+
return gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*) native.ToPointer(), __ownsNativeInstance);
267+
}
268+
251269
CppSharp::Parser::AST::BlockContentComment::~BlockContentComment()
252270
{
253271
}
@@ -299,6 +317,12 @@ CppSharp::Parser::AST::FullComment::FullComment(::CppSharp::CppParser::AST::Full
299317
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance)
300318
{
301319
}
320+
321+
CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::FullComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
322+
{
323+
return gcnew ::CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*) native.ToPointer(), __ownsNativeInstance);
324+
}
325+
302326
CppSharp::Parser::AST::FullComment::~FullComment()
303327
{
304328
if (NativePtr)
@@ -388,6 +412,12 @@ CppSharp::Parser::AST::InlineContentComment::InlineContentComment(::CppSharp::Cp
388412
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance)
389413
{
390414
}
415+
416+
CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::InlineContentComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
417+
{
418+
return gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*) native.ToPointer(), __ownsNativeInstance);
419+
}
420+
391421
CppSharp::Parser::AST::InlineContentComment::~InlineContentComment()
392422
{
393423
}
@@ -449,6 +479,12 @@ CppSharp::Parser::AST::ParagraphComment::ParagraphComment(::CppSharp::CppParser:
449479
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native, ownNativeInstance)
450480
{
451481
}
482+
483+
CppSharp::Parser::AST::ParagraphComment^ CppSharp::Parser::AST::ParagraphComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
484+
{
485+
return gcnew ::CppSharp::Parser::AST::ParagraphComment((::CppSharp::CppParser::AST::ParagraphComment*) native.ToPointer(), __ownsNativeInstance);
486+
}
487+
452488
CppSharp::Parser::AST::ParagraphComment::~ParagraphComment()
453489
{
454490
if (NativePtr)
@@ -550,6 +586,12 @@ CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(::CppSharp::CppPa
550586
{
551587
NativePtr = native;
552588
}
589+
590+
CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::Argument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
591+
{
592+
return gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*) native.ToPointer(), __ownsNativeInstance);
593+
}
594+
553595
CppSharp::Parser::AST::BlockCommandComment::Argument::~Argument()
554596
{
555597
delete NativePtr;
@@ -604,6 +646,12 @@ CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(::CppSharp::CppP
604646
: CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native, ownNativeInstance)
605647
{
606648
}
649+
650+
CppSharp::Parser::AST::BlockCommandComment^ CppSharp::Parser::AST::BlockCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
651+
{
652+
return gcnew ::CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*) native.ToPointer(), __ownsNativeInstance);
653+
}
654+
607655
CppSharp::Parser::AST::BlockCommandComment::~BlockCommandComment()
608656
{
609657
if (NativePtr)
@@ -732,6 +780,12 @@ CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(::CppSharp::CppP
732780
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance)
733781
{
734782
}
783+
784+
CppSharp::Parser::AST::ParamCommandComment^ CppSharp::Parser::AST::ParamCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
785+
{
786+
return gcnew ::CppSharp::Parser::AST::ParamCommandComment((::CppSharp::CppParser::AST::ParamCommandComment*) native.ToPointer(), __ownsNativeInstance);
787+
}
788+
735789
CppSharp::Parser::AST::ParamCommandComment::~ParamCommandComment()
736790
{
737791
if (NativePtr)
@@ -793,6 +847,12 @@ CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(::CppSharp::Cp
793847
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance)
794848
{
795849
}
850+
851+
CppSharp::Parser::AST::TParamCommandComment^ CppSharp::Parser::AST::TParamCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
852+
{
853+
return gcnew ::CppSharp::Parser::AST::TParamCommandComment((::CppSharp::CppParser::AST::TParamCommandComment*) native.ToPointer(), __ownsNativeInstance);
854+
}
855+
796856
CppSharp::Parser::AST::TParamCommandComment::~TParamCommandComment()
797857
{
798858
if (NativePtr)
@@ -880,6 +940,12 @@ CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(::CppS
880940
: CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance)
881941
{
882942
}
943+
944+
CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockLineComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
945+
{
946+
return gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*) native.ToPointer(), __ownsNativeInstance);
947+
}
948+
883949
CppSharp::Parser::AST::VerbatimBlockLineComment::~VerbatimBlockLineComment()
884950
{
885951
if (NativePtr)
@@ -931,6 +997,12 @@ CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(::CppSharp::Cp
931997
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance)
932998
{
933999
}
1000+
1001+
CppSharp::Parser::AST::VerbatimBlockComment^ CppSharp::Parser::AST::VerbatimBlockComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1002+
{
1003+
return gcnew ::CppSharp::Parser::AST::VerbatimBlockComment((::CppSharp::CppParser::AST::VerbatimBlockComment*) native.ToPointer(), __ownsNativeInstance);
1004+
}
1005+
9341006
CppSharp::Parser::AST::VerbatimBlockComment::~VerbatimBlockComment()
9351007
{
9361008
if (NativePtr)
@@ -1020,6 +1092,12 @@ CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(::CppSharp::CppP
10201092
: CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance)
10211093
{
10221094
}
1095+
1096+
CppSharp::Parser::AST::VerbatimLineComment^ CppSharp::Parser::AST::VerbatimLineComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1097+
{
1098+
return gcnew ::CppSharp::Parser::AST::VerbatimLineComment((::CppSharp::CppParser::AST::VerbatimLineComment*) native.ToPointer(), __ownsNativeInstance);
1099+
}
1100+
10231101
CppSharp::Parser::AST::VerbatimLineComment::~VerbatimLineComment()
10241102
{
10251103
if (NativePtr)
@@ -1073,6 +1151,12 @@ CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(::CppSharp::CppP
10731151
{
10741152
NativePtr = native;
10751153
}
1154+
1155+
CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::Argument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1156+
{
1157+
return gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*) native.ToPointer(), __ownsNativeInstance);
1158+
}
1159+
10761160
CppSharp::Parser::AST::InlineCommandComment::Argument::~Argument()
10771161
{
10781162
delete NativePtr;
@@ -1127,6 +1211,12 @@ CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(::CppSharp::Cp
11271211
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native, ownNativeInstance)
11281212
{
11291213
}
1214+
1215+
CppSharp::Parser::AST::InlineCommandComment^ CppSharp::Parser::AST::InlineCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1216+
{
1217+
return gcnew ::CppSharp::Parser::AST::InlineCommandComment((::CppSharp::CppParser::AST::InlineCommandComment*) native.ToPointer(), __ownsNativeInstance);
1218+
}
1219+
11301220
CppSharp::Parser::AST::InlineCommandComment::~InlineCommandComment()
11311221
{
11321222
if (NativePtr)
@@ -1239,6 +1329,12 @@ CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(::CppSharp::CppParser::AST
12391329
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native, ownNativeInstance)
12401330
{
12411331
}
1332+
1333+
CppSharp::Parser::AST::HTMLTagComment^ CppSharp::Parser::AST::HTMLTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1334+
{
1335+
return gcnew ::CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*) native.ToPointer(), __ownsNativeInstance);
1336+
}
1337+
12421338
CppSharp::Parser::AST::HTMLTagComment::~HTMLTagComment()
12431339
{
12441340
}
@@ -1292,6 +1388,12 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(::CppSharp::Cpp
12921388
{
12931389
NativePtr = native;
12941390
}
1391+
1392+
CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1393+
{
1394+
return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*) native.ToPointer(), __ownsNativeInstance);
1395+
}
1396+
12951397
CppSharp::Parser::AST::HTMLStartTagComment::Attribute::~Attribute()
12961398
{
12971399
delete NativePtr;
@@ -1356,6 +1458,12 @@ CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(::CppSharp::CppP
13561458
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native, ownNativeInstance)
13571459
{
13581460
}
1461+
1462+
CppSharp::Parser::AST::HTMLStartTagComment^ CppSharp::Parser::AST::HTMLStartTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1463+
{
1464+
return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment((::CppSharp::CppParser::AST::HTMLStartTagComment*) native.ToPointer(), __ownsNativeInstance);
1465+
}
1466+
13591467
CppSharp::Parser::AST::HTMLStartTagComment::~HTMLStartTagComment()
13601468
{
13611469
if (NativePtr)
@@ -1458,6 +1566,12 @@ CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(::CppSharp::CppParse
14581566
: CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native, ownNativeInstance)
14591567
{
14601568
}
1569+
1570+
CppSharp::Parser::AST::HTMLEndTagComment^ CppSharp::Parser::AST::HTMLEndTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1571+
{
1572+
return gcnew ::CppSharp::Parser::AST::HTMLEndTagComment((::CppSharp::CppParser::AST::HTMLEndTagComment*) native.ToPointer(), __ownsNativeInstance);
1573+
}
1574+
14611575
CppSharp::Parser::AST::HTMLEndTagComment::~HTMLEndTagComment()
14621576
{
14631577
if (NativePtr)
@@ -1509,6 +1623,12 @@ CppSharp::Parser::AST::TextComment::TextComment(::CppSharp::CppParser::AST::Text
15091623
: CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native, ownNativeInstance)
15101624
{
15111625
}
1626+
1627+
CppSharp::Parser::AST::TextComment^ CppSharp::Parser::AST::TextComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1628+
{
1629+
return gcnew ::CppSharp::Parser::AST::TextComment((::CppSharp::CppParser::AST::TextComment*) native.ToPointer(), __ownsNativeInstance);
1630+
}
1631+
15121632
CppSharp::Parser::AST::TextComment::~TextComment()
15131633
{
15141634
if (NativePtr)
@@ -1562,6 +1682,12 @@ CppSharp::Parser::AST::RawComment::RawComment(::CppSharp::CppParser::AST::RawCom
15621682
{
15631683
NativePtr = native;
15641684
}
1685+
1686+
CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::RawComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
1687+
{
1688+
return gcnew ::CppSharp::Parser::AST::RawComment((::CppSharp::CppParser::AST::RawComment*) native.ToPointer(), __ownsNativeInstance);
1689+
}
1690+
15651691
CppSharp::Parser::AST::RawComment::~RawComment()
15661692
{
15671693
delete NativePtr;

0 commit comments

Comments
 (0)