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/Token/InterfaceToken.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/NXP/Classes/Token/InterfaceToken.php (limited to 'src/NXP/Classes/Token/InterfaceToken.php') diff --git a/src/NXP/Classes/Token/InterfaceToken.php b/src/NXP/Classes/Token/InterfaceToken.php new file mode 100644 index 0000000..86fec91 --- /dev/null +++ b/src/NXP/Classes/Token/InterfaceToken.php @@ -0,0 +1,22 @@ + + */ +interface InterfaceToken +{ + /** + * @return string + */ + public static function getRegex(); +} -- cgit v1.2.3