Sources/OrgCore/Syntax/SyntaxKind.swift

2d7bde2d9a815f914b1250e74c47c6a07f677f23
orgstar/Sources/OrgCore/Syntax/SyntaxKind.swift

25 lines · 1084 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    /// `[@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}
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form