Enumerate iterator types
This commit is contained in:
parent
1f67913ed9
commit
cd46452b63
23 changed files with 145 additions and 68 deletions
|
|
@ -104,7 +104,7 @@ func (it *Optional) TagResults(dst map[string]graph.Value) {
|
|||
}
|
||||
|
||||
// Registers the optional iterator.
|
||||
func (it *Optional) Type() string { return "optional" }
|
||||
func (it *Optional) Type() graph.Type { return graph.Optional }
|
||||
|
||||
// Prints the optional and it's subiterator.
|
||||
func (it *Optional) DebugString(indent int) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue