Struct comrak::nodes::Ast
[−]
[src]
pub struct Ast { pub value: NodeValue, pub start_line: u32, pub start_column: usize, pub end_line: u32, pub end_column: usize, // some fields omitted }
A single node in the CommonMark AST.
The struct contains metadata about the node's position in the original document, and the core
enum, NodeValue
.
Fields
value: NodeValue
The node value itself.
start_line: u32
The line in the input document the node starts at.
start_column: usize
The column in the input document the node starts at.
end_line: u32
The line in the input document the node ends at.
end_column: usize
The column in the input document the node ends at.