Enum doxygen_rs::parser::Value
source · pub enum Value {
Notation(String, NestedString),
Text(NestedString),
Separator,
Continuation(String, usize, bool),
Unknown,
}
Expand description
The enum used to represent the distinct raw values of a comment
Variants§
Notation(String, NestedString)
The first String
is the notation found, and .top of NestedString
are the contents without the notation; the .sub of NestedString
is a vector that contains consecutive list (lines starting with “-”)
Text(NestedString)
Raw text, without notation
Separator
Double new-line, or any other separator
Continuation(String, usize, bool)
indented Text- probably continuation of previous line; String
- line text stripped of leading whitespaces & sublist characters as ‘-’,’*’and ‘+’; usize
- number of leading whitespaces; bool
- sublist char present?
Unknown
Unknown value