UNPKG

deep-iterator

Version:

Deep iteration of any object or iterable collection.

14 lines (11 loc) 278 B
import {getTagMap} from './tag'; import {LEAF} from './generators'; export default class SelectGenerator { constructor(config) { this.skipIteration = config.skipIteration; this.tagMap = getTagMap(config); } getGenerator(tag) { return this.tagMap[tag]; } }