binaryOperations constant

Map<String, int> const binaryOperations

Implementation

static const Map<String, int> binaryOperations = {
  '??':
      1, //Added by isaac to allow null aware operations opposed to nvl syntax.
  '||': 2,
  '&&': 3,
  '|': 4,
  '^': 5,
  '&': 6,
  '==': 7,
  '!=': 7,
  '<=': 8,
  '>=': 8,
  '<': 8,
  '>': 8,
  '<<': 9,
  '>>': 9,
  '+': 10,
  '-': 10,
  '=': 10, // added by olajos
  ';': 0, // added by olajos
  '*': 11,
  '/': 11,
  '%': 11,
};