Expand description
To make attribute macros work reliably when typing, we need to take care to fix up syntax errors in the code weβre passing to them.
StructsΒ§
- Syntax
Fixup Undo Info - This is the information needed to reverse the fixups.
- Syntax
Fixups π - The result of calculating fixes for a syntax node β a bunch of changes (appending to and replacing nodes), the information that is needed to reverse those changes afterwards, and a token map.
ConstantsΒ§
- FIXUP_
DUMMY_ πAST_ ID - FIXUP_
DUMMY_ πRANGE - FIXUP_
DUMMY_ πRANGE_ END
FunctionsΒ§
- can_
handle_ πerror - fixup_
syntax π - has_
error π - has_
error_ πto_ handle - reverse_
fixups π - reverse_
fixups_ π