|
|
@ -136,11 +136,12 @@ namespace CppSharp |
|
|
|
{ |
|
|
|
{ |
|
|
|
Any = 0, |
|
|
|
Any = 0, |
|
|
|
BinaryOperator = 1, |
|
|
|
BinaryOperator = 1, |
|
|
|
DeclRefExprClass = 2, |
|
|
|
CallExprClass = 2, |
|
|
|
CXXConstructExprClass = 3, |
|
|
|
DeclRefExprClass = 3, |
|
|
|
CXXOperatorCallExpr = 4, |
|
|
|
CXXConstructExprClass = 4, |
|
|
|
ImplicitCastExpr = 5, |
|
|
|
CXXOperatorCallExpr = 5, |
|
|
|
ExplicitCastExpr = 6 |
|
|
|
ImplicitCastExpr = 6, |
|
|
|
|
|
|
|
ExplicitCastExpr = 7 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public enum TemplateSpecializationKind |
|
|
|
public enum TemplateSpecializationKind |
|
|
@ -4888,6 +4889,123 @@ namespace CppSharp |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class CallExpr : CppSharp.Parser.AST.Expression, IDisposable |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 44)] |
|
|
|
|
|
|
|
public new partial struct Internal |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
[FieldOffset(0)] |
|
|
|
|
|
|
|
public CppSharp.Parser.AST.StatementClass Class; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[FieldOffset(4)] |
|
|
|
|
|
|
|
public global::System.IntPtr Decl; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
|
|
|
EntryPoint="??0CallExpr@AST@CppParser@CppSharp@@QAE@ABV0123@@Z")] |
|
|
|
|
|
|
|
internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
|
|
|
EntryPoint="??1CallExpr@AST@CppParser@CppSharp@@QAE@XZ")] |
|
|
|
|
|
|
|
internal static extern void dtor_0(global::System.IntPtr instance, int delete); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
|
|
|
EntryPoint="?getArguments@CallExpr@AST@CppParser@CppSharp@@QAEPAVExpression@234@I@Z")] |
|
|
|
|
|
|
|
internal static extern global::System.IntPtr getArguments_0(global::System.IntPtr instance, uint i); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
|
|
|
EntryPoint="?addArguments@CallExpr@AST@CppParser@CppSharp@@QAEXAAPAVExpression@234@@Z")] |
|
|
|
|
|
|
|
internal static extern void addArguments_0(global::System.IntPtr instance, global::System.IntPtr s); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
|
|
|
EntryPoint="?clearArguments@CallExpr@AST@CppParser@CppSharp@@QAEXXZ")] |
|
|
|
|
|
|
|
internal static extern void clearArguments_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressUnmanagedCodeSecurity] |
|
|
|
|
|
|
|
[DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, |
|
|
|
|
|
|
|
EntryPoint="?getArgumentsCount@CallExpr@AST@CppParser@CppSharp@@QAEIXZ")] |
|
|
|
|
|
|
|
internal static extern uint getArgumentsCount_0(global::System.IntPtr instance); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static new CallExpr __CreateInstance(global::System.IntPtr native, bool ownsNativeInstance = false, bool skipVTables = false) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return new CallExpr((CallExpr.Internal*) native, skipVTables) { __ownsNativeInstance = ownsNativeInstance }; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static CallExpr __CreateInstance(CallExpr.Internal native, bool skipVTables = false) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return new CallExpr(native, skipVTables); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static CallExpr.Internal* __CopyValue(CallExpr.Internal native) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var ret = Marshal.AllocHGlobal(44); |
|
|
|
|
|
|
|
CppSharp.Parser.AST.CallExpr.Internal.cctor_2(ret, new global::System.IntPtr(&native)); |
|
|
|
|
|
|
|
return (CallExpr.Internal*) ret; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private CallExpr(CallExpr.Internal native, bool skipVTables = false) |
|
|
|
|
|
|
|
: this(__CopyValue(native), skipVTables) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected CallExpr(CallExpr.Internal* native, bool skipVTables = false) |
|
|
|
|
|
|
|
: base((CppSharp.Parser.AST.Expression.Internal*) null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
__PointerAdjustment = 0; |
|
|
|
|
|
|
|
if (native == null) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
__Instance = new global::System.IntPtr(native); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CallExpr(CppSharp.Parser.AST.CallExpr _0) |
|
|
|
|
|
|
|
: this((Internal*) null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
__Instance = Marshal.AllocHGlobal(44); |
|
|
|
|
|
|
|
__ownsNativeInstance = true; |
|
|
|
|
|
|
|
NativeToManagedMap[__Instance] = this; |
|
|
|
|
|
|
|
var arg0 = ReferenceEquals(_0, null) ? global::System.IntPtr.Zero : _0.__Instance; |
|
|
|
|
|
|
|
Internal.cctor_2((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CppSharp.Parser.AST.Expression getArguments(uint i) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ret = Internal.getArguments_0((__Instance + __PointerAdjustment), i); |
|
|
|
|
|
|
|
CppSharp.Parser.AST.Expression __result0; |
|
|
|
|
|
|
|
if (__ret == IntPtr.Zero) __result0 = null; |
|
|
|
|
|
|
|
else if (CppSharp.Parser.AST.Expression.NativeToManagedMap.ContainsKey(__ret)) |
|
|
|
|
|
|
|
__result0 = (CppSharp.Parser.AST.Expression) CppSharp.Parser.AST.Expression.NativeToManagedMap[__ret]; |
|
|
|
|
|
|
|
else __result0 = CppSharp.Parser.AST.Expression.__CreateInstance(__ret); |
|
|
|
|
|
|
|
return __result0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void addArguments(CppSharp.Parser.AST.Expression s) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var arg0 = ReferenceEquals(s, null) ? global::System.IntPtr.Zero : s.__Instance; |
|
|
|
|
|
|
|
Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void clearArguments() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Internal.clearArguments_0((__Instance + __PointerAdjustment)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public uint ArgumentsCount |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var __ret = Internal.getArgumentsCount_0((__Instance + __PointerAdjustment)); |
|
|
|
|
|
|
|
return __ret; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public unsafe partial class CXXConstructExpr : CppSharp.Parser.AST.Expression, IDisposable |
|
|
|
public unsafe partial class CXXConstructExpr : CppSharp.Parser.AST.Expression, IDisposable |
|
|
|
{ |
|
|
|
{ |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 44)] |
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 44)] |
|
|
|