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