Sources/OrgCore/Syntax/SyntaxKind.swift

3f183dc5a69542840ae20a73ec755d1148b354dd
orgstar/Sources/OrgCore/Syntax/SyntaxKind.swift history · blame · raw

19 lines · 832 bytes

 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
 7    // Elements
 8    case document, zerothSection, section, heading, title
 9    case planning, propertyDrawer, nodeProperty, drawer, clock
10    case paragraph, plainList, item, table, tableRow, tableCell, tableFormula
11    case block, dynamicBlock, keyword, affiliatedKeyword
12    case comment, fixedWidth, horizontalRule, footnoteDefinition, latexEnvironment, inlineTask
13
14    // Objects
15    case bold, italic, underline, strikeThrough, verbatim, code
16    case link, linkDescription, timestamp, footnoteReference, statisticsCookie
17    case target, macro, inlineSourceBlock, latexFragment, lineBreak, superscript
18    case `subscript`, entity, radioTarget
19}