summary refs log tree commit diff
path: root/src/rustc/syntax/ext/auto_serialize.rs
AgeCommit message (Collapse)AuthorLines
2012-03-26rustc: Begin eliminating ext's dependency on the sessionBrian Anderson-11/+8
2012-03-16Check kind bounds when calling methodsMarijn Haverbeke-2/+4
Closes #1915
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-2/+2
Instead of using the new_ prefix just name them after their type
2012-03-14fixup auto_serialize's treatment of nullary variantsNiko Matsakis-3/+10
2012-03-14fix auto_serialize for enums with type parametersNiko Matsakis-32/+40
2012-03-14adjust auto_serialize to generate fns named serialize_T()Niko Matsakis-79/+64
We used to generate a module T with a serialize() and deserialize() fn, but this was suboptimal for a number of reasons: - it required moving serialization into core so that uint etc worked - it was harder to override the serialization behavior locally (this is now trivial)
2012-03-13implement deserialization, rename mk_mem_buffer() to mem_buffer()Niko Matsakis-142/+377
2012-03-13first (functional) version of the auto_serialize syntax extNiko Matsakis-106/+163
2012-03-13fixup serialize_variantNiko Matsakis-0/+564