From 48de27334c7e48a40a0b0339260f70b2e3a053f0 Mon Sep 17 00:00:00 2001 From: Matt <85322+mattmassicotte@users.noreply.github.com> Date: Sun, 24 Nov 2024 19:37:24 -0500 Subject: [PATCH] Docs for Token --- Sources/Neon/Token.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/Neon/Token.swift b/Sources/Neon/Token.swift index da56b9a..1204b79 100644 --- a/Sources/Neon/Token.swift +++ b/Sources/Neon/Token.swift @@ -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