Concept Flow - Enclosing shortcodes
Start parsing shortcode
Detect opening shortcode
Check if shortcode is enclosing
Parse content
Detect closing shortcode
Return combined output
End
The parser detects an opening shortcode, checks if it encloses content, processes the content if yes, then finds the closing shortcode before returning the full output.