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:
@@ -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"),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user