Spicy
regexp.h
1 // Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details.
2 
3 #pragma once
4 
5 #include <utility>
6 
7 #include <hilti/ast/type.h>
8 
9 namespace hilti::type {
10 
13 public:
14  RegExp(Meta m = Meta()) : TypeBase(std::move(m)) {}
15 
16  bool operator==(const RegExp& /* other */) const { return true; }
17 
19  auto isEqual(const Type& other) const { return node::isEqual(this, other); }
21  auto _isResolved(ResolvedState* rstate) const { return true; }
23  auto properties() const { return node::Properties{}; }
24 };
25 
26 } // namespace hilti::type
auto properties() const
Definition: regexp.h:23
Definition: meta.h:19
Definition: type.h:160
auto isEqual(const Type &other) const
Definition: regexp.h:19
Definition: regexp.h:12
std::map< std::string, node::detail::PropertyValue > Properties
Definition: node.h:97
Definition: type.h:206
Definition: type.h:33
auto _isResolved(ResolvedState *rstate) const
Definition: regexp.h:21
Definition: type.h:26