Class Completers.TreeCompleter.Node

java.lang.Object
org.jline.builtins.Completers.TreeCompleter.Node
Enclosing class:
Completers.TreeCompleter

public static class Completers.TreeCompleter.Node extends Object
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 Details

    • Node

      public Node(Completer completer, List<Completers.TreeCompleter.Node> nodes)
      Creates a new Node with the specified completer and child nodes.
      Parameters:
      completer - the completer for this node
      nodes - the list of child nodes