2021-10-18 11:54:01 +01:00
|
|
|
#pragma once
|
|
|
|
|
2021-10-24 11:42:43 +01:00
|
|
|
#include <string_view>
|
2021-10-18 11:54:01 +01:00
|
|
|
|
2021-10-20 21:44:43 +01:00
|
|
|
#include "simdjson/simdjson.h"
|
2021-10-18 11:54:01 +01:00
|
|
|
|
2021-10-22 13:10:23 +01:00
|
|
|
#include "byte_t.h"
|
2021-10-18 11:54:01 +01:00
|
|
|
|
2021-10-22 13:10:23 +01:00
|
|
|
class cycle_t final : public byte_t {
|
2021-10-18 11:54:01 +01:00
|
|
|
public:
|
2021-10-18 17:19:28 +01:00
|
|
|
cycle_t(simdjson::dom::array input) noexcept;
|
2021-10-18 11:54:01 +01:00
|
|
|
|
2021-10-24 11:15:10 +01:00
|
|
|
[[nodiscard]] std::string_view action() const noexcept { return at(2).get_string(); }
|
2021-10-18 11:54:01 +01:00
|
|
|
};
|