Example #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);
     }
 }
Example #2
0
 protected BlockCommandComment(BlockCommandComment.Internal* native, bool isInternalImpl = false)
     : base((CppSharp.Parser.AST.BlockContentComment.Internal*) native)
 {
 }
Example #3
0
 private BlockCommandComment(BlockCommandComment.Internal native)
     : this(__CopyValue(native))
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Example #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;
 }
Example #5
0
 public static BlockCommandComment __CreateInstance(BlockCommandComment.Internal native)
 {
     return new BlockCommandComment(native);
 }
Example #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);
 }
Example #7
0
 private BlockCommandComment(BlockCommandComment.Internal native, bool skipVTables = false)
     : this(__CopyValue(native), skipVTables)
 {
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
 }
Example #8
0
 public static BlockCommandComment __CreateInstance(BlockCommandComment.Internal native, bool skipVTables = false)
 {
     return new BlockCommandComment(native, skipVTables);
 }
Example #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();
 }
Example #10
0
 public bool VisitBlockCommand(BlockCommandComment comment)
 {
     return(true);
 }
Example #11
0
 public bool VisitBlockCommand(BlockCommandComment comment) => true;
Example #12
0
 private static string GetCommentString(BlockCommandComment comment)
 {
     return(comment == null ? null : string.Join(" ", comment.ParagraphComment.Content.OfType <TextComment>().Select(x => x.Text.Trim())));
 }