Parse_Tree Module
- author:
Doug Skrypa
- class cli_command_parser.parse_tree.AnyWord(nargs: Nargs, remaining: int | float | None = None, n: int = 1)[source]
Bases:
object
- class cli_command_parser.parse_tree.PosNode(word: Word, param: BasePositional | None, target: Target = None, parent: PosNode | None = None)[source]
Bases:
MutableMapping[str|AnyWord|None,PosNode]- param: BasePositional | None
- target: Target
- word: Word
- link_params(recursive: bool = False) set[BasePositional][source]
- update_node(word: Word, param: BasePositional, target: Target) PosNode[source]