You are here

private property JSParser::$opPrecedence in Advanced CSS/JS Aggregation 7.2

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/jsminplus.inc \JSParser::opPrecedence
  2. 8.2 advagg_js_minify/jsminplus.inc \JSParser::opPrecedence
  3. 8.3 advagg_js_minify/jsminplus.inc \JSParser::opPrecedence
  4. 6 advagg_js_compress/jsminplus.inc \JSParser::opPrecedence
  5. 7 advagg_js_compress/jsminplus.inc \JSParser::opPrecedence

File

advagg_js_compress/jsminplus.inc, line 770
JSMinPlus version 1.4

Class

JSParser

Code

private $opPrecedence = array(
  ';' => 0,
  ',' => 1,
  '=' => 2,
  '?' => 2,
  ':' => 2,
  // The above all have to have the same precedence, see bug 330975
  '||' => 4,
  '&&' => 5,
  '|' => 6,
  '^' => 7,
  '&' => 8,
  '==' => 9,
  '!=' => 9,
  '===' => 9,
  '!==' => 9,
  '<' => 10,
  '<=' => 10,
  '>=' => 10,
  '>' => 10,
  'in' => 10,
  'instanceof' => 10,
  '<<' => 11,
  '>>' => 11,
  '>>>' => 11,
  '+' => 12,
  '-' => 12,
  '*' => 13,
  '/' => 13,
  '%' => 13,
  'delete' => 14,
  'void' => 14,
  'typeof' => 14,
  '!' => 14,
  '~' => 14,
  'U+' => 14,
  'U-' => 14,
  '++' => 15,
  '--' => 15,
  'new' => 16,
  '.' => 17,
  JS_NEW_WITH_ARGS => 0,
  JS_INDEX => 0,
  JS_CALL => 0,
  JS_ARRAY_INIT => 0,
  JS_OBJECT_INIT => 0,
  JS_GROUP => 0,
);