ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDclTokenizer. More...
Static Public Member Functions | |
static | getTokens ($expression) |
static | getMathTokens ($math_expression) |
Generate tokens for a math expression. More... | |
Class ilDclTokenizer.
Definition at line 9 of file class.ilDclTokenizer.php.
|
static |
Generate tokens for a math expression.
string | $math_expression | Expression of type math |
Definition at line 47 of file class.ilDclTokenizer.php.
References ilDclExpressionParser\getOperators(), and PREG_SPLIT_DELIM_CAPTURE.
Referenced by ilDclExpressionParser\parse().
|
static |
Split expression by & (ignore escaped &-symbols with backslash) @param string $expression Global expression to parse
!!!DIC refactoring-script warning.!!! There is an isolated 'global' whithout any variable behind. Either this is a comment, or something is seriously wrong
@return array
Definition at line 21 of file class.ilDclTokenizer.php.
Referenced by ilDclExpressionParser\parse().