Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | route parsing via TokenSource trait | Aleksey Kladov | 2019-02-20 | 3 | -64/+59 | |
| | ||||||
* | rename Sink -> TreeSink | Aleksey Kladov | 2019-02-20 | 3 | -8/+8 | |
| | ||||||
* | fix tests | Aleksey Kladov | 2019-02-20 | 2 | -4/+7 | |
| | ||||||
* | rearrange modules in a suggestd reading order | Aleksey Kladov | 2019-02-20 | 2 | -9/+10 | |
| | ||||||
* | flatten modules | Aleksey Kladov | 2019-02-20 | 15 | -40/+37 | |
| | ||||||
* | move reparsers to grammar | Aleksey Kladov | 2019-02-20 | 2 | -33/+27 | |
| | ||||||
* | tighten visibility | Aleksey Kladov | 2019-02-20 | 1 | -3/+3 | |
| | ||||||
* | move all parsing related bits to a separate module | Aleksey Kladov | 2019-02-20 | 31 | -47/+78 | |
| | ||||||
* | slightly better name | Aleksey Kladov | 2019-02-20 | 3 | -12/+20 | |
| | ||||||
* | make stuff private | Aleksey Kladov | 2019-02-20 | 1 | -2/+2 | |
| | ||||||
* | handle != operator | Aleksey Kladov | 2019-02-18 | 1 | -1/+4 | |
| | ||||||
* | Enable parsing attributes for generic lifetimes and type parameters | Ville Penttinen | 2019-02-17 | 3 | -9/+22 | |
| | ||||||
* | Remove match_armlist validator | Ville Penttinen | 2019-02-17 | 2 | -30/+0 | |
| | ||||||
* | Parse only outer_attributes for match arms for now | Ville Penttinen | 2019-02-17 | 2 | -16/+1 | |
| | ||||||
* | Enable parsing of attributes inside a match block | Ville Penttinen | 2019-02-17 | 8 | -1/+96 | |
| | | | | | | | We allow invalid inner attributes to be parsed, e.g. inner attributes that are not directly after the opening brace of the match block. Instead we run validation on `MatchArmList` to allow better reporting of errors. | |||||
* | Handle generic args for method calls | Florian Diebold | 2019-02-16 | 2 | -1/+5 | |
| | ||||||
* | Add generic params to impl blocks | Florian Diebold | 2019-02-16 | 2 | -1/+2 | |
| | ||||||
* | Import the prelude | Florian Diebold | 2019-02-13 | 2 | -1/+3 | |
| | ||||||
* | rename yellow -> syntax_node | Aleksey Kladov | 2019-02-12 | 17 | -18/+18 | |
| | | | | why yellow in the first place? Its red + green. | |||||
* | make macro a NameOwner | Aleksey Kladov | 2019-02-11 | 3 | -2/+8 | |
| | ||||||
* | Fix handling of literal patterns | Florian Diebold | 2019-02-09 | 4 | -16/+67 | |
| | | | | | Wrap them in a LiteralPat node so they can be distinguished from literal expressions. | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 25 | -278/+72 | |
| | ||||||
* | Fill deprecation for LSP | kjeremy | 2019-02-05 | 3 | -1/+12 | |
| | ||||||
* | Add AST for extern crate | Florian Diebold | 2019-02-04 | 3 | -3/+13 | |
| | | | | Also change it to parse the crate name as a NAME_REF, not a NAME. | |||||
* | Pass aliases to ImportData | Florian Diebold | 2019-02-01 | 2 | -1/+37 | |
| | ||||||
* | convert punts and literals | Aleksey Kladov | 2019-01-31 | 3 | -18/+113 | |
| | ||||||
* | Merge #692 | bors[bot] | 2019-01-31 | 7 | -0/+43 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 692: [WIP] Correctly parse attributes r=matklad a=DJMcNab Reference - https://doc.rust-lang.org/reference/attributes.html This fixes/investigates inner attributes for: - [x] `impl` blocks - [x] `extern` blocks - [x] `fn`s (fixes #689) - [x] `mod`s (already supported) - [x] 'block expressions' (the long text just describes all 'blocks' used as statements) This also investigates/fixes outer attributes for: - [ ] 'most statements' (see also: #685, https://doc.rust-lang.org/reference/expressions.html#expression-attributes) - [x] Enum variants, Struct and Union fields (Fixed in #507) - [ ] 'Match expression arms' (@matklad can you provide a test case which explains what this means?) - [ ] 'Generic lifetime or type parameters' - [ ] 'Elements of array expressions, tuple expressions, call expressions, tuple-style struct and enum variant expressions' - [ ] 'The tail expression of block expressions' Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Parse and validate attributes in blocks | DJMcNab | 2019-01-28 | 6 | -0/+36 | |
| | | ||||||
| * | Correctly parse inner attributes of impl blocks | DJMcNab | 2019-01-27 | 1 | -0/+7 | |
| | | ||||||
* | | Infer type of match guard | Marcus Klaas de Vries | 2019-01-28 | 3 | -4/+22 | |
| | | ||||||
* | | Typos | Erlend Tobiassen | 2019-01-27 | 1 | -2/+2 | |
|/ | ||||||
* | Merge #685 | bors[bot] | 2019-01-27 | 2 | -36/+47 | |
|\ | | | | | | | | | | | | | | | 685: Support attributes on let statements r=matklad a=DJMcNab Fix #677. Co-authored-by: DJMcNab <[email protected]> | |||||
| * | Stop using let_stmt twice | DJMcNab | 2019-01-27 | 1 | -43/+41 | |
| | | ||||||
| * | Make attrs be a child of the let statement | DJMcNab | 2019-01-26 | 2 | -7/+10 | |
| | | ||||||
| * | Support attributes on let statements | DJMcNab | 2019-01-26 | 1 | -20/+30 | |
| | | ||||||
* | | Merge #662 | bors[bot] | 2019-01-27 | 1 | -13/+62 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 662: Preserve indentation in doc comments r=matklad a=kjeremy Fixes #502 Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | | Make doc comments optional | Jeremy Kolb | 2019-01-26 | 1 | -5/+24 | |
| | | | ||||||
| * | | Do not unconditionally trim comments | Jeremy Kolb | 2019-01-26 | 1 | -2/+1 | |
| | | | ||||||
| * | | Preserve indentation in doc comments | Jeremy Kolb | 2019-01-26 | 1 | -9/+40 | |
| | | | ||||||
* | | | fix verification on CI | Aleksey Kladov | 2019-01-26 | 1 | -44/+0 | |
| | | | | | | | | | | | | remove `--verify` flag from the binaries: we have tests for this! | |||||
* | | | fix AST for if expressions | Aleksey Kladov | 2019-01-26 | 2 | -2/+60 | |
| |/ |/| | | | | | then is not always a block... | |||||
* | | Struct literals should not be a `BlockLike::Block` | DJMcNab | 2019-01-26 | 1 | -1/+1 | |
|/ | ||||||
* | Merge #660 | bors[bot] | 2019-01-26 | 1 | -1/+23 | |
|\ | | | | | | | | | | | | | | | 660: Support macro calls in type position r=matklad a=regiontog A [playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=fdc6dd4ddaece92a72fa2a292b75e27c) demonstrating the syntax in question. Co-authored-by: Erlend Tobiassen <[email protected]> | |||||
| * | Support macro calls in type position | Erlend Tobiassen | 2019-01-25 | 1 | -1/+23 | |
| | | ||||||
* | | rename POS_FIELD -> POS_FIELD_DEF | Aleksey Kladov | 2019-01-25 | 5 | -36/+36 | |
| | | | | | | | | to match NAMED_FIELD_DEF | |||||
* | | Add docs to struct fields | Jeremy A. Kolb | 2019-01-25 | 3 | -2/+3 | |
|/ | ||||||
* | Merge #630 | bors[bot] | 2019-01-25 | 2 | -24/+45 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 630: Fill in DocumentSymbol::detail r=matklad a=hban Closes: #516 I just pulled type text from the syntax node and "formatted" is bit. VS Code can't really handle multi-line symbol detail (it's will crop it when rendering), so that formatting will just collapse all white-space to singe space. It isn't pretty, but maybe there's a better way. Issue also mentions "need to be done for `NavigationTarget` to `SymbolInformation`", but `SymbolInformation` doesn't have detail field on it? Co-authored-by: Hrvoje Ban <[email protected]> | |||||
| * | Fill in DocumentSymbol::detail | Hrvoje Ban | 2019-01-24 | 2 | -24/+45 | |
| | | ||||||
* | | Merge #633 | bors[bot] | 2019-01-24 | 4 | -8/+523 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | use ToOwned trait instead of inherent method | Aleksey Kladov | 2019-01-24 | 4 | -8/+523 | |
| | | |