amath  1.8.5
Simple command line calculator
operatordef Struct Reference

Character definition of operators. More...

#include <operatordefs.h>

Public Attributes

char chr
 
Symbol symbol
 

Detailed Description

Character definition of operators.

The struct id holding a character representation of an operator tied with its symbol.

Definition at line 45 of file operatordefs.h.

Member Data Documentation

◆ chr

char operatordef::chr

Definition at line 47 of file operatordefs.h.

Referenced by Language::CharIsOperator(), Lexer::FindKeyword(), and Lexer::GetOperator().

◆ symbol

Symbol operatordef::symbol

Definition at line 48 of file operatordefs.h.

Referenced by Lexer::FindKeyword(), and Lexer::GetOperator().


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