Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove dead code | Aleksey Kladov | 2020-08-19 | 1 | -25/+15 | |
| | ||||||
* | Apply couple of rule of thumbs to simplify highlighting code | Aleksey Kladov | 2020-08-19 | 1 | -19/+16 | |
| | | | | | | | | | | | | | | | | | Main one: instead of adding a parameter to function to handle special case, make the caller handle it. Second main one: make sure that function does a reasonable thing. `highlight_def` picks a color for def, *regardless* of the context the def is use. Feeding an info from the call-site muddies the responsibilities here. Minor smells, flagging the function as having space for improvement in the first place: * many parameters, some of which are set as constants on most call-sites (introduce severalfunction instad) * boolean param (add two functions instead) | |||||
* | Inline trivial function | Aleksey Kladov | 2020-08-19 | 1 | -8/+6 | |
| | ||||||
* | Simplify | Aleksey Kladov | 2020-08-19 | 1 | -9/+4 | |
| | ||||||
* | Minor | Aleksey Kladov | 2020-08-19 | 1 | -2/+1 | |
| | ||||||
* | Minor cleanups | Aleksey Kladov | 2020-08-19 | 1 | -1/+1 | |
| | ||||||
* | Better name | Aleksey Kladov | 2020-08-19 | 1 | -4/+4 | |
| | ||||||
* | Better API factoring around self access modes | Aleksey Kladov | 2020-08-19 | 1 | -10/+16 | |
| | ||||||
* | Add SelfParam to code_model | Aleksey Kladov | 2020-08-19 | 1 | -12/+8 | |
| | ||||||
* | Add new method to Semantics, method_receiver_kind, which returns the kind of ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -65/+74 | |
| | | | | | | | self The options are Shared, Mutable, Consuming, and Copied. Use this to add proper highlighting to methods based on usage. | |||||
* | Mark mutating functions with `mutable` modifier, and owning functions with ↵ | Paul Daniel Faria | 2020-08-16 | 1 | -10/+32 | |
| | | | | `consuming`. | |||||
* | Rename ra_ide -> ide | Aleksey Kladov | 2020-08-13 | 1 | -0/+872 | |