ALib C++ Framework
by
Library Version: 2511 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 345 of file expressionscamp.inl.

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 351 of file expressionscamp.inl.

◆ Symbol

String alib::expressions::ERBinaryOperator::Symbol

The parable symbol of an operator.

Definition at line 348 of file expressionscamp.inl.

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 362 of file expressionscamp.inl.

Method Details:

◆ Parse()

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

Implementation of void Parse() .

Definition at line 476 of file expressionscamp.cpp.


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