示例#1
0
 public static IEnumerable <VerbatimBlockLineComment> GetLines(this VerbatimBlockComment comment)
 {
     for (var x = 0; x < comment.LinesCount; x++)
     {
         var line = comment.getLines((uint)x);
         yield return(line);
     }
 }
示例#2
0
文件: AST.cs 项目: RainsSoft/CppSharp
 protected VerbatimBlockComment(VerbatimBlockComment.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.BlockCommandComment.Internal*) native)
 {
 }
示例#3
0
文件: AST.cs 项目: RainsSoft/CppSharp
 private VerbatimBlockComment(VerbatimBlockComment.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
示例#4
0
文件: AST.cs 项目: RainsSoft/CppSharp
 private static VerbatimBlockComment.Internal* __CopyValue(VerbatimBlockComment.Internal native)
 {
     var ret = Marshal.AllocHGlobal(56);
     CppSharp.Parser.AST.VerbatimBlockComment.Internal.cctor_2(ret, new global::System.IntPtr(&native));
     return (VerbatimBlockComment.Internal*) ret;
 }
示例#5
0
文件: AST.cs 项目: RainsSoft/CppSharp
 public static VerbatimBlockComment __CreateInstance(VerbatimBlockComment.Internal native)
 {
     return new VerbatimBlockComment(native);
 }
示例#6
0
文件: AST.cs 项目: CSRedRat/CppSharp
 protected VerbatimBlockComment(VerbatimBlockComment.Internal* native, bool skipVTables = false)
     : base((CppSharp.Parser.AST.BlockCommandComment.Internal*) null)
 {
     __PointerAdjustment = 0;
     if (native == null)
         return;
     __Instance = new global::System.IntPtr(native);
 }
示例#7
0
文件: AST.cs 项目: CSRedRat/CppSharp
 private VerbatimBlockComment(VerbatimBlockComment.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
示例#8
0
文件: AST.cs 项目: CSRedRat/CppSharp
 public static VerbatimBlockComment __CreateInstance(VerbatimBlockComment.Internal native, bool skipVTables = false)
 {
     return new VerbatimBlockComment(native, skipVTables);
 }
示例#9
0
 private static void* __CopyValue(VerbatimBlockComment.__Internal native)
 {
     var ret = Marshal.AllocHGlobal(36);
     global::CppSharp.Parser.AST.VerbatimBlockComment.__Internal.cctor_1(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }
示例#10
0
 public bool VisitVerbatimBlock(VerbatimBlockComment comment)
 {
     return(true);
 }
示例#11
0
 public bool VisitVerbatimBlock(VerbatimBlockComment comment) => true;