def set(self, argv):
        t = clieval
        optlist, longoptdict, args = self.getopt(argv, "t:")
        name = args[0]
        for opt, optarg in optlist:
            if opt == "-t":
                t = eval(optarg, globals(), globals())
                assert type(t) is type, "Argument to -t is not a type"
        value = t(*tuple(args[1:]))
        self._obj[name] = value
        self._reset_scopes()
Checks if the token stream is empty.
dataset/ETHPy150Open kdart/pycopia/fepy/pycopia/fepy/CLI.py/DictCLI.set--crossover with--dataset/ETHPy150Open xtrementl/focus/focus/parser/parser.py/SettingParser._expect_empty