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