Expand description
xil splice β insert or delete parsed entries with automatic seq
renumbering. Port of XILU006_splice_parsed.py.
StructsΒ§
- Args π
FunctionsΒ§
- command
- The clap definition behind
--help, for man pages. - delete_
entries - Remove
[start, end]inclusive and renumber the remainder. - execute π
- extract_
seq_ range - Entries within
[start, end]inclusive. - head π
- First
ncharacters, as Pythonβstext[:n]slices. - parse_
range π 'N-M'β(N, M).- py_
get_ πstr e.get(key, "")inside an f-string. The default only applies when the key is absent: a key present with a null value renders asNone, which is what the report lines actually print for a direction entry.- run
- run_
splice π - seq_of π
- splice_
entries - Insert
new_entriesafterinsert_after_seq, then renumber the body. - str_of π
- update_
stats - Recompute
statsfrom the body entries (seq > 0).
Type AliasesΒ§
- Entry π