Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
mattt edited this page Dec 21, 2020 · 1 revision

Xcode

public enum Xcode

Inheritance

TokenizationScheme

Methods

tokens(for:)

Returns the highlighted tokens for a SwiftSyntax node.

public static func tokens(for syntax: Syntax) -> [Token]

Parameters

  • syntax: The syntax node to be highlighted.

Returns

An array of highlighted tokens.

Clone this wiki locally