ParseTree

public indirect enum ParseTree : Hashable, Codable

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    public enum CodingError : Error
  • Key

    Undocumented

    See more

    Declaration

    Swift

    public struct Key : Hashable, Codable
  • Undocumented

    Declaration

    Swift

    case rule(id: RuleId, key: Key, rhs: [ParseTree])
  • Undocumented

    Declaration

    Swift

    case forest(key: Key, trees: Set<ParseTree>)
  • key

    Undocumented

    Declaration

    Swift

    public var key: Key { get }
  • Undocumented

    Declaration

    Swift

    public var isAmbiguous: Bool { get }
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public func mapKey(transform: (Key) -> Key) -> ParseTree