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