package yokohama.unit.ast;

import lombok.EqualsAndHashCode;
import lombok.Value;

@Value
@EqualsAndHashCode(exclude={"span"})
public class Binding {
    private Ident name;
    private Expr value;
    private Span span;
}

@@ -78,16 +78,49 @@
 .Value;%0D
+%0Aimport yokohama.unit.util.Pair;%0D
 %0A%0D%0A@Valu
@@ -257,12 +257,103 @@
 n span;%0D
+%0A%0D%0A    public Pair%3CIdent, Expr%3E toPair() %7B%0D%0A        return new Pair%3C%3E(name, value);%0D%0A    %7D%0D
 %0A%7D%0D%0A

Add toPair method to Binding class