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

Description:

ALib Enum Record associated with enumeration DefaultBinaryOperators.

Definition at line 359 of file expressionscamp.hpp.

#include <expressionscamp.hpp>

Collaboration diagram for 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)
 
ALIB_API void Parse ()
 Implementation of EnumRecordPrototype::Parse.
 

Field Details:

◆ Precedence

int Precedence

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

Definition at line 365 of file expressionscamp.hpp.

◆ Symbol

String Symbol

The parable symbol of an operator.

Definition at line 362 of file expressionscamp.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 376 of file expressionscamp.hpp.

Method Details:

◆ Parse()

void Parse ( )

Implementation of EnumRecordPrototype::Parse.

Definition at line 474 of file expressionscamp.cpp.

Here is the call graph for this function:

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