abstract class
Crst::Node
- Crst::Node
- Reference
- Object
Overview
Base class for all AST nodes in the reStructuredText document tree
All node types inherit from this class and represent different elements of the parsed RST document.
Direct Known Subclasses
- Crst::Admonition
- Crst::BlockQuote
- Crst::BulletList
- Crst::Citation
- Crst::Code
- Crst::CodeBlock
- Crst::Comment
- Crst::Compound
- Crst::Container
- Crst::DefinitionItem
- Crst::DefinitionList
- Crst::Directive
- Crst::DoctestBlock
- Crst::Document
- Crst::Emphasis
- Crst::EnumList
- Crst::Epigraph
- Crst::Field
- Crst::FieldList
- Crst::Figure
- Crst::Footnote
- Crst::Highlights
- Crst::Image
- Crst::InlineTarget
- Crst::LineBlock
- Crst::Link
- Crst::ListItem
- Crst::LiteralBlock
- Crst::OptionItem
- Crst::OptionList
- Crst::Paragraph
- Crst::PullQuote
- Crst::Raw
- Crst::Reference
- Crst::Role
- Crst::Rubric
- Crst::Section
- Crst::SectionNumbering
- Crst::Sidebar
- Crst::Strong
- Crst::Substitution
- Crst::SystemMessage
- Crst::Table
- Crst::TableOfContents
- Crst::Target
- Crst::Text
- Crst::Topic
- Crst::Transition
Defined in:
crst/nodes.crInstance Method Summary
-
#column : Int32 | Nil
The 1-based column number where this node starts in the source document
-
#column=(column : Int32 | Nil)
The 1-based column number where this node starts in the source document
-
#line : Int32 | Nil
The 1-based line number where this node starts in the source document
-
#line=(line : Int32 | Nil)
The 1-based line number where this node starts in the source document
Instance Method Detail
def column=(column : Int32 | Nil)
#
The 1-based column number where this node starts in the source document
def line=(line : Int32 | Nil)
#
The 1-based line number where this node starts in the source document