ProductionString
public struct ProductionString
extension ProductionString: ExpressibleByArrayLiteral
A string of symbols which can be used in a production of a grammar
-
Symbols of this production string
Declaration
Swift
public var characters: [Symbol] -
Creates a new production string
Declaration
Swift
public init(_ characters: [Symbol])Parameters
charactersSymbols of the production string
-
Declaration
Swift
public typealias ArrayLiteralElement = Symbol -
Declaration
Swift
public init(arrayLiteral elements: Symbol...)
View on GitHub
ProductionString Structure Reference