about summary refs log tree commit diff
path: root/src/comp/syntax/visit.rs
AgeCommit message (Collapse)AuthorLines
2011-07-11Add nodes for embedding types and blocks in expressions for macros.Paul Stansifer-0/+6
2011-07-11Visit the type argument in a port expressionTim Chevalier-1/+8
This closes #664.
2011-07-11Implement record patternsMarijn Haverbeke-0/+3
Closes #469.
2011-07-11Move visit to newtype-style nominal typeMarijn Haverbeke-112/+110
This makes getting the function fields out of the visitor less cumbersome and more efficient (no take/drop).
2011-07-11Implement or-patterns in case clausesMarijn Haverbeke-1/+1
You can now say expr_move(?dst, ?src) | expr_assign(?dst, ?src) { ... } to match both expr_move and expr_assign. The names, types, and number of bound names have to match in all the patterns. Closes #449.
2011-07-07rustc: Change lots of AST nodes to use interior vectorsPatrick Walton-7/+7
2011-07-06Simplify AST for expr_anon_obj.Lindsey Kuper-1/+1
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+407
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.