Package org.jline.builtins
Class Completers.TreeCompleter.Node
java.lang.Object
org.jline.builtins.Completers.TreeCompleter.Node
- Enclosing class:
Completers.TreeCompleter
Represents a node in the completion tree.
Each node has a completer for the current level and a list of child nodes for the next level in the command hierarchy.
-
Constructor Summary
ConstructorsConstructorDescriptionNode
(Completer completer, List<Completers.TreeCompleter.Node> nodes) Creates a new Node with the specified completer and child nodes. -
Method Summary
-
Constructor Details
-
Node
Creates a new Node with the specified completer and child nodes.- Parameters:
completer
- the completer for this nodenodes
- the list of child nodes
-