Enumerate iterator types

This commit is contained in:
kortschak 2014-07-03 09:57:31 +09:30
parent 1f67913ed9
commit cd46452b63
23 changed files with 145 additions and 68 deletions

View file

@ -162,7 +162,7 @@ func (it *Comparison) TagResults(dst map[string]graph.Value) {
}
// Registers the value-comparison iterator.
func (it *Comparison) Type() string { return "value-comparison" }
func (it *Comparison) Type() graph.Type { return graph.Comparison }
// Prints the value-comparison and its subiterator.
func (it *Comparison) DebugString(indent int) string {