private static void* __CopyValue(DependentNameType.__Internal native) { var ret = Marshal.AllocHGlobal(16); global::CppSharp.Parser.AST.DependentNameType.__Internal.cctor_2(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); }
public string VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { return(string.Empty); }
public string VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { throw new NotSupportedException( ); }
private DependentNameType(DependentNameType.Internal native) : this(__CopyValue(native)) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public bool VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { throw new NotImplementedException(); }
protected DependentNameType(DependentNameType.Internal* native, bool skipVTables = false) : base((CppSharp.Parser.AST.Type.Internal*) null) { __PointerAdjustment = 0; if (native == null) return; __Instance = new global::System.IntPtr(native); }
public static DependentNameType __CreateInstance(DependentNameType.Internal native) { return new DependentNameType(native); }
internal DependentNameType(DependentNameType.Internal* native) : this(new global::System.IntPtr(native)) { }
internal DependentNameType(DependentNameType.Internal native) : this(&native) { }
internal DependentNameType(DependentNameType.Internal native) : this(__CopyValue(native)) { }
private DependentNameType(DependentNameType.Internal native) : this(__CopyValue(native)) { __ownsNativeInstance = true; }
public virtual TypePrinterResult VisitDependentNameType( DependentNameType dependent, TypeQualifiers quals) { throw new NotImplementedException(); }
public bool VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { return(false); }
public string VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { return(dependent.Desugared.Type != null?dependent.Desugared.Visit(this) : string.Empty); }
public static DependentNameType __CreateInstance(DependentNameType.Internal native, bool skipVTables = false) { return new DependentNameType(native, skipVTables); }
public string VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { throw new System.NotImplementedException(); }
private DependentNameType(DependentNameType.Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
public abstract TRet VisitDependentName(DependentNameType type);
public override TypePrinterResult VisitDependentNameType( DependentNameType dependent, TypeQualifiers quals) { return(dependent.Qualifier.Type != null? dependent.Qualifier.Visit(this) : string.Empty); }
public TRet Visit(Parser.AST.Type type) { if (type.__Instance == IntPtr.Zero) { return(default(TRet)); } switch (type.Kind) { case TypeKind.Tag: { var _type = new TagType(type.__Instance); return(VisitTag(_type)); } case TypeKind.Array: { var _type = new ArrayType(type.__Instance); return(VisitArray(_type)); } case TypeKind.Function: { var _type = new FunctionType(type.__Instance); return(VisitFunction(_type)); } case TypeKind.Pointer: { var _type = new PointerType(type.__Instance); return(VisitPointer(_type)); } case TypeKind.MemberPointer: { var _type = new MemberPointerType(type.__Instance); return(VisitMemberPointer(_type)); } case TypeKind.Typedef: { var _type = new TypedefType(type.__Instance); return(VisitTypedef(_type)); } case TypeKind.Attributed: { var _type = new AttributedType(type.__Instance); return(VisitAttributed(_type)); } case TypeKind.Decayed: { var _type = new DecayedType(type.__Instance); return(VisitDecayed(_type)); } case TypeKind.TemplateSpecialization: { var _type = new TemplateSpecializationType(type.__Instance); return(VisitTemplateSpecialization(_type)); } case TypeKind.TemplateParameter: { var _type = new TemplateParameterType(type.__Instance); return(VisitTemplateParameter(_type)); } case TypeKind.TemplateParameterSubstitution: { var _type = new TemplateParameterSubstitutionType(type.__Instance); return(VisitTemplateParameterSubstitution(_type)); } case TypeKind.InjectedClassName: { var _type = new InjectedClassNameType(type.__Instance); return(VisitInjectedClassName(_type)); } case TypeKind.DependentName: { var _type = new DependentNameType(type.__Instance); return(VisitDependentName(_type)); } case TypeKind.Builtin: { var _type = new BuiltinType(type.__Instance); return(VisitBuiltin(_type)); } } throw new ArgumentOutOfRangeException(); }
private static DependentNameType.Internal* __CopyValue(DependentNameType.Internal native) { var ret = Marshal.AllocHGlobal(8); CppSharp.Parser.AST.DependentNameType.Internal.cctor_2(ret, new global::System.IntPtr(&native)); return (DependentNameType.Internal*) ret; }
public override bool VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { return(dependent.Qualifier.Visit(this)); }
protected DependentNameType(DependentNameType.Internal* native, bool isInternalImpl = false) : base((CppSharp.Parser.AST.Type.Internal*) native) { }
public override bool VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals) { Ignore(); return(false); }