class
Crst::Section
- Crst::Section
- Crst::Node
- Reference
- Object
Overview
Represents a section with a title and content
Sections are created from underlined/overlined titles in RST.
Defined in:
crst/nodes.crConstructors
Instance Method Summary
-
#children : Array(Crst::Node)
Child nodes within this section
-
#children=(children : Array(Crst::Node))
Child nodes within this section
-
#level : Int32
The section level (0 for top-level, 1 for subsections, etc.)
-
#level=(level : Int32)
The section level (0 for top-level, 1 for subsections, etc.)
-
#title : String
The section title text
-
#title=(title : String)
The section title text