#[repr(u16)]pub enum SyntaxKind {
Show 48 variants
ROOT = 0,
PARAGRAPH = 1,
ATX_HEADING = 2,
SETEXT_HEADING = 3,
BLOCK_QUOTE = 4,
ADMONITION = 5,
LIST = 6,
LIST_ITEM = 7,
INDENTED_CODE_BLOCK = 8,
FENCED_CODE_BLOCK = 9,
MATH_BLOCK = 10,
FOOTNOTE_DEFINITION = 11,
TABLE = 12,
TABLE_ROW = 13,
TABLE_CELL = 14,
THEMATIC_BREAK = 15,
EMPHASIS = 16,
STRONG = 17,
INLINE_CODE = 18,
INLINE_MATH = 19,
LINK = 20,
IMAGE = 21,
AUTOLINK = 22,
FOOTNOTE_REFERENCE = 23,
INTERPOLATION = 24,
HARD_BREAK = 25,
ERROR = 26,
TEXT = 27,
WHITESPACE = 28,
NEWLINE = 29,
BLANK_LINE = 30,
MARKER = 31,
HEADING_MARKER = 32,
LIST_MARKER = 33,
QUOTE_MARKER = 34,
ADMONITION_CATEGORY = 35,
ADMONITION_TITLE = 36,
FOOTNOTE_LABEL = 37,
FENCE = 38,
INFO_STRING = 39,
CODE_CONTENT = 40,
MATH_CONTENT = 41,
LINK_DESTINATION = 42,
ESCAPE = 43,
SOFT_BREAK = 44,
EN_DASH = 45,
EM_DASH = 46,
ERROR_TOKEN = 47,
}Expand description
Nodes and tokens in a lossless Julia Markdown tree.
Variants§
ROOT = 0
PARAGRAPH = 1
ATX_HEADING = 2
SETEXT_HEADING = 3
BLOCK_QUOTE = 4
ADMONITION = 5
LIST = 6
LIST_ITEM = 7
INDENTED_CODE_BLOCK = 8
FENCED_CODE_BLOCK = 9
MATH_BLOCK = 10
FOOTNOTE_DEFINITION = 11
TABLE = 12
TABLE_ROW = 13
TABLE_CELL = 14
THEMATIC_BREAK = 15
EMPHASIS = 16
STRONG = 17
INLINE_CODE = 18
INLINE_MATH = 19
LINK = 20
IMAGE = 21
AUTOLINK = 22
FOOTNOTE_REFERENCE = 23
INTERPOLATION = 24
HARD_BREAK = 25
ERROR = 26
TEXT = 27
WHITESPACE = 28
NEWLINE = 29
BLANK_LINE = 30
MARKER = 31
HEADING_MARKER = 32
LIST_MARKER = 33
QUOTE_MARKER = 34
ADMONITION_CATEGORY = 35
ADMONITION_TITLE = 36
FOOTNOTE_LABEL = 37
FENCE = 38
INFO_STRING = 39
CODE_CONTENT = 40
MATH_CONTENT = 41
LINK_DESTINATION = 42
ESCAPE = 43
SOFT_BREAK = 44
EN_DASH = 45
EM_DASH = 46
ERROR_TOKEN = 47
Trait Implementations§
Source§impl Clone for SyntaxKind
impl Clone for SyntaxKind
impl Copy for SyntaxKind
Source§impl Debug for SyntaxKind
impl Debug for SyntaxKind
impl Eq for SyntaxKind
Source§impl Hash for SyntaxKind
impl Hash for SyntaxKind
Source§impl Ord for SyntaxKind
impl Ord for SyntaxKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SyntaxKind
impl PartialEq for SyntaxKind
Source§impl PartialOrd for SyntaxKind
impl PartialOrd for SyntaxKind
impl StructuralPartialEq for SyntaxKind
Auto Trait Implementations§
impl Forget for SyntaxKind
impl Freeze for SyntaxKind
impl Move for SyntaxKind
impl RefUnwindSafe for SyntaxKind
impl Send for SyntaxKind
impl Sync for SyntaxKind
impl Unpin for SyntaxKind
impl UnsafeUnpin for SyntaxKind
impl UnwindSafe for SyntaxKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more