aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable tt matcherEdwin Cheng2019-04-191-4/+8
|
* Add back missing assertEdwin Cheng2019-04-191-2/+3
|
* Fix bug for ident to lifetimeEdwin Cheng2019-04-191-0/+7
|
* Add vis matcherEdwin Cheng2019-04-194-0/+25
|
* Add literal matcherEdwin Cheng2019-04-193-0/+35
|
* Add lifetime matcherEdwin Cheng2019-04-194-2/+25
|
* add tt matcherEdwin Cheng2019-04-192-0/+28
|
* add block matcherEdwin Cheng2019-04-194-0/+33
|
* Add block matcherEdwin Cheng2019-04-194-0/+26
|
* Merge #1148bors[bot]2019-04-192-10/+142
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1148: Add token_tree_to_xxx functions r=matklad a=edwin0cheng <del>As discus in PR #1147 , this PR added a `mbe::MacroKind` . Currently only 2 kind of macro are supported, `SourceFile` and `Block`.</del> Added following functions for `tt::TokenTree` and `ast::Node` conversion: * token_tree_to_expr * token_tree_to_pat * token_tree_to_ty * token_tree_to_macro_stmts * token_tree_to_macro_items And added two new syntax kind: * MACRO_ITEMS * MACRO_STMTS Co-authored-by: Edwin Cheng <[email protected]>
| * Return Result for token_tree_to_xx functionsEdwin Cheng2019-04-182-14/+24
| |
| * Add expr, pat, ty and macro_stmtsEdwin Cheng2019-04-182-5/+98
| |
| * Add MacroItems and MacroStmts in grammer.ronEdwin Cheng2019-04-182-8/+37
| |
* | Fix missing last token in mbe $repeat parsingEdwin Cheng2019-04-182-1/+24
|/
* Add `item` matcher in mbeEdwin Cheng2019-04-184-0/+61
|
* Add mbe stmt matcherEdwin Cheng2019-04-174-0/+28
|
* Fix bug and add expr , pat , ty matcherEdwin Cheng2019-04-145-3/+148
|
* Remove skip Delimiter::None and handle DollarsEdwin Cheng2019-04-124-218/+243
|
* Refactoring and add some docsEdwin Cheng2019-04-082-83/+106
|
* Fixed infintite loop bugEdwin Cheng2019-04-081-30/+4
|
* Fixed empty node bugEdwin Cheng2019-04-081-10/+49
|
* Use SubtreeWalker instread of flatten TtTokenEdwin Cheng2019-04-084-258/+421
|
* Combine all tokensource to one and refactoringEdwin Cheng2019-04-075-86/+94
|
* Refactoring subtree_sourceEdwin Cheng2019-04-074-364/+386
|
* Add TtCursorTokenSource and TtCursorTokenSinkEdwin Cheng2019-04-062-24/+204
|
* Add path test and empty eat_path handlingEdwin Cheng2019-04-063-0/+31
|
* Add proper test for literals and fixed typo bugEdwin Cheng2019-04-052-4/+50
|
* Add classify_literal and undo expose next_tokenEdwin Cheng2019-04-052-6/+4
|
* Fix literal support in token tree to ast item listEdwin Cheng2019-04-052-2/+43
|
* Clean upEdwin Cheng2019-04-041-29/+29
|
* Add multi-byte token support in tkn tree to astEdwin Cheng2019-04-041-19/+137
|
* always show token textAleksey Kladov2019-04-021-8/+8
|
* switch to new rowanAleksey Kladov2019-04-011-39/+47
|
* hack around non-terminating macro expansionAleksey Kladov2019-03-171-0/+14
|
* add name resolution from the old implAleksey Kladov2019-03-171-10/+10
| | | | unlike the old impl, this also handles macro imports across crates
* Add expander unit testsWilco Kusee2019-03-031-4/+69
|
* Add parser unit testsWilco Kusee2019-03-033-6/+58
|
* Split parse and expand errorsWilco Kusee2019-03-034-72/+74
|
* FormattingWilco Kusee2019-03-021-10/+20
|
* Replace option with result in mbeWilco Kusee2019-03-024-74/+93
|
* Fix a typoDale Wijnand2019-02-261-4/+4
|
* renameAleksey Kladov2019-02-241-8/+8
|
* Add a test for macro parsingAleksey Kladov2019-02-232-10/+80
|
* implement tt -> astAleksey Kladov2019-02-232-5/+55
|
* keep-textAleksey Kladov2019-02-231-10/+17
|
* flatten ttAleksey Kladov2019-02-231-6/+55
|
* token source scaffoldAleksey Kladov2019-02-231-1/+22
|
* add interfaceAleksey Kladov2019-02-231-0/+5
|
* Fix some typosPascal Hertleif2019-02-122-4/+4
|
* docsAleksey Kladov2019-02-111-0/+8
|