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
In a future PR, let's see if we can reduce the duplication by:
def RunPreprocessRule(self, lexer: Lexer, contextStack: ??) -> None: """ Run rules which runs in the preprecessor blocks """ _RunLexerRules(self.preprocessRules, lexer, contextStack) def _RunLexerRules(self, rules: List[Callable], lexer, *args, **kwargs) -> None for rule in rules: data = lexer.Backup() rule(lexer, *args, **kwargs) lexer.Restore(data)
Originally posted by @kunaltyagi in #35 (comment)
This could be done for just some of the callbacks
The text was updated successfully, but these errors were encountered:
#35 (comment)
Sorry, something went wrong.
No branches or pull requests
In a future PR, let's see if we can reduce the duplication by:
Originally posted by @kunaltyagi in #35 (comment)
This could be done for just some of the callbacks
The text was updated successfully, but these errors were encountered: