mirror of
https://github.com/github/semantic.git
synced 2024-11-25 21:43:07 +03:00
Document Cofree.extract
.
This commit is contained in:
parent
ab3d297d95
commit
7bff8f6f50
@ -29,6 +29,7 @@ extension Cofree {
|
||||
// MARK: - Comonad
|
||||
|
||||
extension Cofree {
|
||||
/// Returns the value annotating the syntax tree at this node.
|
||||
public var extract: B {
|
||||
switch self {
|
||||
case let .Unroll(b, _):
|
||||
|
Loading…
Reference in New Issue
Block a user