Module structural

Module structural 

Source
Expand description

Deterministic structural summaries for files without declaration symbols.

Structsยง

CssFacts ๐Ÿ”’
Structural facts extracted from CSS tokens.
MarkdownHeading ๐Ÿ”’
One parsed Markdown heading.

Enumsยง

CssMode ๐Ÿ”’
CSS parser traversal mode.
CssRuleKind ๐Ÿ”’
Kind of CSS rule prelude most recently seen.

Constantsยง

LABEL_LIMIT ๐Ÿ”’
Maximum characters retained for a single extracted label.
LIST_LIMIT ๐Ÿ”’
Maximum named items rendered into one structural summary list.

Functionsยง

compact_label ๐Ÿ”’
Compact a label into one line.
config_key ๐Ÿ”’
Extract a key from simple key=value, key: value, or export key=value lines.
config_text_summary ๐Ÿ”’
Summarize simple config or text files from key-like lines.
css_summary ๐Ÿ”’
Summarize CSS-like stylesheets from parser tokens.
dataset_manifest_facts ๐Ÿ”’
Extract dataset count and bounded identifiers from common manifest shapes.
first_html_attribute ๐Ÿ”’
Extract one attribute from the first matching HTML element.
first_html_text ๐Ÿ”’
Extract first text value for an HTML selector.
has_extension ๐Ÿ”’
Return whether a repository path has a case-insensitive extension.
html_link_rel_values ๐Ÿ”’
Extract bounded link relation markers from an HTML document.
html_select ๐Ÿ”’
Compile an HTML selector.
html_summary ๐Ÿ”’
Summarize HTML documents from parsed title, metadata, headings, and structured data.
html_texts ๐Ÿ”’
Extract text values for an HTML selector.
is_css_type_selector ๐Ÿ”’
Return whether an identifier is a useful type selector label.
is_scanner_fallback_summary ๐Ÿ”’
Return whether a stored summary is still only the scanner byte fallback.
is_structural_summary_candidate ๐Ÿ”’
Return whether a file family has a lightweight structural adapter.
join_limited ๐Ÿ”’
Join a list with a fixed display limit.
join_or_none ๐Ÿ”’
Join a list or return none when it is empty.
json_summary ๐Ÿ”’
Summarize JSON and JSONC files from parsed object structure.
markdown_heading_level ๐Ÿ”’
Convert a Markdown heading level into a display depth.
markdown_headings ๐Ÿ”’
Extract Markdown headings through pulldown-cmark.
markdown_summary ๐Ÿ”’
Summarize a Markdown or MDX document from parsed CommonMark headings.
object_keys ๐Ÿ”’
Return sorted object keys for a JSON object value.
package_json_summary ๐Ÿ”’
Build a package.json summary from common manifest keys.
powershell_function_name ๐Ÿ”’
Extract one PowerShell function declaration name.
powershell_summary ๐Ÿ”’
Summarize PowerShell scripts from declared function names.
scan_css_tokens ๐Ÿ”’
Walk CSS parser tokens and collect stable structural facts.
structural_summary_for_path ๐Ÿ”’
Build a deterministic one-line structural summary for an indexed file.
structural_summary_owner ๐Ÿ”’
Select the registry-owned structural adapter, with legacy TOON inference when undetected.
toml_scan_exclude_count ๐Ÿ”’
Count configured scan exclude entries in a TOML scan table.
toml_summary ๐Ÿ”’
Summarize TOML configuration and manifest files.
toon_section_names ๐Ÿ”’
Extract declared top-level TOON section names from compact table/list headers.
toon_summary ๐Ÿ”’
Summarize TOON files from the decoded top-level shape.
truncate_chars ๐Ÿ”’
Truncate a string to a character boundary and add an ellipsis marker.
xml_element_names ๐Ÿ”’
Extract XML element names from one line with conservative string scanning.
xml_summary ๐Ÿ”’
Summarize XML-like documents from their declared element names.
yaml_child_mapping_keys ๐Ÿ”’
Extract child mapping keys from a top-level YAML key.
yaml_mapping_keys ๐Ÿ”’
Extract mapping keys from a YAML node.
yaml_scalar_value ๐Ÿ”’
Extract a scalar string for a top-level YAML key.
yaml_summary ๐Ÿ”’
Summarize YAML files, including GitHub Actions workflow structure.
yaml_triggers ๐Ÿ”’
Extract GitHub Actions trigger names from a YAML document.