summary refs log tree commit diff
path: root/src/libsyntax/visit.rs
AgeCommit message (Collapse)AuthorLines
2016-04-24thread tighter span for closures aroundNiko Matsakis-1/+1
Track the span corresponding to the `|...|` part of the closure.
2016-04-14Visit visibilities in the ast visitor's `walk_*` functionsJeffrey Seyfried-3/+6
2016-04-06Move span into `StructField`Vadim Petrochenkov-3/+3
2016-04-06Get rid of ast::StructFieldKindVadim Petrochenkov-1/+1
2016-04-02Add `Crate` and `Restricted` variants to `ast::Visibility`Jeffrey Seyfried-0/+10
2016-04-02Make `ast::Visibility` non-copyableJeffrey Seyfried-5/+5
2016-03-07implement the `?` operatorJorge Aparicio-0/+3
The `?` postfix operator is sugar equivalent to the try! macro, but is more amenable to chaining: `File::open("foo")?.metadata()?.is_dir()`. `?` is accepted on any *expression* that can return a `Result`, e.g. `x()?`, `y!()?`, `{z}?`, `(w)?`, etc. And binds more tightly than unary operators, e.g. `!x?` is parsed as `!(x?)`. cc #31436
2016-02-27libsyntax: parse inclusive rangesAlex Burka-1/+1
2016-02-13Split ast::PatKind::Enum into tuple struct and path patternsVadim Petrochenkov-1/+4
2016-02-13Rename ast::Pat_ and its variantsVadim Petrochenkov-12/+12
2016-02-11[breaking-change] don't glob export ast::TraitItemKind variantsOliver 'ker' Schneider-4/+4
2016-02-11[breaking-change] don't glob export ast::Item_ variantsOliver 'ker' Schneider-14/+14
2016-02-11[breaking-change] don't glob export ast::ForeignItem_ variantsOliver 'ker' Schneider-2/+2
2016-02-11[breaking-change] don't pub export ast::Stmt_ variantsOliver Schneider-3/+3
2016-02-11[breaking-change] don't pub export ast::Ty_ variantsOliver Schneider-12/+12
2016-02-11[breaking-change] don't glob export ast::Expr_ variantsOliver Schneider-33/+33
2016-02-11[breaking-change] don't glob export ast::ExplicitSelf_ variantsOliver Schneider-4/+4
2016-02-11[breaking-change] don't glob export ast::Decl_ variantsOliver Schneider-2/+2
2016-02-11[breaking-change] don't glob import ast::FunctionRetTy variantsOliver Schneider-1/+1
2015-12-22Stop re-exporting PathParameters's variants.Ms2ger-2/+2
2015-12-16Add ExprType to HIR and make everything compileVadim Petrochenkov-5/+1
+ Apply parser changes manually + Add feature gate
2015-12-16Implement type ascription.Eduard Burtescu-0/+4
2015-12-05Use a struct instead of a tuple for inline asm output operandsAmanieu d'Antras-2/+2
2015-12-05Add proper support for indirect output constraints in inline asmAmanieu d'Antras-1/+1
2015-11-26Moved and refactored ThinAttributesMarvin Löbel-1/+2
2015-11-26Add syntax support for attributes on expressions and all syntaxMarvin Löbel-1/+6
nodes in statement position. Extended #[cfg] folder to allow removal of statements, and of expressions in optional positions like expression lists and trailing block expressions. Extended lint checker to recognize lint levels on expressions and locals.
2015-11-17Auto merge of #29887 - sanxiyn:match-ref-pats, r=sfacklerbors-12/+12
2015-11-17Fix match_ref_pats flagged by ClippySeo Sanghyeon-12/+12
2015-11-16rename `ast::ImplItem_::*ImplItem` to `ast::ImplItemKind::*`Oliver Schneider-4/+4
2015-10-31Remove PatWildMultiVadim Petrochenkov-1/+1
2015-10-16Provide span for visit_enum_defVadim Petrochenkov-5/+8
2015-10-13Merge struct fields and struct kindVadim Petrochenkov-1/+1
2015-10-13Dict -> Struct, StructDef -> VariantData, def -> dataVadim Petrochenkov-4/+4
2015-10-13Provide span for visit_struct_def + remove some dead codeVadim Petrochenkov-3/+6
2015-10-13Remove now redundant NodeId from VariantVadim Petrochenkov-14/+13
2015-10-13Unify structures and enum variants in ASTVadim Petrochenkov-14/+1
2015-10-09Some cleanup of no longer used AST thingsNick Cameron-1/+1
2015-09-29Restore `if let`s replaced with `for`sVadim Petrochenkov-3/+3
2015-09-29Fill in some missing parts in the default HIR visitorVadim Petrochenkov-11/+18
2015-09-28Fill in some missing parts in the default AST visitorVadim Petrochenkov-339/+249
+ Add helper macro for walking lists (including Options)
2015-09-24Remove the deprecated box(PLACE) syntax.Eduard Burtescu-2/+5
2015-09-17Resolve prefix in imports with empty bracesVadim Petrochenkov-2/+1
2015-09-17Workaround for imports with empty bracesVadim Petrochenkov-2/+2
2015-09-17Correctly walk import lists in AST visitorsVadim Petrochenkov-19/+21
2015-08-26Rename FnKind variants and stop re-exporting them from the visit module.Ms2ger-13/+11
There is no longer a need for that pattern, since enums are now qualified.
2015-08-16FnFnBlock -> FkClosureManish Goregaokar-4/+4
2015-08-16Impl Eq/PartialEq on FnKind, improve docsManish Goregaokar-3/+2
2015-08-14move InlinedItem into librustc, where it belongsNiko Matsakis-11/+0
2015-08-10Auto merge of #27451 - seanmonstar:use-groups-as, r=alexcrichtonbors-2/+9
An implementation of [RFC 1219](https://github.com/rust-lang/rfcs/pull/1219). The RFC is not merged yet, but once merged, this could be.
2015-08-08rustc: rename multiple imports in a listSean McArthur-2/+9