This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Home
mattt edited this page Dec 21, 2020
·
6 revisions
- Token: A highlighter token.
- SwiftSyntaxHighlighter: A syntax highlighter for Swift code.
- Pygments: A tokenization scheme compatible with the Pygments syntax highlighter.
- Comment: Comments
- Comment.SingleLine: Comments that end at the end of the line
- Comment.MultiLine: Mutliline comments
- Comment.Preprocessor: Preprocessor comments such as <% %> in ERb
- Comment.SpecialData: Special data in comments such as @license in Javadoc
- Error: Lexer errors
- Keyword: Any keyword
- Keyword.Constant: Keywords that are constants
- Keyword.Declaration: Keywords used for variable declaration (e.g. var in javascript)
- Keyword.Namespace: Keywords used for namespace declarations
- Keyword.Pseudo: Keywords that aren't really keywords
- Keyword.Reserved: Keywords which are reserved (such as end in Ruby)
- Keyword.TypeIdentifier: Keywords which refer to a type id (such as int in C)
- Literal: Any literal (if not further defined)
- Literal.Date: Date literals
- Literal.String: String literals
- Literal.String.BacktickQuoted: String enclosed in backticks
- Literal.String.Character: Token type for single characters
- Literal.String.Documentation: Documentation strings (such as in Python)
- Literal.String.SingleQuoted: Single quoted strings
- Literal.String.DoubleQuoted: Double quoted strings
- Literal.String.EscapedSequence: Escaped Sequence in String Literal
- Literal.String.Heredoc: For "heredoc" strings (e.g. in Ruby)
- Literal.String.Interpolated: For interpoled part in strings (e.g. in Ruby)
- Literal.String.RegularExpression: Regular expressions literals
- Literal.String.Symbol: Symbols (such as :foo in Ruby)
- Literal.String.Other: Token type for any other strings (for example %q{foo} string constructs in Ruby)
- Literal.Number: Any number literal (if not further defined)
- Literal.Number.Integer: Integer literals
- Literal.Number.Integer.Long: Long interger literals
- Literal.Number.FloatingPoint: Float numbers
- Literal.Number.Binary: Binary literals
- Literal.Number.Octal: Octal literals
- Literal.Number.Hexadecimal: Hex numbers
- Name: Variable/function names
- Name.Attribute: Attributes (in HTML for instance)
- Name.Builtin: Builtin names which are available in the global namespace
- Name.PseudoBuiltin: Builtin names that are implicit (such as self in Ruby)
- Name.Class: For class declaration
- Name.Constant: For constants
- Name.Decorator: For decorators in languages such as Python or Java
- Name.Entity: Token for entitites such as in HTML
- Name.Exception: Exceptions and errors (e.g. ArgumentError in Ruby)
- Name.Function: Function names
- Name.Property: Token for properties
- Name.Label: For label names
- Name.Namespace: Token for namespaces
- Name.Other: For other names
- Name.Tag: Tag mainly for markup such as XML or HTML
- Name.Variable: Token for variables
- Name.Variable.Class: Token for class variables (e.g. @@var in Ruby)
- Name.Variable.Global: For global variables (such as $LOAD_PATH in Ruby)
- Name.Variable.Instance: Token for instance variables (such as @var in Ruby)
- Operator: Operators (commonly +, -, /, *)
- Operator.Word: Word operators (e.g. and)
- Other: Token for data not matched by a parser (e.g. HTML markup in PHP code)
- Punctuation: Word operators (e.g. and)
- Text: Unhighlighted text
- Text.Whitespace: Specially highlighted whitespace
- Text: Unhighlighted text.
- Comment: A code comment.
- Documentation: A documentation comment.
- StringLiteral: A string literal.
- CharacterLiteral: A character literal.
- NumberLiteral: A number literal.
- Keyword: A language keyword.
- Directive: A directive.
- Attribute: An attribute.
- TypeDeclaration: A type declaration.
- OtherDeclaration: A non-type declaration.
- ClassName: The name of a class in an expression.
- FunctionName: The name of a function in an expression.
- Constant: The name of a constant in an expression.
- TypeName: The name of a type in an expression.
- Variable: The name of a variable in an expression.
- Placeholder: A code placeholder.
- Xcode
- TokenKind: A type that represents a kind of token within a tokenization scheme.
- TokenizationScheme: A type that provides tokens for a highlighter syntax.
- PygmentsTokenKind
- XcodeTokenKind
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