Same name in other branches
  1. 5.0.x advagg_js_minify/jsminplus.inc \JSParser::opPrecedence
  2. 6.0.x advagg_js_minify/jsminplus.inc \JSParser::opPrecedence
  3. 7.x-1.x advagg_js_compress/jsminplus.inc \JSParser::opPrecedence
  4. 7.x-2.x advagg_js_compress/jsminplus.inc \JSParser::opPrecedence
  5. 8.x-2.x advagg_js_minify/jsminplus.inc \JSParser::opPrecedence
  6. 8.x-3.x advagg_js_minify/jsminplus.inc \JSParser::opPrecedence

Type: opPrecedence

File

advagg_js_minify/jsminplus.inc, line 770

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,
);