aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/TokenFactory.php
Commit message (Collapse)AuthorAgeFilesLines
* Division By Zero Exception supportBruce Wells2018-10-311-1/+32
| | | | | | Updated the documentation. Unit tests for strings. DivisionByZeroException support.
* Fixed merge errorBruce Wells2018-09-121-13/+0
|
* Merge branch 'master' into support_for_double_quoted_stringsBruce Wells2018-09-121-0/+12
|\
| * Merge branch 'master' into devAlexander Kiryukhin2018-09-061-0/+22
| |\
| | * Add ability to get functions and operators that have been registeredBruce Wells2018-08-311-0/+22
| | |
| * | Exception MessagesBruce Wells2018-08-281-3/+3
| |/ | | | | | | Basically the token that is causing the exception for better diagnostics.
* / Support for double quoted stringsBruce Wells2018-09-121-16/+34
|/ | | | | | | | Changed array() to [] syntax. Added variable in question to unknown variable exception. Added getVar and getVars accessor functions. Added getOperators and getFunctions accessor functions for completeness. Extended all Exceptions off MathExecutorException.
* + Added cache, which speeds up the repetitive calculationsNeonXP2013-09-061-1/+25
| | | | + Returned variables, because they need for cached expressions
* Mass refactoringNeonXP2013-09-061-0/+125
Some changes: + Added support of functions with multiple arguments + Added some default function (min, max, avg). just example of multiple arguments :) - Removed variables support (I think they pointless) ~ All tokens now in individual classes ~ Parsing based on regular expressions ~ Fix negative numbers ~ Fix grouping with brackets