Remove Extraneous CustomStringConvertible
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -146,7 +146,7 @@ public struct ParserStates {
|
||||
nonisolated(unsafe) public let accept: ParserState = ParserState(name: "accept")
|
||||
nonisolated(unsafe) public let reject: ParserState = ParserState(name: "reject")
|
||||
|
||||
public struct Parser: CustomStringConvertible {
|
||||
public struct Parser {
|
||||
public var states: [ParserState] = Array()
|
||||
public var count: Int {
|
||||
states.count
|
||||
@@ -162,8 +162,4 @@ public struct Parser: CustomStringConvertible {
|
||||
}
|
||||
return .none
|
||||
}
|
||||
|
||||
public var description: String {
|
||||
return "Parser"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,11 +78,7 @@ public struct Scopes: CustomStringConvertible {
|
||||
}
|
||||
}
|
||||
|
||||
public struct Program: CustomStringConvertible {
|
||||
public struct Program {
|
||||
public var parsers: [P4.Parser] = Array()
|
||||
public init() {}
|
||||
|
||||
public var description: String {
|
||||
return "Program"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user