Getting array only from one variable that belongs to enum and is included in struct within array - Swift

In original example code there was no struct TokenStruct that now except of var tokens includes also var position to track/associate error positions with existing error cases. Figuring out what change/s do I have to do related to print("Lexer output: (tokens)") when I want that it prints "Lexer output: [Number: 10, Symbol: +, Number: 11]", without position. I tried approach described on How do I access variables in an array of type struct in Swift? however could not figure it out during stage - assigning name found in another list, using subscript syntax. Original example code:

enum Token0: CustomStringConvertible {
    case number (Int)
    case plus

    var description: String {
        switch self {
        case .number (let n):
            return "Number: \(n)"
        case .plus:
            return "Symbol: +"
        }
    }
}

var tokens0 = [Token0]()
var value0 = 10
tokens0.append(.number(value0))
tokens0.append(.plus)
value0 = 11
tokens0.append(.number(value0))
print("Lexer0 output: \(tokens0)")

Below code with struct TokenStruct. What change/s to do related to print("Lexer output: (tokens)") when I want that it prints "Lexer output: [Number: 10, Symbol: +, Number: 11]", without position.

enum Token: CustomStringConvertible {
    case number (Int)
    case plus

    var description: String {
        switch self {
        case .number (let n):
            return "Number: \(n)"
        case .plus:
            return "Symbol: +"
        }
    }
}

struct TokenStruct {
    var token: Token
    var position: Int
}

var tokens = [TokenStruct]()
var posChar = 0
var value = 10
tokens.append(TokenStruct(token: .number(value), position: posChar))
posChar = 1
tokens.append(TokenStruct(token: .plus, position: posChar))
posChar = 2
value = 11
tokens.append(TokenStruct(token: .number(value), position: posChar))
print("Lexer output: \(tokens)")
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum