1
1
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:
Rob Rix 2015-09-30 15:03:42 -04:00
parent 82720340ef
commit d7a8c64806

View File

@ -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
}