(self, keyword: str)
| 136 | self.cleanup_statements: list[str] = [] |
| 137 | |
| 138 | def keyword_helper(self, keyword: str) -> FunctionCall: |
| 139 | return FunctionCall( |
| 140 | assigned_variable="_keyword", |
| 141 | function="_PyPegen_expect_token", |
| 142 | arguments=["p", self.gen.keywords[keyword]], |
| 143 | return_type="Token *", |
| 144 | nodetype=NodeTypes.KEYWORD, |
| 145 | comment=f"token='{keyword}'", |
| 146 | ) |
| 147 | |
| 148 | def soft_keyword_helper(self, value: str) -> FunctionCall: |
| 149 | return FunctionCall( |
no test coverage detected