ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::expressions::ERBinaryOperator Struct Reference

Description:

ALib Enum Record associated with enumeration DefaultBinaryOperators.

Definition at line 341 of file expressionscamp.hpp.

#include <expressionscamp.hpp>

Collaboration diagram for alib::expressions::ERBinaryOperator:
[legend]

Public Field Index:

int Precedence
 The precedence of an operator in respect to other binary operators.
String Symbol
 The parable symbol of an operator.

Public Method Index:

 ERBinaryOperator () noexcept=default
 ERBinaryOperator (const String &symbol, int precedence)
void Parse ()
 Implementation of void Parse() .

Field Details:

◆ Precedence

int alib::expressions::ERBinaryOperator::Precedence

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

Definition at line 346 of file expressionscamp.hpp.

◆ Symbol

String alib::expressions::ERBinaryOperator::Symbol

The parable symbol of an operator.

Definition at line 343 of file expressionscamp.hpp.

Constructor(s) / Destructor Details:

◆ ERBinaryOperator() [1/2]

alib::expressions::ERBinaryOperator::ERBinaryOperator ( )
defaultnoexcept

Required default constructor leaving the record undefined. (Requirement is documented with "EnumRecordPrototype".)

◆ ERBinaryOperator() [2/2]

alib::expressions::ERBinaryOperator::ERBinaryOperator ( const String & symbol,
int precedence )
inline

Required initializing constructor. (Requirement is documented with EnumRecordPrototype.)

Parameters
symbolThe parsable operator symbol.
precedenceThe operator's precedence.

Definition at line 357 of file expressionscamp.hpp.

Here is the call graph for this function:

Method Details:

◆ Parse()

void alib::expressions::ERBinaryOperator::Parse ( )

Implementation of void Parse() .

Definition at line 410 of file expressionscamp.cpp.

Here is the call graph for this function:

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