mirror of https://github.com/astral-sh/ruff
This token is completely ignored by the parser, but it's useful for other users of the lexer, such as the Ruff linter. For example, the token is helpful for a "trailing comma" lint. The same idea exists in Python's `tokenize` module - there is a NEWLINE token (logical newline), and a NL token (non-logical newline). Fixes #4385. |
||
|---|---|---|
| ast | ||
| core | ||
| parser | ||
| Cargo.toml | ||