class

Crst::Node

Inherits Reference < Object

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.

Instance methods

column

The 1-based column number where this node starts in the source document

Source
column=(column : Int32 | Nil)

The 1-based column number where this node starts in the source document

Source
end_column

The 1-based column number where this node ends in the source document

Source
end_column=(end_column : Int32 | Nil)

The 1-based column number where this node ends in the source document

Source
end_line

The 1-based line number where this node ends in the source document

Source
end_line=(end_line : Int32 | Nil)

The 1-based line number where this node ends in the source document

Source
line

The 1-based line number where this node starts in the source document

Source
line=(line : Int32 | Nil)

The 1-based line number where this node starts in the source document

Source