ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Fields | Public Methods | List of all members
ERBinaryOperator Struct Reference

#include <expressions.hpp>

Collaboration diagram for ERBinaryOperator:
[legend]

Class Description


ALib Enum Record associated with enumeration DefaultBinaryOperators.

Definition at line 413 of file expressions.hpp.

Public Fields

int Precedence
 
String Symbol
 

Public Methods

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

Constructor & Destructor Documentation

◆ 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 434 of file expressions.hpp.

Member Function Documentation

◆ Parse()

void Parse ( )

Implementation of EnumRecordPrototype::Parse.

Definition at line 485 of file expressions.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ Precedence

int Precedence

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

Definition at line 419 of file expressions.hpp.

◆ Symbol

String Symbol

The parable symbol of an operator.

Definition at line 416 of file expressions.hpp.


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