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

Description:


ALib Enum Record associated with enumeration DefaultBinaryOperators .

Definition at line 412 of file expressions.hpp.

#include <expressions.hpp>

Collaboration diagram for ERBinaryOperator:
[legend]

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 ( )
defaultnoexcept

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

◆ ERBinaryOperator() [2/2]

ERBinaryOperator ( const String & symbol,
int precedence )
inline

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

Parameters
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: