It's able to parse comments outside of statements and blocks like before
Now also able to ignore comments inside most productions:
Parses comments before and after globals, functions, classes, other comments, and statements inside blocks
Changes
Refactored curr_tok and peek_tok into class properties
Added true_peek_tok, which should be used when you don't want to skip over comments during peeking (this is implemented the same way as our previous peek_tok)
Added new optional parameters to some methods that specify whether or not to skip over comments (These are used in the comment parsing scenarios above)
Features
Changes
Preview
Source Code
Formatted