Method | Description | |
---|---|---|
getBlockParams ( array |
Get block params and fix the variable list | |
getPartialBlock ( array |
Get partial block id and fix the variable list | |
getPartialName ( array |
Get partial name from "foo" or [foo] or \'foo\' | |
isSubExp ( array |
Check a parsed result is a subexpression or not | |
parse ( array |
Parse the token and return parsed result. | |
subexpression ( string $expression, array\array |
Parse a subexpression then return parsed result. |
Method | Description | |
---|---|---|
advancedVariable ( array |
Analyze parsed token for advanved variables. | |
analyze ( string $token, array\array |
Analyze a token string and return parsed result. | |
getExpression ( string $v, array\array |
Return array presentation for an expression | |
getLiteral ( string $name, boolean $asis, boolean $quote = false ) : array |
Return array presentation for a literal |
protected static advancedVariable ( array |
||
$vars | array |
|
$context | array\array |
|
$token | string | original token |
return | array |
public static getBlockParams ( array |
||
$vars | array |
|
return | array |
protected static getExpression ( string $v, array\array |
||
$v | string | analyzed expression names. |
$context | array\array |
|
$pos | integer | expression position |
return | string>\array |
public static getPartialBlock ( array |
||
$vars | array |
|
return | integer | Return partial block id |
public static getPartialName ( array |
||
$vars | array |
|
$pos | integer | position of partial name |
return | array |
public static parse ( array |
||
$token | array |
|
$context | array\array |
|
return | array |
public static subexpression ( string $expression, array\array |
||
$expression | string | the full string of a sub expression |
$context | array\array |
|
return | array |