notedown_ast 0.13.10

notedown ast and converter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::*;

#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
pub enum Delimiter {
    HorizontalRule,
}

impl Delimiter {
    #[inline]
    pub fn into_node(self, range: Option<OffsetRange>) -> ASTNode {
        ASTNode { value: ASTKind::Delimiter(box self), range }
    }
}