Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rearrange methods | Aleksey Kladov | 2019-02-21 | 1 | -67/+67 | |
| | ||||||
* | kill utils module | Aleksey Kladov | 2019-02-21 | 5 | -97/+92 | |
| | ||||||
* | docs | Aleksey Kladov | 2019-02-21 | 8 | -83/+104 | |
| | ||||||
* | fix compilation | Aleksey Kladov | 2019-02-21 | 6 | -52/+30 | |
| | ||||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 21 | -4217/+0 | |
| | ||||||
* | make grammar independent of syntax tree | Aleksey Kladov | 2019-02-21 | 2 | -14/+18 | |
| | ||||||
* | minor | Aleksey Kladov | 2019-02-21 | 1 | -1/+1 | |
| | ||||||
* | move whitespace handling to tree builder | Aleksey Kladov | 2019-02-21 | 4 | -188/+159 | |
| | ||||||
* | move syntax error to parser | Aleksey Kladov | 2019-02-20 | 6 | -25/+24 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-02-20 | 5 | -29/+4 | |
| | ||||||
* | remove TokenPos | Aleksey Kladov | 2019-02-20 | 3 | -49/+28 | |
| | ||||||
* | flattern module structure | Aleksey Kladov | 2019-02-20 | 5 | -14/+30 | |
| | ||||||
* | merge parse_impl and parser_api | Aleksey Kladov | 2019-02-20 | 2 | -171/+102 | |
| | ||||||
* | fix off by one error | Aleksey Kladov | 2019-02-20 | 1 | -1/+1 | |
| | ||||||
* | move abstract traits to top | Aleksey Kladov | 2019-02-20 | 4 | -65/+59 | |
| | ||||||
* | switch to dynamic dispatch for TokenSource | Aleksey Kladov | 2019-02-20 | 2 | -9/+7 | |
| | | | | | | | | | | | Benchmarks show no difference. This is probably because we are bottlenecked on memory allocations, and we should fix that, but we are not optimizing for performance just yet. changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch token-source # Changes to be committed: # modified: crates/ra_syntax/src/parsing/parser_api.rs # modified: crates/ra_syntax/src/parsing/parser_impl.rs # | |||||
* | 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 | |
| | |