This repository was archived by the owner on Oct 17, 2021. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 13
 
Xcode
        mattt edited this page Dec 21, 2020 
        ·
        1 revision
      
    public enum XcodeReturns the highlighted tokens for a SwiftSyntax node.
public static func tokens(for syntax: Syntax) -> [Token]- syntax: The syntax node to be highlighted.
 
An array of highlighted tokens.
Generated at 2020-12-21T12:27:25+0000 using swift-doc 1.0.0-beta.5.
Types
- Attribute
 - CharacterLiteral
 - ClassName
 - Comment
 - Comment.MultiLine
 - Comment.Preprocessor
 - Comment.SingleLine
 - Comment.SpecialData
 - Constant
 - Directive
 - Documentation
 - Error
 - FunctionName
 - Keyword
 - Keyword.Constant
 - Keyword.Declaration
 - Keyword.Namespace
 - Keyword.Pseudo
 - Keyword.Reserved
 - Keyword.TypeIdentifier
 - Literal
 - Literal.Date
 - Literal.Number
 - Literal.Number.Binary
 - Literal.Number.FloatingPoint
 - Literal.Number.Hexadecimal
 - Literal.Number.Integer
 - Literal.Number.Integer.Long
 - Literal.Number.Octal
 - Literal.String
 - Literal.String.BacktickQuoted
 - Literal.String.Character
 - Literal.String.Documentation
 - Literal.String.DoubleQuoted
 - Literal.String.EscapedSequence
 - Literal.String.Heredoc
 - Literal.String.Interpolated
 - Literal.String.Other
 - Literal.String.RegularExpression
 - Literal.String.SingleQuoted
 - Literal.String.Symbol
 - Name
 - Name.Attribute
 - Name.Builtin
 - Name.Class
 - Name.Constant
 - Name.Decorator
 - Name.Entity
 - Name.Exception
 - Name.Function
 - Name.Label
 - Name.Namespace
 - Name.Other
 - Name.Property
 - Name.PseudoBuiltin
 - Name.Tag
 - Name.Variable
 - Name.Variable.Class
 - Name.Variable.Global
 - Name.Variable.Instance
 - NumberLiteral
 - Operator
 - Operator.Word
 - Other
 - OtherDeclaration
 - Placeholder
 - Punctuation
 - Pygments
 - StringLiteral
 - SwiftSyntaxHighlighter
 - Text
 - Text.Whitespace
 - Token
 - TypeDeclaration
 - TypeName
 - Variable
 - Xcode