Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SSR: Match paths based on what they resolve to | David Lattimore | 2020-07-24 | 1 | -16/+1 |
| | | | | Also render template paths appropriately for their context. | ||||
* | SSR: Parse template as Rust code. | David Lattimore | 2020-07-24 | 1 | -32/+28 |
| | | | | | | This is in preparation for a subsequent commit where we add special handling for paths in the template, allowing them to be qualified differently in different contexts. | ||||
* | SSR: Change the way rules are stored internally. | David Lattimore | 2020-07-24 | 1 | -30/+76 |
| | | | | | | | | | | | | | | | | | | | | | | Previously we had: - Multiple rules - Each rule had its pattern parsed as an expression, path etc This meant that there were two levels at which there could be multiple rules. Now we just have multiple rules. If a pattern can parse as more than one kind of thing, then they get stored as multiple separate rules. We also now don't have separate fields for the different kinds of things that a pattern can parse as. This makes adding new kinds of things simpler. Previously, add_search_pattern would construct a rule with a dummy replacement. Now the replacement is an Option. This is slightly cleaner and also opens the way for parsing the replacement template as the same kind of thing as the search pattern. | ||||
* | SSR: Extract error code out to a separate module | David Lattimore | 2020-07-03 | 1 | -14/+3 |
| | | | | | This is to make reusing it outside of parsing easier in a subsequent change. | ||||
* | SSR: Use T! instead of SyntaxKind::* where possible | David Lattimore | 2020-07-02 | 1 | -11/+11 |
| | |||||
* | SSR: Add initial support for placeholder constraints | David Lattimore | 2020-07-01 | 1 | -5/+87 |
| | |||||
* | Fix some typos | David Lattimore | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | Use more of FxHash* | Laurențiu Nicola | 2020-06-29 | 1 | -1/+1 |
| | |||||
* | Allow SSR to match type references, items, paths and patterns | David Lattimore | 2020-06-22 | 1 | -0/+272 |
Part of #3186 |