ladybird/AK/RecursionDecision.h
sin-ack a2a553b286 AK: Add RecursionDecision
Similar to IterationDecision, this can be returned from callbacks passed
to recursive traversal functions to signal how to proceed.
2021-08-07 15:21:58 +02:00

20 lines
243 B
C++

/*
* Copyright (c) 2021, sin-ack <sin-ack@protonmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace AK {
enum class RecursionDecision {
Recurse,
Continue,
Break,
};
}
using AK::RecursionDecision;