ContRap-Core
Public Types | Data Fields

crp::Operator Struct Reference

Class Operator defines the properties of an operator. More...

#include <parser.h>

Public Types

enum  Notation { PREFIX, INFIX, POSTFIX, PREFIX_INFIX }
 

Enumerates operator input form.

More...

Data Fields

std::string name
 String representation.
std::string symbol
 Operator symbol.
Notation notation
 Operator notation type.
int precedence
 Precedence of the operator.

Detailed Description

Class Operator defines the properties of an operator.


Member Enumeration Documentation

Enumerates operator input form.

Enumerator:
PREFIX 
INFIX 
POSTFIX 
PREFIX_INFIX 

Field Documentation

std::string crp::Operator::name

String representation.

Operator notation type.

Precedence of the operator.

std::string crp::Operator::symbol

Operator symbol.


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