(
self,
source: Source,
function_annotations: dict[str, dict[str, Any]],
)
| 374 | base_py_module_context: bool = False # whether current class inherits from BasePyModule |
| 375 | |
| 376 | def __init__( |
| 377 | self, |
| 378 | source: Source, |
| 379 | function_annotations: dict[str, dict[str, Any]], |
| 380 | ) -> None: |
| 381 | self.diag = Diagnostics(source) |
| 382 | self.dispatch_tokens = ["default"] |
| 383 | self.function_annotations = function_annotations |
| 384 | self.var_table = VarTable() |
| 385 | self.inside_function = False |
| 386 | |
| 387 | def parse(self, extra_vars: dict[str, Any] | None = None) -> Any: |
| 388 | """The main parse method for parser. |
nothing calls this directly
no test coverage detected