Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Types | Static Public Member Functions
abstraction::Operators Class Reference

#include <Operators.hpp>

Public Types

enum class  BinaryOperators {
  LOGICAL_AND , LOGICAL_OR , BINARY_XOR , BINARY_AND ,
  BINARY_OR , ADD , SUB , MUL ,
  MOD , DIV , EQUALS , NOT_EQUALS ,
  LESS , LESS_OR_EQUAL , MORE , MORE_OR_EQUAL ,
  ASSIGN
}
 
enum class  PrefixOperators {
  PLUS , MINUS , LOGICAL_NOT , BINARY_NEG ,
  INCREMENT , DECREMENT
}
 
enum class  PostfixOperators { INCREMENT , DECREMENT }
 

Static Public Member Functions

static std::string toString (BinaryOperators type)
 
static std::string toString (PrefixOperators type)
 
static std::string toString (PostfixOperators type)
 

Member Enumeration Documentation

◆ BinaryOperators

Enumerator
LOGICAL_AND 
LOGICAL_OR 
BINARY_XOR 
BINARY_AND 
BINARY_OR 
ADD 
SUB 
MUL 
MOD 
DIV 
EQUALS 
NOT_EQUALS 
LESS 
LESS_OR_EQUAL 
MORE 
MORE_OR_EQUAL 
ASSIGN 

◆ PostfixOperators

Enumerator
INCREMENT 
DECREMENT 

◆ PrefixOperators

Enumerator
PLUS 
MINUS 
LOGICAL_NOT 
BINARY_NEG 
INCREMENT 
DECREMENT 

Member Function Documentation

◆ toString() [1/3]

static std::string abstraction::Operators::toString ( BinaryOperators  type)
inlinestatic
Here is the caller graph for this function:

◆ toString() [2/3]

static std::string abstraction::Operators::toString ( PostfixOperators  type)
inlinestatic

◆ toString() [3/3]

static std::string abstraction::Operators::toString ( PrefixOperators  type)
inlinestatic

The documentation for this class was generated from the following file: