Mercurial > projects > ddmd
view dmd/STC.d @ 131:206db751bd4c
dmdfe 2.037 compiles now
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 10 Sep 2010 00:27:37 +0100 |
parents | 60bb0fe4563e |
children | af1bebfd96a4 |
line wrap: on
line source
module dmd.STC; enum STC { STCundefined = 0, STCstatic = 1, STCextern = 2, STCconst = 4, STCfinal = 8, STCabstract = 0x10, STCparameter = 0x20, STCfield = 0x40, STCoverride = 0x80, STCauto = 0x100, STCsynchronized = 0x200, STCdeprecated = 0x400, STCin = 0x800, // in parameter STCout = 0x1000, // out parameter STClazy = 0x2000, // lazy parameter STCforeach = 0x4000, // variable for foreach loop STCcomdat = 0x8000, // should go into COMDAT record STCvariadic = 0x10000, // variadic function argument STCctorinit = 0x20000, // can only be set inside constructor STCtemplateparameter = 0x40000, // template parameter STCscope = 0x80000, // template parameter STCinvariant = 0x100000, STCimmutable = 0x100000, STCref = 0x200000, STCinit = 0x400000, // has explicit initializer STCmanifest = 0x800000, // manifest constant STCnodtor = 0x1000000, // don't run destructor STCnothrow = 0x2000000, // never throws exceptions STCpure = 0x4000000, // pure function STCtls = 0x8000000, // thread local STCalias = 0x10000000, // alias parameter STCshared = 0x20000000, // accessible from multiple threads STCgshared = 0x40000000, // accessible from multiple threads // but not typed as "shared" STC_TYPECTOR = (STCconst | STCimmutable | STCshared), } import dmd.EnumUtils; mixin(BringToCurrentScope!(STC)); enum STCproperty = 0x100000000; enum STCsafe = 0x200000000; enum STCtrusted = 0x400000000; enum STCsystem = 0x800000000; alias ulong StorageClass;