rst_parser/
token.rs

1//https://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#bullet-lists
2
3// *, +, -, •, ‣, ⁃
4pub enum BulletListType {
5    Ast,
6    Plus,
7    Minus,
8    Bullet,
9    TriBullet,
10    HyphenBullet,
11}
12// 1, A, a, I, i
13pub enum EnumListChar {
14    Arabic,
15    AlphaUpper,
16    AlphaLower,
17    RomanUpper,
18    RomanLower,
19    Auto,
20}
21// 1., (1), 1)
22pub enum EnumListType {
23    Period,
24    ParenEnclosed,
25    Paren,
26}
27// ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
28pub enum AdornmentChar {
29    Bang,
30    DQuote,
31    Hash,
32    Dollar,
33    Percent,
34    Amp,
35    SQuote,
36    LParen,
37    RParen,
38    Ast,
39    Plus,
40    Comma,
41    Minus,
42    Period,
43    Slash,
44    Colon,
45    Semicolon,
46    Less,
47    Eq,
48    More,
49    Question,
50    At,
51    LBrack,
52    Backslash,
53    RBrack,
54    Caret,
55    Underscore,
56    Backtick,
57    LBrace,
58    Pipe,
59    RBrace,
60    Tilde,
61}
62// [1], [#], [*], [#foo]
63pub enum FootnoteType {
64    Numbered(usize),
65    AutoNumber,
66    AutoSymbol,
67    AutoNamed(String),
68}