about summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
AgeCommit message (Collapse)AuthorLines
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-14Removed the obsolete ast::CallSugar (previously used by `do`).Eduard Burtescu-9/+3
2014-02-14Refactored ast_map and friends, mainly to have Paths without storing them.Eduard Burtescu-3/+2
2014-02-13Replace `crate` usage with `krate`Flavio Percoco-1/+1
This patch replaces all `crate` usage with `krate` before introducing the new keyword. This ensures that after introducing the keyword, there won't be any compilation errors. krate might not be the most expressive substitution for crate but it's a very close abbreviation for it. `module` was already used in several places already.
2014-02-07Removed @self and @Trait.Eduard Burtescu-2/+1
2014-02-06Remove reference to @str in commentFlorian Hahn-2/+2
2014-02-05pull extra::{serialize, ebml} into a separate libserialize crateJeff Olson-2/+3
- `extra::json` didn't make the cut, because of `extra::json` required dep on `extra::TreeMap`. If/when `extra::TreeMap` moves out of `extra`, then `extra::json` could move into `serialize` - `libextra`, `libsyntax` and `librustc` depend on the newly created `libserialize` - The extensions to various `extra` types like `DList`, `RingBuf`, `TreeMap` and `TreeSet` for `Encodable`/`Decodable` were moved into the respective modules in `extra` - There is some trickery, evident in `src/libextra/lib.rs` where a stub of `extra::serialize` is set up (in `src/libextra/serialize.rs`) for use in the stage0 build, where the snapshot rustc is still making deriving for `Encodable` and `Decodable` point at extra. Big props to @huonw for help working out the re-export solution for this extra: inline extra::serialize stub fix stuff clobbered in rebase + don't reexport serialize::serialize no more globs in libserialize syntax: fix import of libserialize traits librustc: fix bad imports in encoder/decoder add serialize dep to librustdoc fix failing run-pass tests w/ serialize dep adjust uuid dep more rebase de-clobbering for libserialize fixing tests, pushing libextra dep into cfg(test) fix doc code in extra::json adjust index.md links to serialize and uuid library
2014-02-02syntax: remove the unused Vstore enum.Huon Wilson-9/+0
Seems to have been replaced by ExprVstore.
2014-02-02syntax: remove the handling of @str and @[] from the parser completely.Huon Wilson-1/+0
2014-02-02syntax: convert LitBinary from @[u8] to Rc<~[u8]>.Huon Wilson-1/+2
2014-02-02libsyntax: Remove the `interner_get` function and all usesPatrick Walton-3/+4
2014-02-02libsyntax: Remove all `@str` from the ASTPatrick Walton-5/+5
2014-02-02libsyntax: Make float literals not use `@str`Patrick Walton-2/+2
2014-02-02libsyntax: De-`@str` literal strings in the ASTPatrick Walton-1/+1
2014-02-02libsyntax: Introduce an `InternedString` type to reduce `@str` in thePatrick Walton-4/+5
compiler and use it for attributes
2014-01-31Fix minor doc typosVirgile Andreani-2/+2
2014-01-30Implement default type parameters in generics.Eduard Burtescu-1/+2
2014-01-29Removing support for the do syntax from libsyntax and librustc.Scott Lawrence-2/+0
Fixes #10815.
2014-01-27Demote self to an (almost) regular argument and remove the env param.Eduard Burtescu-17/+34
Fixes #10667 and closes #10259.
2014-01-21Remove unnecessary parentheses.Huon Wilson-1/+1
2014-01-17syntax::ast: Remove/Recover testsklutzy-106/+15
`xorpush_test` and `test_marksof` are at `syntax::ast_util`. Fixes #7952
2014-01-15register snapshotsDaniel Micay-7/+0
2014-01-14auto merge of #11485 : eddyb/rust/sweep-old-rust, r=nikomatsakisbors-4/+4
2014-01-13librustc: Remove `@` pointer patterns from the languagePatrick Walton-1/+0
2014-01-12Removed remnants of `@mut` and `~mut` from comments and the type system.Eduard Burtescu-4/+4
2014-01-09auto merge of #11055 : pcwalton/rust/placement-box, r=pcwaltonbors-0/+2
r? @nikomatsakis
2014-01-09librustc: Implement placement `box` for GC and unique pointers.Patrick Walton-0/+2
2014-01-09libsyntax: Renamed types, traits and enum variants to CamelCase.Eduard Burtescu-215/+222
2014-01-07'borrowed pointer' -> 'reference'Brian Anderson-1/+1
2014-01-03librustc: Remove `@mut` support from the parserPatrick Walton-3/+2
2014-01-03libsyntax: De-`@mut` `SCTable::rename_memo`Patrick Walton-1/+1
2014-01-03libsyntax: De-`@mut` `SCTable::mark_memo`Patrick Walton-3/+3
2014-01-03libsyntax: De-`@mut` `SCTable::table`Patrick Walton-1/+2
2014-01-01Remove `extern mod foo (name="bar")` syntax, closes #9543Florian Hahn-1/+1
2013-12-17Remove obsolete mutability from ast::TySeo Sanghyeon-3/+3
2013-12-08Fix comment on ast::DefStructKiet Tran-3/+8
2013-12-01auto merge of #10750 : Blei/rust/no-at-struct-field, r=alexcrichtonbors-3/+3
2013-12-01ast: Remove one `@` and fix the falloutPhilipp Brüschweiler-3/+3
2013-12-01Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵Eduard Burtescu-31/+38
critical enum sizes.
2013-11-28Register new snapshotsAlex Crichton-1/+1
2013-11-27Freeze the AST by removing a couple of unused @mut ~[T] from token_tree.Eduard Burtescu-2/+14
2013-11-27Shink NodeId, CrateNum, Name and Mrk down to 32 bits on x64.Eduard Burtescu-7/+7
2013-11-24Add comments to ast, ast_map, ty, and pat_utilKiet Tran-0/+11
2013-11-21Remove ty_macSeo Sanghyeon-1/+0
2013-11-18Use '..' as slice wildcard in vectorsBrian Anderson-0/+1
2013-11-08Address comments from @pnkfelix (thanks for the detailed review)Niko Matsakis-6/+0
2013-11-08Rename and modernize region enum namesNiko Matsakis-2/+2
2013-11-08Generalize AST and ty::Generics to accept multiple lifetimes.Niko Matsakis-5/+5
2013-11-08Create a new pass to resolve named lifetimes; rscope is not onlyNiko Matsakis-0/+14
used to indicate when anonymous regions (i.e., &T) are permitted
2013-11-05auto merge of #10285 : sfackler/rust/weird-derivings, r=huonwbors-3/+0
They seem to have been added by accident.