paceval. 4.26
Documentation of the paceval. source-code, Copyright ©1994-2024. Version 1.x, 2.x, 3.x, 4.x ©1994-2025 Joerg Koenning & paceval UG [Registered Trade Mark] All rights reserved., Author(s) : Joerg Koenning
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
paceval_cScanner.h File Reference

specification of the class paceval_cScanner More...

#include "paceval_cAtomicGraphNode.h"
#include "paceval_cListOfPointer.h"
Include dependency graph for paceval_cScanner.h:
This graph shows which files directly or indirectly include this file:

Classes

class  paceval_cScanner
 The class paceval_cScanner is derived from paceval_cRegisteredObject and encapsulates the exploration of mathematical strings as parts of the user's function. More...
 

Enumerations

enum  paceval_eMathematicalCharacterTypes {
  NO_CHARACTER , OPERAND_CHARACTER_BEGIN , VARIABLE_OR_CONSTANT_OR_FUNCTION_CHARACTER , FUNCTION_CHARACTER ,
  NUMBER_CHARACTER , OPERAND_CHARACTER_END , CIRCLE_BRACKET_OPEN_CHARACTER , CIRCLE_BRACKET_CLOSE_CHARACTER ,
  OPERATOR_CHARACTER_BEGIN , ADDITION_CHARACTER , SUBTRACTION_CHARACTER , MULTIPLICATION_CHARACTER ,
  DIVISION_CHARACTER , POWER_CHARACTER , MODULO_SYMMETRIC_CHARACTER , MODULO_MATHEMATIC_CHARACTER ,
  MAX_CHARACTER , MIN_CHARACTER , BOOLEAN_AND_CHARACTER , BOOLEAN_OR_CHARACTER ,
  BOOLEAN_XOR_CHARACTER , BOOLEAN_NAND_CHARACTER , BOOLEAN_NOR_CHARACTER , BOOLEAN_XNOR_CHARACTER ,
  EQUAL_TO_CHARACTER , NOT_EQUAL_TO_CHARACTER , GREATER_THAN_CHARACTER , GREATER_THAN_OR_EQUAL_TO_CHARACTER ,
  LESS_THAN_CHARACTER , LESS_THAN_OR_EQUAL_TO_CHARACTER , OPERATOR_CHARACTER_END , OPERATOR_SPECIAL_HANDLING_BEGIN ,
  FACTORIAL_CHARACTER , OPERATOR_SPECIAL_HANDLING_END
}
 
enum  paceval_eASCIITypes {
  ASCII_CONTROL_CODE_BEGIN = 0 , ASCII_CONTROL_CODE_END = 31 , ASCII_PRINTABLE_NUMERICAL_DIGIT_CODE_BEGIN = 48 , ASCII_PRINTABLE_NUMERICAL_DIGIT_CODE_END = 57 ,
  ASCII_PRINTABLE_ALPHABETIC_UPPER_CASE_CODE_BEGIN = 65 , ASCII_PRINTABLE_ALPHABETIC_UPPER_CASE_CODE_END = 90 , ASCII_PRINTABLE_ALPHABETIC_LOWER_CASE_CODE_BEGIN = 97 , ASCII_PRINTABLE_ALPHABETIC_LOWER_CASE_CODE_END = 122
}
 

Functions

paceval_eOperatorTypes paceval_identifyOperatorFromMathematicalCharacter (paceval_eMathematicalCharacterTypes eMathematicalCharacterType_in)
 

Detailed Description

specification of the class paceval_cScanner

Enumeration Type Documentation

◆ paceval_eASCIITypes

specifies the ASCII character types that are accepted by the scanner for numbers and character strings (annotation: for numbers, "." and "e+"/"e-" are treated specifically in the source code, the same applies to "_" for variables, constants and function identifiers)

Enumerator
ASCII_CONTROL_CODE_BEGIN 
ASCII_CONTROL_CODE_END 
ASCII_PRINTABLE_NUMERICAL_DIGIT_CODE_BEGIN 
ASCII_PRINTABLE_NUMERICAL_DIGIT_CODE_END 
ASCII_PRINTABLE_ALPHABETIC_UPPER_CASE_CODE_BEGIN 
ASCII_PRINTABLE_ALPHABETIC_UPPER_CASE_CODE_END 
ASCII_PRINTABLE_ALPHABETIC_LOWER_CASE_CODE_BEGIN 
ASCII_PRINTABLE_ALPHABETIC_LOWER_CASE_CODE_END 

◆ paceval_eMathematicalCharacterTypes

specifies the different types of mathematical characters that the paceval_cScanner object recognizes and which are then specifically created as node objects in the paceval_cSyntacticAnalysis object and filled with data

Enumerator
NO_CHARACTER 
OPERAND_CHARACTER_BEGIN 
VARIABLE_OR_CONSTANT_OR_FUNCTION_CHARACTER 
FUNCTION_CHARACTER 
NUMBER_CHARACTER 
OPERAND_CHARACTER_END 
CIRCLE_BRACKET_OPEN_CHARACTER 
CIRCLE_BRACKET_CLOSE_CHARACTER 
OPERATOR_CHARACTER_BEGIN 
ADDITION_CHARACTER 
SUBTRACTION_CHARACTER 
MULTIPLICATION_CHARACTER 
DIVISION_CHARACTER 
POWER_CHARACTER 
MODULO_SYMMETRIC_CHARACTER 
MODULO_MATHEMATIC_CHARACTER 
MAX_CHARACTER 
MIN_CHARACTER 
BOOLEAN_AND_CHARACTER 
BOOLEAN_OR_CHARACTER 
BOOLEAN_XOR_CHARACTER 
BOOLEAN_NAND_CHARACTER 
BOOLEAN_NOR_CHARACTER 
BOOLEAN_XNOR_CHARACTER 
EQUAL_TO_CHARACTER 
NOT_EQUAL_TO_CHARACTER 
GREATER_THAN_CHARACTER 
GREATER_THAN_OR_EQUAL_TO_CHARACTER 
LESS_THAN_CHARACTER 
LESS_THAN_OR_EQUAL_TO_CHARACTER 
OPERATOR_CHARACTER_END 
OPERATOR_SPECIAL_HANDLING_BEGIN 
FACTORIAL_CHARACTER 
OPERATOR_SPECIAL_HANDLING_END 

Function Documentation

◆ paceval_identifyOperatorFromMathematicalCharacter()

paceval_eOperatorTypes paceval_identifyOperatorFromMathematicalCharacter ( paceval_eMathematicalCharacterTypes eMathematicalCharacterType_in)

forward declaration - gets the current time in milliseconds since the system started (see paceval_cCleanupHandler.h) identifies the associated type of paceval_eOperatorTypes for a type of paceval_eMathematicalCharacterTypes, e.g. the associated ADDITION_SIGN for ADDITION_CHARACTER (see paceval_cCleanupHandler.cpp)

Parameters
eMathematicalCharacterType_inspecifies the type of paceval_eMathematicalCharacterTypes
Here is the caller graph for this function:

https://paceval.com