Mercurial > projects > ddmd
view dmd/StringEntry.d @ 156:0c8cc2a10f99
+ ArrayInitializer.toAssocArrayLiteral()
+ FuncDeclaration.isUnique()
+ TypeEnum.alignsize()
+ TypeEnum.toChars()
+ TypeEnum.getProperty()
+ VarExp.equals()
+ expression.Util.fpunique()
* fixed missing default in TypeBasic
author | trass3r |
---|---|
date | Wed, 15 Sep 2010 18:24:39 +0200 |
parents | e28b18c23469 |
children | af724d3510d7 |
line wrap: on
line source
module dmd.StringEntry; import dmd.common; import dmd.StringValue; import dmd.Dchar; import dmd.Lstring; import core.stdc.stdlib; struct StringEntry { StringEntry* left; StringEntry* right; hash_t hash; StringValue value; this(immutable(dchar_t)[] s) { hash = Dchar.calcHash(s.ptr, s.length); value.lstring.string_ = s; } }