Skip to content

extractPatternSectionRoleMatches

extractPatternSectionRoleMatches(blocks, convention?): PatternCatalogSectionRoleMatch[]

Defined in: wp-typia-project-tools/src/runtime/pattern-catalog.ts:371

Find section wrapper blocks and their role markers in parsed pattern content.

readonly ParsedBlockPatternBlock[]

Parsed block tree returned by validateBlockPatternContentNesting.

PatternCatalogSectionRoleConvention = {}

Optional marker convention override.

PatternCatalogSectionRoleMatch[]

Section wrapper matches with serialized block paths.