Parse SMT-LIB2 string (not supported).
(self, s: str)
| 1143 | self._decls[decl.name()] = decl |
| 1144 | |
| 1145 | def from_string(self, s: str) -> list: |
| 1146 | """Parse SMT-LIB2 string (not supported).""" |
| 1147 | raise NotImplementedError( |
| 1148 | "ParserContext.from_string not supported: Lean uses its own syntax" |
| 1149 | ) |
| 1150 | |
| 1151 | def __repr__(self) -> str: |
| 1152 | return f"ParserContext({len(self._sorts)} sorts, {len(self._decls)} decls)" |
nothing calls this directly
no outgoing calls
no test coverage detected