// Copyright (c) 2020-now by the Zeek Project. See LICENSE for details. #pragma once #include #include #include #include namespace hilti::ctor { /** AST node for a `time` ctor. */ class Time : public Ctor { public: const auto& value() const { return _value; } QualifiedType* type() const final { return child(0); } node::Properties properties() const final { auto p = node::Properties{{"value", to_string(_value)}}; return Ctor::properties() + std::move(p); } static auto create(ASTContext* ctx, hilti::rt::Time v, const Meta& meta = {}) { return ctx->make