Recursively resolve `self.config` to replace the macro tokens with target content. Then recursively parse the config source, add every item as ``ConfigItem`` to the reference resolver. Args: reset: whether to reset the ``reference_resolver`` before parsing. Defa
(self, reset: bool = True)
| 457 | return False |
| 458 | |
| 459 | def parse(self, reset: bool = True) -> None: |
| 460 | """ |
| 461 | Recursively resolve `self.config` to replace the macro tokens with target content. |
| 462 | Then recursively parse the config source, add every item as ``ConfigItem`` to the reference resolver. |
| 463 | |
| 464 | Args: |
| 465 | reset: whether to reset the ``reference_resolver`` before parsing. Defaults to `True`. |
| 466 | |
| 467 | """ |
| 468 | if reset: |
| 469 | self.ref_resolver.reset() |
| 470 | self.resolve_macro_and_relative_ids() |
| 471 | self._do_parse(config=self.get()) |
| 472 | |
| 473 | def get_parsed_content(self, id: str = "", **kwargs: Any) -> Any: |
| 474 | """ |