(self, scope: Scope)
| 2097 | ) |
| 2098 | |
| 2099 | def matches(self, scope: Scope) -> tuple[Match, Scope]: |
| 2100 | match, child_scope, _ = self._match(scope, prefix="") |
| 2101 | return match, child_scope |
| 2102 | |
| 2103 | def matches_with_prefix(self, scope: Scope, prefix: str) -> tuple[Match, Scope]: |
| 2104 | match, child_scope, _ = self._match(scope, prefix=prefix) |