Sources/OrgCore/Syntax/SyntaxKind.swift

58f3b73e8ff337e5a15111fbb32c0d57cf2346da
orgstar/Sources/OrgCore/Syntax/SyntaxKind.swift history · blame · raw

25 lines · 1084 bytes

1 symbol in this file
 1public enum SyntaxKind: String, Sendable {
 2    // Tokens
 3    case text, newline, whitespace
 4    case stars, todoKeyword, priority, tags
 5    case marker, linkPath, bullet, checkbox
 6    /// `[@3]` on an item; a citation reference's `@key`.
 7    case counter, citationKey
 8
 9    // Elements
10    case document, zerothSection, section, heading, title
11    case planning, propertyDrawer, nodeProperty, drawer, clock
12    case paragraph, plainList, item, table, tableRow, tableCell, tableFormula
13    case block, dynamicBlock, keyword, affiliatedKeyword
14    case comment, fixedWidth, horizontalRule, footnoteDefinition, latexEnvironment, inlineTask
15    case diarySexp, tableEl
16    /// A description item's term, before ` :: `.
17    case itemTag
18
19    // Objects
20    case bold, italic, underline, strikeThrough, verbatim, code
21    case link, linkDescription, timestamp, footnoteReference, statisticsCookie
22    case target, macro, inlineSourceBlock, latexFragment, lineBreak, superscript
23    case `subscript`, entity, radioTarget
24    case citation, citationReference, exportSnippet, inlineBabelCall
25}