while ===== .. include:: /ref/targets/autogen/descriptions/while.txt .. contents:: Configuration options --------------------- child ~~~~~ Checks if a specific child is present. .. code-block:: yaml search: while: child: methodcall: {} .. code-block:: java :emphasize-lines: 5-8 while (condition1) { // ... } while (condition2) { // ... System.out.println(""); } condition ~~~~~~~~~ Checks the condition of the while. .. code-block:: yaml search: while: condition: methodcall: {} .. code-block:: java :emphasize-lines: 1-3 while (conditionCall()) { } while (condition) { } .. include:: /ref/targets/partials/searcher.txt