Lines Matching refs:visibility
49 …self.visibility = dict() # node name to (x, y) mapping where x is the visibility (True/False) and…
117 dependencies = node.visibility # "visible if" for menu
124 (visib, source) = self.visibility[name_id]
137 self.visibility[name_id] = (visib, source)
151 def write_docs(config, visibility, filename): argument
157 write_menu_item(f, node, visibility)
217 def _minimize_expr(expr, visibility): argument
219 …return hasattr(e, 'nodes') and len(e.nodes) > 0 and all(not visibility.visible(i) for i in e.nodes)
223 new_expr = _minimize_expr(expr[1], visibility)
226 new_expr1 = _minimize_expr(expr[1], visibility)
227 new_expr2 = _minimize_expr(expr[2], visibility)
271 if any(node.item.name.startswith(visibility.target_env_var) for node in expr.nodes):
278 def write_menu_item(f, node, visibility): argument
283 if is_choice(node) or not visibility.visible(node):
341 cond = _minimize_expr(cond, visibility)
345 if len(cond.nodes) > 0 and all(not visibility.visible(i) for i in cond.nodes):
359 cond = _minimize_expr(cond, visibility)
363 if len(cond.nodes) > 0 and all(not visibility.visible(i) for i in cond.nodes):
388 if not is_choice(child) and child.prompt and visibility.visible(child):