#include <operator-registry.h>
|
using | OperatorMap = std::map< Kind, std::vector< Operator > > |
|
|
const OperatorMap & | all () const |
|
const std::vector< Operator > & | allOfKind (Kind kind) const |
|
void | register_ (Kind kind, Operator info) |
|
void | printDebug () |
|
Singleton registering available operators.
◆ all()
const OperatorMap& hilti::operator_::Registry::all |
( |
| ) |
const |
|
inline |
Returns a map of all available operators.
◆ allOfKind()
const std::vector<Operator>& hilti::operator_::Registry::allOfKind |
( |
Kind |
kind | ) |
const |
|
inline |
Returns a map of all available operators.
◆ register_()
void hilti::operator_::Registry::register_ |
( |
Kind |
kind, |
|
|
Operator |
info |
|
) |
| |
|
inline |
Registers an Operator as available.
◆ singleton()
static auto& hilti::operator_::Registry::singleton |
( |
| ) |
|
|
inlinestatic |
Returns a singleton instance of the current class.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/spicy-docs/checkouts/v1.2.1/hilti/toolchain/include/ast/detail/operator-registry.h