コード例 #1
0
ファイル: stepcontrollers.py プロジェクト: lf1687/MyTools
 def _has_list_or_dict_var_value_before(self, arg_index):
     for idx, value in enumerate(self.args):
         if idx > arg_index:
             return False
         if variablematcher.is_list_variable(value) and \
            not variablematcher.is_list_variable_subitem(value):
             return True
         if robotapi.is_dict_var(value) and \
            not variablematcher.is_dict_var_access(value):
             return True
     return False
コード例 #2
0
ファイル: stepcontrollers.py プロジェクト: Garjy/RIDE
 def _has_list_or_dict_var_value_before(self, arg_index):
     for idx, value in enumerate(self.args):
         if idx > arg_index:
             return False
         if variablematcher.is_list_variable(value) and \
            not variablematcher.is_list_variable_subitem(value):
             return True
         if robotapi.is_dict_var(value) and \
            not variablematcher.is_dict_var_access(value):
             return True
     return False