Skip to content

Commit

Permalink
Docs for Token
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Nov 25, 2024
1 parent f3c717b commit 48de273
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Neon/Token.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import Foundation

import RangeState

/// A semantic label and range pair.
///
/// This type represents a range of text that has semantic meaning.
public struct Token: Hashable, Sendable {
public let name: String
public let range: NSRange
Expand Down

0 comments on commit 48de273

Please sign in to comment.