Brian Anderson
784e2b7298
rustdoc: Extract common item fields into itemdoc
2012-02-17 16:00:39 -08:00
Marijn Haverbeke
4b63826050
Replace some explicit fails with 'alt check' invocations
2012-02-15 15:47:42 +01:00
Marijn Haverbeke
43ce38375d
Store item paths in ast_map, get rid of trans::local_ctxt
...
The direct motivation for this was that the monomorphizer needs to be
able to generate sane symbols for random items. The typechecker can
probably also use this in the future to provide more useful error
messages.
2012-02-03 11:34:12 +01:00
Brian Anderson
2b67de06c8
rustdoc: Add support for type items
2012-02-01 22:41:54 -08:00
Brian Anderson
fee9037765
rustdoc: Refactor tests
2012-01-31 19:32:27 -08:00
Brian Anderson
496205c85f
rustdoc: Pull impl docs out of attributes
2012-01-31 19:32:27 -08:00
Tim Chevalier
fba35e1a3c
Require alts to be exhaustive
...
middle::check_alt does the work. Lots of changes to add default cases
into alts that were previously inexhaustive.
2012-01-31 10:08:24 -08:00
Brian Anderson
2c495a9bf8
rustdoc: Add iface attribute docs to the doc tree
2012-01-30 19:37:32 -08:00
Brian Anderson
fe745f1b5d
rustdoc: Use fewer unique pointers
2012-01-30 13:05:25 -08:00
Brian Anderson
dbe2928c4d
rustdoc: Fix typo in attr_pass
2012-01-29 13:25:38 -08:00
Brian Anderson
f8c93bdbe1
rustdoc: Move mod docs into the item tag
2012-01-29 13:08:18 -08:00
Brian Anderson
9732e0d554
rustdoc: Move fn docs into the item tag
2012-01-29 12:47:06 -08:00
Brian Anderson
5aa6c3a49a
rustdoc: Move const docs into the item tag
2012-01-29 12:46:26 -08:00
Brian Anderson
d56a4dd04b
rustdoc: Move enum docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
40cbc89b6f
rustdoc: Move resource docs into the item tag
2012-01-29 11:38:44 -08:00
Brian Anderson
21fc2a36d8
rustdoc: Build resource arguments as well
2012-01-26 22:14:16 -08:00
Brian Anderson
ce7d150493
rustdoc: Add resource attribute docs to the doc tree
2012-01-26 21:39:20 -08:00
Brian Anderson
38908581f7
rustdoc: Rename astsrv::ctxt.map to ast_map
2012-01-26 11:05:21 -08:00
Brian Anderson
95a006ce52
rustdoc: Add enum doc attributes to the doc tree
2012-01-25 21:04:53 -08:00
Brian Anderson
efc067952d
rustdoc: Add fn failure conditions to the doc tree
2012-01-24 18:05:57 -08:00
Brian Anderson
e3be8e689d
rustdoc: Some refactoring in attr_pass
2012-01-24 00:38:36 -08:00
Brian Anderson
fbd704e77d
rustdoc: Add const attr docs to doc tree
2012-01-24 00:38:35 -08:00
Brian Anderson
50d8e9f2a1
Revert "rustdoc: Get the crate brief description from the 'desc' attr"
...
This reverts commit 521e58a3c4
.
Some crates use 'desc', some 'comment' - I want them to just use 'doc'
2012-01-23 16:23:08 -08:00
Brian Anderson
521e58a3c4
rustdoc: Get the crate brief description from the 'desc' attr
2012-01-23 15:16:14 -08:00
Brian Anderson
fdbe206a76
rustdoc: Make doc::retdoc non-optional
2012-01-19 19:14:29 -08:00
Brian Anderson
2d2bdfe845
rustdoc: Write markdown for function signatures
2012-01-19 18:59:02 -08:00
Brian Anderson
2a442f9f8f
rustdoc: Add function signatures to the doc tree
2012-01-19 18:14:17 -08:00
Brian Anderson
052340980b
rustdoc: Add function signature field to the doc::fndoc
2012-01-19 18:14:17 -08:00
Brian Anderson
df9bf1f45f
rustdoc: Attach return value descriptions to the doc tree
2012-01-19 14:35:18 -08:00
Tim Chevalier
5b028f527f
Remove support for the '.' after a nullary tag in a pattern
...
(Commit also includes lots of changes to remove '.'s that a git
merge messed up, or else it was monkeys.)
2012-01-19 01:04:59 -08:00
Brian Anderson
9df0306889
rustdoc: Cleanup
2012-01-19 00:14:41 -08:00
Brian Anderson
f77458a676
rustdoc: Remove nullary-tag dots
2012-01-19 00:08:51 -08:00
Brian Anderson
266cc7b0c3
rustdoc: Add fn arg descriptions to the doc tree
2012-01-18 22:24:29 -08:00
Brian Anderson
515fdb2863
rustdoc: Change field order on doc::fndoc
2012-01-18 21:57:18 -08:00
Brian Anderson
20b8509594
rustdoc: Add mod docs attrs to the doc tree
2012-01-18 19:59:24 -08:00
Brian Anderson
5bbf72e11c
rustdoc: Add brief and desc fields to module docs
2012-01-18 19:59:24 -08:00
Brian Anderson
29df58d73b
rustdoc: Introduce type doc::argdoc
2012-01-18 15:02:43 -08:00
Brian Anderson
92f63b90f9
rustdoc: Merge the crate's name attribute into the doc tree
2012-01-18 15:02:43 -08:00
Brian Anderson
e23e45bc6d
rustdoc: Add rustdocs
2012-01-17 17:45:37 -08:00
Brian Anderson
637f19965f
rustdoc: Convert markdown generation to a pass
2012-01-17 16:31:26 -08:00
Brian Anderson
a6bdaee7f9
rustdoc: Remove iface. Causing random crashes in resolve?
2012-01-17 16:31:26 -08:00
Brian Anderson
cf40b60b5a
rustdoc: Begin writting the attribute extracting pass
2012-01-16 21:12:35 -08:00
Brian Anderson
c87b820298
rustdoc: Add attr_pass for extracting attributes
2012-01-16 21:12:35 -08:00