about summary refs log tree commit diff
path: root/src/libsyntax/util/parser.rs
AgeCommit message (Collapse)AuthorLines
2018-05-24restore emplacement syntax (obsolete)Niko Matsakis-5/+11
2018-04-12AST/HIR: Merge field access expressions for named and numeric fieldsVadim Petrochenkov-3/+0
2018-04-03Remove all unstable placement featuresAidan Hobson Sayers-10/+4
Closes #22181, #27779
2018-01-15Move `ExprPrecedence` to `libsyntax/util/parser.rs`Esteban Küber-0/+126
2018-01-15Use single source of truth for expr precedenceEsteban Küber-61/+1
Introduce a new unified type that holds the expression precedence for both AST and HIR nodes.
2017-11-06Using `...` in expressions is now an errorBadel2-1/+2
2017-09-22Add support for `..=` syntaxAlex Burka-8/+9
Add ..= to the parser Add ..= to libproc_macro Add ..= to ICH Highlight ..= in rustdoc Update impl Debug for RangeInclusive to ..= Replace `...` to `..=` in range docs Make the dotdoteq warning point to the ... Add warning for ... in expressions Updated more tests to the ..= syntax Updated even more tests to the ..= syntax Updated the inclusive_range entry in unstable book
2017-09-07pprust: increase precedence of block-like exprsStuart Pernsteiner-11/+9
2017-09-06pprust: fix parenthesization of exprsStuart Pernsteiner-1/+105
2016-11-20Move `syntax::util::interner` -> `syntax::symbol`, cleanup.Jeffrey Seyfried-1/+2
2016-02-27libsyntax: parse inclusive rangesAlex Burka-5/+9
2016-02-11[breaking-change] don't glob export ast::BinOp_Oliver Schneider-40/+40
2015-12-16Add ExprType to HIR and make everything compileVadim Petrochenkov-7/+9
+ Apply parser changes manually + Add feature gate
2015-10-27Fix restrictions when parsing rhs of equalitiesSimonas Kazlauskas-0/+10
2015-10-27Fix prefix range expressions being not parsedSimonas Kazlauskas-0/+9
2015-10-27Generalise associative operator parsingSimonas Kazlauskas-0/+191
This commit generalises parsing of associative operators from left-associative only (with some ugly hacks to support right-associative assignment) to properly left/right-associative operators. Parsing still is not general enough to handle non-associative, non-highest-precedence prefix or non-highest-precedence postfix operators (e.g. `..` range syntax), though. That should be fixed in the future. Lastly, this commit adds support for parsing right-associative `<-` (left arrow) operator with precedence higher than assignment as the operator for placement-in feature.