Release 0.2.0: object tree, refs/modules options, docs

Add query object (--clear), modules -n, composite refs labels,
FillChecking/TypeSet parsing, VERSION/CHANGELOG and --version.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
mihailkudravcev
2026-07-16 16:37:41 +03:00
parent 88a3737078
commit a9d1215820
9 changed files with 837 additions and 117 deletions
+6
View File
@@ -85,6 +85,10 @@ def collect_types(props: ET.Element) -> list[str]:
raw = (t.text or "").strip()
if raw:
types.append(raw)
for t in typ.findall(f".//{V8}TypeSet"):
raw = (t.text or "").strip()
if raw:
types.append(raw)
return types
@@ -113,6 +117,7 @@ class FieldRec:
types: list[str] = field(default_factory=list)
refs: list[dict[str, str]] = field(default_factory=list)
tabular_section: str = ""
fill_checking: str = "" # ShowError | DontCheck | …
@dataclass
@@ -173,6 +178,7 @@ def _parse_field_props(props: ET.Element, kind: str, tabular: str = "") -> Field
types=types,
refs=parse_ref_targets(types),
tabular_section=tabular,
fill_checking=child_text(props, "FillChecking"),
)