Lines Matching refs:item
925 self.top_node.item = MENU
1353 item = node.item
1355 if item.__class__ is Symbol:
1356 f.write(item.config_string)
1359 ((item is MENU and expr_value(node.visibility)) or
1360 item is COMMENT):
1624 if unique_syms and node.item.__class__ is Symbol:
1625 if node.item._visited:
1627 node.item._visited = True
2553 node.item = sym
2634 node.item = node.prompt = None
2646 node.item = t0 # _T_MENU == MENU
2666 node.item = t0 # _T_COMMENT == COMMENT
2701 node.item = choice
2795 if node.item.__class__ is not Symbol:
2822 if node.item.__class__ is not Symbol:
2841 node.item.env_var = env_var
2850 "set".format(node.item.name, env_var),
2853 if env_var != node.item.name:
2860 .format(node.item.name, env_var),
2865 self.defconfig_list = node.item
2870 node.item.name),
2879 if node.item is not self.modules:
2891 if node.item.__class__ is not Symbol:
2895 node.item.is_allnoconfig_y = True
2901 if node.item.__class__ is not Choice:
2904 node.item.is_optional = True
2916 if node.item.orig_type is not UNKNOWN and \
2917 node.item.orig_type is not new_type:
2920 .format(_name_and_loc(node.item),
2923 node.item.orig_type = new_type
2931 self._warn(_name_and_loc(node.item) +
2941 self._warn(_name_and_loc(node.item) +
2952 self._warn(_name_and_loc(node.item) + " defined with more than "
3008 self._warn(_name_and_loc(node.item) +
3217 if node.item is MENU:
3234 elif node.item.__class__ is Symbol:
3266 if node.item.__class__ is Choice:
3269 choice = node.item
3285 basedep = node.item if node.item.__class__ is Choice else node.dep
3296 if cur.item.__class__ in _SYMBOL_CHOICE:
3335 sym = node.item
3505 if node.parent.item is choice:
4484 for item in self._dependents:
4503 if item._cached_vis is not None:
4504 item._rec_invalidate()
5048 for item in self._dependents:
5049 if item._cached_vis is not None:
5050 item._rec_invalidate()
5223 if self.item is MENU:
5252 if self.item.__class__ is Symbol:
5253 fields.append("menu node for symbol " + self.item.name)
5255 elif self.item.__class__ is Choice:
5257 if self.item.name is not None:
5258 s += " " + self.item.name
5261 elif self.item is MENU:
5272 if self.item.__class__ is Symbol and self.is_menuconfig:
5277 if self.item is MENU:
5281 if self.item.__class__ in _SYMBOL_CHOICE and self.help is not None:
5318 if self.item in _MENU_COMMENT else \
5322 s = '{} "{}"'.format("menu" if self.item is MENU else "comment",
5328 if self.item is MENU and self.visibility is not self.kconfig.y:
5345 sc = self.item
5971 node1.item)
5986 node.item.__class__ is not Choice:
6008 while cur and not cur.item:
6015 while next and not next.item:
6031 choice = node.item
6035 if cur.item.__class__ is Symbol:
6036 cur.item.choice = choice
6037 choice.syms.append(cur.item)
6043 for item in choice.syms:
6044 if item.orig_type:
6045 choice.orig_type = item.orig_type
6173 for item in loop:
6174 if item is not loop[0]:
6176 if item.__class__ is Symbol and item.choice:
6180 .format(_name_and_loc(item), item)
6195 if item.__class__ is Symbol:
6196 if item.rev_dep is not item.kconfig.n:
6198 .format(expr_str(item.rev_dep))
6200 if item.weak_rev_dep is not item.kconfig.n:
6202 .format(expr_str(item.rev_dep))