示例#1
0
        public CSharpTypePrinter(Driver driver)
        {
            this.driver = driver;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }
示例#2
0
        public CSharpTypePrinter(BindingContext context)
        {
            Context      = context;
            contexts     = new Stack <CSharpTypePrinterContextKind>();
            marshalKinds = new Stack <CSharpMarshalKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);
            PushMarshalKind(CSharpMarshalKind.Unknown);

            TypePrinterContext = new CSharpTypePrinterContext();
        }
示例#3
0
        public CSharpTypePrinter(ITypeMapDatabase database, ASTContext context)
        {
            TypeMapDatabase = database;
            AstContext      = context;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }
示例#4
0
        public CSharpTypePrinter(ITypeMapDatabase database, Library library)
        {
            TypeMapDatabase = database;
            Library         = library;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }
示例#5
0
        public CSharpTypePrinter(Driver driver)
        {
            this.driver = driver;

            contexts     = new Stack <CSharpTypePrinterContextKind>();
            marshalKinds = new Stack <CSharpMarshalKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);
            PushMarshalKind(CSharpMarshalKind.Unknown);

            Context = new CSharpTypePrinterContext();
        }
示例#6
0
        public CSharpTypePrinter(ITypeMapDatabase database, DriverOptions driverOptions, ASTContext context)
        {
            TypeMapDatabase    = database;
            this.driverOptions = driverOptions;
            AstContext         = context;

            contexts = new Stack <CSharpTypePrinterContextKind>();
            PushContext(CSharpTypePrinterContextKind.Managed);

            Context = new CSharpTypePrinterContext();
        }