1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00

Document right.

This commit is contained in:
Rob Rix 2015-11-05 12:10:42 -05:00
parent e8c5462de1
commit 91f67a41b7

View File

@ -31,6 +31,7 @@ public struct Location<A>: SequenceType {
/// Returns the `Location` which immediately precedes the receiver within its parent in the current exploration, or `nil` if the receiver is the `root` or the first child of its parent.
public var left: Location? { return _left(it) }
/// Returns the `Location` which immediately follows the receiver within its parent in the current exploration, or `nil` if the receiver is the `root` or the last child of its parent.
public var right: Location? { return _right(it) }
/// The root `Location` in the current exploration.