Function: parseStructure()
ts
function parseStructure(raw): StructureNode[];Defined in: packages/core/src/grammar.ts:375
Parse a @structure body — an indentation-nested list of element selectors — into a StructureNode tree. Indentation depth (any consistent width) sets nesting; blank lines are ignored.
Parameters
raw
string
Returns
Example
.tabs
.list
.tab
.panel