ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
No Matches
ERBinaryOperator Struct Reference


ALib Enum Record associated with enumeration DefaultBinaryOperators .

Definition at line 412 of file expressions.hpp.

#include <expressions.hpp>

Collaboration diagram for ERBinaryOperator:

Public Field Index:

int Precedence
String Symbol

Public Method Index:

 ERBinaryOperator () noexcept=default
 ERBinaryOperator (const String &symbol, int precedence)
ALIB_API void Parse ()

Field Details:

◆ Precedence

int Precedence

The precedence of an operator in respect to other binary operators.

Definition at line 418 of file expressions.hpp.

◆ Symbol

String Symbol

The parable symbol of an operator.

Definition at line 415 of file expressions.hpp.

Constructor(s) / Destructor Details::

◆ ERBinaryOperator() [1/2]

ERBinaryOperator ( )

Required default constructor leaving the record undefined. (Requirement is documented withenums::EnumRecordPrototype .)

◆ ERBinaryOperator() [2/2]

ERBinaryOperator ( const String & symbol,
int precedence )

Required initializing constructor. (Requirement is documented withenums::EnumRecordPrototype .)

symbolThe parsable operator symbol.
precedenceThe operator's precedence.

Definition at line 433 of file expressions.hpp.

Method Details:

◆ Parse()

void Parse ( )

Implementation of EnumRecordPrototype::Parse .

Definition at line 477 of file expressions.cpp.

Here is the call graph for this function:

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