mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Abbreviate the properties.
This commit is contained in:
parent
82720340ef
commit
d7a8c64806
@ -13,17 +13,11 @@ public enum Term<A>: CustomDebugStringConvertible, CustomDocConvertible, CustomS
|
||||
}
|
||||
|
||||
public var debugDescription: String {
|
||||
switch self {
|
||||
case let .Roll(s):
|
||||
return s.debugDescription
|
||||
}
|
||||
return syntax.debugDescription
|
||||
}
|
||||
|
||||
public var doc: Doc {
|
||||
switch self {
|
||||
case let .Roll(s):
|
||||
return s.doc
|
||||
}
|
||||
return syntax.doc
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user