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

Type: opPrecedence

Fichier

advagg_js_minify/jsminplus.inc, line 770

Classe

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