We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At present, the parser removes all WhitespaceToken and CommentToken elements from the input stream before processing the syntax rules.
// remove all comments and whitespace var tokens = lexerTokens.Where(lt => !(lt is CommentToken) && !(lt is WhitespaceToken)).ToList();
This doesn't generally matter because whitespace is optional between most tokens.
However, should we explicitly check for optional vs mandatory whitespace in the syntax rule methods, or is it ok to just strip it out at source?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At present, the parser removes all WhitespaceToken and CommentToken elements from the input stream before processing the syntax rules.
This doesn't generally matter because whitespace is optional between most tokens.
However, should we explicitly check for optional vs mandatory whitespace in the syntax rule methods, or is it ok to just strip it out at source?
The text was updated successfully, but these errors were encountered: