tcl.lang
Interface TclDict.Visitor
- Enclosing class:
- TclDict
public static interface TclDict.Visitor
An interface to traverse (visit) each key-value pair in a Tcl dictionary
object. This is an implementation of the standard Visitor Pattern, with
added parameters for an Interp
object and some arbitrary
threaded state.
visit
Object visit(Interp interp,
Object accum,
TclObject key,
TclObject value)
throws TclException
- Called for each element in a TclDict.
- Throws:
TclException
Copyright © 2015. All rights reserved.