From 9cdc34290a84093b1c4640118289a7cf56d55125 Mon Sep 17 00:00:00 2001 From: NeonXP Date: Fri, 6 Sep 2013 05:42:09 +0400 Subject: Mass refactoring 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 --- src/NXP/Classes/Func.php | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/NXP/Classes/Func.php (limited to 'src/NXP/Classes/Func.php') diff --git a/src/NXP/Classes/Func.php b/src/NXP/Classes/Func.php deleted file mode 100644 index e8c0fa2..0000000 --- a/src/NXP/Classes/Func.php +++ /dev/null @@ -1,45 +0,0 @@ -name = $name; - $this->callback = $callback; - } - - public function getName() - { - return $this->name; - } - - public function getCallback() - { - return $this->callback; - } -} -- cgit v1.2.3