summary refs log tree commit diff
path: root/src/libsyntax/attr/mod.rs
AgeCommit message (Expand)AuthorLines
2019-10-27syntax/attr: reduce reliance on parserMazdak Farrokhzad-27/+2
2019-10-25move Attribute::with_desugared_doc to librustdocMazdak Farrokhzad-27/+2
2019-10-18Change `MetaItem::tokens()` to `MetaItem::token_trees_and_joints()`.Nicholas Nethercote-17/+26
2019-10-18Change `Lit::tokens()` to `Lit::token_tree()`.Nicholas Nethercote-4/+5
2019-10-16move syntax::ext to new crate syntax_expandMazdak Farrokhzad-2/+2
2019-10-16syntax: reduce visibilitiesMazdak Farrokhzad-3/+3
2019-10-16syntax: extract parse_cfg_attrMazdak Farrokhzad-1/+0
2019-10-16syntax: extract parse_derive_pathsMazdak Farrokhzad-15/+3
2019-10-15syntax::parse::sess -> syntax::sessMazdak Farrokhzad-1/+2
2019-10-14Remove the `Option` in `TokenStream`.Nicholas Nethercote-1/+1
2019-09-30syntax: Support modern attribute syntax in the `meta` matcherVadim Petrochenkov-5/+11
2019-09-30syntax: Split `ast::Attribute` into container and inner partsVadim Petrochenkov-7/+7
2019-09-26Rename `MetaItem.node` to `MetaItem.kind`varkor-18/+18
2019-09-26Rename `Stmt.node` to `Stmt.kind`varkor-2/+2
2019-09-26Rename `Lit.node` to `Lit.kind`varkor-1/+1
2019-09-24Stabilize `str::len`, `[T]::len`, `is_empty` and `str::as_bytes` as const fnOliver Scherer-0/+24
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: libsyntaxAlexander Regueiro-21/+22
2019-09-06Move injection of attributes from command line to `libsyntax_ext`Vadim Petrochenkov-46/+13
2019-08-27Cleanup: Consistently use `Param` instead of `Arg` #62426Kevin Per-1/+1
2019-08-15`Ident::with_empty_ctxt` -> `Ident::with_dummy_span`Vadim Petrochenkov-2/+2
2019-08-15Remove `Spanned` from `mk_name_value_item_str` and `expr_to_spanned_string`Vadim Petrochenkov-5/+7
2019-08-14Merge Variant and Variant_Caio-1/+1
2019-08-05Make mk_attr_id private to libsyntaxMark Rousskov-1/+1
2019-08-05Drop explicit span argument from mk_name_value_itemMark Rousskov-2/+3
2019-08-05Drop span argument from mk_list_itemMark Rousskov-2/+2
2019-07-31Remove span argument from mk_attr_{inner,outer}Mark Rousskov-4/+4
2019-07-31Remove AttrId from Attribute constructorsMark Rousskov-14/+16
2019-07-31Unify spanned and non-spanned Attribute ctorsMark Rousskov-14/+4
2019-07-23Normalize use of backticks in compiler messages for libsyntax/*Samy Kacimi-2/+2
2019-07-06privacy: Only opaque macros leak private thingsVadim Petrochenkov-5/+1
2019-07-05Rollup merge of #61545 - flip1995:internal_lints, r=oli-obkMazdak Farrokhzad-1/+1
2019-07-03Remove needless lifetimesJeremy Stucki-3/+3
2019-06-24Use symbols in lint tool listflip1995-1/+1
2019-06-24Turn internal lints into tool lintsflip1995-1/+1
2019-06-12Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkovbors-1/+1
2019-06-09Allow attributes in formal function parametersCaio-1/+1
2019-06-08syntax: Move most of the `TokenKind` methods to `Token`Vadim Petrochenkov-3/+2
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-2/+2
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-3/+6
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-5/+5
2019-06-06syntax: Use `Token` in some more placesVadim Petrochenkov-2/+2
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-5/+5
2019-06-06syntax: Add some helper methods to `Token`Vadim Petrochenkov-2/+2
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-19/+18
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-2/+2
2019-06-06Always use token kinds through `token` module rather than `Token` typeVadim Petrochenkov-11/+11
2019-05-24Tweak macro parse errors when reaching EOF during macro call parseEsteban Küber-1/+8
2019-05-23syntax: Return named errors from literal parsing functionsVadim Petrochenkov-2/+2
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-2/+2
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-4/+4