@meta.rule(parsing.Parser, "<STR_LIT>")<EOL>def ignore_cxx(self) -> bool:
self._stream.save_context()<EOL>while not self.read_eof():<EOL><INDENT>idxref = self._stream.index<EOL>if self._stream.peek_char in "<STR_LIT>":<EOL><INDENT>while (not self.read_eof()<EOL>and self._stream.peek_char in "<STR_LIT>"):<EOL><INDENT>self._stream.incpos()<EOL><DEDENT><DEDENT>if self.peek_text("<STR_LIT>"):<EOL><INDENT>while not self.read_eof() and not self.peek_char("<STR_LIT:\n>"):<EOL><INDENT>self._stream.incpos()<EOL><DEDENT>if not self.read_char("<STR_LIT:\n>") and self.read_eof():<EOL><INDENT>return self._stream.validate_context()<EOL><DEDENT><DEDENT>if self.peek_text("<STR_LIT>"):<EOL><INDENT>while not self.read_eof() and not self.peek_text("<STR_LIT>"):<EOL><INDENT>self._stream.incpos()<EOL><DEDENT>if not self.read_text("<STR_LIT>") and self.read_eof():<EOL><INDENT>return self._stream.restore_context()<EOL><DEDENT><DEDENT>if idxref == self._stream.index:<EOL><INDENT>break<EOL><DEDENT><DEDENT>return self._stream.validate_context()<EOL>
Consume comments and whitespace characters.