rustemo
rustemo copied to clipboard
attach locations to parsed tokens
After initial syntax parsing is complete, it's often desired to run lints, type checking, variables existing, etc on the AST. To create errors for these, tokens need to have attached locations.