krz/orgstar

A native macOS editor for org-mode files. editor org-mode swift

Sources/OrgCore/Syntax/SyntaxKind.swift

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

18 lines · 760 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
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}