Beispiel #1
0
 public static IEnumerable <BlockCommandComment.Argument> GetArguments(this BlockCommandComment comment)
 {
     for (var x = 0; x < comment.ArgumentsCount; x++)
     {
         var argument = comment.getArguments((uint)x);
         yield return(argument);
     }
 }
Beispiel #2
0
 protected BlockCommandComment(BlockCommandComment.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.BlockContentComment.Internal*) native)
 {
 }
Beispiel #3
0
 private BlockCommandComment(BlockCommandComment.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Beispiel #4
0
 private static BlockCommandComment.Internal* __CopyValue(BlockCommandComment.Internal native)
 {
     var ret = Marshal.AllocHGlobal(32);
     CppSharp.Parser.AST.BlockCommandComment.Internal.cctor_3(ret, new global::System.IntPtr(&native));
     return (BlockCommandComment.Internal*) ret;
 }
Beispiel #5
0
 public static BlockCommandComment __CreateInstance(BlockCommandComment.Internal native)
 {
     return new BlockCommandComment(native);
 }
Beispiel #6
0
 protected BlockCommandComment(BlockCommandComment.Internal* native, bool skipVTables = false)
     : base((CppSharp.Parser.AST.BlockContentComment.Internal*) null)
 {
     __PointerAdjustment = 0;
     if (native == null)
         return;
     __Instance = new global::System.IntPtr(native);
 }
Beispiel #7
0
 private BlockCommandComment(BlockCommandComment.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Beispiel #8
0
 public static BlockCommandComment __CreateInstance(BlockCommandComment.Internal native, bool skipVTables = false)
 {
     return new BlockCommandComment(native, skipVTables);
 }
Beispiel #9
0
 private static void* __CopyValue(BlockCommandComment.__Internal native)
 {
     var ret = Marshal.AllocHGlobal(24);
     global::CppSharp.Parser.AST.BlockCommandComment.__Internal.cctor_2(ret, new global::System.IntPtr(&native));
     return ret.ToPointer();
 }
Beispiel #10
0
 public bool VisitBlockCommand(BlockCommandComment comment)
 {
     return(true);
 }
Beispiel #11
0
 public bool VisitBlockCommand(BlockCommandComment comment) => true;
Beispiel #12
0
 private static string GetCommentString(BlockCommandComment comment)
 {
     return(comment == null ? null : string.Join(" ", comment.ParagraphComment.Content.OfType <TextComment>().Select(x => x.Text.Trim())));
 }