Lines Matching full:nodes
60 symbols and choices have a 'nodes' attribute containing their menu nodes
224 nodes by following the 'list' pointer, and any following menu nodes by
226 menu or Choice, but menu nodes for symbols can sometimes have a non-None 'list'
235 locations will have one menu node for each location. The list of menu nodes for
236 a Symbol or Choice can be found in the Symbol/Choice.nodes attribute.
242 single menu node, do sym.nodes[0].help and sym.nodes[0].prompt, respectively.
250 hence why Choice.nodes is also a list.
426 symbols, choices, and menu nodes appearing in the configuration. Creating
438 Undefined symbols can be recognized by Symbol.nodes being empty -- see
966 if not sym.nodes:
1424 # No more nodes
2281 # The previous menu node. New nodes will be added after this one (by
2284 # 'prev' is reused to parse a list of child menu nodes (for a menu or
2316 sym.nodes.append(node)
2462 choice.nodes.append(node)
2499 # and choices instead of to their menu nodes (and handled dependency
2843 for node in sym.nodes:
2878 for node in choice.nodes:
2920 # kconfig-language.txt), removes 'if' nodes, and finalizes choices.
2980 # We have a parent node with individually finalized child nodes. Do
2993 # Propagates 'node's dependencies to its child menu nodes
3141 # - sym.nodes empty means the symbol is undefined (has no
3148 if not sym.nodes and not _is_num(sym.name) and \
3215 the Symbol.nodes attribute. This organization matches the C tools.
3308 nodes:
3310 most symbols. Undefined and constant symbols have an empty nodes list.
3418 "nodes",
3813 for node in self.nodes:
3829 for node in self.nodes:
3869 if self.nodes:
3870 for node in self.nodes:
3886 MenuNode.__str__() for each of the symbol's menu nodes, so symbols
3900 for node in self.nodes)
3926 self.nodes = []
4045 for node in self.nodes:
4141 the Choice.nodes attribute. This organization matches the C tools.
4239 nodes:
4282 "nodes",
4417 for node in self.nodes:
4432 for node in self.nodes:
4458 for node in self.nodes:
4479 for node in self.nodes)
4499 self.nodes = []
4584 and comments also get menu nodes. If a symbol or choice is defined in
4590 The menu nodes for a Symbol or Choice can be found in the
4591 Symbol/Choice.nodes attribute. Menus and comments are represented as plain
4592 menu nodes, with their text stored in the prompt attribute (prompt[0]).
4600 Menus and comments are represented as plain menu nodes. Ifs are collapsed
4630 as it include properties from all menu nodes (a symbol/choice can have
4631 multiple definition locations/menu nodes). MenuNode.defaults is meant for
4834 For symbols and choices with multiple menu nodes (multiple definition
4836 node are shown on all menu nodes ('option env=...', 'optional' for
5155 # encounter any non-'op' nodes)
5223 for node in sc.nodes:
5366 if not sc.nodes:
5372 for node in sc.nodes))
5414 # "Flattens" menu nodes without prompts (e.g. 'if' nodes and non-visible
5442 # Removes 'if' nodes (which can be recognized by MenuNode.item being None),
5676 if not default.is_constant and not default.nodes and \
5726 # 'not sym.nodes' implies a constant or undefined symbol, e.g. a plain
5728 if not sym.nodes:
5742 for node in choice.nodes:
5772 for node in sym.nodes:
5861 # Integers representing menu and comment menu nodes