function getPrecedence(_node, parenthesis) {
  var node = _node;

  if (parenthesis !== 'keep') {
    // ParenthesisNodes are only ignored when not in 'keep' mode
    node = _node.getContent();
  }

  var identifier = node.getIdentifier();

  for (var i = 0; i < properties.length; i++) {
    if (identifier in properties[i]) {
      return i;
    }
  }

  return null;
}
Get the precedence of a Node.
Higher number for higher precedence, starting with 0.
Returns null if the precedence is undefined.

@param {Node}
@param {string} parenthesis
@return {number|null}