aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/Token
Commit message (Collapse)AuthorAgeFilesLines
* Support for double quoted stringsBruce Wells2018-09-122-1/+26
| | | | | | | | 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.
* Fixes exponentiation operatorochi512017-09-121-2/+2
|
* Specifically check for 0 in division to allow for negative operationsbajb2016-04-011-1/+1
|
* Avoid division by zerobajb2016-04-011-1/+1
|
* Make TokenNumber aware of scientific notationAnton Stöckl2013-09-061-1/+1
| | | | | Update the regex so scientific notation numbers work, e.g.: '1 + 3.5E-8' '1 + 3.5E8'
* + Added cache, which speeds up the repetitive calculationsNeonXP2013-09-061-0/+25
| | | | + Returned variables, because they need for cached expressions
* Mass refactoringNeonXP2013-09-0615-0/+555
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