Sequence

public struct Sequence
extension Node.Sequence: Comparable
extension Node.Sequence: Equatable
extension Node.Sequence: Hashable
extension Node.Sequence: ExpressibleByArrayLiteral
extension Node.Sequence: MutableCollection
extension Node.Sequence: RandomAccessCollection
extension Node.Sequence: RangeReplaceableCollection

Sequence node.

  • tag

    This node’s tag (its type).

    Declaration

    Swift

    public var tag: Tag
  • The style to be used when emitting this node.

    Declaration

    Swift

    public var style: Style
  • The location for this node.

    Declaration

    Swift

    public var mark: Mark?
  • The style to use when emitting a Sequence.

    See more

    Declaration

    Swift

    public enum Style : UInt32
  • Create a Node.Sequence using the specified parameters.

    Declaration

    Swift

    public init(_ nodes: [Node], _ tag: Tag = .implicit, _ style: Style = .any, _ mark: Mark? = nil)

    Parameters

    nodes

    The array of nodes to generate this sequence.

    tag

    This sequence’s Tag.

    style

    The style to use when emitting this Sequence.

    mark

    This sequence’s Mark.