public static property SassScriptOperation::$operators in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/SassScriptOperation.php \SassScriptOperation::operators
* * A token is function, associativity, precedence, number of operands
Type: array map symbols to tokens.
File
- phamlp/
sass/ script/ SassScriptOperation.php, line 25
Class
- SassScriptOperation
- SassScriptOperation class. The operation to perform. @package PHamlP @subpackage Sass.script
Code
public static $operators = array(
'*' => array(
'times',
'l',
8,
2,
),
'/' => array(
'div',
'l',
8,
2,
),
'%' => array(
'modulo',
'l',
8,
2,
),
'+' => array(
'plus',
'l',
7,
2,
),
'-' => array(
'minus',
'l',
7,
2,
),
'<<' => array(
'shiftl',
'l',
6,
2,
),
'>>' => array(
'shiftr',
'l',
6,
2,
),
'<=' => array(
'lte',
'l',
5,
2,
),
'>=' => array(
'gte',
'l',
5,
2,
),
'<' => array(
'lt',
'l',
5,
2,
),
'>' => array(
'gt',
'l',
5,
2,
),
'==' => array(
'eq',
'l',
4,
2,
),
'!=' => array(
'neq',
'l',
4,
2,
),
'and' => array(
'and',
'l',
3,
2,
),
'or' => array(
'or',
'l',
3,
2,
),
'xor' => array(
'xor',
'l',
3,
2,
),
'not' => array(
'not',
'l',
3,
1,
),
'=' => array(
'assign',
'l',
2,
2,
),
')' => array(
'rparen',
'l',
1,
),
'(' => array(
'lparen',
'l',
0,
),
',' => array(
'comma',
'l',
0,
2,
),
'#{' => array(
'begin_interpolation',
),
'}' => array(
'end_interpolation',
),
);