Skip to main content

Module fragments

Module fragments 

Source
Expand description

When specifying SSR rule, you generally want to map one kind of thing to the same kind of thing: path to path, expression to expression, type to type.

The problem is, while this kind is generally obvious to the human, the ide needs to determine it somehow. We do this in a stupid way โ€“ by pasting SSR rule into different contexts and checking what works.

Functionsยง

expr ๐Ÿ”’
fragment ๐Ÿ”’
item ๐Ÿ”’
pat ๐Ÿ”’
stmt ๐Ÿ”’
ty ๐Ÿ”’